Equipment searching method and device, computer readable storage medium and electronic equipment

By instructing the built-in first electronic device to enter low-power Bluetooth mode before the second electronic device is powered off, and establishing a connection with the third electronic device to perform a discovery prompt, the problem of smart devices being unable to be found after their power is depleted is solved, improving the success rate of finding devices and the user experience.

CN121645197APending Publication Date: 2026-03-10DONGGUAN ELF EDUCATIONAL SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411267714.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-10
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

In existing technologies, smart devices cannot be tracked or located after their power is depleted, which affects the user experience.

Method used

When the second electronic device is about to be powered off, a search mode activation command is sent to the built-in first electronic device, causing it to enter low-power Bluetooth mode. The first electronic device establishes a communication connection with the third electronic device and performs a discovery prompt operation to locate the position of the second electronic device.

Benefits of technology

It improves the success rate of finding smart devices when their battery is depleted, thus enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121645197A_ABST
    Figure CN121645197A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of communication, and particularly relates to an equipment searching method and device, a computer readable storage medium and electronic equipment. The method comprises the steps that first electronic equipment is arranged in second electronic equipment, and the second electronic equipment issues a search mode starting instruction to the first electronic equipment before executing shutdown operation so as to indicate the first electronic equipment to enter a low-power-consumption Bluetooth mode; after the first electronic equipment enters the low-power-consumption Bluetooth mode, if a connection request of third electronic equipment is received and the third electronic equipment is successfully verified, communication connection with the third electronic equipment is established; and the first electronic equipment responds to an equipment search instruction issued by the third electronic equipment and executes a corresponding discovery prompt operation.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of communication, and particularly relates to a device searching method and device, a computer readable storage medium and an electronic device. BACKGROUND

[0002] With the development of intelligent technology, various intelligent devices gradually enter people's field of vision and show great potential. For example, intelligent watches, intelligent bracelets, intelligent hearing aids, intelligent earphones and the like intelligent devices gradually change people's way of life with unique functions and portability.

[0003] However, in actual use, the intelligent watches, intelligent hearing aids and the like intelligent devices may not be tracked or searched after the power is consumed, resulting in poor user experience. SUMMARY

[0004] Therefore, the embodiments of the present application provide a device searching method and device, a computer readable storage medium and an electronic device to solve the problem that the device searching method in the prior art cannot be tracked or searched after the power is consumed, affecting the user experience.

[0005] A first aspect of the embodiments of the present application provides a device searching method applied to a first electronic device, the first electronic device being built-in in a second electronic device, and the method comprises:

[0006] In response to a searching mode starting instruction issued by the second electronic device, entering a Bluetooth low energy mode;

[0007] In the case that a connection request of a third electronic device is received, verifying the third electronic device;

[0008] If the verification of the third electronic device is successful, establishing a communication connection with the third electronic device;

[0009] In response to a device searching instruction issued by the third electronic device, performing a corresponding first discovery prompt operation; wherein the first discovery prompt operation is used to prompt the position of the first electronic device.

[0010] A second aspect of the embodiments of the present application provides a device searching method applied to a second electronic device, the second electronic device being built-in with a first electronic device, and the method comprises:

[0011] Issuing a searching mode starting instruction to the first electronic device; wherein the searching mode starting instruction is used to instruct the first electronic device to enter a Bluetooth low energy mode;

[0012] Controlling the second electronic device to perform a shutdown operation.

[0013] A third aspect of the embodiments of the present application provides a device searching apparatus applied to a first electronic device, the first electronic device being built in a second electronic device, and the apparatus comprising:

[0014] a low-power Bluetooth mode entering module configured to enter a low-power Bluetooth mode in response to a searching mode starting instruction issued by the second electronic device;

[0015] a device verifying module configured to verify a third electronic device in a case where a connection request of the third electronic device is received;

[0016] a communication connection establishing module configured to establish a communication connection with the third electronic device if the third electronic device is verified successfully;

[0017] a first discovery prompting operation executing module configured to execute a corresponding first discovery prompting operation in response to a device searching instruction issued by the third electronic device; wherein the first discovery prompting operation is used to prompt a position of the first electronic device.

[0018] A fourth aspect of the embodiments of the present application provides a device searching apparatus applied to a second electronic device, the second electronic device being built in a first electronic device, and the apparatus comprising:

[0019] a searching mode starting instruction issuing module configured to issue a searching mode starting instruction to the first electronic device; wherein the searching mode starting instruction is used to instruct the first electronic device to enter a low-power Bluetooth mode;

[0020] a power-off operation executing module configured to control the second electronic device to execute a power-off operation.

[0021] A fifth aspect of the embodiments of the present application provides a computer readable storage medium, the computer readable storage medium storing a computer program, the computer program being executed by a processor to implement steps of any of the device searching methods.

[0022] A sixth aspect of the embodiments of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing steps of any of the device searching methods when executing the computer program.

[0023] A seventh aspect of the embodiments of the present application provides a computer program product, when the computer program product is executed on an electronic device, the electronic device executes steps of any of the device searching methods.

[0024] The beneficial effects of the embodiments of the present application compared with the prior art are: in the embodiments of the present application, the first electronic device is built in the second electronic device, the second electronic device issues a search mode opening instruction to the first electronic device before performing a shutdown operation, to instruct the first electronic device to enter a Bluetooth low energy mode; after the first electronic device enters the Bluetooth low energy mode, if a connection request of the third electronic device is received and the third electronic device is verified successfully, a communication connection with the third electronic device is established; the first electronic device responds to the device search instruction issued by the third electronic device and performs a corresponding discovery prompt operation. In the embodiments of the present application, the first electronic device can enter the Bluetooth low energy mode, and can establish a connection with the third electronic device instead of the second electronic device after the second electronic device is powered off, and when the device search instruction is received, the corresponding discovery prompt operation can be performed; accordingly, the first electronic device can act as a communication intermediary when the second electronic device is powered off, thereby improving the search success rate when the second electronic device is out of power, and helping to improve the user experience. BRIEF DESCRIPTION OF DRAWINGS

[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0026] Figure 1 A schematic diagram of one application scenario in the embodiments of the present application;

[0027] Figure 2 An embodiment flow chart of a device search method applied to the second electronic device in the embodiments of the present application;

[0028] Figure 3 A schematic diagram of establishing a communication connection between the first electronic device and the second electronic device;

[0029] Figure 4 Another schematic diagram of establishing a communication connection between the first electronic device and the second electronic device;

[0030] Figure 5 An embodiment flow chart of a device search method applied to the first electronic device in the embodiments of the present application;

[0031] Figure 6 A schematic diagram of issuing a device search instruction by the third electronic device;

[0032] Figure 7 A schematic diagram of periodic scanning by the third electronic device;

[0033] Figure 8 a schematic diagram of a first discovery prompt operation performed for a first electronic device;

[0034] Figure 9 an embodiment structure diagram of a device searching apparatus applied to a first electronic device in an embodiment of the present application;

[0035] Figure 10 an embodiment structure diagram of a device searching apparatus applied to a second electronic device in an embodiment of the present application;

[0036] Figure 11 a schematic block diagram of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION

[0037] In order to make the objectives, characteristics and advantages of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the embodiments described below are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts fall within the scope of the present application.

[0038] It should be understood that, when used in the specification and the appended claims, the term “comprising” indicates the presence of the described features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.

[0039] It should also be understood that the terms used in the specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the specification and the appended claims of the present application, unless otherwise clearly indicated by the context, the singular forms “a”, “an” and “the” are intended to include the plural forms as well.

[0040] It should be further understood that the term “and / or” used in the specification and the appended claims of the present application means any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.

[0041] As used in the specification and the appended claims of the present application, the term “if” can be interpreted as “when” or “upon” or “in response to a determination” or “in response to detecting” depending on the context. Similarly, the phrases “if it is determined” or “if [a described condition or event] is detected” can be interpreted to mean “upon determining” or “in response to determining” or “upon detecting [a described condition or event]” or “in response to detecting [a described condition or event]” depending on the context.

[0042] In addition, in the description of the present application, the terms "first", "second", "third" and the like are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0043] With the development of intelligent technology, various intelligent devices gradually enter people's field of vision and show great potential. For example, intelligent watches, smart bracelets, smart hearing aids, smart earphones and other intelligent devices gradually change people's way of life with their unique functions and portability.

[0044] However, in actual use, intelligent watches, smart hearing aids and other intelligent devices are difficult to track or find after the power is consumed, affecting the user's experience.

[0045] Therefore, the embodiments of the present application provide a device finding method, device, computer readable storage medium and electronic device to solve the problem that the device finding method in the prior art cannot be tracked or found after the power is consumed, affecting the user's experience.

[0046] It should be noted that the execution subject of the method of the present application is an electronic device, specifically, it can be a common intelligent computing device such as an intelligent watch, a smart bracelet, a smart hearing aid, a smart earphone, a smart ring, or other intelligent computing devices.

[0047] In the embodiments of the present application, the first electronic device and the second electronic device are different intelligent computing devices, and the first electronic device can be built-in in the second electronic device; for example, as shown in the figure, Figure 1 the first electronic device is a smart earphone, the second electronic device is a smart watch, and the smart earphone can be built-in in the storage compartment (or charging compartment) of the smart watch. For another example, the first electronic device is a smart ring, and the second electronic device is a smart hearing aid, and the smart ring can be built-in in the storage compartment (or charging compartment) of the smart hearing aid.

[0048] In order to be tracked and found after power off, the second electronic device will usually enter a low-power Bluetooth mode when the power is about to be consumed; however, running the low-power Bluetooth mode will accelerate the power consumption of the second electronic device, affecting the intelligent device to perform a vibration or sound prompt operation to find a prompt, resulting in poor device finding effect. Therefore, in the embodiments of the present application, by taking advantage of the fact that the distance between the first electronic device and the second electronic device is close, when the second electronic device is powered off, the position of the second electronic device can be determined by finding the position of the first electronic device, to realize tracking and finding when the second electronic device is powered off, which can reduce the probability of losing the electronic device and effectively improve the user experience.

[0049] In the embodiment of the present application, the first electronic device can be provided with a low-power Bluetooth module. Before the second electronic device performs the shutdown operation, the first electronic device can be instructed to enter a low-power Bluetooth mode. Thus, after the second electronic device is shut down, the first electronic device can establish a communication connection with other electronic devices through the low-power Bluetooth mode, and in response to a search instruction issued by the other electronic devices, perform a discovery prompt operation, so that the user can better find the first electronic device.

[0050] For ease of description, the device search method of the embodiment of the present application will first be introduced from the perspective of the second electronic device.

[0051] Please refer to Figure 2 An embodiment of the device search method applied to the second electronic device in the embodiment of the present application can include the following steps.

[0052] In step S201, a search mode start instruction is issued to the first electronic device.

[0053] In actual use, the second electronic device can perform a shutdown operation when the power is low. For example, when the power of the second electronic device is lower than a preset power threshold, the second electronic device can be controlled to perform a shutdown operation to reduce power consumption.

[0054] The second electronic device can also perform a shutdown operation when receiving a shutdown instruction. For example, when the user does not use the second electronic device, the user can issue a shutdown instruction to the second electronic device through a preset instruction issuing operation. After receiving the shutdown instruction, the second electronic device can perform a shutdown operation in response to the shutdown instruction.

[0055] The second electronic device can also perform a shutdown operation at a preset shutdown time. For example, if the user expects the second electronic device to automatically shut down at a specific time, the user can set a shutdown time for the second electronic device and issue a timing shutdown instruction to the second electronic device. After receiving the timing shutdown instruction, the second electronic device can perform a shutdown operation at the shutdown time set by the user.

[0056] In the embodiment of the present application, before performing the shutdown operation, the second electronic device can issue a search mode start instruction to the first electronic device to instruct the first electronic device to enter a low-power Bluetooth mode. In the low-power Bluetooth mode, the first electronic device will perform low-power Bluetooth broadcasting to make it easier for other electronic devices to find the first electronic device.

[0057] If the first electronic device is placed in the storage compartment of the second electronic device at this time, before performing the shutdown operation, the second electronic device can wake up the first electronic device through a conductive contact (Pogo pin) with a preset wake-up voltage, as shown in Figure 3The first electronic device can establish a communication connection (specifically, an electrical connection) with the second electronic device based on the conductive contact, and can receive the find mode start instruction from the second electronic device based on the communication connection.

[0058] Specifically, the second electronic device can send the find mode start instruction to the first electronic device through a preset protocol. For example, if the second electronic device and the first electronic device communicate through a serial port protocol, the second electronic device can send the find mode start instruction (serial port instruction) to the first electronic device through the serial port protocol to instruct the first electronic device to enter the Bluetooth low energy mode. For another example, if the second electronic device and the first electronic device communicate through a private protocol, the second electronic device can send the find mode start instruction (private protocol instruction) to the first electronic device through the private protocol to instruct the first electronic device to enter the Bluetooth low energy mode.

[0059] If the first electronic device is not placed in the storage compartment of the second electronic device at this time, for example, the first electronic device falls out of the storage compartment, the second electronic device can establish a communication connection with the first electronic device through a preset communication link, and can send the find mode start instruction to the first electronic device based on the established communication connection, as shown in Figure 4 .

[0060] The communication link can be a communication link established based on at least one wireless communication solution such as a Wireless Local Area Networks (WLAN) (for example, Wireless Fidelity (WiFi)), bluetooth, Bluetooth Low Energy, a Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), infrared (IR), Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA), and Long Term Evolution (LTE).

[0061] In the embodiment of the present application, the second electronic device can preferably establish a communication connection with the first electronic device through a low-power Bluetooth communication link.

[0062] Step S202: controlling the second electronic device to perform a shutdown operation.

[0063] In the embodiment of the present application, after the second electronic device issues the search mode opening instruction to the first electronic device, the second electronic device can be controlled to perform a shutdown operation to reduce the power consumption of the second electronic device.

[0064] The device search method of the embodiment of the present application will be described below from the perspective of the first electronic device. Specifically, please refer to Figure 5 One embodiment of the device search method applied to the first electronic device in the embodiment of the present application can include:

[0065] Step S501: in response to the search mode opening instruction issued by the second electronic device, entering a low-power Bluetooth mode.

[0066] In the embodiment of the present application, the first electronic device can enter the Bluetooth low energy mode in response to the search mode starting instruction issued by the second electronic device after receiving the search mode starting instruction.

[0067] In the Bluetooth low energy mode, the first electronic device can broadcast device discovery information, and other electronic devices can scan the first electronic device through Bluetooth low energy when the other electronic devices are within the Bluetooth connection range of the first electronic device.

[0068] The device discovery information can include the device name of the first electronic device or the device identification information (unique identification) of the first electronic device, so that other devices can identify the first electronic device according to the device discovery information. The device identification information of the electronic device can be used to distinguish between electronic devices, and each electronic device can set unique device identification information.

[0069] In addition, the specific composition of the device discovery information can also be personalized and contextualized according to actual needs, which is not limited in the present application. For example, the device discovery information can also include the physical address and device capability set of the first electronic device.

[0070] Step S502, in the case of receiving the connection request of the third electronic device, verifying the third electronic device.

[0071] When the user needs to search for the second electronic device, the corresponding device search mode can be started through the pre-set application program in the third electronic device; the third electronic device is an electronic device that has a pairing history with the second electronic device; through the third electronic device, the user can conveniently manage and track the second electronic device.

[0072] For example, the first electronic device is a smart earphone, the second electronic device is a smart watch, and the third electronic device is a smart phone paired with the smart watch; when the user needs to search for the smart watch, the corresponding device search mode can be started through the pre-set application program on the smart phone; please refer to Figure 6 The user can click the corresponding "search watch" button in the smart phone application program to start the device search mode.

[0073] In the device search mode, the third electronic device can periodically scan the device discovery information of the first electronic device, and can send a connection request to the first electronic device when the first electronic device is found.

[0074] For example, the first electronic device is a smart earphone, the second electronic device is a smart watch, and the third electronic device is a smart phone paired with the smart watch; when the smart phone starts the device search mode, the phone can periodically scan the device discovery information broadcast by the nearby electronic devices, and if the device discovery information broadcast by the smart earphone is scanned, such asFigure 7 As shown, a connection request can be sent to the smart earphone to request the smart earphone to establish a Bluetooth low energy connection.

[0075] Specifically, if the third electronic device scans device discovery information broadcast by a certain electronic device, the device discovery information can be parsed to obtain device identification information of the device.

[0076] The third electronic device can determine whether there is a pairing record of the device in the third electronic device based on the device identification information of the device. If there is a pairing record of the device, and the device identification information of the electronic device is consistent with the device identification information of the first electronic device, it can be determined that the device is the first electronic device. At this time, a connection request can be sent to the first electronic device to request the first electronic device to establish a Bluetooth low energy connection with the third electronic device.

[0077] In the case where the first electronic device receives the connection request of the third electronic device, the third electronic device can be verified to determine whether the third electronic device is an electronic device that has a pairing history with the first electronic device.

[0078] In the actual use of the second electronic device by the user, a communication connection between the third electronic device and the second electronic device is usually established to manage the second electronic device. When the second electronic device establishes a communication connection with the third electronic device, the second electronic device can obtain the device identification information of the third electronic device. When the second electronic device successfully establishes a communication connection with the third electronic device, the second electronic device can send the device identification information of the third electronic device to the first electronic device. Similarly, the second electronic device can also send the device identification information of the first electronic device to the third electronic device to establish a communication connection between the first electronic device and the third electronic device. The communication connection here is a Bluetooth low energy-based communication connection.

[0079] In a possible specific implementation, if the first electronic device is placed in the storage compartment of the second electronic device at this time, the second electronic device can send the device identification information of the third electronic device to the first electronic device through the conductive contact. Correspondingly, the first electronic device can receive the device identification information of the third electronic device through the conductive contact.

[0080] In another possible specific implementation, if the first electronic device is not placed in the storage compartment of the second electronic device at this time; for example, the user takes the first electronic device out of the storage compartment of the second electronic device, or the first electronic device falls out of the storage compartment of the second electronic device, the second electronic device can establish a communication connection with the first electronic device through a predetermined communication link. Then, the second electronic device can send the device identification information of the third electronic device to the first electronic device through the communication link.

[0081] When the first electronic device receives the device identification information of the third electronic device, the first electronic device can establish a communication connection with the third electronic device based on the device identification information, and the first electronic device can add the device identification information of the third electronic device to a pairing device identification list of the first electronic device; the pairing device identification list of the first electronic device includes device identification information of each electronic device paired with the first electronic device.

[0082] When the first electronic device receives the connection request of the third electronic device, the first electronic device can verify the third electronic device to determine whether there is a pairing record of the third electronic device in the first electronic device.

[0083] Specifically, the first electronic device can parse the connection request of the third electronic device to obtain connection request parsing information, and then the first electronic device can extract first device identification information of the third electronic device from the connection request parsing information, and based on the first device identification information, the first electronic device can verify the third electronic device.

[0084] Here, the first device identification information can be matched with each device identification information in the pairing device identification list of the first electronic device; if the first device identification information is successfully matched with any one of the device identification information in the pairing device identification list, it can be considered that there is a pairing record of the third electronic device in the first electronic device, and at this time, it can be determined that the verification of the third electronic device is successful. If the first device identification information fails to match with each device identification information in the pairing device identification list, it can be considered that there is no pairing record of the third electronic device in the first electronic device, and at this time, it can be determined that the verification of the third electronic device fails.

[0085] In the embodiments of the present application, if the verification of the third electronic device fails, it can be considered that the third electronic device has never been paired with the first electronic device, and at this time, step S503 and subsequent steps do not need to be performed; if the verification of the third electronic device is successful, it can be considered that the third electronic device has been paired with the first electronic device, and at this time, step S503 and subsequent steps can be performed.

[0086] For example, the first electronic device is a smart earphone, the second electronic device is a smart watch, and the third electronic device is a smart phone. The smart earphone can be built into a storage bin of the smart watch. When the user uses the smart watch, a communication connection can be established between the smart watch and the smart phone, so that the smart watch can be managed by the smart phone. After the communication connection is established between the smart watch and the smart phone, the smart watch can obtain the device identification information of the smart phone and send the device identification information to the smart earphone. Similarly, the smart watch can obtain the device identification information of the smart earphone and send the device identification information to the smart phone. Then, the smart phone and the smart earphone can establish a communication connection according to the device identification information of each other. After the communication connection is successfully established, the smart earphone can add the device identification information A of the smart phone to a pairing device identification list of the smart earphone, so that the smart phone can be verified when the communication connection is re-established subsequently. After the smart earphone enters the low-power consumption mode, if the smart earphone receives a connection request sent by the electronic device A, the device identification information A of the electronic device A can be determined based on the connection request. Since the device identification information A matches the device identification information A in the pairing device identification list, it is considered that the verification of the electronic device A is successful.

[0087] In step S503, if the third electronic device is verified successfully, a communication connection with the third electronic device is established.

[0088] In the embodiment of the present application, after it is determined that the third electronic device is verified successfully, a communication connection (specifically, a communication connection based on Bluetooth low energy) with the third electronic device can be established.

[0089] In step S504, a corresponding first discovery prompt operation is performed in response to a device search instruction issued by the third electronic device.

[0090] In the embodiment of the present application, when the first electronic device establishes a communication connection with the third electronic device, if a device search instruction issued by the third electronic device is received, a corresponding first discovery prompt operation can be performed in response to the device search instruction to assist the user to find the first electronic device better. The first discovery prompt operation can be used to prompt the position of the first electronic device.

[0091] In the embodiment of the present application, the first discovery prompt operation can preferably include playing a preset prompt sound, emitting a preset light, and / or controlling a motor to vibrate, as shown in FIG. 5B. Figure 8 As shown in FIG. 5B, the device search instruction can instruct the first electronic device to perform one or more first discovery prompt operations described above. After receiving the device search instruction, the first electronic device can analyze the device search instruction to obtain a corresponding analysis result. According to the analysis result, the first discovery prompt operation to be performed can be determined.

[0092] In a specific implementation of the embodiment of the present application, if the first electronic device receives the device search instruction issued by the third electronic device, the device search instruction can be parsed; according to the parsing result, if it is determined that the first discovery prompt operation of playing the preset prompt tone needs to be performed, the first electronic device can play the preset prompt tone to assist the user in locating the first electronic device. The specific playing settings of the prompt tone such as audio and volume can be configured according to actual needs, which are not limited in the present application.

[0093] In another specific implementation of the embodiment of the present application, if the first electronic device receives the device search instruction issued by the third electronic device, the device search instruction can be parsed; according to the parsing result, if it is determined that the first discovery prompt operation of emitting the preset light needs to be performed, the first electronic device can emit the preset light to assist the user in locating the first electronic device. The specific light settings of the light such as frequency and color temperature can be configured according to actual needs, which are not limited in the present application.

[0094] In another specific implementation of the embodiment of the present application, if the first electronic device receives the device search instruction issued by the third electronic device, the device search instruction can be parsed; according to the parsing result, if it is determined that the first discovery prompt operation of controlling the motor vibration needs to be performed, the first electronic device can control the motor vibration to assist the user in locating the first electronic device. The specific vibration settings of the motor such as vibration frequency and intensity can be configured according to actual needs, which are not limited in the present application.

[0095] When the user locates the first electronic device, the search for the first electronic device can be stopped. Specifically, the user can issue a stop search instruction to the first electronic device through the preset application on the third electronic device to control the first electronic device to stop performing the first discovery prompt operation.

[0096] If the first electronic device receives the stop search instruction issued by the third electronic device, the first discovery prompt operation can be stopped in response to the stop search instruction.

[0097] In actual application, the first discovery prompt operation can also be specifically set and contextualized according to actual needs, which are not limited in the present application.

[0098] In a specific implementation of the embodiment of the present application, the lost state of the second electronic device can also be synchronized to the server, so that after the second electronic device is woken up (powered on), the lost state of the second electronic device can be synchronized in time and corresponding operations can be made.

[0099] The above specific implementations will be described in detail below.

[0100] When a user activates the device search mode via a third electronic device, the third electronic device can set the lost status of the second electronic device to a preset first status, which indicates that the second electronic device has been lost. Afterward, the third electronic device can send the lost status of the second electronic device to the server, and the server can then update the lost status of the second electronic device.

[0101] When the third electronic device scans the device discovery information of the first electronic device, it can request to establish a communication connection with the first electronic device in order to better locate the first electronic device.

[0102] After the user successfully locates the first electronic device, the device search mode can be turned off in a preset application on the third electronic device. Alternatively, the third electronic device can automatically turn off the device search mode after the user sends a stop search command to the first electronic device through the third electronic device.

[0103] When the third electronic device disables the device search mode, it can set the lost status of the second electronic device to a preset second status, which indicates that the second electronic device has been found (or is not currently lost). The third electronic device can then send the lost status of the second electronic device to the server; the server can then update the lost status of the second electronic device.

[0104] After the second electronic device is powered on, if it can establish a communication connection with the server (for example, by connecting to a wireless LAN and communicating with the server), it can obtain its own loss status from the server. Alternatively, the server can proactively send the second electronic device's loss status to it so that the second electronic device can synchronize its own loss status in a timely manner.

[0105] If the second electronic device cannot establish a communication connection with the server, it can obtain its own loss status from the first electronic device. Here, the second electronic device and the first electronic device can establish a communication connection; the specific process is described above and will not be repeated here.

[0106] Specifically, the first electronic device can record the loss status of the second electronic device by setting a loss mode flag. Based on the loss mode flag, the second electronic device can determine its own loss status.

[0107] After receiving the search mode activation command from the second electronic device, the first electronic device can enable the lost mode flag. Specifically, the lost mode flag can be set to a preset first value, and the lost mode flag information can be updated. The first value can be set according to actual needs; for example, the first value can preferably be set to 1.

[0108] When the first electronic device receives a stop search command from the third electronic device, the first electronic device can disable the lost mode flag. Specifically, the lost mode flag can be set to a preset second value, and the lost mode flag information can be updated. The second value can be set according to actual needs; for example, the second value can preferably be set to 0.

[0109] When the second electronic device cannot establish a communication connection with the server, it can send a loss status query command to the first electronic device, instructing the first electronic device to send a loss mode flag to the second electronic device. Alternatively, the first electronic device can proactively send the loss mode flag to the second electronic device so that the second electronic device can synchronize its own loss status in a timely manner.

[0110] When the second electronic device receives the loss mode flag information sent by the first electronic device, it can determine the loss status of the second electronic device based on the loss mode flag information. Specifically, the second electronic device can determine the value of the loss mode flag from the loss mode flag information. If the value is the first value, it can determine that its loss status is lost; if the value is the second value, it can determine that its loss status is recovered (or not currently lost).

[0111] If the second electronic device is in a lost state, it can send a search mode activation command to the first electronic device to instruct the first electronic device to enter low-power Bluetooth mode. If the first electronic device establishes a communication connection with the third electronic device according to the above process, it can send a discovery prompt operation execution command to the second electronic device when it receives the device search command sent by the third electronic device to instruct the second electronic device to perform the corresponding second discovery prompt operation; wherein, the second discovery prompt operation is used to indicate the location of the second electronic device.

[0112] Here, the second discovery prompt operation can be set according to actual needs, and this application does not limit it.

[0113] For example, the second discovery prompt operation may include playing a preset prompt sound, controlling screen flashing, and / or controlling motor vibration.

[0114] After receiving the discovery prompt operation execution instruction sent by the first electronic device, the second electronic device can parse the discovery prompt operation execution instruction to obtain the corresponding parsing result; based on the parsing result, it can execute the corresponding second discovery prompt operation so that the user can better locate the second electronic device.

[0115] Once the user locates the second electronic device, they can disable the device search mode via the third electronic device. At this point, the third electronic device can send a stop search command to the first electronic device. Furthermore, the third electronic device can set the lost status of the second electronic device to a preset second status, indicating that the second electronic device has been found (or is not currently lost). Afterward, the third electronic device can send the lost status of the second electronic device to the server; the server can then update the lost status of the second electronic device.

[0116] The first electronic device can respond to the stop search command by sending a discovery prompt operation stop execution command to the second electronic device, instructing the second electronic device to stop executing the second discovery prompt operation.

[0117] After receiving the discovery prompt operation stop execution instruction sent by the first electronic device, the second electronic device can stop executing the second discovery prompt operation.

[0118] In summary, in this embodiment, the first electronic device is built into the second electronic device. Before performing a power-off operation, the second electronic device sends a search mode activation command to the first electronic device, instructing the first electronic device to enter Bluetooth Low Energy mode. After entering Bluetooth Low Energy mode, if the first electronic device receives a connection request from the third electronic device and successfully verifies the third electronic device, a communication connection is established with the third electronic device. The first electronic device responds to the device search command issued by the third electronic device and performs the corresponding discovery prompt operation. In this embodiment, the first electronic device can enter Bluetooth Low Energy mode and can establish a connection with the third electronic device on behalf of the second electronic device after the second electronic device is powered off. When it receives a device search command, it can perform the corresponding discovery prompt operation. Accordingly, the first electronic device can act as a communication intermediary when the second electronic device is powered off, thereby improving the search success rate when the second electronic device's battery is depleted, which helps to improve the user's search experience.

[0119] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0120] Corresponding to the device search method applied to a first electronic device described in the above embodiments, Figure 9 This illustration shows a structural diagram of an embodiment of a device search device applied to a first electronic device, as provided in this application.

[0121] In this embodiment of the application, a device search device applied to a first electronic device may include:

[0122] The Bluetooth Low Energy Mode Entry Module 901 is used to enter Bluetooth Low Energy Mode in response to a search mode enable command sent by the second electronic device.

[0123] The device verification module 902 is used to verify the third electronic device upon receiving a connection request from the third electronic device.

[0124] The communication connection establishment module 903 is used to establish a communication connection with the third electronic device if the verification of the third electronic device is successful.

[0125] The first discovery prompt operation execution module 904 is used to execute the corresponding first discovery prompt operation in response to the device search command issued by the third electronic device; wherein, the first discovery prompt operation is used to prompt the location of the first electronic device.

[0126] In one specific implementation of this application embodiment, the device verification module includes:

[0127] The connection request parsing submodule is used to parse the connection request to obtain connection request parsing information;

[0128] The first device identification information extraction submodule is used to extract the first device identification information from the connection request parsing information;

[0129] The successful verification determination submodule is used to determine that the verification of the third electronic device is successful if the first device identification information matches any device identification information in the paired device identification list; wherein, the paired device identification list includes the device identification information of each electronic device paired with the first electronic device;

[0130] The verification failure determination submodule is used to determine that the verification of the third electronic device has failed if the first device identification information fails to match each device identification information in the paired device identification list.

[0131] In one specific implementation of this application embodiment, the first discovery prompt operation includes playing a preset prompt sound, emitting a preset light, and / or controlling the motor to vibrate;

[0132] The first discovery prompt operation execution module includes:

[0133] The first discovery prompt operation execution first submodule is used to play the prompt sound in response to the device search command issued by the third electronic device;

[0134] And / or,

[0135] The first discovery prompt operation executes the second sub-module, which is used to emit the light in response to the device search command issued by the third electronic device;

[0136] And / or,

[0137] The first discovery prompt operation executes the third sub-module, which is used to control the motor vibration in response to the device search command issued by the third electronic device.

[0138] In one specific implementation of this application embodiment, the device finding device further includes:

[0139] The prompt operation stop execution module is used to stop executing the first discovery prompt operation in response to the stop search command issued by the third electronic device.

[0140] In one specific implementation of this application embodiment, the device finding device further includes:

[0141] The lost mode flag information sending module is used to send lost mode flag information to the second electronic device in response to a lost status query command issued by the second electronic device; wherein, the lost mode flag information is used to indicate the lost status of the second electronic device.

[0142] In one specific implementation of this application embodiment, the device finding device further includes:

[0143] The discovery prompt operation execution instruction sending module is used to send a discovery prompt operation execution instruction to the second electronic device in response to the device search instruction issued by the third electronic device; wherein, the discovery prompt operation execution instruction is used to instruct the second electronic device to perform a second discovery prompt operation, and the second discovery prompt operation is used to indicate the location of the second electronic device.

[0144] Corresponding to the device search method for a second electronic device described in the above embodiments, Figure 10 This illustration shows a structural diagram of an embodiment of a device finding device for a second electronic device provided in this application.

[0145] In this application embodiment, a device finding device applied to a second electronic device may include:

[0146] The search mode enable command sending module 1001 is used to send a search mode enable command to the first electronic device; wherein, the search mode enable command is used to instruct the first electronic device to enter the low power Bluetooth mode.

[0147] The power-off operation execution module 1002 is used to control the second electronic device to perform a power-off operation.

[0148] In one specific implementation of this application embodiment, the search mode enable command issuing module is specifically used to issue a search mode enable command to the first electronic device before the second electronic device performs a power-off operation.

[0149] In one specific implementation of this application embodiment, the device finding device further includes:

[0150] The lost status query instruction sending module is used to send a lost status query instruction to the first electronic device when the second electronic device is powered on; wherein, the lost status query instruction is used to query the lost status of the second electronic device;

[0151] The lost mode flag information receiving module is used to receive the lost mode flag information sent by the first electronic device;

[0152] The loss status determination module is used to determine the loss status of the second electronic device based on the loss mode flag information.

[0153] In one specific implementation of this application embodiment, the device finding device further includes:

[0154] The second discovery prompt operation execution module is used to execute the corresponding second discovery prompt operation in response to the discovery prompt operation execution command sent by the first electronic device; wherein the second discovery prompt operation is used to prompt the location of the second electronic device.

[0155] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the devices, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0156] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0157] Figure 11 A schematic block diagram of an electronic device provided in an embodiment of this application is shown. For ease of explanation, only the parts related to the embodiment of this application are shown.

[0158] like Figure 5 As shown, the electronic device 11 of this embodiment includes: a processor 110, a memory 111, and a computer program 112 stored in the memory 111 and executable on the processor 110. When the processor 110 executes the computer program 112, it implements the steps in the various device search method embodiments described above, for example... Figure 2 Steps S201 to S202 shown, for exampleFigure 5 The functions of steps S501 to S504 are shown. Alternatively, when the processor 110 executes the computer program 112, it implements the functions of each module / unit in the above-described device embodiments, for example... Figure 9 The functions of modules 901 to 904 shown are, for example... Figure 10 The functions of modules 1001 to 1002 are shown.

[0159] For example, the computer program 112 may be divided into one or more modules / units, which are stored in the memory 111 and executed by the processor 110 to complete this application. The one or more modules / units may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program 112 in the electronic device 11.

[0160] Those skilled in the art will understand that Figure 11 This is merely an example of electronic device 11 and does not constitute a limitation on electronic device 11. It may include more or fewer components than shown, or combine certain components, or different components. For example, electronic device 11 may also include input / output devices, network access devices, buses, etc.

[0161] The processor 110 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.

[0162] The memory 111 can be an internal storage unit of the electronic device 11, such as a hard disk or RAM of the electronic device 11. The memory 111 can also be an external storage device of the electronic device 11, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card equipped on the electronic device 11. Furthermore, the memory 111 can include both internal and external storage units of the electronic device 11. The memory 111 is used to store the computer program and other programs and data required by the electronic device 11. The memory 111 can also be used to temporarily store data that has been output or will be output.

[0163] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0164] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0165] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0166] In the embodiments provided in this application, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings or direct couplings or communication connections may be through some interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms.

[0167] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0168] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0169] If the integrated module / unit is implemented as 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, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable storage medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc. It should be noted that the content included in the computer-readable storage medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable storage medium does not include electrical carrier signals and telecommunication signals.

[0170] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A device search method, characterized by, The method applied to a first electronic device built in a second electronic device comprises: In response to a search mode opening instruction issued by the second electronic device, entering a Bluetooth low energy mode; In the case of receiving a connection request of a third electronic device, verifying the third electronic device; If the verification of the third electronic device is successful, establishing a communication connection with the third electronic device; In response to a device search instruction issued by the third electronic device, performing a corresponding first discovery prompt operation; wherein the first discovery prompt operation is used to prompt the position of the first electronic device.

2. The device search method of claim 1, wherein, The verification of the third electronic device in the case of receiving a connection request of a third electronic device comprises: Analyzing the connection request to obtain connection request analysis information; Extracting first device identification information from the connection request analysis information; If the first device identification information matches any device identification information in a pairing device identification list, it is determined that the verification of the third electronic device is successful; wherein the pairing device identification list comprises device identification information of each electronic device paired with the first electronic device; If the first device identification information fails to match each device identification information in the pairing device identification list, it is determined that the verification of the third electronic device fails.

3. The device search method of claim 1, wherein, The first discovery prompt operation comprises playing a preset prompt sound, emitting a preset light and / or controlling a motor vibration; In response to the device search instruction issued by the third electronic device, playing the prompt sound; and / or, In response to the device search instruction issued by the third electronic device, emitting the light; and / or, In response to the device search instruction issued by the third electronic device, controlling the motor vibration. After the execution of the corresponding first discovery prompt operation in response to the device search instruction issued by the third electronic device, the method further comprises:

4. The device search method of claim 1, wherein, In response to a stop search instruction issued by the third electronic device, stopping the execution of the first discovery prompt operation. The method further comprises:

5. The device search method of claim 1, wherein, In response to a loss state inquiry instruction issued by the second electronic device, sending loss mode flag information to the second electronic device; Wherein the loss mode flag information is used to indicate the loss state of the second electronic device. The method further comprises:

6. The device search method of claim 1, wherein, In response to a device search instruction issued by the third electronic device, sending a discovery prompt operation execution instruction to the second electronic device; Wherein the discovery prompt operation execution instruction is used to instruct the second electronic device to execute a second discovery prompt operation, and the second discovery prompt operation is used to prompt the position of the second electronic device. The method applied to a second electronic device built in a first electronic device comprises:

7. A device search method characterized by comprising: Issuing a search mode opening instruction to the first electronic device; wherein the search mode opening instruction is used to instruct the first electronic device to enter a Bluetooth low energy mode; Controlling the second electronic device to execute a shutdown operation. ​ 8. The device search method of claim 7, wherein, The issuing, to the first electronic device, of the search mode opening instruction comprises: issuing, to the first electronic device, the search mode opening instruction before the second electronic device performs a shutdown operation.

9. The device search method of claim 7, wherein, Further comprising: issuing, to the first electronic device, a loss state inquiry instruction in a case where the second electronic device is powered on, wherein the loss state inquiry instruction is used to inquire about a loss state of the second electronic device; receiving loss mode flag information sent by the first electronic device; determining the loss state of the second electronic device based on the loss mode flag information.

10. The device search method of claim 7, wherein, Further comprising: performing a corresponding second discovery prompt operation in response to a discovery prompt operation execution instruction sent by the first electronic device, wherein the second discovery prompt operation is used to prompt a position of the second electronic device.

11. A device search apparatus, characterized by comprising: The device is applied to a first electronic device, the first electronic device is built-in in a second electronic device, and the device comprises: a low-power Bluetooth mode entering module configured to enter a low-power Bluetooth mode in response to a search mode opening instruction issued by the second electronic device; a device verification module configured to verify a third electronic device in a case where a connection request of the third electronic device is received; a communication connection establishing module configured to establish a communication connection with the third electronic device if the third electronic device is verified successfully; a first discovery prompt operation execution module configured to perform a corresponding first discovery prompt operation in response to a device search instruction issued by the third electronic device, wherein the first discovery prompt operation is used to prompt a position of the first electronic device.

12. A device search apparatus, characterized by comprising: The device is applied to a second electronic device, the second electronic device is built-in with a first electronic device, and the device comprises: a search mode opening instruction issuing module configured to issue a search mode opening instruction to the first electronic device, wherein the search mode opening instruction is used to instruct the first electronic device to enter a low-power Bluetooth mode; a shutdown operation execution module configured to control the second electronic device to perform a shutdown operation.

13. A computer-readable storage medium storing a computer program, wherein the computer program comprises the following steps of: The computer program is executed by a processor to implement steps of the device search method according to any one of claims 1 to 6 or steps of the device search method according to any one of claims 7 to 10.

14. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor executes the computer program to implement steps of the device search method according to any one of claims 1 to 6 or steps of the device search method according to any one of claims 7 to 10.