Retrieving method after shutdown of electronic equipment and related equipment
By using the Bluetooth module in an electronic device to send a broadcast in the shutdown state and switching to the power-on mode after the connection is successful, the problem of difficulty in retrieving the device after shutdown is solved, and accurate device positioning and retrieval is achieved.
Patent Information
- Application Number
- CN202311776908.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-21
- Publication Date
- 2025-06-24
AI Technical Summary
The prior art is difficult to achieve accurate retrieval after the electronic device is shut down, especially when the device cannot use the positioning function.
By introducing a Bluetooth module into the electronic device and making it work in the shutdown state, Bluetooth broadcast is sent to the preset area. When the connection to the second electronic device is successful, the Bluetooth module control device switches to the power-on mode, thereby activating the positioning module and other functions.
After the electronic device is turned off, the boot is activated through the Bluetooth module to activate the positioning function, so as to accurately find the lost device and improve the success rate of recovery.
Smart Images

Figure CN120201120A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of chips, and in particular, to a method for retrieving an electronic device after it is powered off and related devices. Background Art
[0002] With the development of terminal devices, portable electronic devices (such as smart phones, smart wearable devices, etc.) have the advantages of being easy to carry and being able to meet the user's needs at any time, resulting in an increasing number of users using portable electronic devices. However, due to the influence of various factors, current portable electronic devices are extremely easy to lose.
[0003] Currently, retrieving a lost electronic device generally relies on the positioning function of the electronic device itself. However, once the lost electronic device is powered off, the positioning function of the electronic device itself cannot be used to locate it, and thus it cannot be retrieved.
[0004] Therefore, how to accurately retrieve an electronic device after it is powered off is an urgent problem to be solved. Summary of the Invention
[0005] Embodiments of this application provide a method for retrieving an electronic device after it is powered off and related devices to achieve accurate retrieval after the electronic device is powered off.
[0006] In a first aspect, embodiments of this application provide a method for retrieving an electronic device after it is powered off, which is applied to a first electronic device. The first electronic device includes a Bluetooth module. The method includes: the first electronic device sending a Bluetooth broadcast to a preset area in a first mode; wherein, in the first mode, the first electronic device is in a powered-off state and the Bluetooth module is in a working state; after the first electronic device successfully connects to a second electronic device based on the Bluetooth broadcast, the first electronic device is controlled by the Bluetooth module to switch from the first mode to a second mode through the Bluetooth module; in the second mode, the first electronic device is in a powered-on state.
[0007] Currently, due to the influence of various factors, current electronic devices are extremely easy to lose, and once the lost electronic device is powered off, it cannot be located, and thus cannot be retrieved. In response to this, the embodiments of the present application provide a method for retrieving a lost electronic device after it is powered off. The method can directly trigger the lost electronic device to power on through a Bluetooth module after the device is powered off, and it is easy to locate the lost electronic device after it is powered on, so as to retrieve the device. Specifically, this method can be applied to a first electronic device (for example: the lost electronic device), and the first electronic device includes a Bluetooth module; the electronic device includes a first mode and a second mode. Among them, the first mode can be understood as the power-off retrieval mode, and the second mode can be understood as the power-on retrieval mode. The above-mentioned first electronic device sends a Bluetooth broadcast to a preset area in the first mode; at this time, the above-mentioned first electronic device is in the power-off state and the above-mentioned Bluetooth module is in the working state. That is to say, when the first electronic device is in the power-off state, the Bluetooth module can still work normally and send a Bluetooth broadcast to the preset area continuously or periodically. The Bluetooth broadcast can include information related to requesting to establish a Bluetooth connection, etc. After the second electronic device in the preset area successfully connects to the first electronic device, the above-mentioned Bluetooth module can directly control the above-mentioned first electronic device to switch from the above-mentioned first mode to the second mode, that is, the Bluetooth module can directly control the first electronic device to power on. After powering on, the lost electronic device can implement various functions, such as: positioning function, communication function, loudspeaker broadcast, flashing, vibration, etc., so that the lost electronic device can be retrieved by the user more easily and better after powering on.
[0008] In a possible implementation manner, the first electronic device further includes a positioning module. The positioning module is in the off state in the first mode and in the working state in the second mode; the method further includes: the first electronic device performs positioning through the positioning module in the second mode, obtains location information, and transmits the location information to the second electronic device; where the location information includes at least one of the current location information of the first electronic device or the relative location information between the first electronic device and the second electronic device.
[0009] In the shutdown recovery mode, i.e., the first mode, the positioning module is in a closed state. In the power-on recovery mode, i.e., the second mode, the positioning module can be in a normal working state. Further, after power-on, the first electronic device can directly perform precise positioning through the positioning module and transmit the location information to the second electronic device connected thereto, thereby assisting the user in obtaining the precise location information of the lost electronic device. Among them, the first electronic device can actively report the location information to the second electronic device, or the second electronic device can also actively obtain the location information based on the communication connection with the first electronic device. The above location information can include at least one of the current location information of the first electronic device or the relative location information between the first electronic device and the second electronic device. This location information can better assist the user in positioning the lost electronic device. This system can automatically power on the electronic device when the Bluetooth module does not lose power in the shutdown state and complete precise recovery after power-on. It can achieve the shutdown precise recovery function at a very low cost without modifying the relevant hardware design of the electronic device, thereby increasing the probability of recovering the lost mobile device.
[0010] In a possible implementation manner, the first electronic device further includes at least one of a power management module or a charging management module; the control of the first electronic device to switch from the first mode to the second mode through the Bluetooth module includes: sending a first activation signal to at least one of the power management module or the charging management module through the Bluetooth module, where the first activation signal is used to indicate that the power-on key of the first electronic device is pressed; based on the first activation signal, controlling the first electronic device to switch from the first mode to the second mode through at least one of the power management module or the charging management module.
[0011] In the embodiment of the present application, when the first electronic device is in the shutdown state, the Bluetooth module sends a first activation signal for simulating pressing the power-on key to at least one of the power management module or the charging management module, so that at least one of the power management module or the charging management module can control the first electronic device to switch from the first mode to the second mode based on this first activation signal, that is, control the first electronic device to switch from the shutdown state to the power-on state. This is equivalent to the startup method of the user pressing the power button to power on the first electronic device after it is shut down. This startup method is convenient and fast, and is applicable to the startup of most electronic devices, improving the success rate of the Bluetooth module controlling the electronic device to power on.
[0012] In a possible implementation manner, the above-mentioned first electronic device further includes a charging management module; the control of the first electronic device to switch from the first mode to the second mode through the above-mentioned Bluetooth module includes: sending a second activation signal to the charging management module through the above-mentioned Bluetooth module, where the second activation signal is used to indicate that the first electronic device is plugged in for charging; based on the second activation signal, controlling the first electronic device to switch from the first mode to the second mode through the above-mentioned charging management module.
[0013] In the embodiment of the present application, when the first electronic device is in the shutdown state, the Bluetooth module directly sends a signal (i.e., the second activation signal) for indicating that the first electronic device is plugged in for charging to the charging management module, and then controls the battery to supply power to the first electronic device through the charging management module, simulating the scenario where a charger is plugged into the electronic device, thereby triggering the system of the first electronic device to boot up. This boot-up method is direct and effective, which can ensure the boot-up efficiency and thus increase the probability of retrieving a lost mobile device.
[0014] In a possible implementation manner, after the first electronic device successfully connects to the second electronic device based on the Bluetooth broadcast, the control of the first electronic device to switch from the first mode to the second mode through the Bluetooth module includes: after the first electronic device successfully connects to the second electronic device based on the Bluetooth broadcast, the first electronic device verifies the second electronic device; when the verification of the second electronic device is passed, the first electronic device controls the first electronic device to switch from the first mode to the second mode through the Bluetooth module.
[0015] In the embodiment of the present application, after the second electronic device that has passed the verification connects to the first electronic device, the first electronic device will switch from the first mode to the second mode. This method can increase the probability of retrieving a lost mobile device. It can prevent any electronic device from randomly controlling the lost electronic device to boot up after establishing a Bluetooth connection with the lost electronic device, wasting the power of the lost electronic device and resulting in the inability to boot up and retrieve it after the power is exhausted.
[0016] In a possible implementation manner, the above method further includes: the first electronic device receives the first information sent by the second electronic device through the Bluetooth broadcast; when the first account identifier is consistent with the second information pre-stored in the first electronic device, it is determined that the second electronic device passes the verification of the first electronic device.
[0017] In an embodiment of the present application, the first information may be an account identifier for uniquely identifying the user corresponding to the first electronic device or may also be a recovery information input by the user for uniquely identifying the first electronic device. The first electronic device verifies the first information, which can improve the security and convenience of verification, thereby increasing the probability of retrieving a lost mobile device.
[0018] In a possible implementation manner, during the process of the first electronic device switching from the first mode to the second mode, and when the first electronic device is in the second mode, the first electronic device does not output audio and does not display.
[0019] In an embodiment of the present application, when the Bluetooth module controls the first electronic device to switch from the first mode to the second mode or when it is in the second mode, the first electronic device does not make a sound and does not display an image or problem (the display screen is turned off). For example, when the Bluetooth module controls the first electronic device to switch from the shutdown state to the startup state, the first electronic device does not display a startup animation and startup sound effects, etc., which can minimize the probability of the first electronic device being discovered after startup, thereby increasing the probability of retrieving the lost first electronic device.
[0020] In a possible implementation manner, the above method further includes: the first electronic device receives control information sent by the second electronic device in the second mode; in response to the control information, the first electronic device performs at least one of the following: displays a first display interface; or outputs first audio information.
[0021] In an embodiment of the present application, when the first electronic device receives control information from the second electronic device, it can use related auxiliary means such as making a sound (i.e., first audio information), emitting light (the display screen lights up or displays a first display interface), or vibrating to attract the user's attention to the first electronic device, assisting the user to further determine the current location of the first electronic device, and further increasing the probability of retrieving the lost first electronic device.
[0022] In a second aspect, an embodiment of the present application provides an electronic device, the electronic device includes a Bluetooth module; the electronic device includes a first mode and a second mode; wherein, in the first mode, the first electronic device is in a shutdown state and the Bluetooth module is in a working state; in the second mode, the first electronic device is in a startup state and the Bluetooth module is in a working state; in the first mode, the Bluetooth module is configured to: send a Bluetooth broadcast to a preset area; and after the first electronic device successfully connects to the second electronic device based on the Bluetooth broadcast, control the first electronic device to switch from the first mode to the second mode.
[0023] In a possible implementation manner, the first electronic device further includes a positioning module, which is in a closed state in the first mode and in an operating state in the second mode; in the second mode, the positioning module is configured to: position the first electronic device to obtain position information; the first electronic device is further configured to: transmit the position information to the second electronic device; wherein, the position information includes at least one of the current position information of the first electronic device or the relative position information between the first electronic device and the second electronic device.
[0024] In a possible implementation manner, the first electronic device further includes at least one of a power management module or a charging management module, wherein the Bluetooth module is connected to at least one of the first pin of the power management module or the second pin of the charging management module; the Bluetooth module is specifically configured to: send a first enabling signal to at least one of the first pin or the second pin, and the first enabling signal is used to indicate that the power-on key of the first electronic device is pressed; at least one of the power management module or the charging management module is configured to control the first electronic device to switch from the first mode to the second mode after detecting the first enabling signal.
[0025] In a possible implementation manner, the first electronic device further includes a switching tube, and the Bluetooth module is connected to at least one of the power management module or the charging management module through the switching tube; wherein, the control end of the switching tube is connected to the Bluetooth module, the first end of the switching tube is connected to at least one of the first pin or the second pin, and the second end of the switching tube is grounded; the Bluetooth module is specifically configured to: control the switching tube to conduct within a preset time period; after the switching tube conducts, at least one of the first pin or the second pin receives the first enabling signal.
[0026] In a possible implementation manner, the first electronic device further includes a charging management module; the Bluetooth module is connected to the third pin of the charging management module; the Bluetooth module is specifically configured to: send a second enabling signal to the third pin, and the second enabling signal is used to indicate that the first electronic device is inserted for charging; the charging management module is configured to control the first electronic device to switch from the first mode to the second mode after detecting the second enabling signal.
[0027] In a possible implementation manner, the Bluetooth module is specifically configured to: verify the second electronic device after the first electronic device and the second electronic device are successfully connected through Bluetooth broadcast; in the case where the second electronic device passes the verification, control the first electronic device to switch from the first mode to the second mode.
[0028] In a possible implementation manner, the Bluetooth module is specifically configured to: receive the first information sent by the second electronic device; and determine that the second electronic device passes the verification when the first information is consistent with the second information pre-stored in the first electronic device.
[0029] In a possible implementation manner, during the process of the first electronic device switching from the first mode to the second mode, and when the first electronic device is in the second mode, the first electronic device does not output audio and does not display.
[0030] In a possible implementation manner, in the second mode, the first electronic device receives the control information sent by the second electronic device; in response to the control information, the first electronic device performs at least one of the following: displays a first display interface; or outputs first audio information.
[0031] In a third aspect, an embodiment of the present application provides a computer-readable storage medium for storing computer software instructions used for a processing unit scheduling device provided in the first aspect above, which includes a program involved in performing a method for retrieving an electronic device after shutdown provided in the first aspect above.
[0032] In a fourth aspect, an embodiment of the present application provides a computer program, which includes instructions that, when executed by a computer, enable the computer to execute the process performed by a method for retrieving an electronic device after shutdown provided in the first aspect above.
[0033] It should be understood that the electronic device provided in the second aspect of the present application, the computer-readable storage medium provided in the third aspect, and the computer program provided in the fourth aspect are consistent with the technical solutions in the first aspect of the present application. For the specific content and beneficial effects, reference may be made to the method for retrieving an electronic device after shutdown provided in the first aspect above, and details are not described herein again. Description of the Drawings
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the background technology, the following will describe the drawings required to be used in the embodiments of the present application or the background technology.
[0035] Figure 1 is an application scenario diagram of an electronic device after being lost provided by an embodiment of the present application.
[0036] Figure 2 is a schematic hardware structure diagram of an electronic device provided by an embodiment of the present application.
[0037] Figure 3 is a schematic hardware structure diagram of another electronic device provided by an embodiment of the present application.
[0038] Figure 4 It is a schematic circuit diagram for a Bluetooth module to control an electronic device to switch modes provided by an embodiment of the present application.
[0039] Figure 5 It is a software structure block diagram of an electronic device provided by an embodiment of the present application.
[0040] Figure 6 It is a schematic flowchart of a method for retrieving an electronic device after shutdown provided by an embodiment of the present application. Detailed implementation manners
[0041] Next, the embodiments of the present application will be described in conjunction with the accompanying drawings in the embodiments of the present application.
[0042] Terms such as "first" and "second" in the specification and claims of the present application and the accompanying drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products or devices.
[0043] It should be understood that in the present application, "at least one (item)" means one or more, and "a plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships can exist. For example, "A and / or B" can mean: only A exists, only B exists, and both A and B exist at the same time. Among them, A and B can be singular or plural. The character " / " generally means that the associated objects before and after are in an "or" relationship. "At least one (one) of the following" or a similar expression means any combination of these items, including any combination of single item (one) or plural items (ones). For example, at least one (one) of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0044] Referring to "embodiment" in this article means that a specific feature, structure or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The phrase appears in various positions in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.
[0045] As used in this specification, the terms "component", "module", "system", etc. are used to denote computer-related entities, hardware, firmware, combinations of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable, an execution thread, a program, and / or a computer. By way of illustration, both an application running on a computing device and the computing device can be components. One or more components can reside within a process and / or an execution thread, and a component can be located on one computer and / or distributed between two or more computers. In addition, these components can execute from various computer-readable media storing various data structures. A component can communicate, for example, through local and / or remote processes via signals having one or more data packets (e.g., data from two components interacting with another component in a local system, a distributed system, and / or a network, such as data interacting with other systems via signals on the Internet).
[0046] First, for the convenience of understanding the embodiments of the present application, the technical problems to be solved and the applicable application scenarios of the embodiments of the present application are specifically analyzed below.
[0047] If a lost electronic device (such as a smartphone, a smart wearable device, etc.) cannot be retrieved in time within a short period, it will face the risk of being flashed or completely lost, ultimately resulting in user signal leakage or property loss. Moreover, for an electronic device that has been powered off after being lost, users can often only view the approximate location of the lost mobile phone. When users go to the lost location to search, they cannot be assisted to retrieve it precisely. For example: Currently, rough positioning can also be achieved through the Bluetooth function of the electronic device after it is powered off. Exemplarily, taking the electronic device as a mobile phone, after the user's mobile phone is lost, the lost mobile phone can be located and reported to the cloud by means of devices around the lost mobile phone. Then, the user can search for the lost mobile phone based on this positioning information. Please refer to the attached Figure 1 , Figure 1 is an application scenario diagram after an electronic device is lost provided by an embodiment of the present application. As Figure 1 shown, after the lost mobile phone takes the initiative to power off, the mobile phone runs out of power and shuts down, or the mobile phone enters the low power mode, etc., it can support the Bluetooth positioning search experience. The lost mobile phone can use Bluetooth to send Bluetooth Low Energy (BLE) broadcasts. Another mobile phone that enables BLE scanning, after receiving the BLE broadcast sent by the lost mobile phone, can encrypt its own location information and upload it to the cloud. The user can view the location reported by the other mobile phone in the cloud through other electronic devices, so as to search for the lost mobile phone. However, the accuracy of Bluetooth positioning is limited, the obtained positioning information has a large range, and the probability of retrieving the lost electronic device is low.
[0048] In response to this, the embodiments of the present application provide a method for retrieving an electronic device after it is powered off. The electronic device can be directly triggered to power on through a Bluetooth module after it is powered off. After the electronic device is powered on, it is easy to locate the lost electronic device, thereby retrieving the electronic device. The specific implementation method can refer to the relevant descriptions in the following embodiments for corresponding reference, and the embodiments of the present application will not elaborate here for the time being.
[0049] The following takes the electronic device 100 as an example for illustration to introduce the lost electronic device in Figure 1 the above.
[0050] Please refer to the attached Figure 2 , Figure 2 which is a schematic diagram of the hardware structure of an electronic device provided by the embodiments of the present application.
[0051] The following takes the electronic device 100 as an example to specifically illustrate the embodiments. It should be understood that the electronic device 100 may have more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations. The various components shown in the figure can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.
[0052] The 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 sensor module 180, a button 190, a motor 191, a display screen 192, etc. Among them, the sensor module 180 may include various sensors, such as a distance sensor 180A, etc.
[0053] It can be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than those shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
[0054] 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, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.
[0055] Among them, the controller may be the nerve center and command center of the electronic device 100. The controller may generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.
[0056] A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory may save the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can directly call it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0057] The charging management module 140 is used to receive a charging input from a charger. Among them, the charger may be a wireless charger or a wired charger. In the embodiments of the present application, when the charging management module 140 receives a charging plug-in in the shutdown state, it can trigger the system to boot, that is, control the electronic device 100 to switch from the shutdown state to the boot state.
[0058] 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 at least one input from the battery 142 or the charging management module 140 to supply power to the processor 110, the internal memory 121, the external memory, the display screen 192, the camera, and the wireless communication module 160, etc.
[0059] In an embodiment of the present application, when at least one of the power management module 141 or the charging management module 140 detects a first activation signal, at least one of the power management module 141 and the charging management module 140 can control the electronic device 100 to switch from the shutdown state to the startup state. The first activation signal can simulate the startup signal sent to at least one of the power management module 141 or the charging management module 140 when the analog button 190 (such as the power-on button or the power button) is pressed.
[0060] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc. applied to the electronic device 100. In some embodiments, at least some functional modules of the mobile communication module 150 can be disposed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 can be disposed in the same device.
[0061] The wireless communication module 160 can provide solutions for wireless communications applied to the electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), and ultra-wideband communication technology (UWB), etc. 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 the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, perform frequency modulation on it, amplify it, and convert it into electromagnetic wave radiation through the antenna 2.
[0062] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, such that electronic device 100 can communicate with a network and other devices through wireless communication technologies. The wireless communication technologies may include at least one of 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, IR, or ultra-wideband (UWB) technology, etc. The GNSS may include at least one of global positioning system (GPS), global navigation satellite system (GLONASS), beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS), or satellite based augmentation systems (SBAS).
[0063] In some embodiments, electronic device 100 can be positioned through related technologies such as bluetooth (BT), global navigation satellite system (GNSS), and ultra-wideband communication technology (UWB). Exemplarily, ultra-wideband communication technology (UWB) can be used to determine the relative position between the electronic device and other devices. For example, it can determine position information such as the distance and relative azimuth angle between electronic device 100 and other electronic devices. Additionally, the global navigation satellite system can directly determine the longitude and latitude information where electronic device 100 is located, etc.
[0064] In some embodiments, the electronic device 100 can be directly powered on via Bluetooth after being powered off, and after the electronic device is powered on, it can locate the lost electronic device, so as to retrieve the electronic device.
[0065] The electronic device 100 implements the display function through the GPU, the display screen 192, and the application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display screen 192 and the application processor. The GPU is used to execute mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change the display information.
[0066] The display screen 192 is used to display images, texts, videos, etc. The display screen 192 includes a display panel. The display panel can adopt a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light-emitting diode or an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 192, where N is a positive integer greater than 1.
[0067] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement the data storage function. For example, the first audio information, video, image and other files are saved in the external memory card.
[0068] The internal memory 121 can be used to store computer-executable program code, and the executable program code includes instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 can include a program storage area and a data storage area. Among them, the program storage area can store an operating system, applications required for at least one function (such as face recognition function, fingerprint recognition function, mobile payment function, etc.). The data storage area can store data created during the use of the electronic device 100 (such as face information template data, fingerprint information template, etc.). In addition, the internal memory 121 can include high-speed random access memory and can also include non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0069] The electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, and the application processor, etc. Such as music playback, etc.
[0070] The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert analog audio input into a digital audio signal. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 can be disposed in the processor 110, or some functional modules of the audio module 170 can be disposed in the processor 110.
[0071] The speaker 170A, also known as the "horn", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or hands-free calls through the speaker 170A. For example: the first audio information can be played.
[0072] The distance sensor 180A can be used to measure the distance to other objects and assist the positioning module for precise positioning.
[0073] The keys 190 include a power-on key, volume keys, etc. The keys 190 can be mechanical keys or touch keys. The electronic device 100 can receive key inputs and generate key signal inputs related to the user settings and function controls of the electronic device 100. Among them, the power-on key mentioned in this application and the following embodiments can be a mechanical key or a touch key, and is a key used to receive at least one of the power-on operation or the power-off operation.
[0074] The motor 191 can generate vibration prompts. The motor 191 can be used for incoming call vibration prompts and also for touch vibration feedback. For example, touch operations applied to different applications (such as taking pictures, playing audio, etc.) can correspond to different vibration feedback effects. For touch operations applied to different areas of the display screen 192, the motor 191 can also correspond to different vibration feedback effects. Different application scenarios (such as time reminder, receiving messages, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0075] To better understand the embodiments of the present application, please refer to the attached Figure 3 , Figure 3 is a schematic diagram of the hardware structure of another electronic device provided by the embodiments of the present application. As Figure 3 shown, the electronic device 200 includes a Bluetooth module 201, a positioning module 202, and may further include: a power management module 203, a charging management module 204, a processor 205, a display screen 206, a flash 207, a motor 208, a speaker 209, or a battery, etc.
[0076] The electronic device 200 can be a portable electronic device with functions such as Bluetooth and positioning, such as a mobile phone, a tablet computer, a wearable electronic device with wireless communication functions (such as a smart watch), etc. Exemplary embodiments of the portable electronic device include, but are not limited to, portable electronic devices equipped with or other operating systems. The above portable electronic device can also be other portable electronic devices, such as a laptop computer with a touch-sensitive surface or a touch panel. It can be understood that the embodiments of the present application are introduced by taking a smart phone as an example, but are not limited to smart phones, and can also be other intelligent devices with communication functions, such as smart watches, smart bracelets, VR glasses, etc.
[0077] Specifically, the above-mentioned electronic device 200 includes two modes, namely the first mode and the second mode. Among them, the first mode can be understood as the shutdown recovery mode. After the electronic device 200 receives a shutdown operation, or before the battery power is less than or equal to a preset threshold and is about to automatically shut down, if it is determined that the shutdown recovery function corresponding to the electronic device 200 is enabled, the electronic device 200 responds to the shutdown operation and enters the first mode, that is, the shutdown recovery mode. In the first mode, the electronic device 200 is in a shutdown state, and the Bluetooth module 201 of the electronic device 200 is in a working state. It can be understood that in the shutdown state, the battery still supplies power to the Bluetooth module 201 indirectly or directly to ensure its normal operation or low-power operation. Exemplarily, in the above-mentioned first mode, the above-mentioned Bluetooth module 201 is used to send Bluetooth broadcasts to a preset area, such as: BLE broadcasts. The preset area can be an area within a preset distance around the electronic device 200, or it can also be an area covered by the BLE signal. Therefore, the preset area will change with the change of the position of the electronic device 200, and the embodiments of the present application do not specifically limit the size of the preset area. In some other embodiments, after receiving the shutdown operation, or before the battery power is less than or equal to the preset threshold and is about to automatically shut down, the electronic device 200 can directly enter the first mode.
[0078] In addition, the second mode can be understood as the startup recovery mode. After the above-mentioned first electronic device successfully connects to another electronic device within the preset area based on the above-mentioned Bluetooth broadcast sent by the Bluetooth module 201, the Bluetooth module 201 can control the electronic device 200 to switch from the above-mentioned first mode to the second mode. In the second mode, the electronic device 200 is in a startup state, and the above-mentioned Bluetooth module 201 is in a working state. It can be understood that in the startup state, the battery can normally supply power to the Bluetooth module 201 to make it work properly.
[0079] The above-mentioned positioning module 202 is in a closed state in the above-mentioned first mode. In the above-mentioned second mode, the above-mentioned positioning module 202 is in a working state. At this time, the positioning module 202 can accurately locate the above-mentioned electronic device and obtain the position information of the electronic device 200; where the position information includes at least one of the current position information of the electronic device 200 or the relative position information between the electronic device 200 and the above-mentioned other electronic device. For example: the relative position information refers to information such as the relative distance and relative azimuth angle between the electronic device 200 and another electronic device. In the above-mentioned second mode, the above-mentioned Bluetooth module 201 can also report the position information to another electronic device, or another electronic device can also use relevant communication technologies (such as using the above Figure 2The mobile communication module or wireless communication module) in obtains the location information from the electronic device 200. In some other embodiments, the location information may also be sent by other communication modules in the electronic device to another electronic device, and the embodiments of the present application do not make specific limitations thereto.
[0080] In addition, the relevant functions of the Bluetooth module 201 and the positioning module 202 may also be correspondingly referred to the above Figure 2 relevant descriptions of the wireless communication module 160 for Bluetooth, global navigation satellite system, ultra-wideband communication technology, etc.
[0081] In some embodiments, after the Bluetooth broadcast connection sent by the Bluetooth module 201 between the electronic device 200 and another electronic device is successful, the electronic device 200 may receive the first information sent by another electronic device based on the Bluetooth connection. When the above first account identifier is consistent with the second information pre-stored in the electronic device 200, the above Bluetooth module 201 determines that another electronic device passes the verification of the electronic device 200. At this time, the Bluetooth module 201 may control the electronic device 200 to switch from the above first mode to the second mode.
[0082] In some embodiments, the electronic device 200 further includes at least one of a power management module 203 or a charging management module 204; wherein, the Bluetooth module is connected to at least one of the first pin of the power management module or the second pin of the charging management module, and the pins are not shown. The above Bluetooth module 201 is specifically configured to: send a first activation signal to at least one of the first pin or the second pin, and the first activation signal is used to indicate that the power-on key of the first electronic device is pressed; at least one of the power management module or the charging management module is used to control the first electronic device to switch from the first mode to the second mode after detecting the first activation signal. That is, it is equivalent to sending a first activation signal to at least one of the power management module 203 or the charging management module 204, and the first activation signal can simulate the power-on signal sent to at least one of the power management module 203 or the charging management module 204 after the power-on key of the first electronic device is pressed, that is, it can simulate the power-on scenario of pressing the power-on key, so as to control the electronic device 200 to switch from the first mode to the second mode, that is, to control the electronic device 200 to switch from the shutdown state to the power-on state.
[0083] In some embodiments, the first electronic device further includes a switching transistor, and the Bluetooth module is connected to at least one of the power management module or the charging management module through the switching transistor; wherein, a control end of the switching transistor is connected to the Bluetooth module, a first end of the switching transistor is connected to at least one of the first pin or the second pin, and a second end of the switching transistor is grounded; specifically, the Bluetooth module is configured to: control the switching transistor to conduct within a preset time period; wherein, after the switching transistor conducts, at least one of the first pin or the second pin receives the first enabling signal.
[0084] Please refer to Figure 4 , Figure 4 which is a schematic circuit diagram of a Bluetooth module for controlling an electronic device to switch modes provided by an embodiment of the present application. As Figure 4 shown, the power management module 203 and the charging management module 204 can be connected in parallel to one end of the switching transistor, that is, the first end of the switching transistor is connected to at least one of the first pin or the second pin (the pins are not shown). When the first electronic device is in the shutdown state, the Bluetooth module 201 sends a conduction signal to the switching transistor to control the switching transistor to conduct within a preset time period. After the switching transistor conducts, at least one of the first pin or the second pin can receive the first enabling signal, and the first enabling signal is a power-on signal that simulates a user pressing the power button and is used to indicate that the power button is pressed. At least one of the power management module 203 and the charging management module 204 can control the electronic device 200 to switch from the first mode to the second mode, that is, control the electronic device 200 to switch from the shutdown state to the power-on state. Among them, the embodiment of the present application does not specifically limit the size of the preset time period. Among them, the switching transistor can be a metal oxide semiconductor field effect transistor, the control end of the switching transistor is the gate, the first end of the switching transistor is the source, and the second end is the drain; or, the first end of the switching transistor is the drain and the second end is the source.
[0085] It should be noted that the switching transistor circuit is equivalent to a NOT gate circuit, and the conduction signal can be a high-level signal. After the Bluetooth module sends a high-level signal to the switching transistor, the high-level signal will cause the first pin connected to the first end and the second pin to become low-level signals after passing through the conduction of the switching transistor. After any one of the power management module and the charging management module detects that the corresponding pin becomes a low-level signal, the power management module and the charging management module will consider that the power button is pressed, thereby triggering the system to boot. At this time, the low-level signal is the first enabling signal used to indicate that the power button is pressed. Among them, the above-mentioned method of the Bluetooth module indirectly controlling the first electronic device to switch from the shutdown state to the startup state by controlling the conduction of the switching transistor is equivalent to the startup method in which the startup button is long-pressed by the user after the first electronic device is shut down. This startup method is convenient and fast, and is applicable to the startup of most electronic devices, improving the success rate of the Bluetooth module controlling the startup of electronic devices.
[0086] It should also be noted that for the relevant descriptions of other functions of the above Figure 4 power management module, reference can also be made to the above-mentioned Figure 2 mentioned power management module 141. For the relevant descriptions of other functions of the above Figure 4 charging management module, reference can also be made to the above-mentioned Figure 2 mentioned charging management module 140. In this regard, the embodiments of the present application will not be elaborated.
[0087] In a possible implementation manner, the first electronic device further includes a charging management module 204; the Bluetooth module 201 is connected to the third pin of the charging management module 204; the Bluetooth module 201 is specifically configured to: send a second enabling signal to the third pin, and the second enabling signal is used to indicate that the first electronic device is charged and inserted; the charging management module is configured to control the first electronic device to switch from the first mode to the second mode after detecting the second enabling signal. Among them, the above Figure 3 does not illustrate the third pin. When the electronic device 200 is in the shutdown state, the Bluetooth module 201 directly sends a signal (i.e., the second enabling signal) used to indicate that the electronic device 200 is charged and inserted to the charging management module 204, and then controls the battery to supply power to the first electronic device through the charging management module. Among them, the second enabling signal can simulate the charging insertion signal of a charger inserted into the electronic device, thereby triggering the scenario of the system startup of the electronic device 200. This startup method is direct and effective, can ensure the startup efficiency, and thus increase the probability of retrieving a lost mobile device.
[0088] In some other embodiments, it should be noted that the Bluetooth module 201 may further include a voltage conversion circuit (not shown) for sending the above-mentioned conduction signal and the second enabling signal, and the output end of the voltage conversion circuit is connected to the third pin of the charging management module or the control end of the above-mentioned switching tube.
[0089] In some embodiments, during the process of the electronic device 200 switching from the first mode to the second mode, and when the electronic device 200 is in the second mode, the electronic device 200 does not output audio and does not display. That is, during the mode conversion and in the above-mentioned second mode, the above-mentioned electronic device 200 is always in a mute state, and the display screen 206 of the above-mentioned electronic device 200 is always in a screen-off state. It can be understood that if the lost electronic device 200 plays the startup animation and startup audio when switching from the shutdown state to the startup state, it will change the sound and brightness of the surrounding environment, and is very likely to attract the attention of other users. Therefore, the electronic device 200 does not output an audio signal or a light signal, which can avoid the impact on the surrounding environment when the lost electronic device 200 switches from the shutdown state to the startup state or is in the startup state, so as to avoid attracting the attention of other users after making a sound. At this time, one or more of the display screen 206, the flash 207, the motor 208 or the speaker 209 of the electronic device 200 are in a closed state during the process of switching from the first mode to the second mode and when the electronic device 200 is in the second mode. Correspondingly, the battery of the electronic device 200 does not supply power to the display screen 206, the flash 207, the motor 208 or the speaker 209, etc. in the above-mentioned second mode. In addition, in the second mode, except for the modules such as the display screen 206, the flash 207, the motor 208 or the speaker 209 that can emit sound, light, and motion, the rest of the other devices can work normally. For example, the processor 205 can work normally to process relevant data information.
[0090] In some other embodiments, in the second mode described above, the electronic device 200 receives control information sent by another electronic device. In response to the control information, the electronic device 200 performs at least one of the following: displaying a first display interface; or outputting first audio information. The above control information can be used to control the display screen of the above to turn on and display the first display interface, and the first display interface can play preset picture information and text information; the control information can also be used to control the electronic device 200 to sound, that is, output the first audio information, and the volume when the electronic device 200 outputs the first audio information can exceed a preset threshold. It can be understood that when the user is near the lost electronic device, one or more of the display screen 206, the flashlight 207, the motor 208 or the speaker 209 of the electronic device can be actively controlled to change from the off state to the working state, so that the electronic device 200 emits sound, light, vibration, etc., increasing the impact on the surrounding environment and attracting the user's attention, assisting the user to further determine the current location of the electronic device 200, and further increasing the probability of retrieving the lost electronic device 200.
[0091] In addition, the related functions of the power management module 203, the charging management module 204, the processor 205, the display screen 206, the motor 208 or the speaker 209 can also be correspondingly referred to the relevant descriptions of the power management module 141, the charging management module 140, the processor 110, the display screen 192, the motor 191 or the speaker 170A, etc. in the above Figure 2 above.
[0092] It should be noted that the electronic device 200 mentioned in the embodiments of the present application is equivalent to the first electronic device involved in other related embodiments, and the other electronic device mentioned in the embodiments of the present application is equivalent to the second electronic device involved in other related embodiments.
[0093] Please refer to the attached Figure 5 , Figure 5 which is a software structure block diagram of an electronic device provided by an embodiment of the present application.
[0094] The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom are the application layer, the application framework layer, the Android runtime, and the system library, and the kernel layer.
[0095] The application layer may include a series of application packages.
[0096] Such as Figure 5 shown, the application packages may include applications such as calls, navigation, Bluetooth, WLAN, music, etc.
[0097] The application framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. The application framework layer includes some predefined functions.
[0098] Such as Figure 5 As shown, the application framework layer may include a display manager, a sensor manager, a cross-device connection manager, an event manager, an activity manager, a content provider, a resource manager, etc.
[0099] The display manager is used for the display management of the system, responsible for managing all display-related transactions, including creation, destruction, orientation switching, size and status changes, etc. Generally, there is a default display module on a single device, that is, the main display module. For example, it can be responsible for displaying the first display interface.
[0100] The sensor manager is responsible for the status management of sensors and manages applications to listen for sensor events and report the events to applications in real time.
[0101] The cross-device connection manager is used to establish communication connections with other devices.
[0102] The event manager is used for the event management service of the system, responsible for receiving events uploaded from the bottom layer and distributing them to each window to complete tasks such as event reception and distribution.
[0103] The task manager is used for the management of task (Activity) components, including start management, life cycle management, task orientation management, etc.
[0104] The content provider is used to store and obtain data and make this data accessible to application programs. The data may include videos, images, audio, dialed and answered calls, browsing history and bookmarks, phone books, etc. For example: it may include the display content of the first display interface, the playback content of the first audio information, etc.
[0105] The resource manager provides various resources for application programs.
[0106] The system library (also known as the data management layer) may include multiple functional modules. For example: media libraries (MediaLibraries), 3D graphics processing libraries (such as: OpenGL ES), 2D graphics engines (such as: SGL), etc.
[0107] The media library supports the playback and recording of a variety of common audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0108] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing, etc.
[0109] The 2D graphics engine is a graphics engine for 2D drawing.
[0110] The kernel layer is the layer between hardware and software. The kernel layer at least includes a display driver, an audio driver, a sensor driver, etc.
[0111] It should be noted that the software structure of the electronic device mentioned in the embodiments of the present application can be applicable to the above-mentioned Figure 2 mentioned electronic device 100, and can also be applicable to the above-mentioned Figure 3 mentioned electronic device 200.
[0112] Next, in combination with the method for retrieving the electronic device after shutdown provided in the present application, the technical problems proposed in the present application are specifically analyzed and solved.
[0113] Please refer to Figure 6 , Figure 6 which is a schematic flow chart of a method for retrieving an electronic device after shutdown provided by an embodiment of the present application.
[0114] The first electronic device involved in the method for retrieving the electronic device after shutdown is equivalent to the lost electronic device as shown above Figure 1 , that is, it can be applied to the electronic devices described above Figures 2 - 5 . The second electronic device involved in the method embodiment is equivalent to the other electronic devices shown above Figure 1 .
[0115] The second electronic device can be a portable electronic device including functions such as Bluetooth, such as a mobile phone, a tablet computer, a wearable electronic device with wireless communication functions (such as a smart watch), etc. Exemplary embodiments of the portable electronic device include, but are not limited to, those equipped with A portable electronic device with another operating system. The above portable electronic device can also be other portable electronic devices, such as a laptop computer with a touch-sensitive surface or a touch panel, etc. It should also be understood that in some other embodiments, the above electronic device may not be a portable electronic device, but a desktop computer, an in-vehicle computer, etc. with a touch-sensitive surface or a touch panel. It can be understood that in the embodiments of the present application, the second electronic device is taken as a smart phone as an example for introduction, but it is not limited to smart phones, and can also be other intelligent devices with communication functions, such as smart watches, smart bracelets, VR glasses, and so on.
[0116] Among them, the first electronic device can be used to support and execute the Figure 6 method flow steps S101 - S104 shown in. Among them, the specific relevant descriptions of each step are as follows:
[0117] Step S101: The first electronic device sends a Bluetooth broadcast to a preset area in the first mode.
[0118] Specifically, in the first mode, the above first electronic device is in a shutdown state, and the Bluetooth module is in a working state. The first electronic device can send a Bluetooth broadcast to a preset area based on the Bluetooth module in the first mode. Among them, in the first mode, when the first electronic device is in a shutdown state, the battery can directly or indirectly supply power to the Bluetooth module, and the Bluetooth module can still be in a working state. The Bluetooth module can be used to send a Bluetooth broadcast to a preset area at a preset time interval. Among them, the Bluetooth broadcast can include relevant information for requesting to establish a Bluetooth connection, etc. In addition, when the battery power is low, the Bluetooth module can be in a low-power working state and send a Bluetooth low-power broadcast. Among them, the size of the preset time interval and the duration of each Bluetooth broadcast can be configured.
[0119] It should be noted that after the first electronic device receives a shutdown operation, if it is determined that the shutdown recovery function corresponding to the first electronic device is enabled, the first electronic device will switch to the first mode, that is, the shutdown recovery mode, in response to the above shutdown operation. The reserved power based on the preset threshold needs to support the Bluetooth module to maintain a low-power working state in the first mode and support the Bluetooth module and other related modules to maintain a low-power working state in the second mode.
[0120] In some other embodiments, before the first electronic device is about to automatically shut down when the battery power is less than or equal to a preset threshold, if it is determined that the shutdown retrieval function or the low-battery shutdown retrieval function corresponding to the first electronic device is enabled, the first electronic device can also respond to the above shutdown operation and switch to the first mode, that is, the shutdown retrieval mode. Additionally, it can be understood that in the case where the battery is about to automatically shut down due to power consumption, the reserved power based on the preset threshold needs to support the Bluetooth module to maintain a low-power working state in the first mode and support both the Bluetooth module and the positioning module to maintain a low-power working state in the second mode. Therefore, the size of the preset threshold can be set to a relatively high value, for example, 15% of the total battery capacity, etc.
[0121] Step S102: After the first electronic device is successfully connected to the second electronic device based on Bluetooth broadcasting, the first electronic device controls itself to switch from the first mode to the second mode through the Bluetooth module.
[0122] Specifically, after the first electronic device is successfully connected to the second electronic device based on Bluetooth broadcasting, the first electronic device controls itself to switch from the first mode to the second mode through the Bluetooth module. Among them, the second electronic device can be an electronic device within a preset area. Within the preset area, when the second electronic device receives the Bluetooth broadcast sent by the first electronic device, it can establish a Bluetooth connection with the first electronic device. After the Bluetooth connection between the first electronic device and the second electronic device is successful, the Bluetooth module can control the first electronic device to power on. After powering on, the lost electronic device can implement various functions, such as: positioning function, communication function, loudspeaker broadcast, flashing, vibration, etc., so that the lost electronic device can better assist the user in retrieving it after powering on.
[0123] In some embodiments, the above first electronic device further includes at least one of a power management module or a charging management module; the above controlling the above first electronic device to switch from the above first mode to the above second mode through the above Bluetooth module includes: sending a first activation signal to at least one of the power management module or the charging management module through the Bluetooth module, where the first activation signal is used to indicate that the power-on button of the first electronic device is pressed; based on the first activation signal, controlling the first electronic device to switch from the first mode to the second mode through at least one of the power management module or the charging management module.
[0124] When the first electronic device is in the shutdown state, the Bluetooth module sends a first enabling signal that can simulate a power-on signal to at least one of the power management module or the charging management module, so that at least one of the power management module or the charging management module can control the first electronic device to switch from the first mode to the second mode based on the first enabling signal, that is, control the first electronic device to switch from the shutdown state to the power-on state. Among them, the first enabling signal is used to indicate that the power-on button of the first electronic device is pressed, which is equivalent to the power-on signal when the user presses the power button to turn on the first electronic device after it is shut down. This power-on method is convenient and fast, and is applicable to the power-on of most electronic devices, improving the success rate of the Bluetooth module controlling the power-on of the electronic device.
[0125] In some other embodiments, the first electronic device further includes a charging management module; the controlling the first electronic device to switch from the first mode to the second mode by the Bluetooth module includes: sending a second enabling signal to the charging management module by the Bluetooth module, where the second enabling signal is used to indicate that the first electronic device is plugged in for charging; based on the second enabling signal, controlling the first electronic device to switch from the first mode to the second mode by the charging management module.
[0126] Among them, in the first mode, the Bluetooth module can also directly send a signal (i.e., the second enabling signal) for indicating that the first electronic device is plugged in for charging to the charging management module, and control the battery to supply power to the first electronic device through the charging management module to simulate the scenario of plugging in the charger, thereby triggering the system startup of the first electronic device. Exemplarily, the Bluetooth module can output a voltage signal (for example: voltage information of 5V) to the charging management module, and this voltage signal can be used to simulate indicating to the charging management module that the first electronic device is plugged in for charging, that is, when the charging management module receives the second enabling signal, it is equivalent to receiving the charging plug-in signal, so that the charging management module controls the battery to output voltage to each functional module in the first electronic device. This power-on method is direct and effective, and in some other embodiments, such as when the battery power is low, the power management module can preferentially supply power to the positioning module, which can further ensure the accurate positioning of the first electronic device to increase the probability of the first electronic device being retrieved.
[0127] It should be noted that the Bluetooth module may further include a voltage conversion circuit (such as a boost conversion circuit) for sending the second enabling signal, and the output end of the voltage conversion circuit is connected to the charging management module. It should also be noted that the relevant descriptions of other functions of the charging management module mentioned in the embodiments of the present application can also be correspondingly referred to the charging management module 140 mentioned above. For this, the embodiments of the present application will not be elaborated here. Figure 2 mentioned charging management module 140, and for this, the embodiments of the present application will not be elaborated here.
[0128] In some other embodiments, after the first electronic device successfully connects to the second electronic device based on the Bluetooth broadcast, the first electronic device controls the first electronic device to switch from the first mode to the second mode through the Bluetooth module, including: after the first electronic device successfully connects to the second electronic device based on the Bluetooth broadcast, the first electronic device verifies the second electronic device; in the case where the second electronic device passes the verification, the first electronic device controls the first electronic device to switch from the first mode to the second mode through the Bluetooth module.
[0129] After the second electronic device establishes a Bluetooth connection with the first electronic device, the second electronic device also needs to be verified by the first electronic device to verify whether the second electronic device is a device matching the first electronic device. For example, verifying whether the second electronic device is the device corresponding to the user who lost the first electronic device. After the second electronic device that has passed the verification connects to the first electronic device, the first electronic device will switch from the first mode to the second mode. This method can increase the probability of retrieving a lost mobile device. It avoids the situation that after any electronic device establishes a Bluetooth connection with the lost electronic device, the Bluetooth module randomly controls the lost electronic device to power on, wasting the power of the lost electronic device and causing it to be unable to power on for retrieval after the power runs out.
[0130] If the first electronic device successfully connects to the second electronic device based on the Bluetooth broadcast but the second electronic device fails the verification, the first electronic device can disconnect from the second electronic device and then continue to send Bluetooth broadcasts within the preset area. The first electronic device can repeat the above process until it connects to an electronic device that passes the verification, or until the power of the first electronic device runs out, or until the preset duration is reached, at which point the first electronic device automatically ends the shutdown retrieval mode and stops sending Bluetooth broadcasts to the preset area. Moreover, only when the first electronic device connects to the second electronic device that has passed the verification, will the Bluetooth module trigger the first electronic device to switch from the first mode to the second mode.
[0131] In some embodiments, the above method further includes: the first electronic device receives the first information sent by the second electronic device through the Bluetooth broadcast; when the first account identifier is consistent with the second information pre-stored in the first electronic device, it is determined that the second electronic device passes the verification of the first electronic device.
[0132] Wherein, the first information may be an account identifier for uniquely identifying the user corresponding to the first electronic device (such as: user name, user identifier, or other preset identifier information, etc.) or may also be a retrieval information input by the user for uniquely identifying the first electronic device, wherein the user may preset the retrieval information in the first electronic device. Exemplarily, when the first information is an account identifier, the second electronic device may send the first account identifier input by the user to the first electronic device via Bluetooth. The Bluetooth module in the first electronic device may compare the first account identifier with the account identifier pre-stored in the first electronic device. When the first account identifier is consistent with the account identifier pre-stored in the first electronic device, it can be determined that the above-mentioned second electronic device passes the verification of the above-mentioned first electronic device. When the first account identifier is inconsistent with the second account identifier, it can be determined that the above-mentioned second electronic device fails to pass the verification of the above-mentioned first electronic device. The first electronic device verifies the first information, and this method can improve the security and convenience of verification, thereby increasing the probability of retrieving a lost mobile device.
[0133] In addition, after the second electronic device is successfully connected to and passes the verification of the first electronic device, the first electronic device will switch from the first mode to the second mode. At this time, identifying whether the electronic devices match through the first information can reduce the difficulty of verification matching while ensuring the accuracy rate, thereby increasing the probability of retrieving the first electronic device.
[0134] In some embodiments, during the process of the first electronic device switching from the first mode to the second mode, and when the first electronic device is in the second mode, the first electronic device does not output audio and does not display.
[0135] In the embodiments of the present application, when the Bluetooth module controls the first electronic device to switch from the first mode to the second mode, or when the first electronic device is in the second mode, the first electronic device does not emit sound, nor does it display an image or a question (the display screen turns off). For example, when the Bluetooth module controls the first electronic device to switch from the shutdown state to the startup state, the first electronic device does not show a startup animation and startup sound effects, etc., which can minimize the probability of the first electronic device being discovered by other users before the user finds the first electronic device after it is powered on, thereby increasing the probability of the user retrieving the lost first electronic device.
[0136] Step S103: The first electronic device performs positioning through the positioning module in the second mode to obtain location information.
[0137] Specifically, the first electronic device further includes a positioning module. The positioning module is in a closed state in the first mode and in a working state in the second mode; the method further includes: the first electronic device performs positioning through the positioning module in the second mode to obtain location information.
[0138] In the shutdown recovery mode, i.e., the first mode, the positioning module is in a closed state (e.g., powered off or standby state). In the startup recovery mode, i.e., the second mode, the positioning module can be in a normal working state. Further, after startup, the above first electronic device can directly perform precise positioning through the above positioning module and transmit the location information to the above second electronic device connected thereto, thereby assisting the user in obtaining the precise location information of the lost electronic device. Among them, the first electronic device can actively report the location information to the second electronic device, or the second electronic device can also actively obtain the location information based on the communication connection with the first electronic device. The above location information can include at least one of the current location information of the above first electronic device or the relative location information between the above first electronic device and the above second electronic device. This location information can better assist the user in positioning the lost electronic device. This system can automatically power on the electronic device when the Bluetooth module does not lose power in the shutdown state and complete precise recovery after startup, which can achieve the shutdown precise recovery function at a very low cost without modifying the relevant hardware design of the electronic device, thereby improving the probability of retrieving the lost mobile device.
[0139] It can be understood that the positioning module can include one or more functional modules in the first electronic device that can be used for precise positioning. Exemplarily, it can be at least one of a global navigation satellite system or an ultra-wideband communication system.
[0140] It can also be understood that the current location information of the first electronic device can be specific longitude and latitude information, and the relative location information can be information such as the relative distance and relative azimuth angle between the first electronic device and the second electronic device.
[0141] Step S104: Transmit location information to the second electronic device.
[0142] Specifically, the first electronic device can establish a communication connection with the second electronic device and transmit the location information through this communication connection. In the second mode, the first electronic device can actively report the location information to the second electronic device, or the second electronic device can also connect to the first electronic device through relevant communication technologies (such as ultra-wideband communication technology) to obtain the location information of the first electronic device. After the second electronic device obtains the location information, it can accurately know the precise location of the first electronic device based on this location information, so as to better retrieve the first electronic device.
[0143] In some embodiments, the above method further includes: the first electronic device receives control information sent by the second electronic device in the second mode; in response to the control information, the first electronic device performs at least one of the following: displaying a first display interface; or outputting first audio information.
[0144] Even after obtaining the accurate location information of the first electronic device, it is still easy to be unable to easily retrieve the first electronic device in the area indicated by the location information due to environmental factors or human factors. At this time, the first electronic device can receive the control information sent by the second electronic device. Based on this control information, the first electronic device can emit sounds (such as playing the first audio information), lights (the display screen lights up and displays the first display interface), and other relevant auxiliary means to increase the user's attention to the first electronic device, assist the second electronic device or the user in further determining the current location of the first electronic device, and thus increase the probability of retrieving the lost first electronic device. Exemplarily, in a dark environment, the first electronic device can receive the control information sent by the second electronic device, switch from the screen-off state to the screen-on state and play animations and audio, which can enable the user to better locate the first electronic device. Exemplarily, outdoors or indoors, the first electronic device can receive the control information sent by the second electronic device, switch from the mute state to the speaker state. For example, play the first audio information, and the volume when playing the first audio information exceeds a preset threshold, so that the user can easily determine the current location of the first electronic device.
[0145] In addition, in some other embodiments, after receiving the control information, the first electronic device can also switch from the stationary state to the vibration state.
[0146] Therefore, in order to avoid the situation where once the lost electronic device is powered off, it cannot be located and thus cannot be retrieved. The embodiments of the present application provide a method for retrieving a lost electronic device after it is powered off. It can directly trigger the electronic device to power on through the Bluetooth module after the electronic device is powered off. After the electronic device is powered on, it can easily locate the lost electronic device and thus retrieve it. Specifically, this method can be applied to a first electronic device (e.g., the lost electronic device), and the first electronic device includes a Bluetooth module and a positioning module; the electronic device includes a first mode and a second mode. Among them, the first mode can be understood as the power-off retrieval mode, and the second mode can be understood as the power-on retrieval mode. The above-mentioned first electronic device sends a Bluetooth broadcast within a preset area in the first mode; at this time, the above-mentioned first electronic device is in a powered-off state, the Bluetooth module is in a working state, and the positioning module is in a closed state. That is to say, when the first electronic device is in a powered-off state, the Bluetooth module can still work normally and continuously send a Bluetooth broadcast within the preset area. The Bluetooth broadcast can include at least one of the relevant information for requesting to establish a Bluetooth connection or the location information of the Bluetooth module for positioning the first electronic device, etc. After the second electronic device within the preset area successfully connects to the first electronic device and passes the verification of the first electronic device, the above-mentioned Bluetooth module can directly control the first electronic device to switch from the first mode to the second mode, that is, the Bluetooth module can directly control the first electronic device to power on. After powering on, the lost electronic device can implement various functions, such as: positioning function, communication function, loudspeaker broadcast, flashing, vibration, etc., so that the lost electronic device can be retrieved by the user more easily and better after powering on.
[0147] In addition, the embodiments of the present application also provide a computer-readable storage medium, in which computer program code is stored. When the above-mentioned processor executes the computer program code, it causes the computer to execute the method in any of the foregoing embodiments.
[0148] The embodiments of the present application also provide a computer program product. When the computer program product runs on a computer, it causes the computer to execute the method in any of the foregoing embodiments.
[0149] It should be noted that for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should know that the present application is not limited by the described action sequence, because according to the present application, certain steps may be adopted in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to the present application.
[0150] In several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the above-mentioned division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of devices or units can be in an electrical or other form.
[0151] The units described above as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place, or they can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0152] In addition, each functional unit in the embodiments of this application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0153] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc., specifically, the processor in the computer device) to execute all or part of the steps of the above methods in the various embodiments of this application. Among them, the aforementioned storage medium can include: USB flash drives, mobile hard disks, magnetic disks, optical disks, read-only memory (ROM), or random access memory (RAM), etc., various media that can store program codes.
[0154] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for retrieving an electronic device after shutdown, characterized in that, Applied to a first electronic device, the first electronic device includes a Bluetooth module; the method includes: The first electronic device sends a Bluetooth broadcast within a preset area in a first mode; wherein, in the first mode, the first electronic device is in a shutdown state and the Bluetooth module is in a working state; After the first electronic device successfully connects to a second electronic device based on the Bluetooth broadcast, the first electronic device controls the first electronic device to switch from the first mode to a second mode through the Bluetooth module; in the second mode, the first electronic device is in a powered-on state.
2. The method according to claim 1, wherein The first electronic device further includes a positioning module, the positioning module is in a closed state in the first mode and in a working state in the second mode; the method further includes: The first electronic device performs positioning through the positioning module in the second mode, obtains location information, and transmits the location information to the second electronic device; wherein, the location information includes at least one of the current location information of the first electronic device or the relative location information between the first electronic device and the second electronic device.
3. The method according to claim 1 or 2, characterized in that The first electronic device further includes at least one of a power management module or a charging management module; Controlling the first electronic device to switch from the first mode to the second mode through the Bluetooth module includes: Sending a first activation signal to at least one of the power management module or the charging management module through the Bluetooth module, the first activation signal is used to indicate that the power-on button of the first electronic device is pressed; Based on the first activation signal, controlling the first electronic device to switch from the first mode to the second mode through at least one of the power management module or the charging management module.
4. The method according to claim 1 or 2, characterized in that, The first electronic device further includes a charging management module; controlling the first electronic device to switch from the first mode to the second mode through the Bluetooth module includes: Sending a second activation signal to the charging management module through the Bluetooth module, the second activation signal is used to indicate that the first electronic device is plugged in for charging; Based on the second activation signal, controlling the first electronic device to switch from the first mode to the second mode through the charging management module.
5. The method according to any one of claims 1-4, characterized in that, After the first electronic device successfully connects to a second electronic device based on the Bluetooth broadcast, controlling the first electronic device to switch from the first mode to the second mode through the Bluetooth module includes: After the first electronic device successfully connects to a second electronic device based on the Bluetooth broadcast, the first electronic device verifies the second electronic device; In response to passing the verification of the second electronic device, the first electronic device controls the first electronic device to switch from the first mode to the second mode through the Bluetooth module.
6. The method according to any one of claims 1-5, characterized in that, The method further includes: The first electronic device receives first information sent by the second electronic device through the Bluetooth module; When the first information is consistent with second information pre-stored in the first electronic device, it is determined that the second electronic device passes the verification.
7. The method according to any one of claims 1 to 6, characterized in that, During the process of the first electronic device switching from the first mode to the second mode, and when the first electronic device is in the second mode, the first electronic device does not output audio and does not display.
8. The method according to claim 7, characterized in that, The method further includes: The first electronic device receives control information sent by the second electronic device in the second mode; In response to the control information, the first electronic device performs at least one of the following: Display a first display interface; or output first audio information.
9. An electronic device, characterized in that, The electronic device includes a Bluetooth module; the electronic device includes a first mode and a second mode; wherein, in the first mode, the first electronic device is in a shutdown state and the Bluetooth module is in a working state; in the second mode, the first electronic device is in a powered-on state and the Bluetooth module is in a working state; In the first mode, the Bluetooth module is used for: sending a Bluetooth broadcast to a preset area; and after the first electronic device successfully connects to the second electronic device based on the Bluetooth broadcast, controlling the first electronic device to switch from the first mode to the second mode.
10. The electronic device according to claim 9, wherein The first electronic device further includes a positioning module, the positioning module is in a closed state in the first mode and in a working state in the second mode; In the second mode, the positioning module is used for: positioning the first electronic device to obtain position information; The first electronic device is further used for: transmitting the position information to the second electronic device; wherein, the position information includes at least one of the current position information of the first electronic device or the relative position information between the first electronic device and the second electronic device.
11. The electronic device according to claim 9 or 10, wherein The first electronic device further includes at least one of a power management module or a charging management module, wherein the Bluetooth module is connected to at least one of the first pin of the power management module or the second pin of the charging management module; The Bluetooth module is specifically used for: sending a first enabling signal to at least one of the first pin or the second pin, and the first enabling signal is used to indicate that the power-on key of the first electronic device is pressed; At least one of the power management module or the charging management module is used to control the first electronic device to switch from the first mode to the second mode after detecting the first enabling signal.
12. The electronic device according to claim 11, wherein The first electronic device further includes a switching tube, the Bluetooth module is connected to at least one of the power management module or the charging management module through the switching tube; wherein, the control end of the switching tube is connected to the Bluetooth module, the first end of the switching tube is connected to at least one of the first pin or the second pin, and the second end of the switching tube is grounded; The Bluetooth module is specifically used for: controlling the switching tube to conduct within a preset time period; wherein, after the switching tube conducts, at least one of the first pin or the second pin receives the first enabling signal.
13. The electronic device according to claim 9, wherein The first electronic device further includes a charging management module; the Bluetooth module is connected to the third pin of the charging management module; The Bluetooth module is specifically configured to: send a second enabling signal to the third pin, where the second enabling signal is used to indicate that the first electronic device is charged and inserted; The charging management module is configured to control the first electronic device to switch from the first mode to the second mode after detecting the second enabling signal.
14. The electronic device according to claim 7, wherein, The Bluetooth module is specifically configured to: After the first electronic device and the second electronic device are successfully connected through Bluetooth broadcast, verify the second electronic device; in response to passing the verification of the second electronic device, control the first electronic device to switch from the first mode to the second mode.
15. The electronic device according to claim 7, wherein The Bluetooth module is specifically configured to: receive the first information sent by the second electronic device; When the first information is consistent with the second information pre-stored in the first electronic device, determine that the second electronic device passes the verification.
16. The electronic device according to any one of claims 7-10, characterized in that, During the process of the first electronic device switching from the first mode to the second mode, and when the first electronic device is in the second mode, the first electronic device does not output audio and does not display.
17. The electronic device according to claim 11, wherein In the second mode, the first electronic device receives the control information sent by the second electronic device; in response to the control information, the first electronic device performs at least one of the following: display a first display interface; or output first audio information.
18. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and when the computer program is executed by a computer or a processor, the method described in any one of claims 1-8 above is implemented.
19. A computer program product, characterized in that, The computer program product includes a computer program, and when the computer program is executed by a computer or a processor, the computer or the processor is caused to execute the method described in any one of claims 1-8.