Equipment searching method, equipment, device, storage medium and computer program product

By adjusting the power supply of the wireless communication chip and the method of generating cached broadcast data by the processor, the time and hardware complexity of the recovery function under the shutdown state of the mobile phone is solved, and more efficient device positioning and recovery is achieved, especially in low power conditions. Improved the recovery success rate.

CN119052771APending Publication Date: 2024-11-29GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411161566.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

The prior art has limited positioning and retrieval functions when the mobile phone is turned off, especially when the power is insufficient, it only supports about 5 hours of retrieval time. The hardware requirements are complex and additional AOP chips are needed to power.

Method used

By adjusting the power supply capacity of the wireless communication chip, it can continuously supply power after the device is shut down, and broadcast data is generated and cached by the processor before shutdown, allowing the wireless communication chip to broadcast wireless signals after shutdown, so that nearby devices can find lost devices.

Benefits of technology

Under normal shutdown, the wireless communication chip can work for 7 days and can work for 24 hours when shut down at low power, which significantly increases the probability of equipment retrieval, simplifies hardware requirements, and avoids logical processing of additional processors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119052771A_ABST
    Figure CN119052771A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an equipment searching method, equipment, a device, a storage medium and a computer program product, and belongs to the field of terminal equipment, the method is executed by first equipment, and the first equipment comprises a processor and a wireless communication chip; the method comprises the following steps: a processor generates broadcast data and transmits the broadcast data to a wireless communication chip; the wireless communication chip caches broadcast data; the wireless communication chip responds to the shutdown of the first equipment and broadcasts a wireless signal according to the broadcast data, and the wireless signal is used for assisting the second equipment to search for the first equipment; wherein under the condition that the first equipment is shut down, the power supply of the processor is stopped, and the power supply of the wireless communication chip is continued. According to the method, the device can be retrieved in the shutdown state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of terminal devices, and in particular, to a device search method, device, apparatus, storage medium, and computer program product. Background Art

[0002] Through low-power Bluetooth technology, the phone can be located when it is turned off or disconnected from the Internet, thereby enabling the phone to be retrieved.

[0003] In the related technology, an AOP (Always-on Processor) chip is used to implement this function. The AOP chip is an auxiliary processor that connects all chips in the mobile phone and is directly connected to the power management interface. It can independently wake up modules such as low-power Bluetooth. Therefore, the AOP chip can be used to wake up the search service and provide the location of the mobile phone when the phone is turned off. When the mobile phone is turned off, the AOP chip can control the power supply and the low-power Bluetooth chip, re-enable the search service, and send location information to surrounding mobile phones through Bluetooth broadcasting at any time to report the location.

[0004] The method in the related art needs to introduce an additional processor AOP chip to perform logic processing in the shutdown state. Summary of the invention

[0005] Embodiments of the present application provide a device search method, device, apparatus, storage medium, and computer program product.

[0006] According to one aspect of the present application, a device search method is provided, the method being performed by a first device, the first device comprising a processor and a wireless communication chip; the method comprising:

[0007] The processor generates broadcast data, and transmits the broadcast data to the wireless communication chip;

[0008] The wireless communication chip buffers the broadcast data;

[0009] In response to the first device being turned off, the wireless communication chip broadcasts a wireless signal according to the broadcast data, wherein the wireless signal is used to assist the second device in finding the first device;

[0010] Wherein, when the first device is shut down, the power supply to the processor stops, and the power supply to the wireless communication chip continues.

[0011] According to another aspect of the present application, a first device is provided, the first device comprising a power supply, a power management element, a processor and a wireless communication chip;

[0012] The power supply is connected to the power management element;

[0013] The power management element is connected to the processor and the wireless communication chip respectively;

[0014] The power management element is used to supply power to the processor and the wireless communication chip when the first device is turned on;

[0015] The power management element is used to stop supplying power to the processor and continue supplying power to the wireless communication chip when the first device is shut down.

[0016] According to another aspect of the present application, a device search apparatus is provided, the apparatus comprising:

[0017] A processing module, configured to generate broadcast data and transmit the broadcast data to the wireless communication module;

[0018] The wireless communication module is used to cache the broadcast data;

[0019] The wireless communication module is used for broadcasting a wireless signal according to the broadcast data in response to the first device being turned off, wherein the wireless signal is used to assist the second device in finding the first device;

[0020] Wherein, when the first device is shut down, the power supply to the processing module stops, and the power supply to the wireless communication module continues.

[0021] According to another aspect of the present application, a computer device is provided, the computer device comprising a processor and a memory, the memory storing at least one instruction, the instruction being loaded and executed by the processor to implement a device search method provided in the implementation of the present application.

[0022] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the storage medium stores at least one instruction, and the instruction is loaded and executed by a processor to implement a device search method as provided in the implementation of the present application.

[0023] According to another aspect of the present application, a computer program product is provided, which includes a computer program stored in a computer-readable storage medium; the computer program is read and executed from the computer-readable storage medium by a processor of a computer device, so that the computer device implements the device search method provided in the implementation of the present application.

[0024] The beneficial effects brought by the technical solution provided by the embodiments of the present application may include:

[0025] By adjusting the power supply capacity of the wireless communication chip, the wireless communication chip is controlled to continue to supply power after the device is shut down; and the processor generates broadcast data before shutdown and sends it to the wireless communication chip for caching; after shutdown, the wireless communication chip broadcasts a wireless signal so that the nearby second device can find the lost device (first device) based on the wireless signal. Since the broadcast data used by the wireless signal has been generated by the processor and sent to the wireless communication chip cache before shutdown, the method does not need to introduce an additional processor to perform logic processing after shutdown, which simplifies the hardware requirements of the device retrieval function. In addition, the method using the AOP chip in the related art only supports retrieval within 24 hours of the device being lost because the power supply needs to supply power to the AOP chip and the wireless communication chip at the same time. If the device is automatically shut down due to insufficient power, the retrieval time is only about 5 hours. In the method provided in the embodiment of the present application, the power supply only needs to supply power to the wireless communication chip. In the case of normal shutdown, the power supply can supply the wireless communication chip to work for 7 days; in the case of automatic shutdown due to low power, it can work for 24 hours, which greatly improves the probability of device retrieval. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly introduce the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0027] Figure 1 is a schematic diagram of a computer system provided by an exemplary embodiment of the present application;

[0028] Figure 2 is a schematic diagram of the architecture of a first device provided by an exemplary embodiment of the present application;

[0029] Figure 3 is a schematic diagram of the architecture of a first device provided by an exemplary embodiment of the present application;

[0030] Figure 4 is a flow chart of a device search method provided by an exemplary embodiment of the present application;

[0031] Figure 5 is a flow chart of a device search method provided by an exemplary embodiment of the present application;

[0032] Figure 6 is a flow chart of a device search method provided by an exemplary embodiment of the present application;

[0033] Figure 7 is a structural block diagram of a device search apparatus provided by an exemplary embodiment of the present application;

[0034] Figure 8 It is a structural block diagram of a computer device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0035] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0036] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.

[0037] In the description of the present application, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In the description of the present application, it should be noted that, unless otherwise clearly specified and limited, the terms "connected" and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances. In addition, in the description of the present application, unless otherwise specified, "multiple" means two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.

[0038] In the related technology, mobile phones support the power-off search function. From a technical perspective, users use low-power Bluetooth technology to locate their mobile phones when they are turned off or disconnected from the Internet. Specifically, most mobile phone batteries currently use a non-detachable design. Even when the phone is turned off, the phone still maintains some functions. An important component to achieve this function is the AOP chip.

[0039] The AOP chip is an auxiliary processor that can connect to all chips in the phone and directly connect to the power management interface. It can independently wake up modules such as low-power Bluetooth. Therefore, it can be used to wake up the search service and provide the location of the phone when the phone is turned off. Unless the phone battery is removed, the phone's location information will be uploaded as long as the phone is turned on or connected to the network.

[0040] The previous mobile phone retrieval function has been realized in the absence of WiFi (WIreless Fidelity) and cellular data. It allows offline devices to broadcast Bluetooth to surrounding devices through Bluetooth and multi-hop networks. As long as there is a device connected to the Internet nearby, the location information of the lost device can be reported to the server.

[0041] On this basis, the AOP chip can control the power supply and low-power Bluetooth chip when the phone is turned off, and then re-enable the phone retrieval function, and send location information to surrounding phones via Bluetooth broadcast at any time to report the location. At the same time, for privacy reasons, the communication between devices is encrypted, bound by keys and device identifiers, and the data retention time does not exceed 24 hours.

[0042] In theory, as long as there are Bluetooth signals of other devices around the lost phone, the location of the lost device can be determined through these signals, and the location is encrypted. However, the duration of this mode is limited, and a lost and turned-off phone can only be found within 24 hours. If the phone automatically shuts down due to low battery, this mode can only last for about 5 hours.

[0043] Therefore, an embodiment of the present application provides a device search method, which controls the wireless communication chip to continue to supply power after the device is shut down by adjusting the power supply capacity of the wireless communication chip; and before shutdown, the processor generates broadcast data and sends it to the wireless communication chip for caching; after shutdown, the wireless communication chip broadcasts a wireless signal so that a nearby second device can search for the lost device (first device) based on the wireless signal. Since the broadcast data used by the wireless signal has been generated by the processor and sent to the wireless communication chip cache before shutdown, this method does not need to introduce an additional processor to perform logic processing after shutdown, simplifying the hardware requirements of the device retrieval function. In addition, this method only requires a power supply to supply power to the wireless communication chip. In the case of normal shutdown, the power supply can supply the wireless communication chip with power for 7 days; in the case of automatic shutdown due to low power, it can work for 24 hours, greatly improving the probability of device retrieval.

[0044] Figure 1 A schematic diagram of a computer system provided by an exemplary embodiment of the present application is shown, and the computer system may include a first device 101, a second device 102, a third device 103 and a server 104.

[0045] Exemplarily, the device search method shown in the embodiment of the present application can be applied to the first device 101, which can also be called a lost device. The first device 101 supports a device search function. Optionally, an application (client) supporting the device search function runs in the first device 101, and the client generates broadcast data in response to detecting a shutdown trigger event.

[0046] The first device 101 may include a mobile phone, a tablet computer, a notebook computer, a laptop computer, a desktop computer, an all-in-one computer, an Internet of Things device, an intelligent robot workstation, a television, a set-top box, smart glasses, a smart watch, a digital camera, an MP4 (Moving Picture Experts Group 4) playback terminal, an MP5 (Moving Picture Experts Group Layer 5) playback terminal, a learning machine, a reading machine, an e-book reader, an electronic dictionary, a car terminal, a virtual reality (VR) playback terminal or an augmented reality (AR) playback terminal, etc.

[0047] The first device 101 includes a first memory and a first processor. A device search program is stored in the first memory; the device search program is called and executed by the first processor to implement the device search method provided in the present application. The first memory may include but is not limited to the following: Random Access Memory (RAM), Read Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), and Electric Erasable Programmable Read-Only Memory (EEPROM).

[0048] The first processor may be composed of one or more integrated circuit chips. Optionally, the first processor may be a general-purpose processor, such as a central processing unit (CPU) or a network processor (NP). Optionally, the first processor may implement the device search method provided in the present application by running a program or code.

[0049] The second device 102 may also be referred to as a discovery device, and is used to receive the wireless signal broadcast by the first device 101 and discover the first device 101. The second device 102 also supports a device search function. Optionally, an application (client) supporting the device search function is running in the second device 102. In response to receiving the wireless signal broadcast by the first device 101, the client reports the location information to the server 104 (cloud).

[0050] The second device 102 may include a mobile phone, a tablet computer, a notebook computer, a laptop computer, a desktop computer, an all-in-one computer, an Internet of Things device, an intelligent robot workstation, a television, a set-top box, smart glasses, a smart watch, a digital camera, an MP4 playback terminal, an MP5 playback terminal, a learning machine, a reading machine, an e-book reader, an electronic dictionary, a car terminal, a virtual reality playback terminal or an augmented reality playback terminal, etc.

[0051] The third device 103 may also be called a search device, and is used to receive the location report of the first device 101 sent by the server, and to search for the location of the first device 101. The third device 103 also supports a device search function. Optionally, an application (client) supporting the device search function is run in the third device 103. In response to the user's operation of searching for the first device 101, the client sends a search request to the server 104; and receives and displays the location report of the first device 101 returned by the server 104.

[0052] The third device 103 may include a mobile phone, a tablet computer, a notebook computer, a laptop computer, a desktop computer, an all-in-one computer, an Internet of Things device, an intelligent robot workstation, a television, a set-top box, smart glasses, a smart watch, a digital camera, an MP4 playback terminal, an MP5 playback terminal, a learning machine, a reading machine, an e-book reader, an electronic dictionary, a car terminal, a virtual reality playback terminal or an augmented reality playback terminal, etc.

[0053] In an optional embodiment, the second device 102 and the third device 103 may be connected to the server 104 via a wired or wireless network, respectively.

[0054] The server 104 is used to provide background services for the clients of the first device 101, the second device 102, and the third device 103. Optionally, the server 104 undertakes the main computing work, and the client undertakes the secondary computing work; or, the server 104 undertakes the secondary computing work, and the client undertakes the main computing work; or, the server 104 and the client adopt a distributed computing architecture to perform collaborative computing.

[0055] The server 104 may be a single server, or a server cluster consisting of multiple servers, or a cloud computing service center.

[0056] Optionally, the server 104 includes a second memory and a second processor. The second memory stores a device search program; the device search program is called by the second processor to implement the device search method provided in the present application. Optionally, the second memory may include but is not limited to the following: RAM, ROM, PROM, EPROM, EEPROM. Optionally, the second processor may be a general-purpose processor, such as a CPU or NP.

[0057] In an optional embodiment, the first device 101 (i.e., Lost Device) starts power-off search when the user logs in to the account and turns on the "search switch". When the first device 101 enters the power-off mode, it sends a power-off BLE_Finding (Low Power Bluetooth Discovery) broadcast (i.e., wireless signal).

[0058] The second device 102 (ie, Finder) discovers the BLE_Finding broadcast and encrypts its own location and uploads it to the server 104 .

[0059] The server 104 (ie, Backend) stores the association between the account and the device, stores the location report (Location Report) reported by the second device 102, and provides related search services.

[0060] A user account is logged in on the third device 103 (ie, Owner Device, machine owner device / search device). The user opens the search service on the third device 103 and can download and decrypt the location report from the server 104 to obtain the relevant location of the first device 101.

[0061] Figure 2 The architecture diagram of a first device 101 provided by an exemplary embodiment of the present application is shown. The first device 101 includes a power supply 204, a power management element 203, a processor 201 and a wireless communication chip 202;

[0062] The power source is connected to the power management element 203;

[0063] The power management element 203 is connected to the processor 201 and the wireless communication chip 202 respectively;

[0064] The power management element 203 is used to supply power to the processor 201 and the wireless communication chip 202 when the first device is turned on;

[0065] The power management element 203 is used to stop supplying power to the processor 201 and continue supplying power to the wireless communication chip 202 when the first device is shut down.

[0066] The power management element 203 has functions such as power distribution, voltage and current adjustment, and battery management, and is used to control the power supply 204 to the processor 201 and the wireless communication chip 202. In response to the shutdown command transmitted by the processor 201, the power management element 203 stops the power supply to the processor 201 and maintains the power supply to the wireless communication chip 202.

[0067] The processor 201 is used to generate broadcast data when a shutdown trigger event is detected, and transmit the broadcast data to the wireless communication chip 202 for buffering; after the broadcast data is buffered successfully, the processor 201 transmits a shutdown instruction to the power management element 203 to control the first device 101 to shut down. After shutdown, the power supply no longer supplies power to the processor 201, and only supplies power to the wireless communication chip 202.

[0068] The wireless communication chip 202 is used to receive and cache the broadcast data transmitted by the processor 201. After the first device 101 is turned off, the wireless communication chip 202 is used to broadcast a wireless signal according to the broadcast data.

[0069] In an optional embodiment, the power management element 203 includes a low dropout linear regulator LDO (Low Dropout Regulator) and a power management integrated circuit (PMIC).

[0070] The input end of the PMIC is connected to the power supply; the first output end of the PMIC is connected to the input end of the LDO; the output end of the LDO is connected to the wireless communication chip 202, and is used to supply power to the wireless communication chip 202; the PMIC is used to control the LDO to turn on when the first device is turned off; the LDO is used to continuously supply power to the wireless communication chip 202.

[0071] The second output terminal of the PMIC is connected to the processor 201 for supplying power to the processor 201 .

[0072] The PMIC responds to the shutdown command transmitted by the processor and controls the LDO to turn on. The LDO power supply circuit is used to supply power to the wireless communication chip 202. After the LDO is turned on, when the first device 101 is turned off, the LDO will still control the power supply 204 to supply power to the wireless communication chip 202.

[0073] Exemplarily, a power supply circuit of LDO is reserved in the first device 101, and the power supply circuit can be connected to the wireless communication chip 202 that needs continuous power supply. When the first device 101 is turned off, the PMIC controls the LDO to remain turned on, thereby providing a stable power supply for the wireless communication chip 202.

[0074] In an optional embodiment, if Figure 3As shown, the processor 201 can be an AP (Application Processor) 301, AP 301 includes AON (Always-On, low power controller), AON includes BT / BLE Host (Bluetooth / Bluetooth Low Energy Host, Bluetooth / Low Energy Bluetooth host), BT / BLE Host includes BLE Adv (Advertising, broadcasting) / Scan (Scanning, scanning) and BLE Drv (Driver, driver).

[0075] The application runs on AP 301. In response to detecting a shutdown trigger event, the application generates broadcast data and transmits the broadcast data to the BT / BLE Host. The BT / BLE Host transmits the broadcast data to WCNChipSet (Wireless Connectivity Chipset) via BLE Drv.

[0076] The wireless communication chip 202 may be a WCN ChipSet 302. The WCN ChipSet 302 includes at least a PMU (Power Management Unit), a Controller, and a Bluetooth transmission chip. The Bluetooth transmission chip may include: BT / BLE MAC (Media Access Control) SPI (Serial Peripheral Interface) / I2C (Inter-Integrated Circuit) / GPIO (General-Purpose Input / Output), BT / BLE PHY (Physical Layer) RF (Radio Frequency) / Baseband. The PMU is connected to the LDO to control the power supply of the WCN ChipSet 302. The WCN ChipSet 302 may also include a WLAN (Wireless Local Area Network) communication chip and / or a UWB (Ultra-Wideband) communication chip.

[0077] The controller in WCN ChipSet 302 is used to receive and cache broadcast data transmitted by BLE Drv of AP 301. The controller is also used to control the Bluetooth transmission chip of WCN ChipSet 302 to broadcast wireless signals according to the broadcast data after receiving the instruction of shutting down the first device 101.

[0078] The PMIC is connected to the AP 301 and is used to manage the power supply of the AP 301. The PMIC is connected to the WCN ChipSet 302 via the LDO, and the PMIC controls the WCN ChipSet 302 to maintain the power supply after the first device 101 is shut down by starting the LDO.

[0079] It should be noted that LDO is a newly added device in the embodiment of the present application to ensure that WCN ChipSet 302 works normally after the first device 101 is shut down. After the first device 101 is shut down, the power supply 204, PMIC, LDO and WCN ChipSet 302 work normally; AP 301 stops supplying power and stops working.

[0080] In an optional embodiment, the processor 201 is used to generate broadcast data and transmit the broadcast data to the wireless communication chip 202; the wireless communication chip 202 is used to cache the broadcast data; the wireless communication chip 202 is used to broadcast a wireless signal according to the broadcast data in response to the first device being powered off, and the wireless signal is used to assist the second device in finding the first device.

[0081] The processor 201 obtains the public key in response to the shutdown trigger event; the processor 201 generates broadcast data based on the public key data and the broadcast parameters; wherein the public key data is used to indicate the public key; the second device 102 is used to encrypt the location information of the second device 102 based on the public key and report it to the server 104.

[0082] In an optional embodiment, the processor 201 is used to determine the public key from the candidate public key set based on a search parameter; wherein the public key data includes the search parameter; and the second device is used to determine the public key based on the search parameter.

[0083] In an optional embodiment, the public key corresponds to a valid time period;

[0084] Processor 201 is used to determine at least two search parameters based on at least two timestamps, where the at least two timestamps are timestamps corresponding to at least two future time periods determined based on a current timestamp; the at least two timestamps correspond one-to-one to the at least two search parameters, and the at least two time periods correspond to their own timestamps; determine at least two public keys from a set of candidate public keys based on the at least two search parameters; the at least two search parameters correspond one-to-one to the at least two public keys.

[0085] Among them, one search parameter corresponds to a timestamp, one timestamp corresponds to a future time period, and one search parameter corresponds to a public key. That is, the search parameter, the time period and the public key have a one-to-one correspondence.

[0086] In an optional embodiment, the wireless communication chip 202 is used to broadcast a first wireless signal corresponding to first broadcast data in a first time period; the first broadcast data includes public key data of a first public key corresponding to the first time period.

[0087] In an optional embodiment, the processor 201 is used to lock the first thread in response to a shutdown trigger event; the first thread is used to process broadcast data.

[0088] In an optional embodiment, the processor 201 is used to unlock the first thread after the wireless communication chip 202 caches the broadcast data; and / or the processor 201 is used to unlock the first thread after the lock countdown ends.

[0089] Figure 4 is a flow chart of a device search method provided by an exemplary embodiment of the present application. The device search method can be applied to a first device, which can be the above-mentioned Figure 1 , Figure 2 or Figure 3 The first device 101 is shown. The method comprises the following steps.

[0090] Step 210: The processor generates broadcast data and transmits the broadcast data to the wireless communication chip.

[0091] Exemplarily, in response to the shutdown trigger event, the processor generates broadcast data and transmits the broadcast data to the wireless communication chip. The shutdown trigger event can be generated based on a shutdown operation by a user, or can be automatically generated when the battery of the first device is too low.

[0092] For example, the first device receives a shutdown operation from the user, and the system framework of the first device generates a shutdown trigger event in response to the shutdown operation. The application running on the first device generates broadcast data in response to monitoring the shutdown trigger event, and transmits the broadcast data to the wireless communication chip.

[0093] For another example, the system framework of the first device generates a shutdown trigger event in response to the power level being lower than a power threshold (i.e., the first device automatically shuts down when the power level is too low). In response to monitoring the shutdown trigger event, the application running on the first device generates broadcast data and transmits the broadcast data to the wireless communication chip.

[0094] The broadcast data is used to indicate at least one of the following information:

[0095] a purpose of the wireless signal, the purpose including being used to retrieve the first device;

[0096] The type of the wireless signal, for example, the wireless signal may be at least one of a Bluetooth signal, a WLAN signal, a mobile communication signal, and a near field communication signal;

[0097] Public key data, used to indicate a public key that the second device needs to use when reporting location information, and to facilitate the server to identify the first device based on the public key;

[0098] The identifier of the first device is used to enable the second device to indicate the device corresponding to the location information when reporting the location information.

[0099] Exemplarily, the broadcast data is generated by a client of an application running on a first device, and a first account is logged in to the client of the application. The application has a device retrieval function. The application obtains the public key of the first device based on the public key acquisition logic agreed with the server, so that the second device encrypts the location information of the second device based on the public key and reports it to the server; the server identifies the first device based on the public key, obtains the private key corresponding to the public key, uses the private key to decrypt the location information, and stores the first device and the location information in correspondence.

[0100] The public key data in this embodiment has two uses: one is to encrypt the location information of the second device to ensure communication security; the other is for the server to identify the first device based on the public key and determine the device corresponding to the location information. In an optional embodiment, the public key data may not be carried in the broadcast data, and the second device can enable the server to identify the device corresponding to the location information by reporting other information to the server. For example, the second device can report the device identification of the first device and / or the first account logged in on the first device to the server. Correspondingly, the broadcast data sent by the first device can carry the device identification of the first device and / or the first account logged in on the first device.

[0101] Step 220: The wireless communication chip buffers the broadcast data.

[0102] In an optional embodiment, in order to prevent the first device from shutting down before the broadcast data is successfully cached, the processor locks the first thread in response to the shutdown trigger event; the first thread is used to process the broadcast data. After locking and before the thread is unlocked, the shutdown thread is not executed to ensure that the first device will not shut down.

[0103] Optionally, the processor unlocks the first thread after the wireless communication chip caches the broadcast data; and / or, the processor sets a lock duration threshold after locking, and the processor unlocks the first thread after the lock countdown ends (i.e., the lock duration reaches the lock duration threshold).

[0104] Step 230: In response to the first device being powered off, the wireless communication chip broadcasts a wireless signal according to the broadcast data, where the wireless signal is used to assist the second device in finding the first device.

[0105] When the first device is turned off, the power supply to the processor stops, but the power supply to the wireless communication chip continues.

[0106] After the first device is turned off, the wireless communication chip broadcasts a wireless signal according to the broadcast data. The wireless signal may be at least one of a Bluetooth signal, a WLAN signal, a mobile communication signal, and a near field communication signal.

[0107] After receiving the wireless signal, the second device located near the first device encrypts its own location information based on the public key indicated by the broadcast data in the wireless signal, and reports the encrypted location information and public key to the server. The server recognizes the public key as the public key of the first device, searches for the corresponding private key based on the public key, decrypts the location information according to the private key, and obtains the location information of the second device. The location information is the fuzzy location or inaccurate location of the first device, with an error of several meters to tens of meters.

[0108] The user who has lost the first device can log in to the first account on the application of the third device and use the first account to request the server to obtain the location information of the first device. After the authentication is passed, the server sends the location information of the first device to the third device, so that the user can find the lost first device based on the location information.

[0109] It should be noted that the wireless signal can be a short-range wireless communication signal. The location information obtained by the user is actually the location of the second device when the second device receives the wireless signal of the first device. Since the second device can receive the wireless signal of the first device, it can be determined that the first device is near the second device, and the user can find the first device nearby based on the location reported by the second device.

[0110] The second device and the third device may be the same device or different devices.

[0111] In summary, the device search method provided in this embodiment adjusts the power supply capacity of the wireless communication chip to control the wireless communication chip to continue to supply power after the device is shut down; and before shutting down, the processor generates broadcast data and sends it to the wireless communication chip for caching; after shutting down, the wireless communication chip broadcasts a wireless signal so that the nearby second device can find the lost device (first device) based on the wireless signal. Since the broadcast data used by the wireless signal has been generated by the processor and sent to the wireless communication chip cache before shutting down, the method does not need to introduce an additional processor to perform logic processing after shutdown, which simplifies the hardware requirements of the device retrieval function. In addition, the method using the AOP chip in the related art only supports retrieval within 24 hours of the device being lost because the power supply needs to supply power to the AOP chip and the wireless communication chip. If the device is automatically shut down due to insufficient power, the retrieval time is only about 5 hours. In the method provided in the embodiment of the present application, the power supply only needs to supply power to the wireless communication chip. In the case of normal shutdown, the power supply can supply the wireless communication chip to work for 7 days; in the case of automatic shutdown due to low power, it can work for 24 hours, which greatly improves the probability of device retrieval.

[0112] The device search method provided in this embodiment controls the first device not to shut down before the broadcast data is cached by locking the processing thread of the broadcast data, thereby ensuring the normal operation of the device retrieval function. By setting a lock time threshold after locking, the thread is automatically unlocked after the lock time threshold is reached, thereby preventing the abnormal operation of the device retrieval function from affecting the normal shutdown of the first device.

[0113] The present application provides an exemplary embodiment in which a processor generates broadcast data. Figure 5 is a flow chart of a device search method provided by another exemplary embodiment of the present application. The device search method can be applied to a first device, which can be the above-mentioned Figure 1 , Figure 2 or Figure 3 The first device 101 is shown. Based on Figure 4 In the illustrated embodiment, step 210 includes step 211 and step 212 .

[0114] Step 211: The processor obtains a public key in response to a shutdown trigger event.

[0115] The shutdown trigger event may be generated in response to a user operation, for example, the user operation may include at least one of a shutdown operation and a restart operation. The shutdown event may also be automatically generated by the first device when an automatic shutdown condition is met, for example, the automatic shutdown condition may be: the power supply power is lower than the power threshold, the hardware is abnormal, the automatic shutdown condition set by the user is met (for example, the user sets the automatic shutdown time or the trigger event of the automatic shutdown), and the device restart is automatically triggered by the software (for example, the device automatically restarts after the software is updated).

[0116] The public key is used for the second device to encrypt the location information. The server identifies the device (first device) corresponding to the reported location information according to the public key, and searches for the corresponding private key according to the public key to decrypt the location information reported by the second device.

[0117] Exemplarily, the public key may be selected by the application from a preset candidate public key set. For example, the processor determines the public key from the candidate public key set based on the search parameter.

[0118] The search parameter may be determined randomly, or determined according to the current timestamp, or determined according to the geographic location coordinates of the first device. For example, the application may call a calculation function of the search parameter to calculate the search parameter according to the current timestamp; or call a calculation function of the search parameter to calculate the search parameter according to the current geographic location coordinates of the first device. The calculation function may be preset.

[0119] The public key data in the broadcast data may include a search parameter; the second device is used to determine a public key from the candidate public key set based on the search parameter. The first device and the second device both store the candidate public key set.

[0120] In an optional embodiment, the number of candidate public key sets may be at least two, and the application of the first device may determine a candidate public key set from the at least two candidate public key sets, and select a public key from the selected candidate public key set using the search parameter. In this scenario, the broadcast data broadcast by the first device also needs to carry the identifier of the selected candidate public key set, so that the second device can determine the candidate public key set selected by the first device based on the identifier of the candidate public key set.

[0121] Exemplarily, the first device may select one candidate public key set from at least two candidate public key sets in sequence according to a preset order. For example, when the first device used the i-th candidate public key set when it was shut down last time, the i+1-th candidate public key set is used for this shutdown, where i is a positive integer. Alternatively, the first device may randomly select a candidate public key set from at least two candidate public key sets. Alternatively, the first device may send a request message to the server, requesting the server to indicate a candidate public key set, and select a candidate public key set from at least two candidate public key sets according to the indication information sent by the server.

[0122] Exemplarily, the server may periodically update the candidate public key set to the first device and the second device.

[0123] In an optional embodiment, the number of public keys selected by the first device is at least one, and each public key corresponds to a valid time period, for example, each public key is valid for 15 minutes. Then, when the application obtains the public key, it will obtain the public key corresponding to at least one future time period based on the current timestamp; the wireless communication chip will broadcast the wireless signal corresponding to the public key within the specified time period; after the current public key expires, it will continue to broadcast the wireless signal according to the public key corresponding to the next time period; until all public keys are used up, the broadcast of the wireless signal will be stopped. Therefore, the duration of the first device broadcasting the wireless signal is related to the power supply of the first device and the number of public keys. When the power supply of the first device is exhausted or the public keys are used up, the first device stops broadcasting the wireless signal.

[0124] Exemplarily, the first device determines at least one time period in the future based on the current timestamp and the effective duration of each public key. For example, if the current timestamp is 00:00 and the effective duration of the public key is 10 minutes, then the first time period 00:00-00:10, the second time period 00:10-00:20, and the third time period 00:20-00:30 in the future can be determined based on the current timestamp. The timestamp corresponding to a time period can be one of the start time, midpoint time, and end time of the time period. Among them, the duration of each time period is equal to the effective duration of the public key. The first device calculates the corresponding search parameter based on the timestamp of a time period, and determines the public key that should be used in the time period from the candidate public key set based on the search parameter.

[0125] Exemplarily, the processor determines at least two search parameters based on at least two timestamps, and the at least two timestamps are timestamps corresponding to at least two future time periods determined based on the current timestamp; the at least two timestamps correspond one-to-one to the at least two search parameters, and the at least two time periods correspond to their own timestamps; at least two public keys are determined from a set of candidate public keys based on the at least two search parameters; and the at least two search parameters correspond one-to-one to the at least two public keys.

[0126] At least two time periods may be continuous or discontinuous. The wireless communication chip broadcasts a wireless signal using the public key in the time period corresponding to the public key. That is, the wireless communication chip broadcasts a first wireless signal corresponding to the first broadcast data in the first time period; the first broadcast data includes the public key data of the first public key corresponding to the first time period.

[0127] In an optional embodiment, determining a public key from a candidate public key set according to a search parameter can be implemented by a preset elliptic function, and each point on the elliptic function corresponds to a public key. The search parameter can be the horizontal coordinate x of the elliptic function, the application calculates the horizontal coordinate x according to the timestamp, calculates y according to the horizontal coordinate x and the elliptic function, and obtains the public key of the corresponding position point according to the x and y coordinates. Among them, when the x coordinate corresponds to two y coordinates, the second device can select one of the two y coordinates as the final y coordinate to be used, and obtain the corresponding public key.

[0128] Step 212: The processor generates broadcast data according to the public key data and the broadcast parameters.

[0129] The public key data is used to indicate the public key; the second device is used to encrypt the location information of the second device based on the public key and report it to the server.

[0130] When the number of candidate public key sets is one, the public key data may include at least one of a public key and a search parameter.

[0131] When the number of candidate public key sets is at least two, the public key data may include at least one of a public key, a search parameter, and an identifier of a candidate public key set. When the public key data does not include an identifier of a candidate public key set, the candidate public key set used by the first device this time may be determined according to a preset logic. For example, when configuring at least two candidate public key sets, the server configures an effective time period for each candidate public key set. Then, the second device may determine the candidate public key set used by the first device this time according to the current time.

[0132] The broadcast parameters may include at least one of the following:

[0133] Length, used to indicate the length of data carried by the wireless signal;

[0134] Service data, used to carry data related to the device retrieval service;

[0135] Service UUID (Universally Unique Identifier) ​​is used to indicate the service corresponding to the wireless signal: device retrieval;

[0136] Signal type, used to indicate the signal type of the wireless signal, for example, the signal type is Bluetooth;

[0137] Tag version;

[0138] Protocol version, used to indicate the communication protocol version used by the wireless signal.

[0139] Illustratively, Table 1 shows broadcast data carried by a wireless signal.

[0140] Table 1

[0141]

[0142]

[0143] Step 220: The wireless communication chip buffers the broadcast data.

[0144] Step 230: In response to the first device being powered off, the wireless communication chip broadcasts a wireless signal according to the broadcast data, where the wireless signal is used to assist the second device in finding the first device.

[0145] When the number of the public keys is at least two, the wireless communication chip broadcasts a wireless signal using broadcast data corresponding to the public key within a valid period of the public key.

[0146] In an optional embodiment, after the first device is turned off, it can also control the wireless communication chip to continuously scan nearby wireless signals; then after receiving the first wireless signal (i.e., the wireless signal described in the embodiment of the present application) sent by the first device, the second device can also send a second wireless signal to the first device, and the second wireless signal can be used to control the first device to ring, or control the first device to turn on, or control the first device to send a text message carrying the current geographic location to a preset number. In response to scanning the second wireless signal, the first device can control the buzzer to ring according to the second wireless signal; or send a first text message according to the second wireless signal, and the first text message carries the current geographic location of the first device.

[0147] To sum up, the device search method provided in this embodiment can obtain the public key to generate broadcast data after monitoring the shutdown trigger event, and transmit it to the cache in the wireless communication chip, so that the wireless communication chip can broadcast wireless signals according to the broadcast data after the first device is shut down.

[0148] The device search method provided in this embodiment can select a public key from a candidate public key set according to the current timestamp, so that the second device encrypts the location information according to the public key and reports it, thereby ensuring the security of data transmission. Furthermore, each public key can correspond to a validity period, and the processor can pre-configure public keys for at least two future time periods, so that the wireless communication chip uses different public keys to broadcast wireless signals in different time periods, further ensuring the data security of the device retrieval service.

[0149] Figure 6 is a flow chart of a device search method provided by another exemplary embodiment of the present application. The device search method can be applied to a first device, which can be the above-mentioned Figure 1 , Figure 2 or Figure 3The first device 101 is shown. The first device runs a system framework, a first application, a second application, a Bluetooth framework and a SoC (System on Chip). The method includes the following steps.

[0150] Step 401 : the system framework generates a shutdown trigger event in response to a user's active shutdown operation; or generates a shutdown trigger event in response to triggering a low-battery shutdown condition.

[0151] Step 402: After detecting the shutdown trigger event, the first application locks the current thread and starts the second application.

[0152] Step 403: The second application obtains the rotating public key, sets a locking countdown, and transmits the rotating secret key to the Bluetooth framework.

[0153] The rotating public key includes at least two public keys, each of which has a corresponding validity period. After the current public key expires, the wireless communication chip continues to use the next public key in the rotating public key to broadcast the wireless signal.

[0154] Step 404: After receiving the rotating secret key, the Bluetooth framework assembles the rotating secret key and the broadcast parameters into broadcast data, transmits the broadcast data to the Soc, and caches it in the Soc. The Soc returns the execution result to the Bluetooth framework, and the execution result includes cache success or cache failure. The Bluetooth framework returns the execution result to the second application. The second application returns the execution result to the first application.

[0155] Soc includes a wireless communication chip, and the Bluetooth framework transmits the broadcast data to the wireless communication chip, which is cached by the wireless communication chip. If the cache is successful, Soc will broadcast a wireless signal through the wireless communication chip after the first device is turned off, and the wireless signal carries the broadcast data. For example, after the first device is turned off, Soc sends a Bluetooth search broadcast with UUID 0x4669.

[0156] After receiving the broadcast, the second device parses the broadcast, takes out the rotating secret key carried in the broadcast, encrypts its own location, and uploads the encrypted location information to the cloud. The cloud decrypts the location information and saves the location information. After the user who has lost the first device logs in to search the web page, he can obtain the location information corresponding to the first device (that is, the second device's own location reported by the second device) from the server.

[0157] Step 405: After receiving the execution result, the first application unlocks the current thread and returns the execution result to the system framework.

[0158] The system framework can continue to execute the shutdown process of the first device. Exemplarily, after the cache is successful, the system framework can control the LDO to turn on through the PMIC, so that the wireless communication chip can maintain power supply after the first device is shut down.

[0159] In summary, the device search method provided in this embodiment adds LDO to the hardware, and the power supply can directly power the wireless communication chip after shutdown to ensure that it can continue to send BLE broadcasts (i.e., wireless signals). In software implementation, multiple sets of rotating keys are calculated to ensure that the device can work for 24 hours in a low-power shutdown scenario and 7 days in a normal shutdown scenario, greatly improving the probability of recovery.

[0160] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0161] Please refer to Figure 7 , Figure 7 1 is a structural block diagram of a device search apparatus provided by an exemplary embodiment of the present application. The device search apparatus can be implemented as all or part of the first device 101 through software, hardware, or a combination of both. The apparatus includes:

[0162] The processing module 501 is used to generate broadcast data and transmit the broadcast data to the wireless communication module 502;

[0163] The wireless communication module 502 is used to cache the broadcast data;

[0164] The wireless communication module 502 is used for broadcasting a wireless signal according to the broadcast data in response to the first device being turned off, wherein the wireless signal is used to assist the second device in finding the first device;

[0165] When the first device is shut down, the power supply to the processing module 501 stops, and the power supply to the wireless communication module 502 continues.

[0166] In an optional embodiment, the processing module 501 is used to obtain a public key in response to a shutdown trigger event;

[0167] The processing module 501 is used to generate the broadcast data according to the public key data and the broadcast parameters;

[0168] The public key data is used to indicate the public key; the second device is used to encrypt the location information of the second device based on the public key and report it to the server.

[0169] In an optional embodiment, the processing module 501 is used to determine the public key from a set of candidate public keys based on a search parameter;

[0170] The public key data includes the search parameter; and the second device is used to determine the public key based on the search parameter.

[0171] In an optional embodiment, the public key corresponds to a valid time period;

[0172] The processing module 501 is used to determine at least two search parameters based on at least two timestamps, wherein the at least two timestamps are timestamps corresponding to at least two future time periods determined based on the current timestamp; the at least two timestamps correspond one-to-one to the at least two search parameters, and the at least two time periods correspond to their own timestamps;

[0173] The processing module 501 is used to determine at least two public keys from the candidate public key set according to the at least two search parameters; the at least two search parameters correspond one-to-one to the at least two public keys.

[0174] In an optional embodiment, the wireless communication module 502 is used to broadcast a first wireless signal corresponding to first broadcast data in a first time period; the first broadcast data includes public key data of a first public key corresponding to the first time period.

[0175] In an optional embodiment, the processing module 501 is used to lock the first thread in response to a shutdown trigger event; the first thread is used to process the broadcast data.

[0176] In an optional embodiment, the processing module 501 is configured to unlock the first thread after the wireless communication chip caches the broadcast data;

[0177] And / or, the processing module 501 is used to unlock the first thread after the lock countdown ends.

[0178] It should be noted that: when the device search device provided in the above embodiment executes the device search method, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device search device provided in the above embodiment and the device search method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0179] In summary, the device search device provided in this embodiment uses a combination of the native page of the application and the web view page to display the page when using the web view component. After the page is started, the native device of the application is used to search and display the page content, and the web view page of the web view component is loaded at the same time, and the web view page is displayed in a transparent form on the upper layer of the native page. Using this method to start the page, the page content can be displayed in the native page, and the web view page is displayed as fully transparent. In this way, the startup display speed of the page depends only on the loading speed of the native page, and the loading speed of the web view component will no longer affect the startup of the page. The application can quickly load the page content and display it on the native page by loading local data or requesting data from the server, thereby improving the device search speed; even if the web view component loads slowly, since the web view page is displayed in a transparent form, its loading progress will not affect the display of the page content, and it can still bring users a smooth experience of opening the page in seconds.

[0180] The present application also provides a computer device, which includes a processor and a memory, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the device search method provided by each of the above method embodiments. It should be noted that the computer device can be as follows: Figure 8 A computer device is provided, which can be implemented as a first device.

[0181] Figure 8 The block diagram of the structure of a computer device 1000 provided by an exemplary embodiment of the present application is shown. The computer device 1000 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio layer 3), an MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio layer 4) player, a laptop computer or a desktop computer. The computer device 1000 may also be called a user account device, a portable computer device, a laptop computer device, a desktop computer device, and other names.

[0182] Typically, the computer device 1000 includes a processor 1001 and a memory 1002 .

[0183] The processor 1001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1001 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1001 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1001 may be integrated with a GPU (Graphics Processing Unit, device finder), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1001 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0184] The memory 1002 may include one or more computer-readable storage media, which may be non-transitory. The memory 1002 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1002 is used to store at least one instruction, which is used to be executed by the processor 1001 to implement the device search method provided in the method embodiment of the present application.

[0185] In some embodiments, the computer device 1000 may also optionally include: a peripheral device interface 1003 and at least one peripheral device. The processor 1001, the memory 1002 and the peripheral device interface 1003 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1003 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1004, a display screen 1005, a camera assembly 1006, an audio circuit 1007 and a power supply 1009.

[0186] The peripheral device interface 1003 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1001 and the memory 1002. In some embodiments, the processor 1001, the memory 1002, and the peripheral device interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1001, the memory 1002, and the peripheral device interface 1003 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.

[0187] The radio frequency circuit 1004 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1004 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1004 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Exemplarily, the radio frequency circuit 1004 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user account identity module card, and the like. The radio frequency circuit 1004 can communicate with other computer devices through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1004 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.

[0188] The display screen 1005 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1005 is a touch display screen, the display screen 1005 also has the ability to collect touch signals on the surface or above the surface of the display screen 1005. The touch signal can be input to the processor 1001 as a control signal for processing. At this time, the display screen 1005 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1005 can be one, and the front panel of the computer device 1000 is set; in other embodiments, the display screen 1005 can be at least two, which are respectively set on different surfaces of the computer device 1000 or are folded; in some other embodiments, the display screen 1005 can be a flexible display screen, which is set on the curved surface or folded surface of the computer device 1000. Even, the display screen 1005 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1005 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0189] The camera assembly 1006 is used to capture images or videos. Exemplarily, the camera assembly 1006 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the computer device, and the rear camera is arranged on the back of the computer device. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1006 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

[0190] The audio circuit 1007 may include a microphone and a speaker. The microphone is used to collect sound waves from the user account and the environment, and convert the sound waves into electrical signals and input them into the processor 1001 for processing, or input them into the radio frequency circuit 1004 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the computer device 1000. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1001 or the radio frequency circuit 1004 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1007 may also include a headphone jack.

[0191] The power supply 1009 is used to power various components in the computer device 1000. The power supply 1009 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1009 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged through a wired line, and a wireless rechargeable battery is a battery that is charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0192] In some embodiments, the computer device 1000 further includes one or more sensors 1010 , including but not limited to: an acceleration sensor 1011 , a gyroscope sensor 1012 , a pressure sensor 1013 , an optical sensor 1015 , and a proximity sensor 1016 .

[0193] Those skilled in the art will understand that Figure 8 The structure shown in the figure does not constitute a limitation on the computer device 1000, and the computer device 1000 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.

[0194] The memory also includes one or more programs, which are stored in the memory and include a method for performing a device search provided in an embodiment of the present application.

[0195] The present application also provides a computer device, which includes: a processor and a memory, wherein the storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, at least one program, a code set or an instruction set is loaded and executed by the processor to implement the device search method provided by the above-mentioned method embodiments.

[0196] The present application also provides a computer-readable storage medium, which stores at least one instruction, at least one program, code set or instruction set. The at least one instruction, at least one program, code set or instruction set is loaded and executed by a processor to implement the device search method provided by the above-mentioned method embodiments.

[0197] The present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the device search method provided in the above optional implementation.

[0198] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0199] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0200] The above description is only an illustrative embodiment that can be implemented in the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application.

[0201] It should be noted that before collecting relevant information of the user and during the process of collecting relevant information of the user, this application can display a prompt interface, pop-up window or output voice prompt information. The prompt interface, pop-up window or voice prompt information is used to prompt the user that relevant information is currently being collected, so that this application only starts to execute the relevant steps of obtaining user relevant information after obtaining the confirmation operation issued by the user to the prompt interface or pop-up window, otherwise (that is, when the confirmation operation issued by the user to the prompt interface or pop-up window is not obtained), the relevant steps of obtaining user relevant information are terminated, that is, the relevant information of the user is not obtained. In other words, all user information collected by this application is collected with the consent and authorization of the user, and the collection, use and processing of relevant user information need to comply with the relevant laws, regulations and standards of the relevant countries and regions.

Claims

1. A device search method, characterized in that: The method is performed by a first device, wherein the first device includes a processor and a wireless communication chip; the method includes: The processor generates broadcast data, and transmits the broadcast data to the wireless communication chip; The wireless communication chip buffers the broadcast data; In response to the first device being turned off, the wireless communication chip broadcasts a wireless signal according to the broadcast data, wherein the wireless signal is used to assist the second device in finding the first device; Wherein, when the first device is shut down, the power supply to the processor stops, and the power supply to the wireless communication chip continues.

2. The method according to claim 1, characterized in that The processor generates broadcast data, including: The processor obtains a public key in response to a shutdown trigger event; The processor generates the broadcast data according to the public key data and the broadcast parameter; The public key data is used to indicate the public key; the second device is used to encrypt the location information of the second device based on the public key and report it to the server.

3. The method according to claim 2, characterized in that The obtaining of the public key comprises: determining the public key from a set of candidate public keys based on a search parameter; The public key data includes the search parameter; and the second device is used to determine the public key based on the search parameter.

4. The method according to claim 3, characterized in that The public key corresponds to a valid time period; The determining the public key from a set of candidate public keys based on a search parameter comprises: Determine at least two search parameters based on at least two timestamps, wherein the at least two timestamps are timestamps corresponding to at least two future time periods determined based on the current timestamp; the at least two timestamps correspond one-to-one to the at least two search parameters, and the at least two time periods correspond to their own timestamps; At least two public keys are determined from the candidate public key set according to the at least two search parameters; the at least two search parameters correspond one-to-one to the at least two public keys.

5. The method according to claim 4, characterized in that The wireless communication chip broadcasts a wireless signal according to the broadcast data, including: The wireless communication chip broadcasts a first wireless signal corresponding to first broadcast data in a first time period; the first broadcast data includes public key data of a first public key corresponding to the first time period.

6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: The processor locks a first thread in response to a shutdown trigger event; the first thread is used to process the broadcast data.

7. The method according to claim 6, characterized in that The method further comprises: The processor unlocks the first thread after the wireless communication chip caches the broadcast data; And / or, the processor unlocks the first thread after the lock countdown ends.

8. A first device, characterized in that: The first device includes a power supply, a power management element, a processor and a wireless communication chip; The power supply is connected to the power management element; The power management element is connected to the processor and the wireless communication chip respectively; The power management element is used to supply power to the processor and the wireless communication chip when the first device is turned on; The power management element is used to stop supplying power to the processor and continue supplying power to the wireless communication chip when the first device is shut down.

9. The device according to claim 8, characterized in that The power management element includes a low-dropout linear regulator LDO and a power management integrated circuit PMIC; The input end of the PMIC is connected to the power supply; the output end of the PMIC is connected to the input end of the LDO; the output end of the LDO is connected to the wireless communication chip; The PMIC is used to control the LDO to turn on when the first device is turned off; The LDO is used to continuously supply power to the wireless communication chip.

10. The device according to claim 8 or 9, characterized in that The processor is used to generate broadcast data and transmit the broadcast data to the wireless communication chip; The wireless communication chip is used to cache the broadcast data; The wireless communication chip is used to broadcast a wireless signal according to the broadcast data in response to the first device being powered off, wherein the wireless signal is used to assist the second device in finding the first device.

11. A device search apparatus, characterized in that: The device comprises: A processing module, configured to generate broadcast data and transmit the broadcast data to the wireless communication module; The wireless communication module is used to cache the broadcast data; The wireless communication module is used for broadcasting a wireless signal according to the broadcast data in response to the first device being turned off, wherein the wireless signal is used to assist the second device in finding the first device; Wherein, when the first device is shut down, the power supply to the processing module stops, and the power supply to the wireless communication module continues.

12. A computer device, characterized in that: The computer device includes a processor and a memory connected to the processor, and program instructions stored in the memory. When the processor executes the program instructions, the device search method according to any one of claims 1 to 7 is implemented.

13. A computer-readable storage medium, wherein program instructions are stored in the storage medium, characterized in that: When the program instructions are executed by a processor, the device search method according to any one of claims 1 to 7 is implemented.

14. A computer program product, characterized in that The computer program product includes a computer program, which is stored in a computer-readable storage medium; the computer program is read and executed from the computer-readable storage medium by a processor of a computer device, so that the computer device implements the device search method as described in any one of claims 1 to 7.