WO2023051098A1 - 设备查找方法、电子设备及系统 - Google Patents
设备查找方法、电子设备及系统 Download PDFInfo
- Publication number
- WO2023051098A1 WO2023051098A1 PCT/CN2022/114042 CN2022114042W WO2023051098A1 WO 2023051098 A1 WO2023051098 A1 WO 2023051098A1 CN 2022114042 W CN2022114042 W CN 2022114042W WO 2023051098 A1 WO2023051098 A1 WO 2023051098A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- electronic device
- location information
- server
- application program
- time
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/52—Network services specially adapted for the location of the user terminal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/023—Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/029—Location-based management or tracking services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/06—Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0203—Power saving arrangements in the radio access network or backbone network of wireless communication networks
- H04W52/0206—Power saving arrangements in the radio access network or backbone network of wireless communication networks in access points, e.g. base stations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
- H04W52/0254—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity detecting a user operation or a tactile contact or a motion of the device
Definitions
- the present application relates to the technical field of electronic equipment, and in particular to a device search method, electronic equipment and a system.
- electronic devices can be positioned by preset positioning methods, which can include global positioning system (global positioning system, GPS), base station positioning, wireless hotspot (wifi AP) positioning, Beidou satellite positioning etc.
- global positioning system global positioning system
- base station positioning base station positioning
- wireless hotspot wifi AP
- Beidou satellite positioning etc.
- GPS positioning when an electronic device is lost and goes offline, the electronic device sends a Bluetooth broadcast to surrounding online devices.
- the surrounding online devices receive the Bluetooth broadcast, they obtain the location information through GPS signal positioning, and report the location information to the server.
- the search device can determine the approximate range of the electronic device based on the location information of the online device, enabling users to more quickly and accurately Find electronics.
- the online device receives multiple Bluetooth broadcasts, the location reporting service needs to be enabled frequently, which increases the power consumption of the online device; in this way, in the process of searching for electronic devices, the efficiency of finding lost devices will be low, and it will not be possible to achieve better Good lookup effect.
- Embodiments of the present application provide a device search method, electronic device, and system, which can effectively reduce power consumption, and can achieve the effect of reporting location information multiple times, so that the efficiency of finding lost devices is high.
- an embodiment of the present application provides a device search method, the method includes: a first application program of a second electronic device acquires at least one piece of location information. After the first application program acquires at least one piece of location information, the first electronic device sends a first Bluetooth broadcast to the second electronic device, and the first electronic device is in an offline state. The second electronic device scans the first Bluetooth broadcast sent by the first electronic device. The second electronic device acquires first location information according to the first Bluetooth broadcast, where the first location information is at least one piece of at least one piece of location information. The second electronic device reports the first location information to the server.
- the first application program of the second electronic device acquires at least one piece of location information.
- the second electronic device scans the first Bluetooth broadcast sent by the first electronic device.
- the second electronic device acquires first location information according to the first Bluetooth broadcast, where the first location information is at least one piece of at least one piece of location information.
- the second electronic device reports the first location information to the server. It can be seen that the second electronic device can use the location information obtained by other applications on the second electronic device, instead of the location information obtained by frequently calling the second application when the second electronic device scans the Bluetooth broadcast, thus, Power consumption can be effectively reduced, and the effect of multiple reporting of location information can be achieved at the same time, so that the efficiency of finding lost devices is high.
- the second electronic device reports the first location information to the server, specifically: the second electronic device reports the first location information and device information of the first electronic device to the server.
- the device information of the first electronic device is used to instruct the server to match the location information of the second electronic device with the account of the first electronic device according to the device information of the first electronic device.
- the method further includes: the third electronic device sends a query request to the server, where the query request is used to request to query the location of the first electronic device.
- the server acquires the first location information according to the query request.
- the server sends the first location information to the third electronic device.
- the third electronic device displays a first interface, where the first interface includes a first location corresponding to the first location information.
- the second electronic device acquires the first location information according to the first Bluetooth broadcast, specifically: the second electronic device acquires the broadcast time and the acquisition time of at least one piece of location information according to the first Bluetooth broadcast.
- the second electronic device acquires the first location information according to the broadcast time and the acquisition time of the at least one piece of location information.
- the second electronic device acquires the first location information according to the broadcast time and the acquisition time of at least one piece of location information, specifically: the second electronic device determines the acquisition time and broadcast time of at least one piece of location information The time difference is less than the first threshold.
- the second electronic device uses at least one piece of location information corresponding to less than the first threshold as the first location information.
- the second electronic device acquires the first location information according to the broadcast time and the acquisition time of at least one piece of location information, specifically: the second electronic device determines the acquisition time and broadcast time of at least one piece of location information The time difference is minimal.
- the second electronic device uses at least one piece of location information corresponding to the minimum time difference as the first location information.
- the second electronic device determines that the time difference between the acquisition time of at least one location information and the broadcast time is the smallest specifically: the second electronic device determines that the time difference between the acquisition time of the at least one location information and the broadcast time is the smallest and the time difference less than the second threshold.
- the method further includes: the time difference between the broadcast time of the second Bluetooth broadcast scanned by the second electronic device and the acquisition time of at least one piece of location information is greater than a third threshold, and the second electronic device invokes the second application program Get location information.
- the second application program is any application program capable of acquiring location information in the second electronic device.
- the second electronic device reports the first location information to the server, specifically: when the second electronic device detects that there is a third application program to report data to the server, the second electronic device reports the first location information to the server.
- the location information is reported to the server. That is to say, when the second electronic device detects that one of the multiple application programs on the second electronic device reports location information to the server, the second electronic device reports the first location information to the server. In this way, the second electronic device does not need to intentionally start the network to report the location information, thereby reducing the power consumption of waking up the AP and turning on the network.
- the second electronic device reports the first location information to the server, specifically: when the second electronic device is connected to the network, the second electronic device reports the first location information to the server, wherein the first The second electronic device is enabled to connect to the network by the fourth application program. That is to say, when the second electronic device detects that the second electronic device is connected to the Internet by the fourth application program, the second electronic device reports the first location information to the server. In this way, the second electronic device does not need to intentionally start the network to report the location information, thereby reducing the power consumption of waking up the AP and turning on the network.
- the second electronic device reports the first location information to the server, specifically: the second electronic device simultaneously reports multiple pieces of first location information to the server. It should be understood that when the second electronic device receives the broadcast sent by the first electronic device, it does not matter whether the number of location information determined by the second electronic device is one or more. The second electronic device may report location information for a period of time to the server in batches.
- the second electronic device compared with reporting the location information once to the server after the second electronic device determines one piece of location information, the second electronic device can more effectively save power consumption by reporting the location information to the server in batches.
- the first application program of the second electronic device acquires at least one piece of location information, it further includes: the second electronic device receives the user's operation on the first application program, wherein the first application program presets The location feature is available as soon as the app starts. In response to the user's operation on the first application program, the second electronic device starts the first application program.
- the method further includes: pairing the first electronic device with the third electronic device in advance, and generating a pair of public key and private key on an elliptic curve.
- the first electronic device holds the public key
- the third electronic device holds the private key and the public key.
- the method further includes: the first electronic device generates a pair of public key and private key on an elliptic curve.
- the first electronic device synchronizes the public key and the private key to the third electronic device, and the third electronic device uses the same account as the first electronic device.
- the embodiment of the present application provides a device search method.
- the execution subject of the method may be an electronic device, or a component (such as a chip, a chip system or a processor, etc.) located in the electronic device.
- the following is to execute The subject is described as an example of an electronic device.
- the method includes: the first application program of the second electronic device acquires at least one piece of location information. After the first application program acquires at least one piece of location information, the second electronic device scans the first Bluetooth broadcast sent by the first electronic device, and the first electronic device is in an offline state. The second electronic device acquires first location information according to the first Bluetooth broadcast, where the first location information is at least one piece of at least one piece of location information. The second electronic device reports the first location information to the server.
- the first application program of the second electronic device acquires at least one piece of location information.
- the second electronic device scans the first Bluetooth broadcast sent by the first electronic device.
- the second electronic device acquires first location information according to the first Bluetooth broadcast, where the first location information is at least one piece of at least one piece of location information.
- the second electronic device reports the first location information to the server. It can be seen that the second electronic device can use the location information obtained by other applications on the second electronic device, instead of the location information obtained by frequently calling the second application when the second electronic device scans the Bluetooth broadcast, thus, Power consumption can be effectively reduced, and the effect of multiple reporting of location information can be achieved at the same time, so that the efficiency of finding lost devices is high.
- the second electronic device reports the first location information to the server, specifically: the second electronic device reports the first location information and the device information of the first electronic device to the server.
- the device information of the first electronic device is used to instruct the server to match the location information of the second electronic device with the account of the first electronic device according to the device information of the first electronic device.
- the second electronic device acquires the first location information according to the first Bluetooth broadcast, specifically: the second electronic device acquires the broadcast time and the acquisition time of at least one piece of location information according to the first Bluetooth broadcast.
- the second electronic device acquires the first location information according to the broadcast time and the acquisition time of the at least one piece of location information.
- the second electronic device acquires the first location information according to the broadcast time and the acquisition time of at least one piece of location information, specifically: the second electronic device determines the acquisition time and broadcast time of at least one piece of location information The time difference is less than the first threshold.
- the second electronic device uses at least one piece of location information corresponding to less than the first threshold as the first location information.
- the second electronic device acquires the first location information according to the broadcast time and the acquisition time of at least one piece of location information, specifically: the second electronic device determines the acquisition time and broadcast time of at least one piece of location information The time difference is minimal.
- the second electronic device uses at least one piece of location information corresponding to the minimum time difference as the first location information.
- the second electronic device determines that the time difference between the acquisition time of at least one location information and the broadcast time is the smallest specifically: the second electronic device determines that the time difference between the acquisition time of the at least one location information and the broadcast time is the smallest and the time difference less than the second threshold.
- the method further includes: the time difference between the broadcast time of the second Bluetooth broadcast scanned by the second electronic device and the acquisition time of at least one piece of location information is greater than a third threshold, and the second electronic device invokes the second application program Get location information.
- the second application program is any application program capable of acquiring location information in the second electronic device.
- the second electronic device reports the first location information to the server, specifically: when the second electronic device detects that there is a third application program to report data to the server, the second electronic device reports the first location information to the server.
- the location information is reported to the server. That is to say, when the second electronic device detects that one of the multiple application programs on the second electronic device reports location information to the server, the second electronic device reports the first location information to the server. In this way, the second electronic device does not need to intentionally start the network to report the location information, thereby reducing the power consumption of waking up the AP and turning on the network.
- the second electronic device reports the first location information to the server, specifically: when the second electronic device is connected to the network, the second electronic device reports the first location information to the server, wherein the first The second electronic device is enabled to connect to the network by the fourth application program. That is to say, when the second electronic device detects that the second electronic device is connected to the Internet by the fourth application program, the second electronic device reports the first location information to the server. In this way, the second electronic device does not need to intentionally start the network to report the location information, thereby reducing the power consumption of waking up the AP and turning on the network.
- the second electronic device reports the first location information to the server, specifically: the second electronic device simultaneously reports multiple pieces of first location information to the server. It should be understood that when the second electronic device receives the broadcast sent by the first electronic device, it does not matter whether the number of location information determined by the second electronic device is one or more. The second electronic device may report location information for a period of time to the server in batches.
- the second electronic device compared with reporting the location information once to the server after the second electronic device determines one piece of location information, the second electronic device can more effectively save power consumption by reporting the location information to the server in batches.
- the first application program of the second electronic device acquires at least one piece of location information, it further includes: the second electronic device receives the user's operation on the first application program, wherein the first application program presets The location feature is available as soon as the app starts. In response to the user's operation on the first application program, the second electronic device starts the first application program.
- an embodiment of the present application provides a system for finding a device, and the system may include: a first application program of a second electronic device acquires at least one piece of location information.
- the first electronic device is used to send the first bluetooth broadcast to the second electronic device after the first application program acquires at least one location information, and the first electronic device is in an offline state.
- the second electronic device is used to scan the first Bluetooth broadcast sent by the first electronic device.
- the second electronic device is configured to acquire first location information according to the first Bluetooth broadcast, where the first location information is at least one piece of at least one piece of location information.
- the second electronic device is configured to report the first location information to the server.
- the first application program of the second electronic device acquires at least one piece of location information.
- the second electronic device scans the first Bluetooth broadcast sent by the first electronic device.
- the second electronic device acquires first location information according to the first Bluetooth broadcast, where the first location information is at least one piece of at least one piece of location information.
- the second electronic device reports the first location information to the server. It can be seen that the second electronic device can use the location information obtained by other applications on the second electronic device, instead of the location information obtained by frequently calling the second application when the second electronic device scans the Bluetooth broadcast, thus, Power consumption can be effectively reduced, and the effect of multiple reporting of location information can be achieved at the same time, so that the efficiency of finding lost devices is high.
- the second electronic device is further configured to: report the first location information and the device information of the first electronic device to the server.
- the device information of the first electronic device is used to instruct the server to match the location information of the second electronic device with the account of the first electronic device according to the device information of the first electronic device.
- the system further includes: a third electronic device, configured to send a query request to the server, where the query request is used to request to query the location of the first electronic device.
- the server is configured to obtain the first location information according to the query request;
- the server is also used to send the first location information to the third electronic device.
- the third electronic device is further configured to display a first interface, where the first interface includes a first location corresponding to the first location information.
- the second electronic device is further configured to: obtain the broadcast time and the acquisition time of at least one piece of location information according to the first Bluetooth broadcast; location information.
- the second electronic device is further configured to: determine that the time difference between the acquisition time and the broadcast time of at least one piece of location information is less than a first threshold; use the at least one piece of location information corresponding to less than the first threshold as the first location information.
- the second electronic device is further configured to: determine that the time difference between the acquisition time and the broadcast time of the at least one location information is the smallest; and use the at least one location information corresponding to the smallest time difference as the first location information.
- the second electronic device is further configured to: determine that the time difference between the acquisition time and the broadcast time of at least one piece of location information is the smallest and the time difference is smaller than a second threshold.
- the second electronic device is further configured to: the time difference between the broadcast time of the second Bluetooth broadcast scanned by the second electronic device and the acquisition time of at least one location information is greater than the third threshold, and call the second application The program obtains location information.
- the second application program is any application program capable of acquiring location information in the second electronic device.
- the second electronic device is further configured to: report the first location information to the server when the second electronic device detects that there is a third application program reporting data to the server.
- the second electronic device when the second electronic device detects that there is an application program (such as the third application program) among the multiple application programs on the second electronic device that reports the location information to the server, the second electronic device reports the first location information to the server. to the server. In this way, the second electronic device does not need to intentionally start the network to report the location information, thereby reducing the power consumption of waking up the AP and turning on the network.
- an application program such as the third application program
- the second electronic device is further configured to: report the first location information to the server when the second electronic device is connected to the network, wherein the second electronic device is enabled to connect to the network by the fourth application program.
- the second electronic device when the second electronic device detects that the second electronic device is connected to the Internet by the fourth application program, the second electronic device reports the first location information to the server. In this way, the second electronic device does not need to intentionally start the network to report the location information, thereby reducing the power consumption of waking up the AP and turning on the network.
- the second electronic device is further configured to: simultaneously report multiple pieces of first location information to the server. It should be understood that when the second electronic device receives the broadcast sent by the first electronic device, it does not matter whether the number of location information determined by the second electronic device is one or more. The second electronic device may report location information for a period of time to the server in batches.
- the second electronic device compared with reporting the location information once to the server after the second electronic device determines one piece of location information, the second electronic device can more effectively save power consumption by reporting the location information to the server in batches.
- the second electronic device is also used to: receive the user's operation on the first application program, wherein the first application program presets the function of obtaining the location after the application program is started; An operation of an application starts the first application.
- the first electronic device is also used to: pre-pair with the third electronic device to generate a pair of public key and private key on the elliptic curve; the first electronic device holds the public key, and the third electronic device Devices hold private and public keys.
- the first electronic device is also used to: generate a pair of public key and private key on the elliptic curve; in a trusted environment, synchronize the public key and private key to the third electronic device, the first The third electronic device and the first electronic device use the same account.
- an embodiment of the present application provides an electronic device, which is used as a first electronic device, and includes a touch screen, a memory, a transceiver, one or more processors, multiple application programs, and one or more a plurality of programs; wherein the one or more programs are stored in the memory, and the transceiver is used to transmit or receive wireless signals; it is characterized in that the one or more processors are executing the one or more Multiple programs are used to enable the electronic device to implement the method described in the first aspect, or to enable the electronic device to implement the method described in the second aspect.
- the embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by a computer, the computer Execute the method described in the first aspect, or the method described in the second aspect.
- the embodiment of the present application provides a computer program product, which, when the computer program product is run on a computer, causes the computer to execute the method as described in the first aspect, or, as described in the second aspect method.
- the first application program of the second electronic device acquires at least one piece of location information.
- the second electronic device scans the first Bluetooth broadcast sent by the first electronic device.
- the second electronic device acquires first location information according to the first Bluetooth broadcast, where the first location information is at least one piece of at least one piece of location information.
- the second electronic device reports the first location information to the server. It can be seen that the second electronic device can use the location information obtained by other applications on the second electronic device, instead of the location information obtained by frequently calling the second application when the second electronic device scans the Bluetooth broadcast, thus, Power consumption can be effectively reduced, and the effect of multiple reporting of location information can be achieved at the same time, so that the efficiency of finding lost devices is high.
- FIG. 1 is a schematic diagram of a scene of a device search system provided by an embodiment of the present application
- FIG. 2 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
- FIG. 3 is a software architecture diagram of a device search system provided in an embodiment of the present application.
- FIG. 4a is a schematic flowchart of a device search method provided in an embodiment of the present application.
- Fig. 4b is a schematic flow diagram of the device search method provided by the embodiment of the present application.
- Fig. 5a is a schematic diagram of an interface of a second electronic device provided by an embodiment of the present application.
- Fig. 5b is another schematic diagram of the interface of the second electronic device provided by the embodiment of the present application.
- Fig. 5c is another schematic diagram of the interface of the second electronic device provided by the embodiment of the present application.
- Fig. 5d is another schematic diagram of the interface of the second electronic device provided by the embodiment of the present application.
- Fig. 6a is a schematic diagram of an interface of the first electronic device provided by the embodiment of the present application.
- Fig. 6b is another schematic diagram of the interface of the first electronic device provided by the embodiment of the present application.
- Fig. 6c is another schematic diagram of the interface of the first electronic device provided by the embodiment of the present application.
- Fig. 7a is a schematic diagram of an interface of a third electronic device provided by an embodiment of the present application.
- Fig. 7b is another schematic diagram of the interface of the third electronic device provided by the embodiment of the present application.
- Fig. 7c is another schematic diagram of the interface of the third electronic device provided by the embodiment of the present application.
- Fig. 7d is another schematic diagram of the interface of the third electronic device provided by the embodiment of the present application.
- Fig. 7e is another schematic diagram of the interface of the third electronic device provided by the embodiment of the present application.
- Fig. 8a is another schematic diagram of the interface of the third electronic device provided by the embodiment of the present application.
- Fig. 8b is another schematic diagram of the interface of the third electronic device provided by the embodiment of the present application.
- the first electronic device is a lost device
- the second electronic device is an online device around the lost device.
- the second electronic device will perform GPS positioning, network positioning, wake up a wireless access point (access point, AP), upload data, start an application program, and so on.
- a GPS positioning requires 0.278mAH
- a network positioning requires 0.4-0.7mAH
- a wake-up AP requires 0.05mAH
- an upload data requires 0.02mAH , it takes 0.09mAH to start the application once.
- the first application program of the second electronic device acquires at least one piece of location information.
- the second electronic device scans the first Bluetooth broadcast sent by the first electronic device.
- the second electronic device acquires first location information according to the first Bluetooth broadcast, where the first location information is at least one piece of at least one piece of location information.
- the second electronic device reports the first location information to the server.
- the second electronic device can use the location information obtained by other applications on the second electronic device, instead of the location information obtained by frequently calling the second application when the second electronic device scans the Bluetooth broadcast, thus, Power consumption can be effectively reduced, and the effect of multiple reporting of location information can be achieved at the same time, so that the efficiency of finding lost devices is high.
- FIG. 1 is a schematic structural diagram of the device search system of the present invention.
- the device finding system includes at least two electronic devices.
- the electronic device may refer to an electronic device supporting Bluetooth.
- the two electronic devices may be the first electronic device 100 and the second electronic device 200 respectively.
- both the first electronic device 100 and the second electronic device 200 may include a bluetooth module, and the bluetooth module may be integrated on the electronic device (that is, integrated), or may be pluggable on the electronic device.
- the first electronic device 100 and the second electronic device 200 may be connected through Bluetooth.
- two devices are connected by Bluetooth means that a Bluetooth link is established between the two devices, and the two devices can send signals to each other and receive signals sent by the other party through the Bluetooth link. This signal is called a Bluetooth signal. .
- the first electronic device may be a lost device, and the number of the first electronic device may be at least one.
- the first electronic device has networking capability, and the networking capability refers to connecting to the Internet through WIFI or cellular network; in the embodiment of the present application, when the state of the first electronic device is that the user turns off the networking function (turning off WIFI and cellular network), The first electronic device is disconnected from the network, and the second electronic device cannot communicate with the server. Therefore, when the first electronic device is disconnected from the network, the first electronic device cannot report its own location information to the server through its own positioning module.
- the second electronic device may be any device around the lost device, and the number of the second electronic device may be at least one, such as the second electronic device 201 , the second electronic device 202 , and the second electronic device 200 .
- the second electronic device has the ability to assist in positioning.
- the second electronic device has the ability to obtain the current location information of the electronic device.
- the location information can be, for example, latitude and longitude information; the positioning process can be performed by The above-mentioned GPS positioning, base station positioning, wireless hotspot (wifi AP) positioning, Beidou satellite positioning and other integrated positioning are realized.
- the second electronic device has networking capability, and the networking capability refers to connecting to the Internet through WIFI or a cellular network.
- the networking capability refers to connecting to the Internet through WIFI or a cellular network.
- the above-mentioned second electronic device can be used as a well-meaning device, and report the location information of the second electronic device to the server to help locate the approximate range of the lost device, so as to quickly find the lost device.
- the first electronic device can send a Bluetooth broadcast to the second electronic device through the Bluetooth connection, and the content of the Bluetooth broadcast can include the public key P derived from the public key P held by the first device. Key Pi.
- the second electronic device receives the Bluetooth broadcast sent by the first electronic device, it obtains the public key Pi in the content of the Bluetooth broadcast, and uses an integrated encryption scheme (elliptic curve integrate encrypt scheme, ECIES) algorithm to encrypt the positioning information of the second electronic device .
- the second electronic device uploads the encrypted text of the positioning information to the server 400 .
- the server 400 can store relevant information and status information of electronic devices, and can provide electronic device information management and device retrieval services.
- the first electronic device 100 can register an account on the server 400, and the registered account is an International Mobile Equipment Identity (IMEI) or a Mobile Equipment Identify (IMEI) of the first electronic device. , MEID) uniquely bound sequence.
- IMEI International Mobile Equipment Identity
- MEID Mobile Equipment Identify
- the first electronic device and the registered account are bound together, and the user can set a password for using the registered account at the same time to become a legal user of the registered account, so that the user can log in to the server through the registered account.
- the registered account of the first electronic device may be a terminal device system account.
- the registration account of the first electronic device can be obtained by registering the corresponding account in the application program after downloading the corresponding application program; therefore, the second electronic device and the first electronic device can be of different terminal manufacturers
- the produced terminal device, the second electronic device and the first electronic device are installed with an application program capable of interacting with the server, so that the embodiment in this application can be implemented.
- the first electronic device 100 may be a Bluetooth-enabled electronic device such as a locator, a tracker, a mobile phone, a wearable device such as a smart watch, a tablet computer, or a personal digital assistant (personal digital assistant, PDA).
- both the first electronic device 100 and the second electronic device 200 may be electronic devices supporting Bluetooth, such as mobile phones, wearable devices such as smart watches, tablet computers, or PDAs.
- the first electronic device 100 and the second electronic device 200 may be the same electronic device, for example, both the first electronic device 100 and the second electronic device 200 are mobile phones; the first electronic device 100 and the second electronic device 200 are also It can be different kinds of electronic devices, for example, the first electronic device 100 is a mobile phone, and the second electronic device 200 is a smart watch; or, the first electronic device 100 is a locator/tracker, and the second electronic device 200 can be a mobile phone.
- the provided device search system further includes a third electronic device 300, the user can log in the registered account of the first electronic device 100 on the third electronic device 300, and through the registered account of the first electronic device 100 and The server 400 interacts.
- the third electronic device 300 may be a computer, a mobile phone, a wearable device such as a smart watch, a tablet computer, and the like.
- the third electronic device is a computer, the user can log in to the user account through the service website of the login server (such as the portal system Portal); My Device) to log in to the user account.
- the first electronic device can be remotely controlled to perform corresponding functions; for example, the user can click "location device” to obtain the current location of the first electronic device; or , the user can click "Preset Ringtone” to make the first electronic device ring; or, the user can click "Lost Module” to set the mode of the first electronic device to the lost mode; or, the user can click "Delete Data” to reset the first electronic device Deletion of data related to electronic devices.
- location device to obtain the current location of the first electronic device
- Preset Ringtone to make the first electronic device ring
- the user can click “Lost Module” to set the mode of the first electronic device to the lost mode
- the user can click "Delete Data” to reset the first electronic device Deletion of data related to electronic devices.
- the first electronic device is pre-paired with the third electronic device to generate a pair of public key P and private key d on an elliptic curve.
- the first electronic device holds the public key P
- the third electronic device holds the private key d and the public key P.
- it may be applied to a scenario where the first electronic device is a locator or a tracker.
- the first electronic device In another specific implementable manner, the first electronic device generates a pair of public key P and private key d on an elliptic curve. In a trusted environment, the first electronic device synchronizes the public key P and the private key d to the third electronic device, and the third electronic device uses the same account as the first electronic device. In a specific application, it may be applied to a scenario where the first electronic device is a mobile phone.
- FIG. 2 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
- the electronic device shown in FIG. 2 may be a mobile phone, a tablet computer or a PAD.
- 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 jack 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 application does not constitute a specific limitation on the electronic device.
- the electronic device may include more or fewer components than shown in the illustration, or combine some components, or split some components, or arrange different components, which may be determined according to actual applications.
- the scene is determined, and there is no limitation here.
- the components shown in FIG. 2 can be implemented in hardware, software, or a combination of software and hardware.
- the foregoing processor 110 may include one or more processing units.
- 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), a controller, a memory , video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc.
- application processor application processor, AP
- modem processor graphics processing unit
- graphics processing unit graphics processing unit
- ISP image signal processor
- controller a memory
- video codec digital signal processor
- DSP digital signal processor
- baseband processor baseband processor
- neural network processor neural-network processing unit
- the controller may be the nerve center and command center of the electronic equipment.
- the controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
- a memory may also be provided in the processor 110 for storing instructions and data.
- the memory in the 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 processor 110 may include one or more interfaces.
- the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and /or universal serial bus (universal serial bus, USB) interface, etc.
- I2C integrated circuit
- I2S integrated circuit built-in audio
- PCM pulse code modulation
- PCM pulse code modulation
- UART universal asynchronous transmitter
- MIPI mobile industry processor interface
- GPIO general-purpose input and output
- subscriber identity module subscriber identity module
- SIM subscriber identity module
- USB universal serial bus
- the interface connection relationship between the modules shown in the embodiment of the present application is only a schematic illustration, and does not constitute a structural limitation of the electronic device.
- the electronic device may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
- the charging management module 140 is used for receiving charging input from the charger, and charging the power management module 141 of the electronic device.
- the charger may be a wireless charger or a wired charger.
- 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 external memory, the display screen 194 , the camera 193 , and the wireless communication module 160 .
- the wireless communication function of the electronic device can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
- Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
- antenna 1 and antenna 2 can be used to transmit Bluetooth 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 can be used in combination 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. In some other feasible implementation manners, 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 Wi-Fi network, Bluetooth (blue tooth, BT), global navigation satellite system (global navigation satellite system, GNSS), FM (frequency modulation, FM), near field communication (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
- 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.
- the antenna 1 of the electronic device is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device can communicate with the network and other devices (such as the second electronic device 200, etc.) ) communication.
- Wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband code division Multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM , and/or IR technology, etc.
- the above-mentioned GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou satellite navigation system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi- zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
- global positioning system global positioning system, GPS
- global navigation satellite system global navigation satellite system
- GLONASS global navigation satellite system
- Beidou satellite navigation system beidou navigation satellite system, BDS
- quasi-zenith satellite system quasi-zenith satellite system
- QZSS quasi-zenith satellite system
- SBAS satellite based augmentation systems
- 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 may be used to display various interfaces output by the system of the electronic device. For each interface output by the electronic device, reference may be made to the relevant descriptions in the subsequent embodiments.
- the electronic device can realize the shooting function through ISP, camera 193 , video codec, GPU, display screen 194 and application processor.
- 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 processor 110 executes various functional applications and data processing of the electronic device by executing instructions stored in the internal memory 121 .
- the internal memory 121 may include an area for storing programs and an area for storing data.
- the storage program area can store an operating system, at least one application program required by a function (such as device management function, sound playing function, etc.) and the like.
- the storage data area can store data created during the use of the electronic device (such as device parameters, phonebook, etc.) and the like.
- 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 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 audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal.
- Speaker 170A also referred to as a "horn" is used to convert audio electrical signals into sound signals.
- Receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
- the microphone 170C also called “microphone” or “microphone”, is used to convert sound signals into electrical signals.
- the earphone interface 170D is used for connecting wired earphones.
- the earphone interface 170D can be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
- OMTP open mobile terminal platform
- CTIA cellular telecommunications industry association of the USA
- the pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal. In some feasible implementation manners, the pressure sensor 180A can be disposed on the display screen 194 .
- the gyro sensor 180B can be used to determine the motion posture of the electronic device.
- the air pressure sensor 180C is used to measure air pressure.
- the acceleration sensor 180E can detect the acceleration of the electronic device 100 in various directions (generally three axes).
- the distance sensor 180F is used to measure distance.
- the ambient light sensor 180L is used for sensing ambient light brightness.
- the fingerprint sensor 180H is used to collect fingerprints.
- the temperature sensor 180J is used to detect temperature.
- Touch sensor 180K also known as "touch panel”.
- the touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
- the touch sensor 180K is used to detect a touch operation on or near it.
- the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
- Visual output related to the touch operation can be provided through the display screen 194 .
- the touch sensor 180K may also be disposed on the surface of the electronic device, which is different from the position of the display screen 194 .
- the keys 190 include a power key, a volume key and the like.
- the key 190 can be a mechanical key or a touch key.
- the motor 191 can generate a vibrating reminder.
- 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 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 software system of the electronic device may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture.
- the Android system with layered architecture is taken as an example to illustrate the software structure of the electronic device.
- FIG. 3 is a software structural block diagram of an electronic device provided by an embodiment of the present application.
- the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces.
- the Android system can be divided into four layers, which are respectively the application program layer, the application program framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer from top to bottom.
- the application layer can consist of a series of application packages.
- the application package may include Bluetooth, device management application (application with device management function), navigation, map, WLAN, short message, gallery, calendar, call and other applications (applications, APPs).
- the application framework layer provides application programming interfaces and programming frameworks for applications in the application layer.
- the application framework layer includes some predefined functions.
- the application framework layer can include window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
- a window manager is used to manage window programs.
- the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc.
- Content providers are used to store and retrieve data and make it accessible to applications.
- the aforementioned data can include videos, images, audio, calls made and received, browsing history and bookmarks, phonebook, etc.
- the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on.
- the view system can be used to build applications.
- a display interface can consist of one or more views.
- a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
- the phone manager is used to provide communication functions of electronic devices. For example, the management of call status (including connected, hung up, etc.).
- the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
- the notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and can automatically disappear after a short stay without user interaction.
- the notification manager is used to notify the download completion, message reminder, etc.
- the notification manager can also be a notification that appears on the top status bar of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog interface. For example, prompting text information in the status bar, issuing a prompt sound, vibrating the electronic device, and flashing the indicator light, etc.
- the Android Runtime includes core library and virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.
- the core library consists of two parts: one part is the function function that the java language needs to call, and the other part is the core library of Android.
- the application layer and the application framework layer run in virtual machines.
- the virtual machine executes the java files of the application program layer and the application program framework layer as binary files.
- the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
- a system library can include multiple function modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
- the surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
- the media library supports playback and recording of various commonly used audio and video formats, as well as still image files, etc.
- the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
- the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing, etc.
- 2D graphics engine is a drawing engine for 2D drawing.
- the kernel layer is the layer between hardware and software.
- the kernel layer includes at least a display driver, a camera driver, an audio driver, and a sensor driver.
- the device search method in the embodiment of the present application may be applicable to a positioning scenario of one or more electronic devices.
- the following only uses one electronic device to locate another electronic device as an example for illustration. It can be understood that the positioning scene can be used to locate at least one first electronic device; the second electronic device can also locate multiple other electronic devices at the same time.
- Fig. 4a is a schematic flowchart of a device search method provided by an embodiment of the present application. Referring to Figure 4a, the method may include:
- the second electronic device acquires multiple pieces of location information in advance.
- the second electronic device may enable the "location information access authority" for the first application program.
- the user operates the setting icon on the display interface of the second electronic device, and the interface of the second electronic device jumps from the interface shown in Figure 5a Go to the interface shown in FIG. 5 b , such as the camera setting interface 201 .
- the user can select the "permission” function in the camera setting interface 201 of the second electronic device, and the interface of the second electronic device jumps from the camera setting interface 201 shown in Figure 5b to the interface shown in Figure 5c, such as the location information permission interface 202.
- the user selects the "always allow” or "only allow during use” function in the location information permission interface 202 .
- the user operates the first application program of the second electronic device, and in response to the user's operation on the first application program, the second electronic device starts the first application program.
- the second electronic device acquires at least one piece of location information acquired by the first application program.
- the user operates the camera, and the second electronic device executes 123 shown in FIG. 3 .
- the details are as follows: After the user selects the "permit during use only" function in the location information permission interface 202, 1 the user operates the camera on the interface shown in Figure 5d, and the camera starts to run. At this time, 2 the camera calls the positioning module of the application framework layer to acquire the position information of the second electronic device. 3 After the positioning module obtains the location information of the second electronic device, the recording module of the application framework layer records the location information obtained by the positioning module. At this time, the recording module of the second electronic device records the location information and stores the location information in the database.
- the first application program can also be one of an online shopping application, a food delivery application, a taxi application, a weather forecast application, an advertising application, or any application that can obtain the current location of the terminal, etc. or Multiple.
- the second electronic device performs the above-mentioned operations to obtain the location information of the second electronic device during the use of the above-mentioned application programs.
- the positioning module may include a Global Positioning System (Global Positioning System, GPS) module, a network positioning module, or a fusion positioning module.
- the location information may include location time, location latitude and longitude, location accuracy, location method, etc. as shown in Table 1. As shown in Table 1:
- network positioning can be understood as determining a position through wifi or a data network. That is to say, if the physical address (mac address) of the electronic device is scanned through wifi or data network, it can be compared with the latitude and longitude on the server to obtain the geographical address of the electronic device.
- network positioning includes the following two implementation methods: the first, WIFI cell positioning, is based on the location of the WIFI router; the second, base station positioning, is to use the base station to measure the distance of electronic devices (such as mobile phones) to determine the geographic location of an electronic device.
- fusion positioning can be understood as fusion positioning technology integrating all current positioning methods, such as GPS positioning, base station positioning, Wifi positioning, Bluetooth positioning and sensor positioning.
- the search module of the second electronic device calls the positioning module To obtain location information, for example, the low-power positioning module in the second electronic device invokes the fusion positioning module, and obtains the location information through the fusion positioning module. Then, 3 the recording module of the second electronic device obtains the location information from the positioning module, records the location information and stores the location information in the database.
- the second threshold can be set by the system, or the search module periodically sends the first threshold from the cloud server to the terminal.
- the second electronic device can be used as a good-hearted person's device.
- the second electronic device selects the first location information from the multiple location information obtained in the first stage and reports it to the server to help the first electronic device locate the approximate location. range, so as to quickly find the first electronic device. Specifically as follows:
- the first electronic device activates the retrieval function of the first electronic device.
- the first electronic device may enable the "start offline search" function.
- the user operates the setting icon on the display interface of the first electronic device, and the first electronic device displays the interface as shown in FIG. 6a, such as the setting interface.
- the user can select the "security” function in the setting interface of the first electronic device, and the interface of the first electronic device jumps from the setting interface shown in FIG. 6a to the interface shown in FIG. 6b, such as the security interface.
- the interface of the first electronic device jumps from the security interface shown in FIG. 6b to the interface shown in FIG. 6c, such as the device search interface.
- the first electronic device When the user selects the "Enable Offline Find” option on the device search interface, the first electronic device has enabled the "Enable Offline Find” function, and can provide security protection, such as location ringing, locking and tracking, and data protection.
- security protection such as location ringing, locking and tracking, and data protection.
- the offline search function includes: if the mobile phone is offline, it can try to send an offline search request to other mobile phones by sending bluetooth signals, so that other mobile phones can report the location information to the server for search.
- the device search interface shown in FIG. 6c may also include functions such as "find my mobile phone", “send last location", and “get location”.
- the user can execute the function of searching the mobile phone, specifically, the steps of finding the mobile phone by the lost device in the following embodiments can be performed.
- the first electronic device will send the last location information before going offline to the server, or, when the power of the lost device is lower than the preset value, the first electronic device will send the current location to the server Information, the location information can be obtained through the GPS module.
- the user selects the "acquire location” function the first electronic device obtains location information through GPS when online and sends it to the server
- the first electronic device determines that the first electronic device is in an offline state.
- the offline state refers to the situation that the WIFI network or the cellular network setting of the first electronic device is not turned on, so that the first electronic device cannot log in to the Internet.
- the first electronic device may be in an environment with poor network signal, and at this time, the first electronic device may be connected to the network intermittently. Therefore, in some cases, the first electronic device is set with a preset time. If the offline time of the first electronic device exceeds the preset time, the first electronic device judges that the current state is offline; if the offline time of the first electronic device does not exceed the preset time, then the first electronic device judges that the current state is not offline . In some embodiments, when the first electronic device detects that the user actively closes the connection between the mobile phone and the network, the first electronic device judges that the current status is offline, and triggers the following steps of retrieving the lost device.
- the first electronic device is provided with a search module, which is used to determine whether the search function of the first electronic device is turned on.
- the search function of the first electronic device is turned on, the first electronic device reports the location of the electronic device to the server in real time; at the same time, the first electronic device detects the network status of the first electronic device.
- An electronic device executes a function of offline searching of the first electronic device.
- the first electronic device sends a Bluetooth broadcast.
- the second electronic device receives the Bluetooth broadcast sent by the first electronic device.
- the search module of the first electronic device sends an offline search request to the Bluetooth module, and the offline search request is used to call the Bluetooth interface to trigger the Bluetooth module to send a Bluetooth broadcast.
- the first electronic device when the first electronic device determines that the current state is offline, it can directly call the interface of the Bluetooth module, and then trigger the Bluetooth module to send a Bluetooth broadcast. In some embodiments, when the first electronic device determines that the current state is offline, even if the first electronic device does not turn on the Bluetooth function, or the user turns off the Bluetooth function on the operation interface, in this scenario, it does not affect the second An electronic device directly invokes the Bluetooth module, that is to say, the first electronic device can drive the Bluetooth module to send Bluetooth broadcasts through an internal command of the system in an offline state.
- the Bluetooth broadcast carries an identifier of the first electronic device, and the identifier is used by the server to identify the identity of the first electronic device. Specifically, when the first electronic device logs in to the server, it sends the account number of the first electronic device and the identification of the first electronic device to the server, and the server saves the account number and identification of the first electronic device. When identifying the electronic device, it can be matched with the corresponding account.
- the Bluetooth broadcast carries the public key P of the first electronic device.
- the first electronic device updates the public key information at regular intervals (for example, one day). The information is sent to the server. Specifically, the electronic device uploads the public key to the server through other devices on the second day after it is lost. At this time, since the server pre-stores the public key information within 14 days after the loss, it can be matched according to the pre-stored public key information. Display the corresponding device information.
- the Bluetooth broadcast does not directly transmit the public key information of the first electronic device, so that other devices that receive the Bluetooth broadcast cannot know the specific information of the first electronic device, which can improve the security of the first electronic device.
- the security of the device In addition, periodically updating the public key can avoid the problem of public key information being tracked and cracked, improve the security of information transmission, and protect the privacy of users who lose their devices.
- the bluetooth broadcast message carries a loss identifier, for example, a certain identification bit in the bluetooth message is identified as "lost device", so that when the receiving electronic device receives the bluetooth broadcast , the subsequent step of further confirmation to the server can be triggered.
- the bluetooth broadcast message carries an event code, for example, the event code is 01, indicating that when the electronic device receives the bluetooth broadcast, it can trigger a subsequent step of further confirmation to the server; the event code is 02 means that when the electronic device receives the Bluetooth broadcast, it can trigger the subsequent step of reporting the location to the server; the second electronic device can identify the event corresponding to the event code after receiving the message, And execute the corresponding event according to the event code.
- the Bluetooth module of the first electronic device 100 sends a Bluetooth broadcast to the Bluetooth module of the second electronic device 200 .
- the second electronic device 200 receives the Bluetooth broadcast sent by the first electronic device through the Bluetooth module.
- the second electronic device may be any device around the lost device, and the second electronic device may perform Bluetooth communication with the first electronic device.
- the user can turn on the Bluetooth function in the settings of the second electronic device. After the Bluetooth function of the second electronic device is turned on, the second electronic device can monitor the broadcast sent by the first electronic device and assist the first electronic device in positioning.
- the Bluetooth module of the first electronic device 100 performs the Bluetooth broadcast at a preset transmission frequency when sending the Bluetooth broadcast, for example, every preset T time, and the duration of sending the Bluetooth broadcast is X seconds, During these X seconds, the Bluetooth broadcast information is sent continuously.
- the Bluetooth module of the second electronic device 200 performs signal scanning, it scans at a preset scanning frequency, and the preset second electronic device scans once every y seconds, and each scan lasts z seconds.
- the second electronic device can receive the broadcast.
- the second electronic device may scan once every 600ms, and the duration of each scan is 100ms.
- the second electronic device scans the Bluetooth broadcast
- the second electronic device records broadcast information corresponding to the Bluetooth broadcast.
- the second electronic device scans the Bluetooth broadcast (such as BLE broadcast) sent by the first electronic device
- the second electronic device records the Bluetooth broadcast and stores it in the database in the form of broadcast information.
- the broadcast information may include broadcast time (or scan time), BLE broadcast message, MAC address, signal strength RSSI, etc. as shown in Table 2.
- the second electronic device acquires the first location information according to the Bluetooth broadcast.
- the search module in the second electronic device 200 searches for at least one position acquired by the second electronic device 200 from the recording module according to the broadcast time of the Bluetooth broadcast information and obtain the acquisition time of at least one piece of location information.
- the search module obtains the first position information according to the broadcast time, and the first position information is at least one of the at least one position information.
- S404 may specifically be implemented as:
- the second electronic device acquires the broadcast time and the acquisition time of at least one location information according to the Bluetooth broadcast.
- the second electronic device scans the Bluetooth broadcast
- the second electronic device acquires the broadcast time of the Bluetooth broadcast, and acquires the acquisition time of at least one location information stored in the database.
- the second electronic device acquires the first location information according to the broadcast time and the acquisition time of at least one piece of location information.
- the second electronic device compares the broadcast time with the acquisition time of at least one location information.
- the second electronic device uses at least one piece of location information meeting the condition as the first location information.
- the condition may include one of the following items: the time difference between the broadcast time and the acquisition time of the location information is the smallest; the time difference between the broadcast time and the acquisition time of the location information is less than the first threshold; the time difference between the broadcast time and the acquisition time of the location information minimum, and the minimum time difference is smaller than the first threshold.
- the second electronic device determines that the time difference between the acquisition time and the broadcast time of the at least one piece of location information is the smallest.
- the second electronic device uses at least one piece of location information corresponding to the minimum time difference as the first location information.
- the second electronic device stores a piece of location information, and the positioning time of the location information L1 is: 2021.7.1 16:30:00:020.
- the broadcast time of the first Bluetooth broadcast is: 2021.7.1 16:31:10:121
- the second electronic device calculates the time difference between L1 and B1 as 1 minute 10 Seconds 101 milliseconds.
- the broadcast time of the second Bluetooth broadcast is: 2021.7.1 16:34:22:560
- the second electronic device calculates that the time difference between L1 and B2 is 4 minutes 22 seconds 540 milliseconds. It can be seen that the positioning reliability of L1 for B1 is high, and the positioning reliability of L1 for B2 is low.
- the second electronic device stores a plurality of pieces of location information, and the second electronic device also stores location information L2.
- the positioning time of the location information L2 is: 2021.7.1 16:35:22:560.
- the second electronic device scans the first Bluetooth broadcast B1
- the broadcast time of the first Bluetooth broadcast is: 2021.7.1 16:31:10:121
- the second electronic device calculates the time difference between L2 and B1 as 4 minutes 12 seconds 330 milliseconds.
- the second electronic device scans the second Bluetooth broadcast B2
- the broadcast time of the second Bluetooth broadcast is: 2021.7.1 16:34:22:560
- the second electronic device calculates that the time difference between L2 and B2 is 1 minute.
- the broadcast time of the third Bluetooth broadcast is: 2021.7.1 16:40:00:230, and the time difference between L2 and B3 calculated by the second electronic device is 4 minutes 37 seconds 670 milliseconds. Therefore, the positioning reliability of using L2 for B2 is high, the positioning reliability of using L2 for B1 is low, and the positioning reliability of using L2 for B3 is low.
- L1 is used for positioning of B1
- L2 is used for positioning of B2.
- the above minimum time difference is smaller than the first threshold. That is to say, the second electronic device determines that the time difference between the broadcast time and the acquisition time of the at least one location information is the smallest and smaller than the first threshold, and the second electronic device uses the at least one location information corresponding to the minimum time difference as the first location information.
- the first threshold can be set by the system, or the search module periodically sends the first threshold to the terminal from the cloud server.
- the first threshold may be 5 minutes or 4 minutes, which is not specifically limited in this embodiment of the present application, and needs to be determined according to actual conditions during specific implementation.
- the second electronic device determines that the time difference between the acquisition time and the broadcast time of at least one piece of location information is smaller than the first threshold.
- the second electronic device uses at least one piece of location information corresponding to less than the first threshold as the first location information.
- the second electronic device stores multiple pieces of location information, for example, the second electronic device stores location information L1 and location information L2.
- the second electronic device calculates that the time difference between L1 and B1 is 1 minute, 10 seconds and 101 milliseconds, the time difference between L1 and B2 is 4 minutes, 22 seconds and 540 milliseconds, and the time difference between L2 and B1 is 4 minutes, 12 seconds and 330 milliseconds, The time difference between L2 and B2 is 1 minute, and the time difference between L2 and B3 is 4 minutes, 37 seconds, 670 milliseconds. These time differences are all less than 5 minutes.
- the second electronic device determines L1 and L2 as the location information of the second electronic device; when the second electronic device receives the broadcast B1 sent by the first electronic device At B2, the second electronic device determines L1 and L2 as the location information of the second electronic device.
- the second electronic device receives the broadcast B3 sent by the first electronic device, the second electronic device determines L2 as the location information of the second electronic device.
- the second electronic device can use the location information obtained by other applications on the second electronic device, instead of calling the second application program frequently when the second electronic device scans the Bluetooth broadcast. In this way, power consumption can be effectively reduced, and the effect of multiple reporting of location information can be achieved at the same time, so that the efficiency of finding lost devices is high.
- the second electronic device acquires the location information in real time, and uses the acquired location information in real time as the first location information.
- the search module of the second electronic device calls the positioning module to obtain location information in real time, for example, the low power consumption positioning module in the second electronic device calls the fusion positioning module, and obtains the location information through the fusion positioning module .
- the recording module of the second electronic device 200 obtains the location information from the positioning module, records the location information and stores the location information in the database.
- the search module in the second electronic device 200 searches the recording module for the location information obtained by the second electronic device 200 according to the broadcast time of the Bluetooth broadcast, and uses the location information as the first location information.
- the device search method provided in this embodiment of the present application may further include:
- the second electronic device detects whether the second electronic device is connected to a network. If the second electronic device detects that the second electronic device is connected to the network, perform S405; if the second electronic device does not detect that the second electronic device is connected to the network, perform S411.
- connection of the second electronic device to the Internet can be understood as the connection of the second electronic device to the Internet through the fourth application program. That is to say, in order to use the fourth application program on the second electronic device, the user triggers the second electronic device to start a network connection operation, so that the second electronic device is connected to the network.
- the fourth application program can be understood as any application program on the second electronic device, for example, a food delivery application program, a taxi application program, a travel application program, a news application program, an entertainment application program, and the like.
- the fourth application program is not specifically limited in this embodiment of the application.
- the second electronic device when the second electronic device detects that a third application program reports data to the server, the second electronic device reports the first location information to the server. That is, when the second electronic device detects that one of the multiple application programs on the second electronic device interacts with the server, the second electronic device reports the first location information to the server.
- the server described in the embodiment of the present application and the server of the third application program are the same server. In this way, there is no need for the second electronic device to intentionally activate the network to report the location information, which can reduce the power consumption of independently turning on the network and reduce the power consumption of AP wake-up.
- the second electronic device does not report the second location information to the server.
- the second electronic device detects whether the second electronic device is enabled to connect to the Internet by the fourth application program. If the second electronic device detects that the second electronic device is connected to the Internet by the fourth application program, the second electronic device reports the first location information to the server. In this way, the second electronic device does not need to intentionally start the network to report the location information, thereby reducing the power consumption of waking up the AP and turning on the network.
- the second electronic device reports the first location information and the device information of the first electronic device to the server.
- the searching module in the second electronic device 200 sends the found first location information and device information of the first electronic device to the low power consumption reporting module.
- the low power consumption reporting module reports the first location information and the device information of the first electronic device to the server.
- the quantity of the first location information may be one or multiple, which is not specifically limited in this embodiment of the present application.
- the device information of the first electronic device may include the identification of the first electronic device or the public key information of the first electronic device, and the identification of the first electronic device or the public key information of the first electronic device may be sent from the first electronic device
- the device information of the first electronic device is used to instruct the server to match the location information of the second electronic device with the account of the first electronic device according to the device information of the first electronic device.
- the first electronic device when the first electronic device can perform Bluetooth short-range communication with the second electronic device, the physical distance between the two devices will be within a certain range, such as a range of about 10 meters, and the second electronic device will The location of is reported to the server as the nearby location of the first electronic device for the user to check.
- the second electronic device encrypts the first location information and reports it to the server.
- the second electronic device encrypts the location latitude and longitude and location accuracy of L1, and then reports it to the server.
- the Bluetooth broadcast sent by the first electronic device carries the derived public key Pi of the public key P.
- the second electronic device encrypts the first location information using the elliptic curve integrated encryption scheme (elliptic curve integrated encryption scheme, ECIES) algorithm to obtain the ciphertext of the first location information, and the ciphertext of the first location information carries the Hash of the public key Pi ciphertext.
- elliptic curve integrated encryption scheme elliptic curve integrated encryption scheme, ECIES
- the second electronic device reports location information to the server according to the offline location request sent by the first electronic device in S405.
- the second electronic device may also decide whether to report the location information to the server according to its own situation (for example, the second electronic device detects that other application programs report data to the server as described below).
- the second electronic device may also report the location information after receiving the reporting instruction sent by the server. For example, when the third electronic device requests the server to inquire about the location information of the first electronic device below, the server sends an instruction to report the location information to the second electronic device. , at this time, the second electronic device may report the location information to the server.
- the second electronic device when the second electronic device receives the broadcast sent by the first electronic device, the number of location information determined by the second electronic device is multiple, and the second electronic device reports the location information to the server in batches.
- the second electronic device determines L1 and L2 as the location information of the second electronic device.
- the second electronic device may report both the location information L1 and the location information L2 to the server.
- the second electronic device when the second electronic device receives the broadcast sent by the first electronic device, no matter whether the number of location information determined by the second electronic device is one or more.
- the second electronic device may report location information for a period of time to the server in batches. Exemplarily, as in the above example, the second electronic device determines the location information L1 of 2021.7.1 16:31:10:121, and the location information L2 of 2021.7.1 16:34:22:560.
- the second electronic device may report both the location information L1 and the location information L2 to the server.
- the second electronic device compared with reporting the location information once to the server after the second electronic device determines one piece of location information, the second electronic device can more effectively save power consumption by reporting the location information to the server in batches.
- the server updates the location information of the first electronic device according to the update information.
- the server matches the location information of the second electronic device with the account number of the first electronic device according to the device information of the first electronic device.
- the server may include the identifier of the first electronic device or the The public key information of an electronic device determines the account number of the first electronic device.
- the updating of the position information of the first electronic device includes: recording the position information of the second electronic device as the position information around the first electronic device, so that the position of the second electronic device is consistent with the position of the first electronic device, the position of the first electronic device The account has established an association relationship.
- updating the location information of the first electronic device specifically includes: the server may combine the location information of the multiple second electronic devices with the first electronic device. The accounts of the devices are matched, and the location information of multiple second electronic devices is recorded as the location information around the first electronic device.
- the third electronic device sends a query request to the server, where the query request is used to request to query the location information of the first electronic device.
- the third electronic device 300 sends a query request to the server.
- the query request carries device information of the first electronic device, specifically, the device information includes an identifier of the first electronic device or a public key Pi derived from the public key P of the first electronic device.
- the information carried by the first instruction may also include the battery level and function parameters (such as positioning function) of the second electronic device 200 .
- the user logs in the official website of the mobile phone manufacturer through the third electronic device or sends a query request through the third application program of the third electronic device.
- the query request carries the user's account information.
- Example 1 the user can operate the third application program on the third electronic device, and send a query request to the server through the third application program.
- the user can click the "Find My Device" icon of the third electronic device, and the interface of the third electronic device jumps from the interface shown in FIG. 7a to the interface shown in FIG. 7b.
- the third electronic device sends a query request to the server, and the query request carries the account number and the public key Pi derived from the public key P of the first electronic device.
- Example 2 the user may log in to the official website of the mobile phone manufacturer through the third electronic device.
- the user opens the official website.
- clicks the login control to log in on the web page clicks the login control to log in on the web page, and the third electronic device can send a query request to the server to enable the device search function. .
- sending the query request to the server by the third electronic device may be performed before S401, which is not specifically limited in this embodiment of the present application.
- the server sends the first location information to the third electronic device according to the query request.
- the server sends the first location information to the third electronic device 300 according to the query request.
- the user logs in the account of the first electronic device on the third electronic device.
- the server sends the location information of the second electronic device to the device logged in with the account number of the first electronic device, that is, the server sends the first electronic device
- the location information of the server is sent to the third electronic device, that is, the server sends the first location information to the third electronic device.
- the server sends the first location information of the second electronic device to the third electronic device, and the third electronic device decrypts the location information by using the private key di derived from the private key d.
- the third electronic device receives the ciphertext of the first location information, and decrypts the ciphertext of the first location information according to di derived from the private key d held by the third electronic device, to obtain the location of the second electronic device.
- the third electronic device displays a first interface, where the first interface includes a first location corresponding to the first location information.
- the third electronic device displays the first interface in the search module of the third electronic device according to the acquired location information
- the first interface may include at least one second electronic device.
- the first interface can also display distance scale lines. In this way, the user can intuitively see the position of the first electronic device around the second electronic device by viewing the first interface, so that the user can determine the approximate range of the first electronic device according to the position of the second electronic device, so that the user can more Quickly and accurately find lost devices, improving the recovery rate of lost devices.
- the server sends the first location information of the second electronic device to the third electronic device, and the interface on the third electronic device jumps from the interface shown in FIG. 7b to the interface shown in FIG. 7c.
- the approximate area of the first electronic device, the offline time of the first electronic device, and functional controls are displayed on the interface.
- the functional controls may include controls such as positioning the device, preset ringtones, lost mode, and deleting data.
- the server sends the first location information of the second electronic device to the third electronic device, and another display interface of the third electronic device is the interface shown in FIG. 7d.
- the interface shown in FIG. 7d Under the "Offline Search" function option on this interface, "My device huawei P40", offline time “2021-6-30 12:22”, and time of successful positioning "2021-7-1 16:31:10” can be displayed. ” and the specific positioning location, etc.
- the interface shown in FIG. 7d may also include functional options such as “lock device”, “SMS notification”, “delete data” and “preset ringtone”. Wherein, the "lock device” function option can lock the first electronic device so that the other party cannot operate it.
- the "short message notification” function option can send a short message to the first electronic device.
- the "delete data” function option can delete the data stored on the first electronic device to prevent information leakage.
- the "preset ringtone” function option can set an alarm ringtone for the first electronic device to remind surrounding users that the first electronic device is a lost device.
- a user may log in to an official website of a mobile phone manufacturer through a third electronic device.
- the user opens the official website.
- the server sends the location information with the highest reliability to the third electronic device.
- the third electronic device displays the interface shown in FIG. 7e.
- a plurality of location information of the first electronic device is displayed on the interface, such as "2021.7.1 16:31:10 LI", “2021.7.1 16:34:22 L2" and other location information shown in FIG. 7e.
- the first electronic device may be a locator or a tracker
- the second electronic device may be a mobile phone
- the third electronic device may be a mobile phone or a computer.
- the first electronic device can be hung on a user's item (such as a backpack).
- the first electronic device is Bluetooth paired with the second electronic device, and the first electronic device can be key paired with the third electronic device.
- the first electronic device sends the Bluetooth broadcast to the second electronic device.
- the second electronic device scans the Bluetooth broadcast sent by the first electronic device
- the second electronic device searches the pre-stored location information for the first location information matching the Bluetooth broadcast.
- the second device reports the first location information to the server.
- the third electronic device When the user uses the third electronic device to search for the first electronic device, the third electronic device sends a query request to the server, and the server searches for the first location information of the second electronic device according to the query request, and sends the first location information of the second electronic device to The information is sent to a third electronic device.
- the third electronic device displays the position of the second electronic device, so that the user can determine the approximate range of the first electronic device according to the position of the second electronic device, so that the user can find the user's object more quickly and accurately, and the search efficiency is improved.
- the embodiment of the present application also provides an electronic device, including one or more processors and one or more memories.
- the one or more memories are coupled with one or more processors, the one or more memories are used to store computer program codes, the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the electronic device performs The above related method steps implement the methods in the above embodiments.
- An embodiment of the present application also provides a computer-readable storage medium, including instructions, which, when run on a computer, cause the computer to execute any one of the above methods.
- the embodiment of the present application also provides a computer program product containing instructions, which, when run on a computer, causes the computer to execute any one of the above methods.
- an embodiment of the present application also provides a device, which may specifically be a chip, a component or a module, and the device may include a connected processor and a memory; wherein the memory is used to store computer-executable instructions, and when the device is running, The processor can execute the computer-executable instructions stored in the memory, so that the chip executes any one of the above-mentioned methods in the electronic device in the above-mentioned method embodiments.
- the embodiment of the present application also provides a chip, the chip includes a processor and an interface circuit, the interface circuit is coupled to the processor, the processor is used to run computer programs or instructions to implement the above method, and the interface circuit is used to communicate with other modules outside the chip to communicate.
- words such as “exemplary” or “for example” are used to mean an example, illustration or illustration. Any embodiment or design scheme described as “exemplary” or “for example” in the embodiments of the present application shall not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. Rather, the use of words such as “exemplary” or “such as” is intended to present related concepts in a concrete manner.
- the disclosed devices and methods may be implemented in other ways.
- the device embodiments described above are only illustrative.
- the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods.
- multiple units or components can be Incorporation or may be integrated into another device, or some features may be omitted, or not implemented.
- the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
- the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may be one physical unit or multiple physical units, that is, it may be located in one place, or may be distributed to multiple different places . Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
- the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
- the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a readable storage medium.
- the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium Among them, several instructions are included to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application.
- the aforementioned storage medium includes: various media that can store program codes such as U disk, mobile hard disk, read only memory (ROM), random access memory (random access memory, RAM), magnetic disk or optical disk.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
Claims (48)
- 一种设备查找方法,其特征在于,包括:第二电子设备的第一应用程序获取至少一个位置信息;在所述第二电子设备的所述第一应用程序获取至少一个位置信息之后,第一电子设备向所述第二电子设备发送第一蓝牙广播,所述第一电子设备为离线状态;所述第二电子设备扫描所述第一电子设备发送的所述第一蓝牙广播;所述第二电子设备根据所述第一蓝牙广播获取第一位置信息,所述第一位置信息为至少一个位置信息中的至少一个;所述第二电子设备将所述第一位置信息上报给服务器。
- 根据权利要求1所述的方法,其特征在于,所述第二电子设备将所述第一位置信息上报给服务器,包括:所述第二电子设备将所述第一位置信息及所述第一电子设备的设备信息上报给服务器;其中,所述第一电子设备的设备信息用于指示所述服务器根据所述第一电子设备的设备信息将所述第二电子设备位置信息与第一电子设备账号相匹配。
- 根据权利要求1或2所述的方法,其特征在于,在所述第二电子设备将所述第一位置信息上报给服务器之后,还包括:第三电子设备向所述服务器发送查询请求,所述查询请求用于请求查询所述第一电子设备的位置;所述服务器根据所述查询请求,获取所述第一位置信息;服务器将所述第一位置信息发送给所述第三电子设备;所述第三电子设备显示第一界面,所述第一界面包括所述第一位置信息对应的第一位置。
- 根据权利要求1-3中任一项所述的方法,其特征在于,所述第二电子设备根据所述第一蓝牙广播获取第一位置信息,包括:所述第二电子设备根据所述第一蓝牙广播获取广播时间及至少一个位置信息的获取时间;所述第二电子设备根据所述广播时间及与所述至少一个位置信息的获取时间,获取所述第一位置信息。
- 根据权利要求4所述的方法,其特征在于,所述第二电子设备根据所述广播时间及与所述至少一个位置信息的获取时间,获取所述第一位置信息,包括:所述第二电子设备确定所述至少一个位置信息的获取时间和所述广播时间的时间差小于第一阈值;所述第二电子设备将小于所述第一阈值对应的至少一个位置信息作为所述第一位置信息。
- 根据权利要求4所述的方法,其特征在于,所述第二电子设备根据所述广播时间及与所述至少一个位置信息的获取时间,获取所述第一位置信息,包括:所述第二电子设备确定所述至少一个位置信息的获取时间和广播时间的时间差最 小;所述第二电子设备将最小所述时间差对应的至少一个位置信息作为所述第一位置信息。
- 根据权利要求6所述的方法,其特征在于,所述第二电子设备确定所述至少一个位置信息的获取时间和广播时间的时间差最小包括:所述第二电子设备确定所述至少一个位置信息的获取时间和广播时间的时间差最小且所述时间差小于第二阈值。
- 根据权利要求1-7中任一项所述的方法,其特征在于,还包括:所述第二电子设备扫描到的第二蓝牙广播的广播时间与所述至少一个位置信息的获取时间的时间差大于第三阈值,所述第二电子设备调用第二应用程序获取位置信息。
- 根据权利要求8所述的方法,其特征在于,所述第二应用程序为所述第二电子设备中任一能够获取位置信息的应用程序。
- 根据权利要求1-9中任一项所述的方法,其特征在于,所述第二电子设备将所述第一位置信息上报给服务器,包括:当所述第二电子设备检测到存在第三应用程序向所述服务器上报数据时,所述第二电子设备将所述第一位置信息上报给所述服务器。
- 根据权利要求1-9中任一项所述的方法,其特征在于,所述第二电子设备将所述第一位置信息上报给服务器,包括:当所述第二电子设备连网时,所述第二电子设备将所述第一位置信息上报给所述服务器,其中,所述第二电子设备由第四应用程序开启连网。
- 根据权利要求1-11中任一项所述的方法,其特征在于,所述第二电子设备将所述第一位置信息上报给服务器,包括:所述第二电子设备同时将多个所述第一位置信息上报给所述服务器。
- 根据权利要求1-12中任一项所述的方法,其特征在于,在所述第二电子设备的第一应用程序获取至少一个位置信息之前,还包括:所述第二电子设备接收用户对所述第一应用程序的操作,其中,所述第一应用程序预先开启获取位置功能;响应于所述用户对所述第一应用程序的操作,所述第二电子设备启动所述第一应用程序。
- 根据权利要求1-13中任一项所述的方法,其特征在于,所述第二电子设备的数量为至少一个。
- 根据权利要求3-14中任一项所述的方法,其特征在于,还包括:所述第一电子设备与所述第三电子设备预先配对,产生一对椭圆曲线上的公钥和私钥;所述第一电子设备持有所述公钥,所述第三电子设备持有所述私钥和所述公钥。
- 根据权利要求3-14中任一项所述的方法,其特征在于,还包括:所述第一电子设备生成一对椭圆曲线上的公钥和私钥;在信任环境下,所述第一电子设备将所述公钥和私钥同步到所述第三电子设备上,所述第三电子设备与所述第一电子设备采用同一账号。
- 一种设备查找方法,其特征在于,包括:第二电子设备的第一应用程序获取至少一个位置信息;在所述第一应用程序获取至少一个位置信息之后,所述第二电子设备扫描第一电子设备发送的第一蓝牙广播,所述第一电子设备为离线状态;所述第二电子设备根据所述第一蓝牙广播获取第一位置信息,所述第一位置信息为至少一个位置信息中的至少一个;所述第二电子设备将所述第一位置信息上报给服务器。
- 根据权利要求17所述的方法,其特征在于,所述第二电子设备将所述第一位置信息上报给服务器,包括:所述第二电子设备将所述第一位置信息及所述第一电子设备的设备信息上报给服务器;其中,所述第一电子设备的设备信息用于指示所述服务器根据所述第一电子设备的设备信息将所述第二电子设备位置信息与第一电子设备账号相匹配。
- 根据权利要求17或18所述的方法,其特征在于,所述第二电子设备根据所述第一蓝牙广播获取第一位置信息,包括:所述第二电子设备根据所述第一蓝牙广播获取广播时间及至少一个位置信息的获取时间;所述第二电子设备根据所述广播时间及与所述至少一个位置信息的获取时间,获取所述第一位置信息。
- 根据权利要求19所述的方法,其特征在于,所述第二电子设备根据所述广播时间及与所述至少一个位置信息的获取时间,获取所述第一位置信息,包括:所述第二电子设备确定所述至少一个位置信息的获取时间和所述广播时间的时间差小于第一阈值;所述第二电子设备将小于所述第一阈值对应的至少一个位置信息作为所述第一位置信息。
- 根据权利要求19所述的方法,其特征在于,所述第二电子设备根据所述广播时间及与所述至少一个位置信息的获取时间,获取所述第一位置信息,包括:所述第二电子设备确定所述至少一个位置信息的获取时间和广播时间的时间差最小;所述第二电子设备将最小所述时间差对应的至少一个位置信息作为所述第一位置信息。
- 根据权利要求21所述的方法,其特征在于,所述第二电子设备确定所述至少一个位置信息的获取时间和广播时间的时间差最小包括:所述第二电子设备确定所述至少一个位置信息的获取时间和广播时间的时间差最小且所述时间差小于第二阈值。
- 根据权利要求17-22中任一项所述的方法,其特征在于,还包括:所述第二电子设备扫描到的第二蓝牙广播的广播时间与所述至少一个位置信息的获取时间的时间差大于第三阈值,所述第二电子设备调用第二应用程序获取位置信息。
- 根据权利要求23所述的方法,其特征在于,所述第二应用程序为所述第二电 子设备中任一能够获取位置信息的应用程序。
- 根据权利要求17-24中任一项所述的方法,其特征在于,所述第二电子设备将所述第一位置信息上报给服务器,包括:当所述第二电子设备检测到存在第三应用程序向所述服务器上报数据时,所述第二电子设备将所述第一位置信息上报给所述服务器。
- 根据权利要求17-24中任一项所述的方法,其特征在于,所述第二电子设备将所述第一位置信息上报给服务器,包括:当所述第二电子设备连网时,所述第二电子设备将所述第一位置信息上报给所述服务器,其中,所述第二电子设备由第四应用程序开启连网。
- 根据权利要求17-26中任一项所述的方法,其特征在于,所述第二电子设备将所述第一位置信息上报给服务器,包括:所述第二电子设备同时将多个所述第一位置信息上报给所述服务器。
- 根据权利要求17-27中任一项所述的方法,其特征在于,在所述第二电子设备的第一应用程序获取至少一个位置信息之前,还包括:所述第二电子设备接收用户对所述第一应用程序的操作,其中,所述第一应用程序预先开启获取位置功能;响应于所述用户对所述第一应用程序的操作,所述第二电子设备启动所述第一应用程序。
- 根据权利要求17-28中任一项所述的方法,其特征在于,所述第二电子设备的数量为至少一个。
- 一种设备查找系统,其特征在于,包括:第二电子设备,所述第二电子设备的第一应用程序获取至少一个位置信息;第一电子设备,用于在所述第一应用程序获取至少一个位置信息之后,向所述第二电子设备发送第一蓝牙广播,所述第一电子设备为离线状态;所述第二电子设备用于扫描所述第一电子设备发送的所述第一蓝牙广播;所述第二电子设备用于根据所述第一蓝牙广播获取第一位置信息,所述第一位置信息为至少一个位置信息中的至少一个;所述第二电子设备用于将所述第一位置信息上报给服务器。
- 根据权利要求30所述的系统,其特征在于,所述第二电子设备还用于:将所述第一位置信息及所述第一电子设备的设备信息上报给服务器;其中,所述第一电子设备的设备信息用于指示所述服务器根据所述第一电子设备的设备信息将所述第二电子设备位置信息与第一电子设备账号相匹配。
- 根据权利要求30或31所述的系统,其特征在于,还包括:第三电子设备,用于向所述服务器发送查询请求,所述查询请求用于请求查询所述第一电子设备的位置;所述服务器,用于根据所述查询请求,获取所述第一位置信息;服务器还用于将所述第一位置信息发送给所述第三电子设备;所述第三电子设备还用于显示第一界面,所述第一界面包括所述第一位置信息对应的第一位置。
- 根据权利要求30-32中任一项所述的系统,其特征在于,所述第二电子设备还用于:根据所述第一蓝牙广播获取广播时间及至少一个位置信息的获取时间;根据所述广播时间及与所述至少一个位置信息的获取时间,获取所述第一位置信息。
- 根据权利要求33所述的系统,其特征在于,所述第二电子设备还用于:确定所述至少一个位置信息的获取时间和所述广播时间的时间差小于第一阈值;将小于所述第一阈值对应的至少一个位置信息作为所述第一位置信息。
- 根据权利要求33所述的系统,其特征在于,所述第二电子设备还用于:确定所述至少一个位置信息的获取时间和广播时间的时间差最小;将最小所述时间差对应的至少一个位置信息作为所述第一位置信息。
- 根据权利要求35所述的系统,其特征在于,所述第二电子设备还用于:确定所述至少一个位置信息的获取时间和广播时间的时间差最小且所述时间差小于第二阈值。
- 根据权利要求30-36中任一项所述的系统,其特征在于,所述第二电子设备还用于:扫描到的第二蓝牙广播的广播时间与所述至少一个位置信息的获取时间的时间差大于第三阈值,调用第二应用程序获取位置信息。
- 根据权利要求37所述的系统,其特征在于,所述第二应用程序为所述第二电子设备中任一能够获取位置信息的应用程序。
- 根据权利要求30-38中任一项所述的系统,其特征在于,所述第二电子设备还用于:当所述第二电子设备检测到存在第三应用程序向所述服务器上报数据时,将所述第一位置信息上报给所述服务器。
- 根据权利要求30-38中任一项所述的系统,其特征在于,所述第二电子设备还用于:当所述第二电子设备连网时,将所述第一位置信息上报给所述服务器,其中,所述第二电子设备由第四应用程序开启连网。
- 根据权利要求30-39中任一项所述的系统,其特征在于,所述第二电子设备还用于:同时将多个所述第一位置信息上报给所述服务器。
- 根据权利要求30-40中任一项所述的系统,其特征在于,所述第二电子设备还用于:接收用户对所述第一应用程序的操作,其中,所述第一应用程序预先开启获取位置功能;响应于所述用户对所述第一应用程序的操作,启动所述第一应用程序。
- 根据权利要求30-42中任一项所述的系统,其特征在于,所述第二电子设备的数量为至少一个。
- 根据权利要求32-43中任一项所述的系统,其特征在于,所述第一电子设备 还用于:与所述第三电子设备预先配对,产生一对椭圆曲线上的公钥和私钥;所述第一电子设备持有所述公钥,所述第三电子设备持有所述私钥和所述公钥。
- 根据权利要求32-43中任一项所述的系统,其特征在于,所述第一电子设备还用于:生成一对椭圆曲线上的公钥和私钥;在信任环境下,将所述公钥和私钥同步到所述第三电子设备上,所述第三电子设备与所述第一电子设备采用同一账号。
- 一种电子设备,所述电子设备用作第一电子设备,包括触控屏、存储器、收发器、一个或多个处理器、多个应用程序、以及一个或多个程序;其中,所述一个或多个程序被存储在所述存储器中,所述收发器用于发射或接收无线信号;其特征在于,所述一个或多个处理器在执行所述一个或多个程序时,使得所述电子设备实现如权利要求1-16任一项所述的方法,或者,使得所述电子设备实现如权利要求17-29任一项所述的方法。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时使所述计算机执行如权利要求1-16任一项所述的方法,或者,如权利要求17-29任一项所述的方法。
- 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1-16任一项所述的方法,或者,如权利要求17-29任一项所述的方法。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP22874491.8A EP4398608A4 (en) | 2021-09-30 | 2022-08-22 | Device search method, electronic device, and system |
| US18/696,660 US20250324384A1 (en) | 2021-09-30 | 2022-08-22 | Device Search Method and System, and Electronic Device |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111163826.6 | 2021-09-30 | ||
| CN202111163826.6A CN115914985B (zh) | 2021-09-30 | 设备查找方法、电子设备及系统 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023051098A1 true WO2023051098A1 (zh) | 2023-04-06 |
Family
ID=85739424
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/114042 Ceased WO2023051098A1 (zh) | 2021-09-30 | 2022-08-22 | 设备查找方法、电子设备及系统 |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US20250324384A1 (zh) |
| EP (1) | EP4398608A4 (zh) |
| WO (1) | WO2023051098A1 (zh) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119277511A (zh) * | 2024-03-28 | 2025-01-07 | 荣耀终端有限公司 | 一种定位方法、电子设备和可读存储介质 |
| CN120185939A (zh) * | 2025-05-21 | 2025-06-20 | 支付宝(杭州)信息技术有限公司 | 签到处理方法及装置 |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9153120B1 (en) * | 2013-06-26 | 2015-10-06 | Symantec Corporation | Systems and methods for locating lost devices |
| CN105303791A (zh) * | 2015-09-06 | 2016-02-03 | 北京自在科技有限责任公司 | 一种使用移动互联手机与蓝牙技术结合寻物防丢的方法 |
| CN105491523A (zh) * | 2015-12-08 | 2016-04-13 | 小米科技有限责任公司 | 一种获取位置信息的方法和装置 |
| CN107484113A (zh) * | 2017-09-22 | 2017-12-15 | 深圳思瓦科技有限公司 | 一种蓝牙云防丢器的实现方法及系统 |
| CN110505347A (zh) * | 2019-08-27 | 2019-11-26 | RealMe重庆移动通信有限公司 | 移动终端丢失处理方法、装置以及存储介质 |
| CN110972059A (zh) * | 2019-12-04 | 2020-04-07 | 深圳传音控股股份有限公司 | 无线设备寻回方法、移动终端及计算机存储介质 |
| CN111464994A (zh) * | 2020-06-16 | 2020-07-28 | 飞天诚信科技股份有限公司 | 一种实现蓝牙设备众寻的方法及系统 |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8351912B2 (en) * | 2008-12-12 | 2013-01-08 | Research In Motion Limited | System and method for providing traffic notifications to mobile devices |
| GB201317211D0 (en) * | 2013-09-27 | 2013-11-13 | Blue Sync Ltd | Communication method and system |
| CA2933865A1 (en) * | 2015-06-24 | 2016-12-24 | Nearable Technology Corp. | A method of locating a mobile device and a cloud computer system employing same |
| CN105491524B (zh) * | 2015-12-11 | 2019-04-26 | 小米科技有限责任公司 | 一种确定目标便携设备位置的方法和装置 |
| CN105813021A (zh) * | 2016-05-30 | 2016-07-27 | 维沃移动通信有限公司 | 一种移动终端寻回方法、移动终端及服务器 |
| CN106851583A (zh) * | 2017-04-07 | 2017-06-13 | 广东欧珀移动通信有限公司 | 移动终端的位置信息获取方法、装置及移动终端 |
| CN109195109A (zh) * | 2018-08-03 | 2019-01-11 | 珠海格力电器股份有限公司 | 一种移动终端的定位方法及装置 |
| US11096008B1 (en) * | 2020-11-23 | 2021-08-17 | Relay, Inc. | Indoor positioning techniques using beacons |
-
2022
- 2022-08-22 US US18/696,660 patent/US20250324384A1/en active Pending
- 2022-08-22 WO PCT/CN2022/114042 patent/WO2023051098A1/zh not_active Ceased
- 2022-08-22 EP EP22874491.8A patent/EP4398608A4/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9153120B1 (en) * | 2013-06-26 | 2015-10-06 | Symantec Corporation | Systems and methods for locating lost devices |
| CN105303791A (zh) * | 2015-09-06 | 2016-02-03 | 北京自在科技有限责任公司 | 一种使用移动互联手机与蓝牙技术结合寻物防丢的方法 |
| CN105491523A (zh) * | 2015-12-08 | 2016-04-13 | 小米科技有限责任公司 | 一种获取位置信息的方法和装置 |
| CN107484113A (zh) * | 2017-09-22 | 2017-12-15 | 深圳思瓦科技有限公司 | 一种蓝牙云防丢器的实现方法及系统 |
| CN110505347A (zh) * | 2019-08-27 | 2019-11-26 | RealMe重庆移动通信有限公司 | 移动终端丢失处理方法、装置以及存储介质 |
| CN110972059A (zh) * | 2019-12-04 | 2020-04-07 | 深圳传音控股股份有限公司 | 无线设备寻回方法、移动终端及计算机存储介质 |
| CN111464994A (zh) * | 2020-06-16 | 2020-07-28 | 飞天诚信科技股份有限公司 | 一种实现蓝牙设备众寻的方法及系统 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4398608A4 |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119277511A (zh) * | 2024-03-28 | 2025-01-07 | 荣耀终端有限公司 | 一种定位方法、电子设备和可读存储介质 |
| CN120185939A (zh) * | 2025-05-21 | 2025-06-20 | 支付宝(杭州)信息技术有限公司 | 签到处理方法及装置 |
| CN120185939B (zh) * | 2025-05-21 | 2025-11-04 | 支付宝(杭州)信息技术有限公司 | 签到处理方法及装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| EP4398608A4 (en) | 2025-04-16 |
| CN115914985A (zh) | 2023-04-04 |
| US20250324384A1 (en) | 2025-10-16 |
| EP4398608A1 (en) | 2024-07-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111954283B (zh) | 一种接入无线局域网的方法和终端 | |
| WO2021164554A1 (zh) | 通知处理系统、方法以及电子设备 | |
| WO2021036809A1 (zh) | 一种sim模块的管理方法及电子设备 | |
| CN113170279B (zh) | 基于低功耗蓝牙的通信方法及相关装置 | |
| CN110505572A (zh) | 一种室内定位方法及电子设备 | |
| CN115080941B (zh) | 账号登录的方法及电子设备 | |
| WO2020150894A1 (zh) | 一种基于应用的来电显示方法和终端设备 | |
| US12164042B2 (en) | Exercise track recording method and related device | |
| WO2021017894A1 (zh) | 一种使用远程sim模块的方法及电子设备 | |
| CN115017495B (zh) | 定时校验方法、电子设备和可读存储介质 | |
| WO2020211705A1 (zh) | 一种联系人的推荐方法及电子设备 | |
| CN114157756A (zh) | 任务处理方法及相关电子设备 | |
| CN113923611A (zh) | 一种呼叫转移系统及相关装置 | |
| US20240422260A1 (en) | Call method, electronic device, network device, and system | |
| WO2023051098A1 (zh) | 设备查找方法、电子设备及系统 | |
| CN110837439A (zh) | 一种文件备份方法、终端与通信系统 | |
| CN106850957B (zh) | 应用通知管理的方法、装置及移动终端 | |
| EP4336865A1 (en) | Interaction method and apparatus for electronic device | |
| CN115914985B (zh) | 设备查找方法、电子设备及系统 | |
| CN116033333B (zh) | 确定位置信息的方法、电子设备及可读存储介质 | |
| CN116346975A (zh) | 同步通话记录的方法、电子设备及可读存储介质 | |
| WO2022068729A1 (zh) | 一种无线充电显示方法与电子设备 | |
| US20250358777A1 (en) | Find network device management method and electronic device | |
| US20250008441A1 (en) | Power consumption reduction method and electronic device | |
| WO2024066837A1 (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: 22874491 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2022874491 Country of ref document: EP |
|
| ENP | Entry into the national phase |
Ref document number: 2022874491 Country of ref document: EP Effective date: 20240402 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWP | Wipo information: published in national office |
Ref document number: 18696660 Country of ref document: US |

