Electronic device interaction method and apparatus
By using Bluetooth signal interaction and device pairing, the problem of locating unconnected devices has been solved, enabling fast and accurate device location and improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-01
- Publication Date
- 2026-03-17
AI Technical Summary
If a smart electronic device is lost and not connected to the internet, the server cannot locate its position, resulting in a poor user experience.
The first electronic device sends a Bluetooth signal to the second electronic device. After scanning and pairing, the second electronic device queries the server for the status of the first electronic device. If the first electronic device is lost, it obtains and sends its location information.
It enables quick and accurate location of lost devices even when they are not connected to the internet, improving the efficiency of device retrieval for users.
Smart Images

Figure CN115580823B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic technology, and in particular to an electronic device interaction method and related equipment. Background Technology
[0002] Currently, when a smart electronic device is lost, users typically need to log in to the phone manufacturer's official website or access the lost cloud account through another electronic device to view the phone's location at the last known login. This allows them to retrieve the phone. When the lost device is online, the server can pinpoint its location in real time; however, if the device is offline, the server cannot obtain its location, making recovery impossible and resulting in a poor user experience. Summary of the Invention
[0003] This application provides an electronic device interaction method and apparatus that can locate lost devices, helping users find lost devices more quickly and accurately.
[0004] The present application is described below from different aspects. It should be understood that the different implementation methods and beneficial effects described below can be referenced from each other.
[0005] In a first aspect, embodiments of this application provide an electronic device interaction method, specifically including: a first electronic device sending a Bluetooth signal to a second electronic device, wherein the first electronic device is in an offline state; the second electronic device scanning the Bluetooth signal sent by the first electronic device; the first electronic device and the second electronic device pairing via Bluetooth; the second electronic device sending a query request to a server; the second electronic device receiving return information sent by the server, the return information including the status of the first electronic device; the second electronic device sending the status of the first electronic device back to the first electronic device; the first electronic device determining whether the status is a lost state; if the first electronic device is a lost state, the first electronic device sending an offline location request, the offline location request instructing the second electronic device to send its location information to the server; the second electronic device acquiring the offline location request; the second electronic device acquiring its location information based on the offline location request and sending the location information to the server.
[0006] By adopting the above embodiments, the second electronic device and the first electronic device can be quickly paired, enabling the second electronic device in the vicinity of the lost device to locate the offline lost device, thus helping the user to find the lost device more quickly and accurately.
[0007] In conjunction with the first aspect, in one possible implementation, the first electronic device sending a Bluetooth signal to the second electronic device includes: the first electronic device broadcasting Bluetooth signals at a preset transmission frequency, wherein the preset transmission frequency is to send Bluetooth broadcasts once every first interval, and the duration of the Bluetooth broadcast is a first duration.
[0008] In conjunction with the first aspect, in one possible implementation, the second electronic device scanning the Bluetooth signal sent by the first electronic device includes: the second electronic device scanning at a preset scanning frequency, wherein the preset scanning frequency is to perform Bluetooth signal scanning every second time interval, and the duration of the Bluetooth signal scanning is a second duration.
[0009] In conjunction with the first aspect, in one possible implementation, the value of the second interval time is not greater than the value of the first duration.
[0010] By adopting the above-described scheme, the confirmation process in the case of unknown loss status reduces the power consumption of the transmitting and receiving devices while ensuring that the transmitting and receiving devices can discover each other, thus avoiding power waste in the confirmation process in the case of unknown loss status.
[0011] In conjunction with the first aspect, in one possible implementation, before the first electronic device sends a Bluetooth signal to the second electronic device, the method further includes: the first electronic device obtaining the first interval time and the first duration from the server; and the second electronic device obtaining the second interval time and the second duration from the server.
[0012] In conjunction with the first aspect, in one possible implementation, the offline location request is also used to instruct the first electronic device to perform a second Bluetooth pairing with the second electronic device.
[0013] In conjunction with the first aspect, in one possible implementation, the offline location request is further used to instruct the first electronic device and the second electronic device to perform a second Bluetooth pairing, including: the first electronic device and the second electronic device performing Bluetooth pairing in a second manner; wherein, the second manner of Bluetooth pairing includes: the first electronic device continuously sending Bluetooth broadcasts, and / or the second electronic device continuously scanning for Bluetooth broadcasts.
[0014] In conjunction with the first aspect, in one possible implementation, before the first electronic device sends a Bluetooth signal to the second electronic device, the method further includes: the first electronic device activating the phone retrieval function.
[0015] In conjunction with the first aspect, in one possible implementation, the method further includes: a user logging into a third electronic device using an account on a first electronic device; the server sending update information to the third electronic device, the update information including the location information of the second electronic device; and the third electronic device displaying a first interface, the first interface including the location of the second electronic device.
[0016] In conjunction with the first aspect, in one possible implementation, the method further includes: the first interface further includes information about the first electronic device.
[0017] In conjunction with the first aspect, in one possible implementation, the method further includes: if the first electronic device is not lost, the method further includes: the first electronic device sending a Bluetooth signal to a second electronic device at the preset transmission frequency; and the second electronic device scanning the Bluetooth signal sent by the first electronic device at the preset scanning frequency.
[0018] In conjunction with the first aspect, in one possible implementation, the number of the second electronic devices is at least two devices.
[0019] In conjunction with the first aspect, in one possible implementation, the number of the second electronic devices is at least two. Before the second electronic devices receive the return information sent by the server, the method further includes: the server determining whether the number of the second electronic devices exceeds a first threshold; if the number of the second electronic devices does not exceed the first threshold, the server sends the return information to the second electronic devices; if the number of the second electronic devices exceeds the first threshold, the server selects a portion of the second electronic devices and sends the return information to that portion of the second electronic devices.
[0020] In conjunction with the first aspect, in one possible implementation, before the second electronic device sends a query request to the server, the method further includes: the second electronic device determining whether the number of service requests exceeds a preset first threshold; if the second electronic device determines that the number of service requests does not exceed the preset first threshold, then the second electronic device sends a query request to the server; if the second electronic device determines that the number of service requests exceeds the preset first threshold, then the second electronic device does not send a query request to the server.
[0021] In conjunction with the first aspect, in one possible implementation, before the second electronic device obtains its location information based on an offline positioning request and sends the location information to the server, the method further includes: the second electronic device determining whether the number of service requests exceeds a preset first threshold; if the second electronic device determines that the number of service requests does not exceed the preset first threshold, then the second electronic device obtains its location information and sends the location information to the server; if the second electronic device determines that the number of service requests exceeds the preset first threshold, then the second electronic device does not obtain its location information.
[0022] Secondly, embodiments of this application provide an electronic device interaction method, specifically including: a first electronic device sending a Bluetooth signal to a second electronic device, wherein the first electronic device is in an offline state; the first electronic device and the second electronic device pairing via Bluetooth; the first electronic device acquiring the status of the first electronic device sent by the second electronic device, wherein the status of the first electronic device is obtained by the second electronic device from a server; the first electronic device determining whether the status is a lost state; if the first electronic device is a lost state, the first electronic device sending an offline location request, wherein the offline location request instructs the second electronic device to send the location information of the second electronic device to the server.
[0023] In conjunction with the second aspect, in one possible implementation, the first electronic device sending a Bluetooth signal to the second electronic device includes: the first electronic device broadcasting Bluetooth signals at a preset transmission frequency, wherein the preset transmission frequency is to send Bluetooth broadcasts once every first interval, and the duration of the Bluetooth broadcast is a first duration.
[0024] In conjunction with the second aspect, in one possible implementation, Bluetooth pairing between the first electronic device and the second electronic device includes: the second electronic device scanning at a preset scanning frequency, wherein the preset scanning frequency is performing Bluetooth signal scanning every second time interval, and the duration of the Bluetooth signal scanning is a second duration.
[0025] In conjunction with the second aspect, in one possible implementation, the value of the second interval time is not greater than the value of the first duration.
[0026] In conjunction with the second aspect, in one possible implementation, before the first electronic device sends a Bluetooth signal to the second electronic device, the method further includes: the first electronic device obtaining the first interval time and the first duration from the server.
[0027] In conjunction with the second aspect, in one possible implementation, the offline location request is also used to instruct the first electronic device to perform a second Bluetooth pairing with the second electronic device.
[0028] In conjunction with the second aspect, in one possible implementation, the offline location request is further used to instruct the first electronic device and the second electronic device to perform a second Bluetooth pairing, including: the first electronic device continuously sending Bluetooth broadcasts, and the first electronic device and the second electronic device performing Bluetooth pairing.
[0029] In conjunction with the second aspect, in one possible implementation, before the first electronic device sends a Bluetooth signal to the second electronic device, the method further includes: the first electronic device activating the phone retrieval function.
[0030] In conjunction with the second aspect, in one possible implementation, if the first electronic device is not lost, the method further includes: the first electronic device sending a Bluetooth signal to the second electronic device at the preset transmission frequency.
[0031] Thirdly, embodiments of this application provide an electronic device interaction method, specifically including: a second electronic device scanning the Bluetooth signal sent by a first electronic device; the second electronic device pairing with the first electronic device via Bluetooth; the second electronic device sending a query request to a server; the second electronic device receiving return information sent by the server, the return information including the status of the first electronic device; the second electronic device sending the status of the first electronic device back to the first electronic device; the second electronic device obtaining an offline positioning request sent by the first electronic device; the second electronic device obtaining the location information of the second electronic device based on the offline positioning request, and sending the location information of the second electronic device to the server.
[0032] In conjunction with the third aspect, in one possible implementation, the first electronic device sending a Bluetooth signal to the second electronic device includes: the first electronic device broadcasting Bluetooth signals at a preset transmission frequency, wherein the preset transmission frequency is to send Bluetooth broadcasts once every first interval, and the duration of the Bluetooth broadcast is a first duration.
[0033] In conjunction with the third aspect, in one possible implementation, the second electronic device scanning the Bluetooth signal sent by the first electronic device includes: the second electronic device scanning at a preset scanning frequency, wherein the preset scanning frequency is to perform Bluetooth signal scanning every second interval, and the duration of the Bluetooth signal scanning is a second duration.
[0034] In conjunction with the third aspect, in one possible implementation, the value of the second interval time is not greater than the value of the first duration.
[0035] In conjunction with the third aspect, in one possible implementation, before the second electronic device scans the Bluetooth signal sent by the first electronic device, the method further includes: the second electronic device obtaining the second interval time and the second duration from the server.
[0036] In conjunction with the third aspect, in one possible implementation, the offline location request is also used to instruct the first electronic device to perform a second Bluetooth pairing with the second electronic device.
[0037] In conjunction with the third aspect, in one possible implementation, the offline location request is further used to instruct the first electronic device and the second electronic device to perform a second Bluetooth pairing, including: the second electronic device continuously scanning Bluetooth broadcasts, and the first electronic device and the second electronic device performing a second Bluetooth pairing.
[0038] In conjunction with the third aspect, in one possible implementation, the number of the second electronic devices is at least two devices.
[0039] In conjunction with the third aspect, in one possible implementation, before the second electronic device sends a query request to the server, the method further includes: the second electronic device determining whether the number of service requests exceeds a preset first threshold; if the second electronic device determines that the number of service requests does not exceed the preset first threshold, then the second electronic device sends a query request to the server; if the second electronic device determines that the number of service requests exceeds the preset first threshold, then the second electronic device does not send a query request to the server.
[0040] In conjunction with the third aspect, in one possible implementation, before the second electronic device obtains its location information based on an offline positioning request and sends the location information to the server, the method further includes: the second electronic device determining whether the number of service requests exceeds a preset first threshold; if the second electronic device determines that the number of service requests does not exceed the preset first threshold, then the second electronic device obtains its location information and sends the location information to the server; if the second electronic device determines that the number of service requests exceeds the preset first threshold, then the second electronic device does not obtain its location information.
[0041] Fourthly, embodiments of this application provide an electronic device, which serves as a first electronic device, including a touch screen, a memory, a transceiver, one or more processors, multiple applications, and one or more programs; wherein the one or more programs are stored in the memory, and the transceiver is used to transmit or receive wireless signals; characterized in that, when the one or more processors execute the one or more programs, the electronic device causes the electronic device to implement the method described in any of the first aspects above.
[0042] Fifthly, embodiments of this application provide an electronic device, which serves as a first electronic device, including a touch screen, a memory, a transceiver, one or more processors, multiple applications, and one or more programs; wherein the one or more programs are stored in the memory, and the transceiver is used to transmit or receive wireless signals; characterized in that, when the one or more processors execute the one or more programs, the electronic device causes the electronic device to implement the method described in any of the second aspects above.
[0043] In a sixth aspect, embodiments of this application provide an electronic device, which serves as a first electronic device, including a touch screen, a memory, a transceiver, one or more processors, multiple applications, and one or more programs; wherein the one or more programs are stored in the memory, and the transceiver is used to transmit or receive wireless signals; characterized in that, when the one or more processors execute the one or more programs, the electronic device causes the electronic device to implement the method described in any of the third aspects above.
[0044] In a seventh aspect, embodiments of this application provide a computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, the computer program including program instructions, which, when executed by a computer, cause the computer to perform the method described in any of the first aspects above.
[0045] Eighthly, embodiments of this application provide a computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, the computer program including program instructions, which, when executed by a computer, cause the computer to perform the method described in any of the second aspects above.
[0046] Ninthly, embodiments of this application provide a computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, the computer program including program instructions, which, when executed by a computer, cause the computer to perform the method described in any of the third aspects above.
[0047] In a tenth aspect, embodiments of this application provide a computer program product, characterized in that, when the computer program product is run on a computer, it causes the computer to execute the method described in any one of the first aspects, or the method described in the second aspect, or the method described in the first aspect.
[0048] Eleventhly, embodiments of this application provide a computer program product, characterized in that, when the computer program product is run on a computer, it causes the computer to execute the method described in any one of the first aspects, or the method described in the second aspect, or the method described in the second aspect.
[0049] In a twelfth aspect, embodiments of this application provide a computer program product, characterized in that, when the computer program product is run on a computer, it causes the computer to perform the method described in any of the first aspects, or the method described in the second aspect, or the method described in the third aspect. Attached Figure Description
[0050] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below.
[0051] Figure 1 This is a schematic diagram of a scenario for an electronic device interaction system provided in an embodiment of this application;
[0052] Figure 2 This is a schematic diagram of the structure of a first electronic device provided in an embodiment of this application;
[0053] Figure 3 This is a schematic diagram of the interaction process of electronic devices provided in the embodiments of this application;
[0054] Figures 4a-4b This is a timing diagram of the Bluetooth signal provided in an embodiment of this application;
[0055] Figures 5a-5d This is a schematic diagram of the interface of the first electronic device provided in an embodiment of this application;
[0056] Figures 6a-6b This is a schematic diagram of the interface of the second electronic device provided in an embodiment of this application;
[0057] Figures 7a-7c This is a schematic diagram of the interface of the third electronic device provided in the embodiments of this application;
[0058] Figure 8a This is a schematic diagram of an electronic device interaction system provided in an embodiment of this application;
[0059] Figure 8bThis is a schematic diagram of an electronic device interaction system provided in an embodiment of this application.
[0060] Figure 9 This is a schematic diagram of the interaction process of electronic devices provided in the embodiments of this application;
[0061] Figure 10a This is a schematic diagram of the information flow within the software module of the first electronic device provided in this application embodiment;
[0062] Figure 10b This is a schematic diagram of the information flow within the software module of the first electronic device provided in this application embodiment. Detailed Implementation
[0063] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.
[0064] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0065] The terms “comprising” and “having”, and any variations thereof, in the specification, claims, and accompanying drawings of this invention are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or apparatus that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such process, method, system, product, or apparatus.
[0066] For clarity, in this article, establishing a Bluetooth connection between two devices means establishing a Bluetooth link between them. The two devices can send signals to each other and receive signals sent by each other through this Bluetooth link. These signals are called Bluetooth signals.
[0067] To facilitate understanding of this invention, an application scenario of the device acquisition method of this invention will be described below. For example... Figure 1 As shown, Figure 1 This is a scenario application diagram of the acquisition device of the present invention.
[0068] The electronic device interaction system provided in this application includes at least two electronic devices. The electronic devices in this application can refer to Bluetooth-enabled electronic devices. See also... Figure 1The electronic device interaction system includes two electronic devices: a first electronic device 100 and a second electronic device 200. Both the first electronic device 100 and the second electronic device 200 may include a Bluetooth module, which can be integrated into the electronic device (i.e., a single unit) or pluggable. The first electronic device 100 and the second electronic device 200 can connect via Bluetooth. Optionally, both the first electronic device 100 and the second electronic device 200 can be Bluetooth-enabled electronic devices such as mobile phones, wearable devices like smartwatches, tablets, or personal digital assistants (PDAs). Optionally, the first electronic device 100 and the second electronic device 200 can be the same type of electronic device, for example, both being mobile phones; or they can be different types of electronic devices, for example, the first electronic device 100 being a mobile phone and the second electronic device 200 being a smartwatch.
[0069] In some feasible implementations, the second electronic device can be any device in the vicinity of the lost device, and there can be at least one second electronic device. The second electronic device can communicate with the first electronic device via Bluetooth 200. The second electronic device has assisted positioning capabilities. When the user of the second electronic device activates the assisted positioning function, the second electronic device can obtain the current location information of the electronic device, which can be, for example, latitude and longitude information; this positioning process can be achieved through the Global Positioning System (GPS). The second electronic device has network connectivity, meaning it can connect to the Internet via Wi-Fi or cellular networks. When the user of the second electronic device activates the network function (turns on Wi-Fi or cellular networks), the second electronic device is in a network state and can communicate with the server. The aforementioned second electronic device can act as a helper device, reporting its location information to the server to help locate the approximate area of the lost device, facilitating a quick retrieval of the lost device.
[0070] In some feasible implementations, the first electronic device is a lost device, and the number of first electronic devices can be at least one. The first electronic device has network connectivity, which means it can connect to the Internet via Wi-Fi or cellular network. In this embodiment, when the user turns off the network function (turns off Wi-Fi or cellular network), the first electronic device is in a disconnected state, and the second electronic device cannot communicate with the server. Therefore, the first electronic device cannot report its location information to the server through its own positioning module.
[0071] In some feasible implementations, the server is used to communicate with electronic devices, store relevant and status information of the electronic devices, and provide electronic device information management and mobile phone retrieval services. A first electronic device registers an account on the server, and the registered account is a unique sequence bound to the first electronic device's International Mobile Equipment Identity (IMEI) or Mobile Equipment Identifier (MEID). Thus, the first electronic device and the registered account are bound together, and the user can simultaneously set a password for that registered account, becoming a legitimate user of that account, allowing the user to log in to the server through the registered account. Similarly, a second electronic device can also register an account on the server, allowing the user of the second electronic device to interact with the server through the registered account. The registered accounts of the first and second electronic devices can be terminal device system accounts. In other embodiments, the registered accounts of the first and second electronic devices can be obtained by downloading a corresponding application and registering the corresponding account within the application; therefore, the second and first electronic devices can be terminal devices manufactured by different terminal manufacturers, and the implementation schemes in this application can be achieved by installing applications on both the second and first electronic devices that can interact with the server.
[0072] In some feasible implementations, the provided electronic device interaction system also includes a third electronic device. Users can log in to the registered account of the first electronic device on the third electronic device and interact with the server through that account. The third electronic device can be a computer, mobile phone, wearable device such as a smartwatch, tablet, etc. When the third electronic device is a computer, the user can log in to their account through the server's service URL (e.g., a portal system); when the third electronic device is a mobile device such as a mobile phone, the user can log in through an application (e.g., Find My Device). After logging in to the first electronic device's account on the third electronic device, the user can remotely control the first electronic device to perform corresponding functions. For example, the user can click "Locate 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 first electronic device to lost mode; or, the user can click "Delete Data" to delete relevant data from the first electronic device.
[0073] For ease of understanding, the structure of the first electronic device 100 provided in the embodiments of this application will be illustrated below.
[0074] See Figure 2 , Figure 2 This is a schematic diagram of the structure of a first electronic device provided in an embodiment of this application. Figure 2 The first electronic device shown can be a mobile phone, tablet, or PAD.
[0075] like Figure 2 As shown, the first electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0076] It is understood that the structure illustrated in the embodiments of this application does not constitute a specific limitation on the first electronic device 100. In other feasible embodiments of this application, the first electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or arrange different components, which can be determined according to the actual application scenario and is not limited here. Figure 2 The components shown can be implemented in hardware, software, or a combination of both.
[0077] Optionally, the processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU), etc. The different processing units may be independent devices or integrated into one or more processors.
[0078] The controller can be the nerve center and command center of the first electronic device 100. The controller can generate operation control signals according to the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0079] The processor 110 may also include a memory for storing instructions and data. In some feasible embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0080] In some feasible implementations, the processor 110 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0081] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the first electronic device 100. In other feasible embodiments of this application, the first electronic device 100 may also adopt different interface connection methods or a combination of multiple interface connection methods as described in the above embodiments.
[0082] The charging management module 140 is used to receive charging input from the charger and charge the power management module 141 of the first electronic device 100. The charger can be a wireless charger or a wired charger.
[0083] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, internal memory 121, external memory, display 194, camera 193, and wireless communication module 160, etc.
[0084] The wireless communication function of the first electronic device 100 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor, and baseband processor.
[0085] Antennas 1 and 2 are used to transmit and receive electromagnetic wave signals. Optionally, antennas 1 and 2 can be used to transmit Bluetooth signals. Each antenna in the first electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other feasible embodiments, the antennas can be used in conjunction with a tuning switch.
[0086] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the first electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some feasible embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some feasible embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.
[0087] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through audio devices (not limited to speaker 170A, receiver 170B, etc.) or displays images or videos through the display screen 194. In some feasible embodiments, the modem processor may be a separate device. In other feasible embodiments, the modem processor may be independent of the processor 110 and housed within the same device as the mobile communication module 150 or other functional modules.
[0088] The wireless communication module 160 can provide solutions for wireless communication applications on the first electronic device 100, including wireless local area networks (WLANs) such as Wi-Fi networks, Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0089] In some feasible implementations, antenna 1 of the first electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling the first electronic device 100 to communicate with networks and other devices (such as the second electronic device 200) via wireless communication technology. Wireless communication technologies may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), 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 technologies, etc. The aforementioned GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).
[0090] The first electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0091] The display screen 194 is used to display images, videos, etc. 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 (AMOLED), a flexible light-emitting diode (FLED), a miniature LED, a microLED, a quantum dot light-emitting diode (QLED), etc. In some feasible embodiments, the first electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1.
[0092] In some feasible implementations, the display screen 194 can be used to display various interfaces output by the system of the first electronic device 100. The various interfaces output by the first electronic device 100 can be referred to in the relevant description of subsequent embodiments.
[0093] The first electronic device 100 can perform shooting functions through an ISP, camera 193, video codec, GPU, display screen 194, and application processor.
[0094] The external storage interface 120 can be used to connect an external storage card, such as a Micro SD card, to expand the storage capacity of the first electronic device 100. The external storage card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external storage card.
[0095] Internal memory 121 can be used to store computer executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of the first electronic device 100 by running the instructions stored in internal memory 121. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as device management functions, sound playback functions, etc.), etc. The data storage area may store data created during the use of the first electronic device 100 (such as device parameters, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
[0096] The first electronic device 100 can implement audio functions, such as music playback and recording, through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, and an application processor.
[0097] The audio module 170 is used to convert digital audio information into analog audio signal output, and also to convert analog audio input into digital audio signal.
[0098] The loudspeaker 170A, also known as a "loudspeaker", is used to convert audio electrical signals into sound signals.
[0099] The receiver 170B, also known as the "earpiece", is used to convert audio electrical signals into sound signals.
[0100] The microphone 170C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals.
[0101] The 170D headphone jack is used to connect wired headphones. The 170D headphone jack can be a USB 130 interface or a 3.5mm Open Mobile Terminal Platform (OMTP) standard interface, a CTIA (Cellular Telecommunications Industry Association of the USA) standard interface.
[0102] Pressure sensor 180A is used to sense pressure signals and can convert the pressure signals into electrical signals. In some feasible embodiments, pressure sensor 180A can be located on display screen 194. Gyroscope sensor 180B can be used to determine the motion posture of the first electronic device 100. Barometric pressure sensor 180C is used to measure barometric pressure.
[0103] The accelerometer 180E can detect the magnitude of acceleration of electronic device 100 in various directions (generally three axes).
[0104] The 180F distance sensor is used to measure distance.
[0105] The 180L ambient light sensor is used to detect ambient light intensity.
[0106] The fingerprint sensor 180H is used to collect fingerprints.
[0107] The 180J temperature sensor is used to detect temperature.
[0108] Touch sensor 180K, also known as a "touch panel," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touch screen." Touch sensor 180K detects touch operations applied to or near it. The touch sensor can transmit 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 display screen 194. In some other feasible embodiments, touch sensor 180K may also be located on the surface of the first electronic device 100, in a different position than display screen 194.
[0109] Button 190 includes the power button, volume buttons, etc. Button 190 can be a mechanical button or a touch button.
[0110] Motor 191 can generate vibration alerts.
[0111] Indicator 192 can be an indicator light, used to indicate charging status, power changes, or to indicate messages, missed calls, notifications, etc.
[0112] The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to achieve contact and separation with the first electronic device 100. In some feasible embodiments, the first electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the first electronic device 100 and cannot be separated from it.
[0113] The software system of the first electronic device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment uses the layered architecture Android system as an example to exemplify the software structure of the first electronic device 100.
[0114] See Figure 3 , Figure 3 This is a software structure block diagram of the first electronic device provided in the embodiments of this application.
[0115] like Figure 3 As shown, the layered architecture divides the software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some feasible implementations, the Android system can be divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.
[0116] The application layer can include a series of application packages.
[0117] like Figure 3 As shown, the application package may include Bluetooth, device management applications (applications with device management functions), navigation, maps, WLAN, SMS, gallery, calendar, calling and other applications (APPs).
[0118] The application framework layer provides application programming interfaces and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
[0119] like Figure 3 As shown, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
[0120] The window manager is used to manage windowed applications. It can retrieve screen size, determine the presence of a status bar, lock the screen, and capture screenshots, among other things.
[0121] Content providers store and retrieve data, making that data accessible to applications. This data can include videos, images, audio, phone calls made and received, browsing history and bookmarks, phone books, etc.
[0122] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.
[0123] The phone manager is used to provide communication functions for the first electronic device 100. For example, it manages call status (including connection, hang-up, etc.).
[0124] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.
[0125] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of completed downloads or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog-style notifications on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.
[0126] The Android Runtime consists of core libraries and a virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.
[0127] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.
[0128] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0129] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.
[0130] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.
[0131] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.
[0132] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0133] A 2D graphics engine is a graphics engine for 2D drawing.
[0134] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.
[0135] The electronic device interaction method of this application embodiment can be applied to positioning scenarios of one or more electronic devices. For ease of description, the following description uses only one electronic device positioning another electronic device as an example. It is understood that this positioning scenario can be used to locate at least one first electronic device; the second electronic device can also simultaneously locate multiple other electronic devices.
[0136] See Figure 3 , Figure 3 This is a flowchart illustrating the electronic device interaction method provided in the embodiments of this application. Figure 3 The electronic device interaction between the first electronic device 100 and the second electronic device 200, as well as the internal data processing process of the first electronic device 100, are shown.
[0137] Phase 1: Confirming the first electronic device is lost.
[0138] S101 The first electronic device is determined to be in an offline state.
[0139] Specifically, the offline state refers to a situation where the Wi-Fi network or cellular network setting of the first electronic device is not turned on, making it impossible for the first electronic device to log in to the Internet.
[0140] In some embodiments, the first electronic device may be in an environment with poor network signal, resulting in intermittent network connections. Therefore, in some cases, the first electronic device is set with a preset time. If the electronic device is offline for longer than the preset time, it determines that it is currently offline; if it is offline for less than the preset time, it determines that it is currently active. In some embodiments, when the user actively disconnects the phone from the network, the electronic device determines that it is currently offline and triggers the lost device retrieval steps. Therefore, if someone else disconnects the phone's network information after it is lost, the phone can still be retrieved. By setting a preset time, the electronic device is prevented from mistakenly interpreting a poor signal condition as a lost state and sending Bluetooth signals, thus avoiding unnecessary power consumption.
[0141] In some embodiments, the first electronic device needs to have the "Find My Phone" function enabled. Specifically, such as Figures 5a-5c As shown, you can select the "Cloud Service" module in the settings of the first electronic device, and then select the "Find Device" function within the "Cloud Service" function. When the electronic device activates the "Find Device" function, if the electronic device determines that the current state is offline, it will execute the "Find My Phone" function. The "Find My Phone" function includes: if the phone is online, it will report the phone's current location information to the cloud server in real time; the location information can be obtained through the phone's GPS module. If the phone is offline, it can attempt to pair with other phones by sending a Bluetooth signal and report the lost phone's signal to the server.
[0142] In some implementations, the current location information of the electronic device is obtained, which may be, for example, latitude and longitude information. This positioning process can be achieved using a Global Positioning System (GPS).
[0143] In some implementations, the "Find My Device" function includes options such as "Find My Phone," "Enable Offline Find," and "Send Last Location." "Enable Find My Phone" allows the phone to be located while connected to the internet. For example, when a user clicks... Figure 7cWhen locating a lost device, the server sends a location command to the lost device. If the lost device has the "Find My Phone" function enabled, it sends its current location to the server; or, if the lost device's battery is below a preset value, and it has "Find My Phone" enabled and is connected to the internet, it sends its current location to the server. Additionally, when "Offline Search" is enabled, the user can perform an offline phone search function. Specifically, the steps for finding a lost device in the following embodiments can be executed. When "Send Last Location" is enabled, the last location information before going offline is sent to the cloud server; or, if the lost device's battery is below a preset value, it sends its current location to the server. The location information can be obtained through the phone's GPS module.
[0144] In some embodiments, the first electronic device is provided with a search module for determining whether the search function of the first electronic device is enabled. When the search function of the first electronic device is enabled, the location of the electronic device is reported to the server in real time; simultaneously, it is used to detect the network status of the first electronic device, and if the electronic device is offline, it performs the offline search function.
[0145] S102 The first electronic device's search module sends a pairing request to the Bluetooth module. The pairing request is used to call the Bluetooth interface and trigger the Bluetooth module to send a Bluetooth broadcast.
[0146] In some embodiments, when the first electronic device determines that the current state is offline, it can directly call the interface of the Bluetooth module, thereby triggering the Bluetooth module to send a Bluetooth broadcast. In some embodiments, even if the first electronic device has not turned on the Bluetooth function, or the user has turned off the Bluetooth function on the operation interface, when the first electronic device determines that the current state is offline, it does not affect the first electronic device from directly calling the Bluetooth module. That is to say, the first electronic device can drive the Bluetooth module to send a broadcast signal through internal system instructions when offline.
[0147] In some embodiments, the Bluetooth broadcast carries an identifier of the first electronic device, which is used by the server to identify the identity of the first electronic device. Specifically, when the first electronic device logs into the server, it sends its account and the identifier to the server. The server saves the account and identifier of the first electronic device, and when it subsequently receives the identifier of the electronic device, it can match it with the corresponding account.
[0148] In some embodiments, the Bluetooth broadcast carries the public key of the first electronic device, which is used by the server to identify the identity of the first electronic device. Specifically, when the first electronic device logs into the server, it sends its account and public key to the server. The server stores the account and public key of the first electronic device. When it subsequently receives the public key of the electronic device, it can match it with the corresponding account. In some embodiments, the first electronic device updates its public key information at regular intervals (e.g., once a day). In this case, the first electronic device can send the public key information for the next update (e.g., the next 14 days) to the server in advance. The server stores the account and all public keys of the first electronic device. In this way, even if the electronic device connects to the server some time after it is lost, the server can still identify the signal of the first electronic device based on the pre-stored public key. Specifically, if the electronic device uploads its public key to the server through another device on the second day after it is lost, the server can match the corresponding device information based on the pre-stored public key information since it has pre-stored the public key information for the past 14 days after the loss. In this implementation, Bluetooth broadcast does not directly transmit the public key information of the first electronic device. This prevents other devices that receive the Bluetooth broadcast from knowing the specific information of the first electronic device, thus improving the security of the first electronic device. In addition, periodically updating the public key can avoid the problem of the public key information being tracked and cracked, improving the security of information transmission and protecting the privacy of users who have lost their devices.
[0149] In some embodiments, the Bluetooth broadcast message carries a loss identifier, such as marking "lost device" in a certain identifier bit of the Bluetooth message. This allows the receiving electronic device to trigger a subsequent step of further confirmation with the server when it receives the Bluetooth broadcast. In some embodiments, the Bluetooth broadcast message carries an event code. For example, event code 01 indicates that receiving the Bluetooth broadcast triggers a subsequent step of further confirmation with the server; event code 02 indicates that receiving the Bluetooth broadcast triggers a subsequent step of reporting the location to the server. After receiving the message, the second electronic device can identify the event corresponding to the event code and execute the corresponding event based on the event code.
[0150] S103 The second electronic device 200 receives the Bluetooth broadcast sent by the first electronic device through the Bluetooth module, and the first electronic device 100 establishes a connection with the second electronic device 200 through Bluetooth.
[0151] In some embodiments, the second electronic device can be any device near the lost device, and the second electronic device can communicate with the first electronic device via Bluetooth. For example... Figures 6a-6bAs shown, Bluetooth can be enabled in the settings of the second electronic device. After Bluetooth is enabled, the second electronic device can listen to the broadcasts sent by the first electronic device and assist the first electronic device in positioning.
[0152] In some implementations, in step S102, the Bluetooth module of the first electronic device 100 broadcasts Bluetooth information at a preset transmission frequency, for example, once every preset time T, and the duration of the Bluetooth broadcast is X seconds. During these X seconds, the Bluetooth broadcast information is continuously and uninterruptedly transmitted. During the process of the first electronic device transmitting the Bluetooth signal, the power consumption of the first electronic device is X (seconds) / half an hour.
[0153] Correspondingly, in some embodiments, in step S103, when the Bluetooth module of the second electronic device 200 performs signal scanning, it scans at a preset scanning frequency. The preset second electronic device scans once every y seconds, and each scan lasts for z seconds. The preset transmission frequency and the preset scanning frequency satisfy a preset rule, which satisfies X ≥ y. In the above process, the preset rule ensures that as long as the sender initiates a broadcast, the receiver can receive the broadcast if it exists, reducing the process of probing for the other party's existence. As long as different devices send and receive broadcasts according to a unified standard, the sender and receiver can complete handshake communication.
[0154] In some embodiments, the duration of the Bluetooth broadcast sent by the transmitting end is X seconds, the continuous scanning time of the receiving end is z seconds, and the scanning interval is sent by the server to the first electronic device and the second electronic device. Specifically, when the first electronic device and the second electronic device are equipped with a lookup module, the server can send specific duration information to the lookup modules of the first electronic device and the second electronic device to ensure that the sending frequency of the first electronic device and the scanning frequency of the second electronic device meet preset conditions.
[0155] Specifically, such as Figure 4aAs described above, when X = y, the first electronic device sends a Bluetooth broadcast once every preset time T, with each broadcast lasting X seconds. The second electronic device scans once every y seconds, with each scan lasting z seconds. The situations in which the first electronic device sends a Bluetooth broadcast and the second electronic device scans for the Bluetooth broadcast include: (1) the first electronic device starts sending a Bluetooth broadcast while the second electronic device is scanning; (2) the first electronic device starts broadcasting while the second electronic device starts scanning simultaneously; (3) the first electronic device starts broadcasting while the second electronic device has just finished scanning; and (4) the first electronic device starts broadcasting while the second electronic device is not scanning. As can be seen from the figure, in the above four situations, during the process of the first electronic device sending a Bluetooth broadcast (within the continuous X seconds), the second electronic device can scan for the Bluetooth broadcast signal sent by the first electronic device for a certain period of time. Therefore, when the first electronic device sends a Bluetooth broadcast at a preset transmission frequency and the second electronic device scans for the Bluetooth signal at a preset reception frequency, and the preset transmission frequency and preset reception frequency satisfy X = y, the second electronic device can scan for the Bluetooth broadcast sent by the first electronic device.
[0156] Specifically, such as Figure 4b As described above, when X>y, the first electronic device sends a Bluetooth broadcast once every preset time T, with each broadcast lasting X seconds, and the second electronic device scans once every y seconds, with each scan lasting z seconds. The situations in which the first electronic device sends a Bluetooth broadcast and the second electronic device scans for the Bluetooth broadcast include: (1) the first electronic device starts sending a Bluetooth broadcast while the second electronic device is scanning; (2) the first electronic device starts broadcasting while the second electronic device starts scanning simultaneously; (3) the first electronic device starts broadcasting while the second electronic device has just finished scanning; and (4) the first electronic device starts broadcasting while the second electronic device is not scanning. As can be seen from the figure, in the above four situations, during the process of the first electronic device sending a Bluetooth broadcast (within the continuous X seconds), the second electronic device can scan for the Bluetooth broadcast signal sent by the first electronic device for a certain period of time. Therefore, when the first electronic device sends a Bluetooth broadcast at a preset transmission frequency and the second electronic device scans for the Bluetooth signal at a preset reception frequency, and the preset transmission frequency and preset reception frequency satisfy X>y, the second electronic device can scan for the Bluetooth broadcast sent by the first electronic device.
[0157] The above process is the Bluetooth-assisted positioning phase. In existing technologies, during phase one, the discovery of a lost device is a continuous process. That is, when the Bluetooth module of the electronic device is enabled, the receiving device continuously scans, and the transmitting device continuously sends Bluetooth signals. Therefore, in the confirmation process when the lost status is unknown, the Bluetooth range modules of both the transmitting and receiving devices consume a lot of power. The solution described above, in the confirmation process when the lost status is unknown, reduces the power consumption of both the transmitting and receiving devices by setting the frequency of the transmitting device's signal transmission and the steps of the receiving device's reception, while ensuring that the transmitting and receiving devices can discover each other. This avoids the waste of power in the confirmation process when the lost status is unknown.
[0158] Specifically, it can be understood that, compared with the power consumption of the transmitter in the prior art, the power consumption of the transmitter in this application is X (continuous transmission time) / T (preset interval time) of the power consumption of the prior art; compared with the power consumption of the receiver in the prior art, the power consumption of the receiver in this application is z (continuous scanning time) / y (preset interval time) of the power consumption of the prior art. In some embodiments, in order to reduce the power consumption rate of the second electronic device, the continuous scanning time y can be reduced while ensuring that Bluetooth signals can be scanned. The power consumption of the transmitter and receiver devices can be controlled with arbitrary precision by controlling the proportion of their respective transmission or scanning duration and the overall time of the task initiation.
[0159] S104 The Bluetooth module of the second electronic device sends a first instruction to the search module of the second electronic device. The first instruction is used to trigger the search module to send a query request to the server.
[0160] In some embodiments, after receiving a Bluetooth broadcast, the second electronic device parses the Bluetooth message identifier as "lost device" and triggers the second electronic device to call the search module to send a query request to the server.
[0161] In some embodiments, the information carried by the first instruction includes device information of the first electronic device. Specifically, the device information includes the identifier of the first electronic device or the public key information of the first electronic device, which can be obtained from the Bluetooth broadcast of the first electronic device. In some embodiments, the information carried by the first instruction may also include the battery level and functional parameters (such as positioning function) of the second electronic device 200.
[0162] S105 The second electronic device sends a query request to the server 100, wherein the confirmation is specified for querying the status information of the first electronic device.
[0163] In some embodiments, the confirmation information includes the identifier of the first electronic device or the public key information of the first electronic device, which can be obtained from the Bluetooth broadcast of the first electronic device.
[0164] The S106 server queries the status of the first electronic device.
[0165] Specifically, the server queries the status of the first electronic device based on its identifier or public key information, the status including lost status or normal use status.
[0166] In some embodiments, the lost status of the first electronic device can be updated via steps S200-S201.
[0167] The S107 server sends the status of the first electronic device to the second electronic device.
[0168] S108 The second electronic device sends the status of the first electronic device to the first electronic device.
[0169] Specifically, the server sends the status of the first electronic device to the lookup module of the second electronic device, and the lookup module of the second electronic device sends the status to the lookup module of the first electronic device through the Bluetooth module of the second electronic device and the Bluetooth module of the first electronic device.
[0170] The S200 third electronic device sends the first reporting information to the server.
[0171] Specifically, users can report lost phone status information by logging into the mobile phone manufacturer's official website through a third-party electronic device or by using the third-party electronic device's search module. In some embodiments, the reported information carries the user's account information.
[0172] like Figure 7a As shown, users can click the "Find My Device" icon on the third-party electronic device to enter the search module, such as... Figure 7b As shown, users can log in to the account of the lost device; Figure 7c In the interface shown, users can click "Lost Mode" to lock the lost device.
[0173] In some implementations, if the first electronic device is connected to the network, when the server receives a report from the third electronic device indicating that the first electronic device is lost, the server will send a command to lock the first electronic device. At this time, the lock screen of the first electronic device will look like this: Figure 5dAs shown, the interface will display information that this device is lost. Specifically, it can say, "Hello, this is my lost device. I hope you will contact me after seeing this message. Thank you." At the same time, it can display the specific contact information, "My contact information: +86 18812345678," so that users who see the lost phone can contact the owner.
[0174] The S201 server records the loss status of the first electronic device.
[0175] In some embodiments, the server associates the user's account information with the user device and the public key information of the user device in the first reported information, and updates the normal use status of the first electronic device to the lost status.
[0176] Phase Two: The first electronic device obtains the location information of surrounding devices through the second electronic device.
[0177] S301 The first electronic device initiates an offline location request, which is used to instruct the first electronic device to pair with the second electronic device via Bluetooth and to instruct the second electronic device to initiate the offline location function.
[0178] Specifically, after receiving the status of the first electronic device sent by the second electronic device, if the status of the first electronic device is lost, the first electronic device initiates an offline location request. The offline location request is used to instruct the first electronic device to pair with the second electronic device via Bluetooth.
[0179] S302 The second electronic device 200 receives Bluetooth broadcasts sent by the first electronic device through the Bluetooth module, and the first electronic device 100 establishes a connection with the second electronic device 200 through Bluetooth in a second manner.
[0180] In some embodiments, to achieve rapid pairing between the first electronic device and the second electronic device, the specific pairing method in stage two differs from the pairing method in step S103 of stage one. In stage two, since the lost status confirmation has already been completed in stage one, the subsequent power consumption is truly valuable. Therefore, the pairing method used in stage two is to achieve rapid pairing between the second electronic device and the first electronic device.
[0181] In one implementation, the first electronic device 100 establishes a connection with the second electronic device 200 via Bluetooth in a second manner, including: the first electronic device continuously transmitting Bluetooth broadcasts in a second transmission mode, and the second electronic device scanning in a second scanning mode.
[0182] The second transmission mode specifically refers to the first electronic device continuously transmitting Bluetooth broadcasts, which may include the first electronic device continuously transmitting Bluetooth broadcasts without interruption or the first electronic device transmitting Bluetooth broadcasts at a second transmission frequency; wherein, compared with the aforementioned preset transmission frequency, when pairing in the second manner, the interval between each Bluetooth broadcast transmitted by the first electronic device is shorter, and / or the duration of each Bluetooth broadcast transmitted by the second electronic device is longer.
[0183] Specifically, the second scanning mode is: the second electronic device continuously scans Bluetooth broadcasts, which may include the second electronic device continuously scanning the Bluetooth broadcasts sent by the first electronic device without interruption, or the second electronic device scanning the Bluetooth broadcasts sent by the first electronic device at a second scanning frequency; wherein, compared with the preset scanning frequency mentioned above, when pairing in the second manner, the interval between two scans by the second electronic device is shorter, and / or the duration of each scan by the second electronic device is longer.
[0184] In some embodiments, after step S107, the second electronic device 200 switches to a second scanning mode, either continuous scanning or scanning at a second frequency. Specifically, when the second electronic device receives a return from the server indicating that the first electronic device is in a lost state, the second electronic device enters stage two, whereby the second electronic device controls the Bluetooth module to switch from the lost state scanning mode to the second scanning mode.
[0185] In other embodiments, after step S302, the second electronic device 200 switches to the first scanning mode of the lost state. Specifically, after successful pairing, the second electronic device controls the Bluetooth module to switch from the second scanning mode to the scanning mode of the lost state to reduce the power consumption of the second electronic device.
[0186] And after reporting the location information of the second electronic device to the server,
[0187] In some embodiments, after step S108, the first electronic device receives the lost status information of the first electronic device returned by the second electronic device. The first electronic device then controls the Bluetooth module to switch from the lost status transmission mode to the second transmission mode. In some states, the first electronic device maintains the second transmission mode to broadcast Bluetooth information and pair before reconnecting to the Internet. Since the first electronic device has been confirmed to be lost in this scenario, maintaining the second transmission mode can match the second electronic device more quickly, improving the recovery rate of the lost device, without increasing the power consumption of the Bluetooth module.
[0188] In some implementations, the Bluetooth module used by the second electronic device to locate the lost device is a different module or a different unit than the Bluetooth module used by the second electronic device to normally use the Bluetooth function. Specifically, these two modules can independently perform different tasks. For example, they can scan at different frequencies, or they can scan through different channels, or they can be different hardware units in the Bluetooth device used to process different functions.
[0189] In some embodiments, the Bluetooth module of the first or second electronic device for locating a lost device can be used as follows: Figures 6a-6b As shown, the user enables Bluetooth on the device, or the system can directly control the Bluetooth module for finding the lost device to turn on. For the first electronic device, when the first electronic device is offline, it can directly control the Bluetooth module for finding the lost device to turn on. That is, even if the user does not manually turn on the first electronic device's Bluetooth module, it can automatically turn it on. For the second electronic device, in some embodiments, the second electronic device requires user control to turn on the Bluetooth module for finding the lost device, so that the second electronic device performs the pairing function with the lost device only after user confirmation.
[0190] Specifically, since the first electronic device is not determined to be lost in Phase 1, continuously sending Bluetooth broadcasts after determining that the electronic device is offline would increase power consumption, shorten the standby time of the lost device, and affect its normal use. Using the embodiments of this application, the reduced time spent sending Bluetooth broadcasts per unit of time extends the standby time of the first electronic device, reducing power consumption due to the terminal being offline rather than lost, especially when it's uncertain whether the lost device is truly lost. Furthermore, the longer standby time provides more opportunities to pair with nearby second electronic devices, increasing the probability of recovering the lost device if it is lost.
[0191] The Bluetooth module of the second electronic device S303 sends a second instruction to the search module of the second electronic device, the second instruction being used to trigger the search module to send update information to the server.
[0192] In some embodiments, after receiving an offline location request, the second electronic device parses the device information of the first electronic device in the Bluetooth message. Specifically, the device information includes the identifier of the first electronic device or the public key information of the first electronic device.
[0193] S304 The second electronic device sends update information to the server, the update information including the current location information of the second electronic device.
[0194] In some embodiments, the location information of the second electronic device may be, for example, latitude and longitude information; the positioning process can be implemented using a Global Positioning System (GPS). Additionally, the update information includes device information of the first electronic device. Specifically, the device information of the first electronic device includes the identifier or public key information of the first electronic device, which can be obtained from an offline positioning request sent by 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 based on the device information of the first electronic device.
[0195] In some embodiments, when the first electronic device can communicate with the second electronic device via Bluetooth short-range communication, the physical distance between the two devices will be within a certain range, such as approximately 10 meters. The location of the second electronic device will be reported to the server as the nearby location of the first electronic device for the user to view.
[0196] The S305 server updates the location information of the first electronic device based on the updated information.
[0197] The server matches the location information of the second electronic device with the account of the first electronic device based on the device information of the first electronic device. Specifically, the server can determine the account of the first electronic device based on the device information, including the identifier or public key information of the first electronic device. Updating the location information of the first electronic device includes recording the location information of the second electronic device as the location information around the first electronic device. In this way, the location of the second electronic device is associated with the first electronic device and its account.
[0198] In some embodiments, there may be multiple second electronic devices around the first electronic device. In this case, updating the location information of the first electronic device specifically includes: the server can match the location information of the multiple second electronic devices with the account of the first electronic device, and record the location information of the multiple second electronic devices as the location information around the first electronic device.
[0199] In some embodiments, there may be multiple second electronic devices around the first electronic device. In this case, the second electronic devices can be selected either from the server side or from the second electronic device side to avoid too many electronic devices performing the phone retrieval function of the first electronic device, thereby reducing the waste of power consumption as a whole.
[0200] Specifically, the search module of the second electronic device is equipped with a service counting module, which has a preset first threshold. In some embodiments, when the server sends information to the second electronic device, the service counting module of the second electronic device resets to zero and restarts counting. The information may refer to a command sent by the server to the electronic device at regular intervals, which instructs the service counting module of the second electronic device to reset; or, the information may refer to frequency update information sent by the server to the electronic device at regular intervals, in which the second electronic device also resets the service counting module upon receiving the frequency update information.
[0201] In some embodiments, the service counting module saves a service record once when the second electronic device sends update information to the server (e.g., S306); in some embodiments, the service counting module saves a service record once when the second electronic device sends update information to the server (e.g., S306) or when the second electronic device sends a query request to the server (e.g., S105).
[0202] In some embodiments, the second electronic device determines whether the current number of service attempts exceeds a preset first threshold. If the number of service attempts exceeds the preset threshold, the second electronic device will not execute steps S103-106, or steps S302-S304. In some embodiments, the second electronic device may turn off the Bluetooth module and stop pairing with the first electronic device. In other embodiments, after the second electronic device completes Bluetooth pairing with the first electronic device, i.e., after S103 and S302, it determines whether the current number of service attempts exceeds a preset first threshold. If the number of service attempts exceeds the preset threshold, the second electronic device will not send query requests (S104-106) or update information (S303-S304) to the server. Figure 8a As shown, if the second electronic device 201 determines that the current number of service requests exceeds a preset first threshold, it will not send a query request or offline location request to the server. If the second electronic devices 200 and 202 determine that the current number of service requests has not exceeded the preset first threshold, they will send a query request to the server and receive the status information returned by the server, or send an offline location request to the server. Therefore, device 201 will not perform subsequent information interaction with the lost device.
[0203] Using the above embodiments, only the second electronic device needs to limit the number of service attempts on one side, so that the second electronic device can provide limited services, avoiding a single device communicating with multiple lost devices or communicating with a single device multiple times, thereby causing excessive power consumption of a single device.
[0204] Specifically, the server is equipped with a second electronic device counting module, which has a preset second threshold. When multiple second electronic devices send query requests to the server, the server determines whether the number of second electronic devices exceeds the preset second threshold. If the number exceeds the preset second threshold, the server selects a number of second electronic devices from the multiple second electronic devices to communicate with the first electronic device. Second electronic devices not selected by the server do not need to pair and cooperate with the lost device. Specifically, for devices not selected by the server, they will not receive the status information of the first electronic device returned by the server, and therefore will not execute subsequent steps. Using the above embodiment, through an election center on the server side, the server makes unified decisions and manages quotas, preventing too many second electronic devices from serving the same lost device, simplifying message communication between multiple devices, improving the accuracy of server decisions, reducing the number of established and consumed links, and avoiding unnecessary duplicate power consumption.
[0205] like Figure 8b As shown, after receiving the query request from the second electronic device, the server determines that the number of the second electronic devices exceeds a preset second threshold. Devices 200 and 202 are selected as devices that need to be paired and coordinated with the lost device, while device 201 is a device that does not need to be paired and coordinated with the lost device. At this time, the server returns the status information of the first electronic device to devices 200 and 202, but does not return the status information of the first electronic device to device 201. Therefore, device 201 does not perform subsequent information interaction with the lost device.
[0206] The S305 server sends the location of the second electronic device to the third electronic device based on the information from the first electronic device, whereby the user logs into the account of the first electronic device on the third electronic device.
[0207] Based on the location information of the second electronic device and the account of the first electronic device that is matched with it, the server sends the location information of the second electronic device to the device logged into by the account of the first electronic device.
[0208] S306 The third electronic device obtains updated information and updates the location information of the first electronic device.
[0209] In some embodiments, the third electronic device displays a first interface in its search module based on the obtained updated information. The first interface may include at least one of the second electronic devices. For example... Figure 7cAs shown, the second electronic device includes devices A1-A8, and the first interface can also display distance scale lines. In this way, users can intuitively see the positions of the second electronic devices around the first electronic device by viewing the first interface, allowing them to determine the approximate range of the first electronic device based on the location of the second electronic device. This enables users to find the lost device more quickly and accurately, improving the recovery rate of lost devices.
[0210] Figure 9 This is a flowchart illustrating the electronic device interaction method provided in an embodiment of this application. Figure 10a and 10b To illustrate the information flow diagram of the electronic device interaction method, the diagram shows the interaction between the first electronic device 100 and the second electronic device 200, as well as the internal data processing process of the first electronic device 100.
[0211] S11 Determining the first electronic device: The electronic device is in an offline state.
[0212] Specifically, in one embodiment, such as Figure 10a As shown, the search module of the first electronic device calls the network connection module, or when the network connection module of the first electronic device detects a change in the connection status, it reports the network status information to the search module, and the search module of the first electronic device determines whether the first electronic device is in a network state or an offline state.
[0213] S12 The first electronic device and the second electronic device are paired via Bluetooth, wherein the first electronic device broadcasts Bluetooth signals at a preset transmission frequency, and the second electronic device scans Bluetooth signals at a preset scanning frequency.
[0214] Specifically, the search module of the first electronic device calls the Bluetooth module of the first electronic device, causing the Bluetooth module of the first electronic device to send a Bluetooth broadcast. When sending the Bluetooth broadcast, the Bluetooth module of the first electronic device 100 broadcasts at a preset transmission frequency, for example, once every preset time interval T, and the duration of the broadcast is X seconds. When performing signal scanning, the Bluetooth module of the second electronic device 200 scans at a preset scanning frequency, wherein the preset second electronic device scans once every y seconds, and each scan lasts for z seconds. The preset transmission frequency and the preset scanning frequency satisfy a preset rule, wherein the preset rule satisfies X ≥ y.
[0215] S13, the second electronic device, sends a query request to the server.
[0216] After analyzing the Bluetooth message, the Bluetooth module of the second electronic device calls the lookup module to send a query request to the server. Based on the information reported by the third electronic device, the server queries the status of the first electronic device and returns the status to the lookup module of the second electronic device.
[0217] S14 The second electronic device receives return information sent by the server, the return information including the status of the first electronic device.
[0218] S15 The second electronic device sends the status of the first electronic device to the first electronic device;
[0219] The second electronic device's search module obtains the return information sent by the server and sends the return information to the Bluetooth module via the second electronic device's Bluetooth module.
[0220] S16 The first electronic device determines whether the state is a lost state.
[0221] The Bluetooth module of the first electronic device sends the returned information to the search module, and the Bluetooth module or search module of the first electronic device analyzes the returned information to confirm whether the status is lost.
[0222] S17A If the first electronic device is lost, the first electronic device sends an offline location request, which instructs the second electronic device to send its location information to the server.
[0223] like Figure 10b As shown, the first electronic device's search module sends an offline location request via the Bluetooth module. This offline location request instructs the second electronic device to send its location information to the server. In some embodiments, the offline location request is used to instruct the first and second electronic devices to pair in a second manner. The specific pairing method is similar to that described in the above embodiments and will not be repeated here.
[0224] S17B If the first electronic device is not lost, that is, if the first electronic device is in a normal state, the server sends the status of the first electronic device to the second electronic device, and the second electronic device sends the status back to the first electronic device. After receiving the status, the first electronic device determines that it is in a normal state and repeats the process of S12-S16 above.
[0225] S18 The second electronic device obtains an offline location request; the second electronic device obtains its location information based on the offline location request and sends the location information to the server.
[0226] The second electronic device's search module obtains an offline location request via the Bluetooth module, calls the GPS module to obtain the location information of the second electronic device, and sends the location information of the second electronic device to the server.
[0227] The server in S19 sends the location information of the second electronic device to the third electronic device, and the third electronic device displays a first interface, which includes the location information of the second device.
[0228] The various embodiments of this application can be combined arbitrarily to achieve different technical effects.
[0229] The related parts of the various method embodiments in this application can be referenced to each other; the apparatus provided by each device embodiment is used to execute the method provided by the corresponding method embodiment, so each device embodiment can be understood by referring to the relevant parts of the relevant method embodiment.
[0230] In this application, "and / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone, where A and B can be singular or plural. The character " / " generally indicates that the related objects before and after it are in an "or" relationship.
[0231] In this application, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or multiple items. For example, "at least one of a, b, or c", or "at least one of a, b, and c", can both mean: a, b, c, ab (i.e., a and b), ac, bc, or abc, where a, b, and c can be single or multiple.
[0232] It should be understood that in the various embodiments of this application, the order of the above processes does not imply the order of execution. Some or all steps may be executed in parallel or sequentially. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0233] It should be understood that although the terms first, second, third, etc., may be used in the embodiments of the present invention to describe various messages, requests, and terminals, these messages, requests, and terminals should not be limited to these terms. These terms are only used to distinguish messages, requests, and terminals from one another. For example, without departing from the scope of the embodiments of the present invention, a first terminal may also be referred to as a second terminal, and similarly, a second terminal may also be referred to as a first terminal.
[0234] Depending on the context, the words “if” or “suppose” as used here can be interpreted as “when” or “in response to determination” or “in response to detection.” Similarly, depending on the context, the phrase “if determination” or “if detection (of the condition or event of the statement)” can be interpreted as “when determination” or “in response to determination” or “when detection (of the condition or event of the statement)” or “in response to detection (of the condition or event of the statement).”
[0235] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0236] Some embodiments in this application can divide electronic devices into functional modules based on the above method examples. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing module. The integrated modules can be implemented in hardware. It should be noted that the module division in some embodiments provided in this application is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
[0237] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0238] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive).
[0239] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.
[0240] In summary, the above description is merely an embodiment of the technical solution of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made based on the disclosure of this application should be included within the scope of protection of this application.
Claims
1. An electronic device interaction method, characterized by, The method comprises the following steps: A first electronic device broadcasts a Bluetooth signal at a preset transmission frequency, wherein the first electronic device is in an unconnected state, the preset transmission frequency is to broadcast a Bluetooth signal once every first interval time, and the duration of each broadcast is a first duration; A second electronic device scans at a preset scanning frequency, wherein the preset scanning frequency is to perform Bluetooth signal scanning every second interval time, the duration of each scan is a second duration, the value of the second interval time is not greater than the value of the first duration, and the first electronic device and the second electronic device are paired via Bluetooth; The second electronic device sends a query request to a server; The second electronic device receives return information sent by the server, wherein the return information comprises the state of the first electronic device; The second electronic device sends the state of the first electronic device to the first electronic device; The first electronic device determines whether the state is a lost state; If the first electronic device is in a lost state, the first electronic device sends an offline positioning request, wherein the offline positioning request instructs the second electronic device to send the location information of the second electronic device to the server; The second electronic device acquires the offline positioning request; The second electronic device acquires the location information of the second electronic device based on the offline positioning request and sends the location information of the second electronic device to the server.
2. The method of claim 1, wherein, Before the first electronic device broadcasts a Bluetooth signal at a preset transmission frequency, the method further comprises: The first electronic device acquires the first interval time and the first duration from the server; The second electronic device acquires the second interval time and the second duration from the server.
3. The method of claim 1, wherein, The offline positioning request is further used to instruct the first electronic device and the second electronic device to perform a second Bluetooth pairing.
4. The method of claim 3, wherein, The offline positioning request is further used to instruct the first electronic device and the second electronic device to perform a second Bluetooth pairing, which comprises: The first electronic device and the second electronic device perform Bluetooth pairing in a second manner, wherein the second manner of performing Bluetooth pairing comprises that the first electronic device continuously broadcasts a Bluetooth signal and / or the second electronic device continuously scans a Bluetooth signal.
5. The method of claim 1, wherein, Before the first electronic device broadcasts a Bluetooth signal at a preset transmission frequency, the method further comprises: The first electronic device starts a mobile phone recovery function.
6. The method of claim 1, wherein, The method further comprises: A user logs in a third electronic device through an account of the first electronic device; The server sends update information to the third electronic device, wherein the update information comprises the location information of the second electronic device; The third electronic device displays a first interface, wherein the first interface comprises the location of the second electronic device.
7. The method of claim 6, wherein, The first interface further comprises information of the first electronic device.
8. The method of claim 1, wherein, If the first electronic device is not in a lost state, the method further comprises: The first electronic device sends a Bluetooth signal to the second electronic device at the preset transmission frequency; The second electronic device scans the Bluetooth signal sent by the first electronic device at the preset scanning frequency.
9. The method according to any of claims 1-4, 6, 8, characterized by, The number of the second electronic devices is at least two.
10. The method of claim 1, wherein, The number of the second electronic devices is at least two, and before the second electronic devices receive the return information sent by the server, the method further comprises: The server determines whether the number of the second electronic devices exceeds a first threshold value; If the number of the second electronic devices does not exceed the first threshold value, the server sends the return information to the second electronic devices; If the number of the second electronic devices exceeds the first threshold value, the server selects a part of the second electronic devices from the second electronic devices and sends the return information to the part of the second electronic devices.
11. The method of claim 1, wherein, Before the second electronic devices send the query request to the server, the method further comprises: The second electronic device determines whether the service times exceeds a preset first threshold value; If the second electronic device determines that the service times does not exceed the preset first threshold value, the second electronic device sends the query request to the server; If the second electronic device determines that the service times exceeds the preset first threshold value, the second electronic device does not send the query request to the server.
12. The method of claim 1, wherein, Before the second electronic device acquires the position information of the second electronic device based on the offline positioning request and sends the position information of the second electronic device to the server, the method further comprises: The second electronic device determines whether the service times exceeds a preset first threshold value; If the second electronic device determines that the service times does not exceed the preset first threshold value, the second electronic device acquires the position information of the second electronic device and sends the position information of the second electronic device to the server before the second electronic device acquires the position information of the second electronic device based on the offline positioning request and sends the position information of the second electronic device to the server; If the second electronic device determines that the service times exceeds the preset first threshold value, the second electronic device does not acquire the position information of the second electronic device.
13. An electronic device interaction method, characterized by, Comprise: The first electronic device broadcasts Bluetooth at a preset transmission frequency, wherein the first electronic device is in an unconnected state, the preset transmission frequency is to send a Bluetooth broadcast once every first interval time, and the duration of each broadcast is a first duration; The second electronic device scans at a preset scanning frequency, the preset scanning frequency is to perform Bluetooth signal scanning every second interval time, and the duration of each scan is a second duration; the value of the second interval time is not greater than the value of the first duration; The first electronic device acquires the state of the first electronic device sent by the second electronic device, and the state of the first electronic device is obtained from the server by the second electronic device; The first electronic device determines whether the state is a lost state; If the first electronic device is in a lost state, the first electronic device sends an offline positioning request, and the offline positioning request instructs the second electronic device to send the position information of the second electronic device to the server.
14. The method of claim 13, wherein, Before the first electronic device sends a Bluetooth signal to the second electronic device, the method further comprises: The first electronic device acquires the first interval time and the first duration from the server.
15. The method of claim 13, wherein, The offline positioning request is further used to instruct the first electronic device to perform second Bluetooth pairing with the second electronic device.
16. The method of claim 15, wherein, The offline positioning request is further used to instruct the first electronic device to perform second Bluetooth pairing with the second electronic device. The first electronic device continuously sends a Bluetooth broadcast, and the first electronic device performs Bluetooth pairing with the second electronic device.
17. The method of claim 13, wherein, Before the first electronic device sends a Bluetooth signal to the second electronic device, the method further comprises: The first electronic device starts a mobile phone recovery function.
18. The method of claim 13, wherein, If the first electronic device is not in a lost state, the method further comprises: The first electronic device sends a Bluetooth signal to the second electronic device at the preset transmission frequency.
19. An electronic device interaction method, comprising: Comprise: The second electronic device scans the Bluetooth signal sent by the first electronic device at a preset scanning frequency; The second electronic device performs Bluetooth pairing with the first electronic device; The second electronic device sends a query request to the server; The second electronic device receives the return information sent by the server, and the return information comprises the state of the first electronic device; The second electronic device sends the state of the first electronic device to the first electronic device, so that the first electronic device sends an offline positioning request when determining that the state is a lost state; The second electronic device obtains the offline positioning request sent by the first electronic device; The second electronic device obtains the location information of the second electronic device based on the offline positioning request, and sends the location information of the second electronic device to the server; Wherein, the preset scanning frequency is to perform Bluetooth signal scanning every second interval time, and the duration of each scanning is a second duration; The Bluetooth signal is a Bluetooth broadcast of the first electronic device at a preset transmission frequency, the preset transmission frequency is to send a Bluetooth broadcast every first interval time, the duration of each broadcast is a first duration, and the value of the second interval time is not greater than the value of the first duration.
20. The method of claim 19, wherein, Before the second electronic device scans the Bluetooth signal sent by the first electronic device, the method further comprises: The second electronic device obtains the second interval time and the second duration from the server.
21. The method of claim 19, wherein, The offline positioning request is further used to instruct the first electronic device to perform second Bluetooth pairing with the second electronic device.
22. The method of claim 21, wherein, The offline positioning request is further used to instruct the first electronic device to perform second Bluetooth pairing with the second electronic device comprises: The second electronic device continuously scans the Bluetooth broadcast, and the first electronic device performs second Bluetooth pairing with the second electronic device.
23. The method of any one of claims 19-22, wherein, The number of the second electronic devices is at least two devices.
24. The method of claim 19, wherein, Before the second electronic device sends a query request to the server, the method further comprises: The second electronic device judges whether the service times exceed a preset first threshold value; If the second electronic device judges that the service times do not exceed the preset first threshold value, the second electronic device sends a query request to the server; If the second electronic device judges that the service times exceed the preset first threshold value, the second electronic device does not send a query request to the server.
25. The method of claim 19, wherein, The second electronic device acquires the position information of the second electronic device based on the offline positioning request, and before sending the position information of the second electronic device to the server, the method further comprises: The second electronic device determines whether the service times exceeds a preset first threshold value; If the second electronic device determines that the service times does not exceed the preset first threshold value, the second electronic device acquires the position information of the second electronic device, and before sending the position information of the second electronic device to the server; If the second electronic device determines that the service times exceeds the preset first threshold value, the second electronic device does not acquire the position information of the second electronic device.
26. An electronic device used as a first electronic device, comprising a touch screen, a memory, a transceiver, one or more processors, a plurality of applications, and one or more programs; wherein, The one or more programs are stored in the memory, and the transceiver is configured to transmit or receive wireless signals; and wherein the one or more processors, when executing the one or more programs, cause the electronic device to implement the method of any one of claims 1-12, or the method of any one of claims 13-18, or the method of any one of claims 19-25.
27. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program comprises program instructions, and when the program instructions are executed by a computer, the computer executes the method of any one of claims 1-12, or the method of any one of claims 13-18, or the method of any one of claims 19-25.
28. A computer program product, characterised in that, When the computer program product is running on the computer, the computer executes the method of any one of claims 1-12, or the method of any one of claims 13-18, or the method of any one of claims 19-25.
Citation Information
Patent Citations
Operation control method and device and electronic equipment
CN112437401A