Prompt method and device, electronic equipment, target equipment, connection system and medium
By dynamically adjusting the signal strength based on the location information of the Bluetooth headset, the problem of poor user experience caused by the single pop-up strategy of Bluetooth headsets is solved, and better user experience control is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
- Filing Date
- 2021-07-07
- Publication Date
- 2026-06-02
Smart Images

Figure CN115665705B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a notification method, apparatus, electronic device, target device, connection system, and medium. Background Technology
[0002] With the rapid development of science and technology, more and more smart devices are appearing in people's daily lives, greatly improving their quality of life. However, among related technologies, the pop-up window strategy of Bluetooth headsets is relatively simple, often resulting in problems such as annoying pop-ups or no pop-ups at all, seriously affecting the user experience and reducing the user's quality of life. Summary of the Invention
[0003] Embodiments of this application provide a notification method, apparatus, electronic device, target device, connection system, and medium.
[0004] The prompting method of this application is used in an electronic device. The electronic device is capable of wirelessly connecting to a target device. The prompting method includes: determining a target signal strength based on the signal strength of a signal received from the target device, wherein the target signal strength corresponds to the location information of the target device when it transmitted the signal; and prompting the target device with preset information when the target signal strength is greater than or equal to a preset signal strength.
[0005] The prompting method of this application is used for a target device. The target device is capable of wirelessly connecting to an electronic device. The prompting method includes: determining the location information of the target device; transmitting a signal to the electronic device based on the location information, the signal triggering the electronic device to determine a target signal strength based on the signal strength of the received signal transmitted by the target device, the target signal strength corresponding to the location information when the target device transmitted the signal, and prompting the target device with preset information when the target signal strength is greater than or equal to a preset signal strength.
[0006] The prompting method of this application is used in a wireless connection system. The wireless connection system includes an electronic device and a target device, the target device being capable of wirelessly connecting to the electronic device. The prompting method includes: the target device determining its location information; transmitting a signal to the electronic device based on the location information; the electronic device determining a target signal strength based on the signal strength of the received signal transmitted by the target device, the target signal strength corresponding to the location information when the target device transmitted the signal; and prompting the target device with preset information when the target signal strength is greater than or equal to a preset signal strength.
[0007] The electronic device according to embodiments of this application can be used to wirelessly connect to a target device. The electronic device includes a first processor. The first processor is configured to: determine a target signal strength based on the signal strength of a signal received from the target device, wherein the target signal strength corresponds to the location information of the target device when it transmitted the signal; and when the target signal strength is greater than or equal to a preset signal strength, prompt the target device with preset information.
[0008] The target device of this application embodiment is capable of wirelessly connecting to an electronic device. The target device includes a second processor. The second processor is configured to: determine the location information of the target device; transmit a signal to the electronic device based on the location information, the signal triggering the electronic device to determine a target signal strength based on the signal strength of the received signal transmitted by the target device, the target signal strength corresponding to the location information when the target device transmitted the signal; and, when the target signal strength is greater than or equal to a preset signal strength, prompt the target device with a preset signal.
[0009] The wireless connection system of this application includes an electronic device and a target device, wherein the electronic device is capable of wirelessly connecting to the target device. The target device is used to determine its location information and, based on the location information, transmits a signal to the electronic device. The electronic device is used to determine a target signal strength based on the signal strength of the received signal transmitted by the target device, wherein the target signal strength corresponds to the location information at the time the target device transmitted the signal, and, when the target signal strength is greater than or equal to a preset signal strength, prompts the target device with preset information.
[0010] The prompting device according to this application is used in an electronic device. The electronic device is capable of wirelessly connecting to a target device. The prompting device includes a calculation module and a prompting module. The calculation module is used to determine a target signal strength based on the signal strength of a signal received from the target device, the target signal strength corresponding to the location information of the target device when it transmitted the signal. The prompting module is used to prompt the target device with preset information when the target signal strength is greater than or equal to a preset signal strength.
[0011] The prompting device according to this application is used for a target device. The target device is capable of wirelessly connecting to an electronic device. The prompting device includes a determining module and a transmitting module. The determining module is used to determine the location information of the target device. The transmitting module is used to transmit a signal to the electronic device based on the location information. The signal triggers the electronic device to determine a target signal strength based on the signal strength of the received signal transmitted by the target device. The target signal strength corresponds to the location information when the target device transmitted the signal. When the target signal strength is greater than or equal to a preset signal strength, the electronic device prompts the target device with preset information.
[0012] The computer-readable storage medium of this application embodiment stores a computer program thereon. When the program is executed by a processor, it implements the steps of the prompting method described in any of the above embodiments.
[0013] The aforementioned prompting method, prompting device, electronic device, target device, wireless connection system, and computer-readable storage medium take into account the location information of the target device and dynamically determine the target signal strength. Based on the target signal strength, they determine whether to prompt the target device with preset information. This allows for better control of the prompting distance, avoids causing users to be bothered by frequent prompts or no prompts at all, and improves the user experience.
[0014] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0015] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, wherein:
[0016] Figure 1 This is a flowchart illustrating the prompting method of the embodiments of this application;
[0017] Figure 2 This is a schematic diagram of an electronic device according to an embodiment of this application;
[0018] Figure 3 This is a schematic diagram of a prompting device according to an embodiment of this application;
[0019] Figure 4 This is a flowchart illustrating the prompting method of the embodiments of this application;
[0020] Figure 5 This is a schematic diagram of a prompting device according to an embodiment of this application;
[0021] Figure 6 This is a flowchart illustrating the prompting method of the embodiments of this application;
[0022] Figure 7 This is a flowchart illustrating the prompting method of the embodiments of this application;
[0023] Figure 8 This is a schematic diagram of a prompting device according to an embodiment of this application;
[0024] Figure 9 This is a flowchart illustrating the prompting method of the embodiments of this application;
[0025] Figure 10 This is a flowchart illustrating the prompting method of the embodiments of this application;
[0026] Figure 11 This is a schematic diagram of a prompting device according to an embodiment of this application;
[0027] Figure 12 This is a flowchart illustrating the prompting method of the embodiments of this application;
[0028] Figure 13 This is a flowchart illustrating the prompting method of the embodiments of this application;
[0029] Figure 14 This is a schematic diagram of a prompting device according to an embodiment of this application;
[0030] Figure 15 This is a flowchart illustrating the prompting method of the embodiments of this application;
[0031] Figure 16 This is a flowchart illustrating the prompting method of the embodiments of this application;
[0032] Figure 17 This is a schematic diagram of a prompting device according to an embodiment of this application;
[0033] Figure 18 This is a flowchart illustrating the prompting method of the embodiments of this application;
[0034] Figure 19 This is a schematic diagram of a prompting device according to an embodiment of this application;
[0035] Figure 20 This is a flowchart illustrating the prompting method of the embodiments of this application;
[0036] Figure 21 This is a schematic diagram of a prompting device according to an embodiment of this application;
[0037] Figure 22 This is a flowchart illustrating the prompting method of the embodiments of this application;
[0038] Figure 23 This is a schematic diagram of a prompting device according to an embodiment of this application;
[0039] Figure 24 This is a flowchart illustrating the prompting method of the embodiments of this application;
[0040] Figure 25 This is a flowchart illustrating the prompting method of the embodiments of this application.
[0041] Figure 26 This is a schematic diagram of the target device according to an embodiment of this application;
[0042] Figure 27 This is a schematic diagram of a prompting device according to an embodiment of this application;
[0043] Figure 28 This is a flowchart illustrating the prompting method of the embodiments of this application;
[0044] Figure 29 This is a schematic diagram of a wireless connection system according to an embodiment of this application. Detailed Implementation
[0045] The embodiments of this application are described in detail below. These embodiments are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.
[0046] In the description of the embodiments of this application, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the stated features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0047] Please see Figures 1-3 The notification method described in this application is used in an electronic device 100. The electronic device 100 is capable of wirelessly connecting to a target device 200. The notification method includes:
[0048] 011: Determine the target signal strength based on the signal strength of the signal received from the target device 200. The target signal strength corresponds to the position information of the target device 200 when it transmitted the signal.
[0049] 013: When the target signal strength is greater than or equal to the preset signal strength, the preset information of the target device 200 will be displayed.
[0050] The prompting method of this application embodiment can be implemented by the electronic device 100 of this application embodiment. Specifically, the electronic device 100 includes a first processor 10. The first processor 10 is used to determine the target signal strength according to the signal strength of the signal transmitted by the target device 200, wherein the target signal strength corresponds to the location information of the target device 200 when transmitting the signal, and is used to prompt the target device 200 with preset information when the target signal strength is greater than or equal to a preset signal strength.
[0051] The prompting method of this application embodiment can be implemented by the prompting device 12 of this application embodiment. Specifically, the prompting device 12 is used in the electronic device 100. The prompting device 12 includes a calculation module 122 and a prompting module 124. The calculation module 122 is used to determine the target signal strength based on the signal strength of the signal received from the target device 200, and the target signal strength corresponds to the location information of the target device 200 when it transmits the signal. The prompting module 124 is used to prompt the target device 200 with preset information when the target signal strength is greater than or equal to a preset signal strength.
[0052] The above-mentioned prompting method, electronic device 100 and prompting device 12 take into account the location information of the target device 200 and dynamically determine the target signal strength, thereby determining whether to prompt the target device 200 with preset information based on the target signal strength. This can better control the prompting distance, avoid causing users to be bothered by frequent prompts or no prompts, and improve the user experience.
[0053] It is understandable that in related technologies, the location information of the target device is not considered when determining whether to issue a prompt. Instead, all states are treated uniformly. That is, regardless of whether the target device is inside or outside the containment, the decision to issue a prompt is based on the relationship between the signal strength of the signal emitted by the target device and a preset signal strength. Thus, when the containment obstructs the signal strength of the signal emitted by the target device, the following two problems arise: First, after defining a suitable preset signal strength based on the case where the target device is inside the containment, it is possible that when the target device is outside the containment, other electronic devices located far from the target device receive a signal strength greater than or equal to the preset signal strength, resulting in preset information prompts appearing on other electronic devices and disturbing users of other electronic devices. Second, after defining a suitable preset signal strength based on the case where the target device is outside the containment, it is possible that when the target device is inside the containment and the user wants to be prompted with preset information, the electronic device does not prompt the preset information because the signal strength received by the electronic device cannot be greater than or equal to the preset signal strength, thus affecting the user experience. Similarly, when the containment device amplifies the signal strength of the signal emitted by the target device, the following two problems may arise: First, after defining a suitable preset signal strength based on the target device being inside the containment device, it is possible that when the target device is outside the containment device and the user wants to be prompted with preset information, the electronic device will not prompt with preset information because the signal strength received by the electronic device cannot be greater than or equal to the preset signal strength, thus affecting the user experience; Second, after defining a suitable preset signal strength based on the target device being outside the containment device, it is possible that when the target device is inside the containment device, other electronic devices that are far away from the target device will also receive a signal strength greater than or equal to the preset signal strength, thus prompting preset information prompts on other electronic devices, disturbing users of other electronic devices.
[0054] The notification method of this application takes into account the changing position of the target device 200. It can dynamically adjust the target signal strength when the target device is in different positions, adapting to various location states. This allows for better control of the notification distance, avoiding the inconvenience of frequent or no notifications for the user, and improving the user experience.
[0055] Specifically, electronic device 100 may include mobile phones, tablets, laptops, personal computers, wearable smart devices, and smart home appliances. Target device 200 can be understood as a device that supports electronic device 100 in displaying preset information; for example, target device 200 may include wireless headphones, Bluetooth speakers, smart home appliances, etc., that support rapid pop-up notifications from electronic device 100. Electronic device 100 can wirelessly connect to target device 200 via Bluetooth, infrared, or other methods. In some embodiments, the location information is the relative position of target device 200 and the housing. The housing can be used to house target device 200. In some embodiments, when target device 200 is housed within the housing, the housing can protect target device 200 to achieve waterproofing, dustproofing, impact resistance, and portability. In some embodiments, when target device 200 is housed within the housing, the housing can provide power to target device 200. In some embodiments, the signals transmitted by target device 200 include Bluetooth broadcast signals. Bluetooth broadcast signals may include Bluetooth Low Energy (BLE) broadcast signals or classic Bluetooth broadcast signals.
[0056] The target signal strength corresponds to the location information of the target device 200 when it transmits the signal. That is, the target signal strength can be determined based on the received signal strength (received signal strength) and the location information of the target device 200 when it transmits the signal. It should be noted that the target signal strength is a value determined based on the received signal strength and the location information of the target device 200 when it transmits the signal, used to determine whether to prompt the target device 200 with preset information. The target signal strength may or may not be equal to the received signal strength.
[0057] It is understandable that the preset signal strength can be preset through experimentation or set by the user. For example, when preset through experimentation, the target device 200 can be kept at a desired prompting distance (e.g., 25cm, 30cm, 35cm) from the test device. Then, the signal strength of the signal emitted by the target device 200 at different locations is recorded. The measured signal strength is used as the preset signal strength for the corresponding location, and the correspondence between different locations and preset signal strengths is saved. Thus, in actual use, the electronic device 100 can determine whether it is within the prompting distance based on the location information of the target device 200, this correspondence, and the signal strength of the signal emitted by the target device 200, and thus determine whether to prompt the target device 200 with the preset information.
[0058] Furthermore, the electronic device 100 can determine the position of the target device 200 relative to the containment based on the signal received from the target device 200, that is, determine whether the target device 200 is inside or outside the containment. The electronic device 100 can prompt the target device 200 with preset information by broadcasting voice or displaying pop-up windows. It is understood that when the electronic device 100 prompts the target device 200 with preset information, the electronic device 100 has not yet established a wireless connection with the target device 200. After prompting the target device 200 with preset information, when it receives an instruction to confirm the establishment of a wireless connection with the target device 200, the electronic device 100 establishes a wireless connection with the target device 200.
[0059] In one example, electronic device 100 is a mobile phone, target device 200 is a True Wireless Stereo (TWS) Bluetooth headset, the housing is a charging case, and the notification method is a pop-up window. The mobile phone and TWS Bluetooth headset can connect wirelessly via Bluetooth, and data can be transmitted between them. The left and right earbuds of the TWS Bluetooth headset are independent and do not require a cable connection, achieving wireless separation of the left and right channels. The TWS Bluetooth headset can be housed in the charging case. When the TWS Bluetooth headset is housed in the charging case, the charging case both powers and protects the TWS Bluetooth headset. Understandably, the Bluetooth headset can be configured to send a BLE broadcast when the charging case is opened. This BLE broadcast signal can use a proprietary protocol, allowing electronic device 100 to determine whether the sending device is target device 200 based on the signal condition. This BLE broadcast can be a connectable broadcast. Furthermore, the device can be configured to send a BLE broadcast when the charging case is first opened, or when it is not first opened, or in other situations. This BLE broadcast can be a broadcast signal containing the battery level information of the target device 200, so that the electronic device 100 can display a prompt containing that battery level information after receiving the BLE broadcast signal. Optionally, the BLE broadcast can also trigger the electronic device 100 to display a prompt representing information about the target device 200 after receiving the BLE broadcast. This prompt can further allow the user of the electronic device 100 to choose to establish a Bluetooth connection with the target device 200. Optionally, the electronic device 100 can also determine the form of the pop-up window based on whether there is a pairing history. For example, if there is no pairing history with the target device 200, a pop-up window will pop up allowing the user to establish a Bluetooth connection with the target device 200. Alternatively, if the electronic device 100 has a previous pairing history with the target device 200, since the target device 200 will directly initiate a reconnection with the electronic device 100, the electronic device 100 will not pop up a connectable pop-up window like the one for the first pairing. Instead, the electronic device 100 can be configured to pop up a connection success pop-up window after establishing a connection.
[0060] When the TWS Bluetooth earbuds are located in different positions, the mobile phone determines the target signal strength based on the signal strength of the signal emitted by the TWS Bluetooth earbuds. When the target signal strength is greater than or equal to the preset signal strength, the mobile phone displays a pop-up window to indicate the preset information of the TWS Bluetooth earbuds. When the target signal strength is less than the preset signal strength, the mobile phone does not display a pop-up window to indicate the preset information of the TWS Bluetooth earbuds.
[0061] It should be noted that, in some embodiments, the electronic device 100 further includes a signal receiver for receiving signals transmitted by the target device 200. After receiving the signal transmitted by the target device 200, the signal receiver generates a corresponding electrical signal and transmits the electrical signal to the first processor 10. The first processor 10 can determine the signal strength of the received signal transmitted by the target device 200 based on the received electrical signal from the signal receiver, determine the target signal strength based on the signal strength, and determine the magnitude relationship between the target signal strength and a preset signal strength. In some embodiments, the electronic device 100 further includes a signal receiver for receiving signals transmitted by the target device 200 and determining the signal strength of the received signal transmitted by the target device 200. After determining the signal strength of the received signal transmitted by the target device 200, the signal receiver generates a corresponding electrical signal and transmits the electrical signal to the first processor 10. The first processor 10 can determine the target signal strength based on the received electrical signal from the signal receiver, and determine the magnitude relationship between the target signal strength and a preset signal strength. In some embodiments, the electronic device 100 further includes a signal receiver for receiving signals transmitted by the target device 200. After receiving the signal transmitted by the target device 200, the signal receiver determines the signal strength of the received signal transmitted by the target device 200, determines the target signal strength based on the signal strength, generates a corresponding electrical signal, and transmits the electrical signal to the first processor 10. The first processor 10 can directly determine the relationship between the target signal strength and the preset signal strength based on the electrical signal received from the signal receiver.
[0062] Please see Figure 4 and Figure 5 In some embodiments, the location information includes being located inside the containment and being located outside the containment. Step 011 includes:
[0063] 0111: When the location information indicates that the device is located inside the containment, the signal strength of the signal received from the target device 200 is added to a first preset value to obtain the target signal strength.
[0064] 0112: When the location information indicates that the device is located outside the containment, the signal strength of the signal received from the target device 200 is directly used as the target signal strength.
[0065] The prompting method described above can be implemented by the electronic device 100 of this application. Specifically, the first processor 10 is used to add a first preset value to the signal strength of the received signal emitted by the target device 200 to obtain a target signal strength when the location information indicates that the device is located inside the containment, and is used to directly use the signal strength of the received signal emitted by the target device 200 as the target signal strength when the location information indicates that the device is located outside the containment.
[0066] The prompting method described above can be implemented by the prompting device 12 of this application. Specifically, the calculation module 122 includes a first calculation unit 1221 and a second calculation unit 1222. The first calculation unit 1221 is used to add a first preset value to the signal strength of the received signal emitted by the target device 200 to obtain the target signal strength when the location information indicates that the device is located inside the containment. The second calculation unit 1222 is used to directly use the signal strength of the received signal emitted by the target device 200 as the target signal strength when the location information indicates that the device is located outside the containment.
[0067] Thus, using the preset signal strength corresponding to the target device 200 being outside the containment as a comparison benchmark, if the target device 200 is inside the containment, the signal strength of the received signal emitted by the target device 200 is added to a first preset value. Then, the obtained target signal strength is compared with the preset signal strength to determine whether to issue a prompt. This effectively avoids situations where the location information indicates the device is inside the containment and the user wants to be prompted with preset information, but the target signal strength cannot be greater than or equal to the preset signal strength, causing the electronic device 100 to not issue the preset information. It can be understood that the target signal strength and preset signal strength can be represented by the Bluetooth Received Signal Strength Indicator (RSSI). Generally, the greater the distance, the smaller the RSSI; typically, the RSSI value is negative.
[0068] Specifically, considering that the containment device may obstruct the signal strength of the signal emitted by the target device 200, the first preset value can be determined based on the degree to which the containment device obstructs the signal emitted by the target device 200. When the location information indicates that the target device 200 is located inside the containment device, the first preset value is added to the signal strength of the received signal emitted by the target device 200 to obtain the target signal strength. This ensures that, when the distance between the target device 200 and the electronic device 100 remains essentially constant, the effect of the target device 200 emitting a signal inside the containment device is the same for the electronic device 100 as the effect of the target device 200 emitting a signal outside the containment device is. In other words, when the distance between the target device 200 and the electronic device 100 remains essentially constant, regardless of whether the target device 200 is located inside the containment device, as long as the target signal strength is greater than or equal to the preset signal strength, the electronic device 100 will display the preset information of the target device 200. The first preset value can be preset experimentally. For example, the target device 200 and the test device are kept at a desired prompting distance (e.g., 30cm). First, the signal strength E1 of the signal emitted by the target device 200 received by the test device when the target device 200 is outside the housing is recorded. The signal strength E1 is used as the preset signal strength. Then, the signal strength E2 of the signal emitted by the target device 200 received by the test device when the target device 200 is inside the housing is recorded. The absolute value of the difference between E1 and E2 is used as the first preset value. The correspondence between the target device 200, the housing, the prompting distance, the first preset value, and the preset signal strength is saved so that the first preset value and the preset signal strength can be quickly and accurately determined in practical applications.
[0069] Furthermore, in this embodiment, when the location information indicates that the target device 200 is located outside the containment, the signal strength of the received signal transmitted by the target device 200 is directly used as the target signal strength. When the target signal strength is greater than or equal to a preset signal strength, the target device 200 is prompted with preset information; when the target signal strength is less than the preset signal strength, the target device 200 is not prompted with preset information. It should be noted that location information includes both being inside and outside the containment. This should be understood as meaning that the type of location information includes both being inside and outside the containment. In any case, the location information included in the signal transmitted by the target device 200 is either being inside or outside the containment, not simultaneously including both being inside and outside the containment.
[0070] Please see Figure 6 In some implementations, the preset signal strength includes a first signal strength, and step 013 includes:
[0071] 0131: When the target signal strength is greater than or equal to the first signal strength, the preset information of the target device 200 is displayed.
[0072] The prompting method described above can be implemented by the electronic device 100 of this application. Specifically, the first processor 10 is used to prompt the target device 200 with preset information when the target signal strength is greater than or equal to the first signal strength.
[0073] The prompting method described above can be implemented by the prompting device 12 of this application. Specifically, the prompting module 124 is used to prompt the target device 200 with preset information when the target signal strength is greater than or equal to the first signal strength.
[0074] In this way, it is possible to better determine whether to prompt the target device 200 with preset information.
[0075] Specifically, the first signal strength can be preset experimentally. In some embodiments, the first signal strength is the signal strength of the signal emitted by the target device 200 when the target device 200 and the electronic device 100 are at a desired prompting distance and the target device 200 is outside the containment. When the location information indicates that the target device 200 is inside the containment, the signal strength of the received signal emitted by the target device 200 is added to the first preset value to obtain the target signal strength; when the location information indicates that the target device 200 is outside the containment, the signal strength of the received signal emitted by the target device 200 is directly used as the target signal strength, and then the target signal strength and the first signal strength are compared. When the target signal strength is greater than or equal to the first signal strength, the preset information of the target device 200 is prompted; when the target signal strength is less than the first signal strength, the preset information of the target device 200 is not prompted.
[0076] In one example, the first signal strength is -44dB, the first preset value is 6dB, the electronic device 100 is a mobile phone, the target device 200 is a TWS Bluetooth headset, the housing is a charging case, and the prompt method is a pop-up window. When the location information indicates that the target device 100 is located inside the housing and the signal strength of the signal emitted by the target device 200 received by the electronic device 100 is -55dB, 6dB is added to this signal strength, resulting in a target signal strength of -49dB. Since -49dB is less than -44dB, the distance between the target device 200 and the electronic device 100 has not reached the expected prompt distance, therefore, the preset information for the target device 200 is not prompted. When the location information indicates that the target device 100 is located inside the housing and the signal strength of the signal emitted by the target device 200 received by the electronic device 100 is -46dB, 6dB is added to this signal strength, resulting in a target signal strength of -40dB. Since -40dB is greater than -44dB, the distance between the target device 200 and the electronic device 100 has reached the expected prompt distance, therefore, the preset information for the target device 200 is prompted. When the location information indicates that the target device is located outside the containment and the signal strength of the signal transmitted by the target device 200 received by the electronic device 100 is -43dB, the target signal strength is -43dB. Since -43dB is greater than -44dB, the distance between the target device 200 and the electronic device 100 has reached the expected prompting distance, and therefore the target device 200 is prompted with the preset information.
[0077] Please see Figure 7 and Figure 8 In some embodiments, the location information includes being located inside the containment and being located outside the containment. Step 011 includes:
[0078] 0113: When the location information indicates that the device is located inside the containment, the signal strength of the signal received from the target device 200 is directly used as the target signal strength.
[0079] 0114: When the location information indicates that the device is located outside the containment, the signal strength of the received signal transmitted by the target device 200 is subtracted from the second preset value to obtain the target signal strength.
[0080] The prompting method described above can be implemented by the electronic device 100 of this application. Specifically, the first processor 10 is used to directly use the signal strength of the received signal emitted by the target device 200 as the target signal strength when the location information indicates that the device is located inside the housing, and is used to subtract a second preset value from the signal strength of the received signal emitted by the target device 200 to obtain the target signal strength when the location information indicates that the device is located outside the housing.
[0081] The prompting method described above can be implemented by the prompting device 12 of this application. Specifically, the calculation module 122 includes a third calculation unit 1223 and a fourth calculation unit 1224. The third calculation unit 1223 is used to directly use the signal strength of the received signal emitted by the target device 200 as the target signal strength when the location information indicates that the device is located inside the containment. The fourth calculation unit 1224 is used to subtract a second preset value from the signal strength of the received signal emitted by the target device 200 to obtain the target signal strength when the location information indicates that the device is located outside the containment.
[0082] Thus, using the preset signal strength corresponding to the target device 200 being located inside the containment as a comparison benchmark, if the target device 200 is located outside the containment, the signal strength of the received signal emitted by the target device 200 is subtracted from the second preset value, and then the obtained target signal strength is compared with the preset signal strength to determine whether to issue a prompt. This can effectively prevent other electronic devices 100 that are far away from the target device 200 from issuing a preset information prompt when the location information indicates that the target device 200 is located outside the containment because the target signal strength is greater than or equal to the preset signal strength.
[0083] Specifically, considering that the containment device may obstruct the signal strength of the signal emitted by the target device 200, the second preset value can be determined based on the degree to which the containment device obstructs the signal emitted by the target device 200. When the location information indicates that the target device 200 is located outside the containment device, the second preset value is subtracted from the signal strength of the received signal emitted by the target device 200 to obtain the target signal strength. This ensures that, when the distance between the target device 200 and the electronic device 100 remains essentially constant, the effect of the target device 200 emitting a signal inside the containment device is the same for the electronic device 100 as the effect of the target device 200 emitting a signal outside the containment device is. In other words, when the distance between the target device 200 and the electronic device 100 remains essentially constant, regardless of whether the target device 200 is located inside the containment device, as long as the target signal strength is greater than or equal to the preset signal strength, the electronic device 100 will display the preset information of the target device 200. The second preset value can be preset experimentally. For example, to keep the target device 200 and the test device at a desired prompting distance (e.g., 30cm), first record the signal strength E3 of the signal emitted by the target device 200 received by the test device when the target device 200 is inside the housing, and use the signal strength E3 as the preset signal strength. Then record the signal strength E4 of the signal emitted by the target device 200 received by the test device when the target device 200 is outside the housing, and use the absolute value of the difference between E3 and E4 as the second preset value. Save the correspondence between the target device 200, the housing, the prompting distance, the second preset value, and the preset signal strength so that the second preset value and the preset signal strength can be quickly and accurately determined in practical applications.
[0084] Furthermore, in this embodiment, when the location information indicates that the device is located within the containment, the signal strength of the signal received from the target device 200 is directly used as the target signal strength. When the target signal strength is greater than or equal to a preset signal strength, the target device 200 is prompted with preset information; when the target signal strength is less than the preset signal strength, the target device 200 is not prompted with preset information.
[0085] Please see Figure 9 In some embodiments, the preset signal strength includes a second signal strength, and step 013 includes:
[0086] 0132: When the target signal strength is greater than or equal to the second signal strength, the preset information of the target device 200 is displayed.
[0087] The prompting method described above can be implemented by the electronic device 100 of this application. Specifically, the first processor 10 is used to prompt the target device 200 with preset information when the target signal strength is greater than or equal to the second signal strength.
[0088] The prompting method described above can be implemented by the prompting device 12 of this application. Specifically, the prompting module 124 is used to prompt the target device 200 with preset information when the target signal strength is greater than or equal to the second signal strength.
[0089] In this way, it is possible to better determine whether to prompt the target device 200 with preset information.
[0090] Specifically, the second signal strength can be preset experimentally. In some embodiments, the second signal strength is the signal strength of the signal emitted by the target device 200 when the target device 200 and the electronic device 100 are at a desired prompting distance and the target device 200 is located inside the containment. When the location information indicates that the target device 200 is outside the containment, the signal strength of the received signal emitted by the target device 200 is subtracted from the second preset value to obtain the target signal strength; when the location information indicates that the target device 200 is inside the containment, the signal strength of the received signal emitted by the target device 200 is directly used as the target signal strength, and then the target signal strength and the second signal strength are compared. When the target signal strength is greater than or equal to the second signal strength, the preset information of the target device 200 is prompted; when the target signal strength is less than the second signal strength, the preset information of the target device 200 is not prompted.
[0091] In one example, the second signal strength is -50dB, the second preset value is 6dB, the electronic device 100 is a mobile phone, the target device 200 is a TWS Bluetooth headset, the housing is a charging case, and the prompt method is a pop-up window. When the location information indicates that the target device 100 is outside the housing and the signal strength of the signal emitted by the target device 200 received by the electronic device 100 is -60dB, 6dB is added to this signal strength, resulting in a target signal strength of -54dB. Since -54dB is less than -50dB, the distance between the target device 200 and the electronic device 100 has not reached the expected prompt distance, therefore, the preset information for the target device 200 is not prompted. When the location information indicates that the target device 100 is outside the housing and the signal strength of the signal emitted by the target device 200 received by the electronic device 100 is -55dB, 6dB is added to this signal strength, resulting in a target signal strength of -49dB. Since -49dB is greater than -50dB, the distance between the target device 200 and the electronic device 100 has reached the expected prompt distance, therefore, the preset information for the target device 200 is prompted. When the location information indicates that the target device is located inside the containment and the signal strength of the signal transmitted by the target device 200 received by the electronic device 100 is -40dB, the target signal strength is -40dB. Since -40dB is greater than -50dB, the distance between the target device 200 and the electronic device 100 has reached the expected prompting distance, and therefore the target device 200 is prompted with the preset information.
[0092] It is understood that both the first and second preset values represent the degree to which the containment device obstructs the signal emitted by the target device 200. Given a fixed model of both the target device 200 and the containment device, regardless of whether the comparison benchmark is the signal strength of the signal emitted by the target device 200 received when the target device 200 is inside the containment device, or the comparison benchmark is the signal strength of the signal emitted by the target device 200 received when the target device 200 is outside the containment device, the first and second preset values obtained experimentally are the same. In some embodiments, the first signal strength is greater than the second signal strength.
[0093] It should be noted that the specific values mentioned above are only for illustrating the implementation of this application in detail, and should not be construed as limitations on this application. In other examples, implementation methods, or embodiments, other values may be selected according to this application, and no specific limitations are made here.
[0094] Please see Figure 10 and Figure 11 In some embodiments, the location information includes being located inside the containment and being located outside the containment. Step 011 includes:
[0095] 0115: When the location information indicates that the device is located inside the containment, the signal strength of the received signal emitted by the target device 200 is subtracted from the third preset value to obtain the target signal strength;
[0096] 0116: When the location information indicates that the device is located outside the containment, the signal strength of the signal received from the target device 200 is directly used as the target signal strength.
[0097] The prompting method described above can be implemented by the electronic device 100 of this application. Specifically, the third processor 10 is used to subtract a third preset value from the signal strength of the received signal emitted by the target device 200 to obtain the target signal strength when the location information indicates that the device is located inside the containment, and is used to directly use the signal strength of the received signal emitted by the target device 200 as the target signal strength when the location information indicates that the device is located outside the containment.
[0098] The prompting method described above can be implemented by the prompting device 12 of this application. Specifically, the calculation module 122 includes a fifth calculation unit 1225 and a sixth calculation unit 1226. The fifth calculation unit 1225 is used to subtract a third preset value from the signal strength of the received signal emitted by the target device 200 to obtain the target signal strength when the location information indicates that the device is located inside the containment. The sixth calculation unit 1226 is used to directly use the signal strength of the received signal emitted by the target device 200 as the target signal strength when the location information indicates that the device is located outside the containment.
[0099] Thus, using the preset signal strength corresponding to the target device 200 being outside the containment as a comparison benchmark, if the target device 200 is inside the containment, the signal strength of the received signal emitted by the target device 200 is subtracted by a third preset value. The resulting target signal strength is then compared with the preset signal strength to determine whether to issue a prompt. This effectively prevents other electronic devices 100 located far from the target device 200 from issuing preset information prompts when the location information indicates the device is inside the containment, even if the target signal strength is greater than or equal to the preset signal strength. It can be understood that the target signal strength and the preset signal strength can be represented by the Bluetooth Received Signal Strength Indicator (RSSI). Generally, the greater the distance, the smaller the RSSI; in real life, RSSI values are always negative.
[0100] Specifically, considering that the containment device may enhance the signal strength of the signal emitted by the target device 200, the third preset value can be determined based on the degree of enhancement of the signal emitted by the target device 200 by the containment device. When the location information indicates that the target device 200 is located inside the containment device, the signal strength of the received signal emitted by the target device 200 is subtracted from the third preset value to obtain the target signal strength. This ensures that, when the distance between the target device 200 and the electronic device 100 remains essentially unchanged, the effect of the target device 200 emitting a signal inside the containment device is the same for the electronic device 100 as the effect of the target device 200 emitting a signal outside the containment device is. In other words, at this time, when the distance between the target device 200 and the electronic device 100 remains essentially unchanged, regardless of whether the target device 200 is located inside the containment device, as long as the target signal strength is greater than or equal to the preset signal strength, the electronic device 100 will display the preset information of the target device 200. The third preset value can be preset experimentally. For example, to keep the target device 200 and the test device at the desired prompting distance (e.g., 30cm), first record the signal strength E5 of the signal emitted by the target device 200 received by the test device when the target device 200 is outside the housing, and use the signal strength E5 as the preset signal strength. Then record the signal strength E26 of the signal emitted by the target device 200 received by the test device when the target device 200 is inside the housing, and use the absolute value of the difference between E5 and E6 as the third preset value. Save the correspondence between the target device 200, the housing, the prompting distance, the third preset value, and the preset signal strength so that the third preset value and the preset signal strength can be quickly and accurately determined in practical applications.
[0101] Furthermore, in this embodiment, when the location information indicates that the device is located outside the containment, the signal strength of the signal received from the target device 200 is directly used as the target signal strength. When the target signal strength is greater than or equal to a preset signal strength, the target device 200 is prompted with preset information; when the target signal strength is less than the preset signal strength, the target device 200 is not prompted with preset information.
[0102] Please see Figure 12 In some implementations, the preset signal strength includes a third signal strength, and step 013 includes:
[0103] 0133: When the target signal strength is greater than or equal to the third signal strength, the preset information of the target device 200 is displayed.
[0104] The prompting method described above can be implemented by the electronic device 100 of this application. Specifically, the third processor 10 is used to prompt the target device 200 with preset information when the target signal strength is greater than or equal to the third signal strength.
[0105] The prompting method described above can be implemented by the prompting device 12 of this application. Specifically, the prompting module 124 is used to prompt the target device 200 with preset information when the target signal strength is greater than or equal to the third signal strength.
[0106] In this way, it is possible to better determine whether to prompt the target device 200 with preset information.
[0107] Specifically, the third signal strength can be preset experimentally. In some embodiments, the third signal strength is the signal strength of the signal emitted by the target device 200 when the target device 200 and the electronic device 100 are at a desired prompting distance and the target device 200 is outside the containment. When the location information indicates that the target device 200 is inside the containment, the signal strength of the received signal emitted by the target device 200 is subtracted from the third preset value to obtain the target signal strength; when the location information indicates that the target device 200 is outside the containment, the signal strength of the received signal emitted by the target device 200 is directly used as the target signal strength, and then the target signal strength and the third signal strength are compared. When the target signal strength is greater than or equal to the third signal strength, the preset information of the target device 200 is prompted; when the target signal strength is less than the third signal strength, the preset information of the target device 200 is not prompted.
[0108] Please see Figure 13 and Figure 14 In some embodiments, the location information includes being located inside the containment and being located outside the containment. Step 011 includes:
[0109] 0117: When the location information indicates that the device is located inside the containment, the signal strength of the signal received from the target device 200 is directly used as the target signal strength.
[0110] 0118: When the location information indicates that the device is located outside the containment, the signal strength of the signal received from the target device 200 is added to a fourth preset value to obtain the target signal strength.
[0111] The prompting method described above can be implemented by the electronic device 100 of this application. Specifically, the first processor 10 is used to directly use the signal strength of the signal transmitted by the target device 200 as the target signal strength when the location information indicates that the device is located inside the containment, and is used to add a fourth preset value to the signal strength of the signal transmitted by the target device 200 when the location information indicates that the device is located outside the containment to obtain the target signal strength.
[0112] The prompting method described above can be implemented by the prompting device 12 of this application. Specifically, the calculation module 122 includes a seventh calculation unit 1227 and an eighth calculation unit 1228. The seventh calculation unit 1227 is used to directly use the signal strength of the received signal emitted by the target device 200 as the target signal strength when the location information indicates that the device is located inside the containment. The eighth calculation unit 1228 is used to add a fourth preset value to the signal strength of the received signal emitted by the target device 200 to obtain the target signal strength when the location information indicates that the device is located outside the containment.
[0113] Thus, using the preset signal strength corresponding to the target device 200 being located inside the containment as a comparison benchmark, if the target device 200 is located outside the containment, the signal strength of the received signal emitted by the target device 200 is added to a fourth preset value, and then the obtained target signal strength is compared with the preset signal strength to determine whether to provide a prompt. This effectively avoids the situation where the electronic device 100 does not provide a preset information when the location information indicates that the device is located outside the containment and the user wants to be prompted with preset information, because the target signal strength cannot be greater than or equal to the preset signal strength.
[0114] Specifically, considering that the containment device enhances the signal strength of the signal emitted by the target device 200, the fourth preset value can be determined based on the degree of enhancement of the signal emitted by the target device 200 by the containment device. When the location information indicates that the target device 200 is located outside the containment device, the signal strength of the received signal emitted by the target device 200 is added to the fourth preset value to obtain the target signal strength. This ensures that, when the distance between the target device 200 and the electronic device 100 remains essentially unchanged, the effect of the target device 200 emitting a signal inside the containment device is the same for the electronic device 100 as the effect of the target device 200 emitting a signal outside the containment device is. In other words, when the distance between the target device 200 and the electronic device 100 remains essentially unchanged, regardless of whether the target device 200 is located inside the containment device, as long as the target signal strength is greater than or equal to the preset signal strength, the electronic device 100 will display the preset information of the target device 200. The fourth preset value can be preset experimentally. For example, to keep the target device 200 and the test device at the desired prompting distance (e.g., 30cm), first record the signal strength E7 of the signal emitted by the target device 200 received by the test device when the target device 200 is inside the housing, and use the signal strength E7 as the preset signal strength. Then, record the signal strength E8 of the signal emitted by the target device 200 received by the test device when the target device 200 is outside the housing, and use the absolute value of the difference between E7 and E8 as the fourth preset value. Save the correspondence between the target device 200, the housing, the prompting distance, the fourth preset value, and the preset signal strength so that the fourth preset value and the preset signal strength can be quickly and accurately determined in practical applications.
[0115] Furthermore, in this embodiment, when the location information indicates that the device is located within the containment, the signal strength of the signal received from the target device 200 is directly used as the target signal strength. When the target signal strength is greater than or equal to a preset signal strength, the target device 200 is prompted with preset information; when the target signal strength is less than the preset signal strength, the target device 200 is not prompted with preset information.
[0116] Please see Figure 15 In some implementations, the preset signal strength includes a fourth signal strength, and step 013 includes:
[0117] 0134: When the target signal strength is greater than or equal to the fourth signal strength, the preset information of the target device 200 is displayed.
[0118] The prompting method described above can be implemented by the electronic device 100 of this application. Specifically, the first processor 10 is used to prompt the target device 200 with preset information when the target signal strength is greater than or equal to the fourth signal strength.
[0119] The prompting method described above can be implemented by the prompting device 12 of this application. Specifically, the prompting module 124 is used to prompt the target device 200 with preset information when the target signal strength is greater than or equal to the fourth signal strength.
[0120] In this way, it is possible to better determine whether to prompt the target device 200 with preset information. Specifically, the fourth signal strength can be preset experimentally. In some embodiments, the fourth signal strength is the signal strength of the signal emitted by the target device 200 received by the electronic device 100 when the target device 200 and the electronic device 100 are at the desired prompting distance and the target device 200 is located inside the containment. When the location information indicates that the target device 200 is outside the containment, the signal strength of the received signal emitted by the target device 200 is added to the fourth preset value to obtain the target signal strength; when the location information indicates that the target device 200 is inside the containment, the signal strength of the received signal emitted by the target device 200 is directly used as the target signal strength, and then the target signal strength and the fourth signal strength are compared. When the target signal strength is greater than or equal to the fourth signal strength, the preset information of the target device 200 is prompted; when the target signal strength is less than the fourth signal strength, the preset information of the target device 200 is not prompted.
[0121] It is understood that both the third and fourth preset values represent the degree of signal enhancement provided by the containment to the target device 200. Given a fixed model of both the target device 200 and the containment, regardless of whether the comparison benchmark is the signal strength of the signal received by the target device 200 when it is inside the containment (as the fourth signal strength) or the signal strength of the signal received by the target device 200 when it is outside the containment (as the third signal strength), the experimentally obtained third and fourth preset values are the same. In some embodiments, the third signal strength is less than the fourth signal strength.
[0122] Please see Figure 16 and Figure 17 In some embodiments, the signal includes location information of the target device 200 when it transmits the signal, the location information including being inside the containment and being outside the containment. Before step 011, the prompting method further includes:
[0123] 015: Analyze the received signal transmitted by the target device 200 to determine the location information of the target device 200 when it transmitted the signal.
[0124] The prompting method described above can be implemented by the electronic device 100 of this application. Specifically, the first processor 10 is used to parse the received signal transmitted by the target device 200 to determine the location information of the target device 200 when it transmitted the signal.
[0125] The prompting method described above can be implemented by the prompting device 12 of this application. Specifically, the prompting device 12 further includes a first parsing module 126, which is used to parse the received signal transmitted by the target device 200 to determine the location information of the target device 200 when it transmitted the signal.
[0126] Thus, the electronic device 100 can determine the position of the target device 200, and dynamically determine the target signal strength based on the position of the target device 200, thereby determining whether to issue a prompt. Specifically, the target device 200 can pre-determine its position relative to the housing, that is, the target device 200 can determine whether it is inside or outside the housing, and then the target device 200 transmits a signal including its position to the electronic device 100. When the electronic device 100 receives the signal transmitted by the target device 200, it analyzes the position in the signal to determine whether the target device 200 was inside or outside the housing when it transmitted the signal. It can be understood that the position here can represent the position of the target device 200 when the signal is packaged, i.e., whether it was inside or outside the housing when the signal was packaged, or the position most recently acquired or multiple times before the signal was packaged, thus providing a relatively objective reflection of whether the target device 200 was inside or outside the housing when transmitting the signal. Understandably, referring to the previous example, the Bluetooth headset can be configured to send a BLE broadcast packet indicating its location when the charging case is opened. This allows the receiving mobile phone to obtain the location (on-the-box status information) by parsing the BLE broadcast packet, and then determine the pop-up window based on the signal strength of the received BLE broadcast packet.
[0127] Please see Figure 18 and Figure 19 In some implementations, step 011 includes:
[0128] 01101: Determine the adjustment value corresponding to the position information of the target device 200 when it transmits the signal;
[0129] 01102: Determine the target signal strength based on the signal strength and adjustment value of the signal received from the target device 200.
[0130] The prompting method described above can be implemented by the electronic device 100 of this application. Specifically, the first processor 10 is used to determine an adjustment value corresponding to the position information when the target device 200 transmits a signal, and to determine the target signal strength based on the signal strength of the received signal transmitted by the target device 200 and the adjustment value.
[0131] The prompting method described above can be implemented by the prompting device 12 of this application. Specifically, the calculation module 122 includes a first determining unit 12201 and a second determining unit 12202. The first determining unit 12201 is used to determine an adjustment value corresponding to the position information when the target device 200 transmits a signal. The second determining unit 12202 is used to determine the target signal strength based on the signal strength of the received signal transmitted by the target device 200 and the adjustment value.
[0132] In this way, the strength of the target signal can be determined quickly.
[0133] Specifically, in some embodiments, the correspondence between the adjustment value and the location information of the target device 200 when it transmits the signal can be stored on the electronic device 100. When the electronic device 100 determines the location information of the target device 200 when it transmits the signal, it can determine the adjustment value corresponding to the location information of the target device 200 when it transmits the signal based on this location information and the locally stored correspondence between the adjustment value and the location information. In some embodiments, the correspondence between the adjustment value and the location information of the target device 200 when it transmits the signal can be stored on a cloud server. When the electronic device 100 determines the location information of the target device 200 when it transmits the signal, it can determine the adjustment value corresponding to the location information of the target device 200 when it transmits the signal based on this location information and the correspondence between the adjustment value and the location information stored on the cloud server.
[0134] Furthermore, the adjustment value can include positive numbers, negative numbers, and zero. The adjustment value can be preset experimentally. For example, to maintain a desired prompting distance (e.g., 30 cm) between the target device 200 and the test device, first record the signal strength E9 of the signal emitted by the target device 200 received by the test device when the target device 200 is outside the housing, and use the signal strength E9 as the preset signal strength. Then, record the signal strength E10 of the signal emitted by the target device 200 received by the test device when the target device 200 is inside the housing, and use the difference between E9 and E10 as the adjustment value. Save the correspondence between the target device 200, the housing, the prompting distance, the adjustment value, and the preset signal strength so that the adjustment value and the preset signal strength can be quickly and accurately determined in practical applications.
[0135] In some embodiments, the adjustment value may include a sign and a value. The sign includes positive, negative, and unsigned (adjustment value is zero). The value is a non-negative number. The sign of the adjustment value can be determined based on the location information of the target device 200 when it transmits the signal. The value of the adjustment value may include the first preset value, second preset value, third preset value, fourth preset value, and zero. The first preset value, second preset value, third preset value, and fourth preset value are all positive numbers. When the sign of the adjustment value is positive, in step 01102, the signal strength of the received signal transmitted by the target device 200 can be summed with the adjustment value, and the result is used as the target signal strength. When the sign of the adjustment value is negative, in step 01102, the signal strength of the received signal transmitted by the target device 200 can be summed with the adjustment value, that is, the signal strength of the received signal transmitted by the target device 200 can be subtracted from the value of the adjustment value, and the result is used as the target signal strength. When the sign of the adjustment value is unsigned, that is, the value of the adjustment value is zero, in step 01102, the signal strength of the received signal transmitted by the target device 200 can be directly used as the target signal strength.
[0136] In some implementations, the adjustment value may be a fixed value obtained by comprehensively considering the distance between the target device 200 and the electronic device 100, the obstruction effect of other objects on the signal strength, the enhancement effect of other objects on the signal strength, or other influencing factors. Thus, based on the signal strength of the signal transmitted by the target device 200 and the adjustment value, the target signal strength is determined and compared with the preset signal strength, which can better determine whether to prompt the target device 200 with preset information.
[0137] In some implementations, the signal includes identification information of the target device 200, and there is a correspondence between the identification information and the adjustment value. Step 01101 includes: determining the adjustment value corresponding to the identification information and the position information of the target device 200 when it transmits the signal.
[0138] The prompting method described above can be implemented by the electronic device 100 of this application. Specifically, the first processor 10 is used to determine the adjustment value corresponding to the identification information and the position information when the target device 200 transmits the signal.
[0139] The prompting method described above can be implemented by the prompting device 12 of this application. Specifically, the first determining unit 12201 is used to determine the adjustment value corresponding to the identification information and the position information when the target device 200 transmits the signal.
[0140] In this way, the adjustment values corresponding to different types of target devices 200 can be determined. It is understood that the adjustment values corresponding to the same type of target device 200 are the same, while the adjustment values corresponding to different types of target devices 200 may be different. To accommodate more types of target devices 200, in some embodiments, there is a correspondence between the identification information of the target device 200, the location information of the target device 200 when transmitting the signal, and the adjustment value. Based on the identification information of the target device 200, the location information of the target device 200 when transmitting the signal, and this correspondence, the corresponding adjustment value can be determined.
[0141] Specifically, in some embodiments, the correspondence between the identification information of the target device 200, the location information of the target device 200 when transmitting the signal, and the adjustment value can be stored on the electronic device 100. When the electronic device 100 determines the identification information of the target device 200 and the location information of the target device 200 when transmitting the signal, it can determine the adjustment value corresponding to the identification information and the location information of the target device 200 when transmitting the signal based on the identification information, the location information, and the locally stored correspondence. In some embodiments, the correspondence between the identification information of the target device 200, the location information of the target device 200 when transmitting the signal, and the adjustment value can be stored on a cloud server. When the electronic device 100 determines the identification information of the target device 200 and the location information of the target device 200 when transmitting the signal, it can determine the adjustment value corresponding to the identification information and the location information of the target device 200 when transmitting the signal based on the identification information, the location information, and the correspondence.
[0142] Please see Figure 20 and Figure 21 In some implementations, prior to step 015, the prompting method further includes:
[0143] 017: Analyze the received signal transmitted by the device to be processed to determine whether the device to be processed is the target device 200;
[0144] Step 015 includes:
[0145] 0151: When the device to be processed is the target device 200, the received signal transmitted by the target device 200 is parsed to determine the location information of the target device 200 when it transmitted the signal.
[0146] The prompting method described above can be implemented by the electronic device 100 of this application. Specifically, the first processor 10 is used to parse the received signal transmitted by the device to be processed to determine whether the device to be processed is the target device 200, and when the device to be processed is the target device 200, to parse the received signal transmitted by the target device 200 to determine the location information of the target device 200 when transmitting the signal.
[0147] The prompting method described above can be implemented by the prompting device 12 of this application. Specifically, the prompting device 12 further includes a second parsing module 128. The second parsing module 128 is used to parse the received signal transmitted by the device to be processed to determine whether the device to be processed is the target device 200. The first parsing module 126 is also used to parse the received signal transmitted by the target device 200 when the device to be processed is the target device 200 to determine the location information of the target device 200 when it transmitted the signal.
[0148] Thus, when the device to be processed is not the target device 200, the received signal transmitted by the target device 200 is not further analyzed, which avoids unnecessary power consumption and improves the battery life of the electronic device 100. Specifically, the device to be processed is the device whose transmitted signal can be analyzed by the electronic device 100; the device whose transmitted signal cannot be analyzed by the electronic device 100 is not the device to be processed. The received signal transmitted by the device to be processed includes the identification information of the device to be processed, which may include device ID, device model, device name, etc. By analyzing the identification information, it can be determined whether the device to be processed is the target device 200. In addition, in this embodiment, the signal transmitted by the device to be processed is initially analyzed to determine whether the device to be processed is the target device 200. If the device to be processed is the target device 200, the signal transmitted by the device to be processed is further analyzed to determine the location of the device to be processed, that is, the location of the target device 200; if the device to be processed is not the target device 200, the signal transmitted by the device to be processed is not further analyzed, which can save the computational load and power of the electronic device 100. Understandably, the signal can be packaged and transmitted according to a proprietary protocol, allowing the determination of whether it is the target device 200 based on the signal's protocol. Furthermore, in some embodiments, the device to be processed may include both the target device 200 and a non-target device. Both the target device 200 and the non-target device are devices whose transmitted signals can be parsed by the electronic device 100. The target device 200 is the device to be processed that expects the electronic device 100 to display preset information (e.g., headphones of brand A), while the non-target device is the device to be processed that does not expect the electronic device 100 to display preset information (e.g., a computer, microphone, smart refrigerator, smart air conditioner, smart washing machine, headphones of brand B). Step 015 includes: when the device to be processed is a non-target device, not parsing the received signal transmitted by the non-target device. This prevents erroneous display of preset information by the non-target device when the target signal strength calculated based on the received signal strength of the non-target device is greater than or equal to the preset signal strength, thus avoiding disturbing the user of the electronic device 100. It is understandable that if the electronic device 100 immediately prompts the user with the preset information when the target signal strength calculated based on the signal strength of any signal from the device to be processed is greater than or equal to the preset signal strength, it may cause confusion for the user and reduce the user experience. Therefore, it is necessary to determine whether the received signal is the signal transmitted by the target device 200.
[0149] Please see Figure 22 and Figure 23 In some implementations, the signal includes an adjustment value, and prior to step 011, the prompting method further includes:
[0150] 019: Analyze the received signal transmitted by the target device 200 to determine the adjustment value.
[0151] The prompting method described above can be implemented by the electronic device 100 of this application. Specifically, the first processor 10 is used to parse the received signal transmitted by the target device 200 to determine the adjustment value.
[0152] The prompting method described above can be implemented by the prompting device 12 of this application. Specifically, the prompting device 12 includes a third parsing module 129. The third parsing module 129 is used to parse the received signal transmitted by the target device 200 to determine the adjustment value.
[0153] In this way, the electronic device 100 can quickly determine the target signal strength based on the adjustment value in the signal emitted by the target device 200.
[0154] Specifically, the correspondence between the adjustment value and the position information when the target device 200 transmits the signal can be stored at the target device 200. The target device 200 can integrate the adjustment value into the signal and transmit it to the electronic device 100. Then, the electronic device 100 can analyze the received signal transmitted by the target device 200 and determine the adjustment value.
[0155] In some embodiments, the adjustment value included in the signal may include a sign and a value. The sign includes positive, negative, and unsigned (adjustment value is zero). The value is a non-negative number. The sign of the adjustment value can be determined based on the location information of the target device 200 when it transmits the signal. The value of the adjustment value may include the first preset value, second preset value, third preset value, fourth preset value, and zero. The first preset value, second preset value, third preset value, and fourth preset value are all positive numbers. When the sign of the adjustment value is positive, the electronic device 100 can sum the signal strength of the received signal transmitted by the target device 200 with the adjustment value and use the result as the target signal strength. When the sign of the adjustment value is negative, the electronic device 100 can sum the signal strength of the received signal transmitted by the target device 200 with the adjustment value, that is, subtract the value of the adjustment value from the signal strength of the received signal transmitted by the target device 200 and use the result as the target signal strength. When the sign of the adjustment value is unsigned, that is, the value of the adjustment value is zero, the electronic device 100 can directly use the signal strength of the received signal transmitted by the target device 200 as the target signal strength.
[0156] In some implementations, the modulation value included in the signal is a non-negative numerical value. The target device 200 transmits a signal including location information and the modulation value to the electronic device 100. The electronic device determines, based on the received location information, how to obtain the target signal strength from the signal strength of the received signal transmitted by the target device 200 and the non-negative modulation value. Specifically, it determines to obtain the target strength by adding the non-negative modulation value to the signal strength of the received signal transmitted by the target device 200, or by subtracting the non-negative modulation value from the signal strength of the received signal transmitted by the target device 200.
[0157] Please see Figure 24 In some implementations, step 011 includes:
[0158] 01103: Determine the target signal strength based on the signal strength and adjustment value of the signal received from the target device 200.
[0159] The prompting method described above can be implemented by the electronic device 100 of this application. Specifically, the first processor 10 is used to determine the target signal strength based on the signal strength and adjustment value of the signal transmitted by the target device 200.
[0160] The prompting method described above can be implemented by the prompting device 12 of this application. Specifically, the calculation module 122 is used to determine the target signal strength based on the signal strength and adjustment value of the signal transmitted by the target device 200.
[0161] In this way, the electronic device 100 can quickly and accurately determine the target signal strength.
[0162] Specifically, when the adjustment value is positive, in step 01103, the signal strength of the received signal transmitted by the target device 200 can be summed with the adjustment value, and the result can be used as the target signal strength. When the adjustment value is negative, in step 01103, the signal strength of the received signal transmitted by the target device 200 can be summed with the adjustment value, that is, the signal strength of the received signal transmitted by the target device 200 can be subtracted from the absolute value of the adjustment value, and the result can be used as the target signal strength.
[0163] In some implementations, the signal includes identification information of the target device 200 and prompts preset information of the target device 200, including: prompting the identification information of the target device 200.
[0164] The prompting method described above can be implemented by the electronic device 100 of this application. Specifically, the first processor 10 is used to prompt the identification information of the target device 200.
[0165] The prompting method described above can be implemented by the prompting device 12 of this application. Specifically, the prompting module 124 is used to prompt the identification information of the target device 200.
[0166] In this way, the user can determine whether to connect to the target device 200 based on the identification information of the target device 200 provided.
[0167] Specifically, the identification information may include device ID, device model, device name, etc. In some embodiments, the identification information of the target device 200 may be prompted via voice or pop-up window. In some embodiments, a connection button is provided simultaneously with prompting the identification information of the target device 200. When the connection button is triggered, the electronic device 100 connects to the target device 200, thereby enabling data transmission between the electronic device 100 and the target device 200. In some embodiments, after the electronic device 100 connects to the target device 200 once, when the same electronic device 100 determines that the target signal strength of the same target device 200 is greater than or equal to a preset signal strength, the same electronic device 100 may not prompt the identification information of the same target device 200 again, and the same electronic device 100 may directly connect to the same target device 200. Alternatively, a connection success message may be displayed upon successful connection, because both parties retain connection information, such as pairing keys, after the initial connection, allowing for direct connection establishment in subsequent connections. Therefore, a connection success message can be displayed directly without requiring the user to click to establish a connection. Specifically, in some embodiments, while displaying the identification information of the target device 200 and providing a connection button, an optional box is also provided. When the optional box is selected, if the same electronic device 100 determines that the target signal strength of the same target device 200 is greater than or equal to the preset signal strength, the same electronic device 100 will no longer display the identification information of the same target device 200, and the same electronic device 100 will directly connect to the same target device 200. If the optional box is not selected, if the same electronic device 100 determines that the target signal strength of the same target device 200 is greater than or equal to the preset signal strength, the same electronic device 100 will still display the identification information of the same target device 200, the connection button, and the optional box. When the connection button is triggered, the same electronic device 100 will connect to the same target device 200 again.
[0168] Please see Figures 25-27 The notification method described in this application is used for a target device 200. The target device 200 is capable of wirelessly connecting to the electronic device 100. The notification method includes:
[0169] 021: Determine the location information of target device 200;
[0170] 023: Based on the location information, a signal is transmitted to the electronic device 100. The signal is used to trigger the electronic device 100 to determine the target signal strength based on the signal strength of the signal transmitted by the target device 200. The target signal strength corresponds to the location information when the target device 200 transmits the signal. When the target signal strength is greater than or equal to the preset signal strength, the preset information of the target device 200 is displayed.
[0171] The prompting method of this application embodiment can be implemented by the target device 200 of this application embodiment. Specifically, the target device 200 includes a second processor 20. The second processor 20 is used to determine the location information of the target device 200, and to transmit a signal to the electronic device 100 according to the location information. The signal is used to trigger the electronic device 100 to determine the target signal strength according to the signal strength of the received signal transmitted by the target device 200. The target signal strength corresponds to the location information when the target device 200 transmits the signal, and when the target signal strength is greater than or equal to a preset signal strength, the electronic device 100 prompts the target device 200 with preset information.
[0172] The prompting method of this application embodiment can be implemented by the prompting device 22 of this application embodiment. Specifically, the prompting device 22 is used for the target device 200. The prompting device 22 includes a determining module 222 and a transmitting module 224. The determining module 222 is used to determine the position information of the target device 200 relative to the housing. The transmitting module 224 is used to transmit a signal to the electronic device 100 according to the position information. The signal is used to trigger the electronic device 100 to determine the target signal strength according to the signal strength of the signal transmitted by the target device 200. The target signal strength corresponds to the position information of the target device 200 when transmitting the signal, and when the target signal strength is greater than or equal to a preset signal strength, the electronic device 100 prompts the target device 200 with preset information.
[0173] The above-mentioned prompting method, target device 200, and prompting device 22 take into account the location information of target device 200 and dynamically determine the target signal strength. Based on the target signal strength, they determine whether to prompt the target device 200 with preset information. This can better control the prompting distance, avoid causing users to be bothered by frequent prompts or no prompts at all, and improve the user experience.
[0174] Specifically, in some embodiments, the position information is the relative position of the target device 200 and the housing. In some embodiments, the housing includes a body and a top cover, the target device 200 can be housed in a cavity of the body, and the top cover is used to cooperate with the body to allow the housing to be in an open or closed state. When the target device 200 is housed in the cavity of the body and the housing is in the closed state, it is determined that the target device 200 is located inside the housing, and the target device 200 does not transmit a signal; when the target device 200 is housed in the cavity of the body and the housing is in the open state, it is determined that the target device 200 is located inside the housing, and the target device 200 can transmit a signal including the position information of the target device 200 to the electronic device 100; when the target device 200 is removed from the cavity of the body, it is determined that the target device 200 is located outside the housing, and the target device 200 can transmit a signal including the position information of the target device 200 to the electronic device 100.
[0175] Furthermore, the target device 200 can determine whether the housing is in an open state based on the electrical signals generated by devices such as light sensors, infrared sensors, or contact switches provided on the target device 200 and / or the housing. For example, an infrared receiver and an infrared transmitter are respectively provided on the body and top cover of the housing. When the housing is in a closed state, the infrared receiver can receive the infrared rays emitted by the infrared transmitter, thereby transmitting the relevant signal to the target device 200, and the target device 200 determines that the housing is in a closed state. When the housing is in an open state, the infrared receiver cannot receive the infrared rays emitted by the infrared transmitter, thereby transmitting the relevant signal to the target device 200, and the target device 200 determines that the housing is in an open state and transmits a signal. The target device 200 can also determine whether it is located inside the housing based on electrical signals generated by devices such as light sensors, infrared sensors, or contact switches. For example, if the housing has contacts and the target device 200 has contacts, when the contacts are in contact with the contacts, the target device 200 determines that it is inside the housing; when the contacts are disconnected, the target device 200 determines that it is outside the housing. Taking a Bluetooth headset as an example, and the housing as a headset case, after the Hall sensor or other opening detection device on the headset case detects that the case is open, it can transmit opening information to the Bluetooth headset through contacts such as a pogo pin between the Bluetooth headset and the headset case, thereby triggering the Bluetooth headset to transmit a BLE broadcast carrying location information.
[0176] In addition, the target device 200 has identification information, which may include part or all of the device ID, device model, device name, etc. In some embodiments, step 023 further includes: transmitting a signal including the identification information and location information of the target device 200 to the electronic device 100. The signal is used to trigger the electronic device 100 to parse the received signal and determine whether the device transmitting the signal is the target device 200 based on the identification information in the signal. If the device transmitting the signal is the target device 200, the received signal is further parsed to determine the location information of the target device 200. The target signal strength is determined based on the signal strength of the signal transmitted by the target device 200 and the location information. When the target signal strength is greater than or equal to a preset signal strength, preset information is displayed to the target device 200.
[0177] It should be noted that in step 023, in some embodiments, the target device 200 may be configured to transmit a signal to the electronic device 100 based on its location information only when the target device 200 is in discoverable mode. This can be done via BLE broadcasting or classic Bluetooth. The trigger condition for discoverable mode can be initial use after factory release (e.g., first time opening the case) or receiving a user-triggered command to activate discoverable mode (e.g., pressing a button). In some embodiments, the target device 200 may connect to two or more electronic devices 100 simultaneously. In one example, when target device M is used for the first time, i.e., when target device M is housed in a housing and the housing is initially open, target device M is in discoverable mode. Target device M then transmits a signal containing its location information to electronic devices, allowing it to be connected. After target device M establishes a connection with electronic device D1, it can be configured to automatically deactivate discoverable mode, ceasing to transmit signals containing its location information to other electronic devices. While target device M remains connected to electronic device D1, upon receiving an instruction to reactivate discoverable mode, target device M reactivates and re-enters discoverable mode, again transmitting signals containing its location information to other electronic devices, allowing it to be connected. After target device M establishes a connection with another electronic device D2, it can again automatically deactivate discoverable mode, ceasing to transmit signals containing its location information to other electronic devices, and this cycle repeats.
[0178] In some embodiments, the signal includes location information, which triggers the electronic device to determine an adjustment value corresponding to the location information of the target device when it transmits the signal. Based on the signal strength of the received signal transmitted by the target device and the adjustment value, the target signal strength is determined. In some embodiments, the signal also includes identification information of the target device, which triggers the electronic device to determine an adjustment value corresponding to the identification information and the location information of the target device when it transmits the signal. In some embodiments, the signal includes an adjustment value corresponding to the location information, which triggers the electronic device to determine the target signal strength based on the signal strength of the received signal transmitted by the target device and the adjustment value. This facilitates the electronic device in determining the target signal strength.
[0179] Specifically, the adjustment value can be positive or negative. The adjustment value can be preset experimentally. For example, to maintain a desired prompting distance (e.g., 30 cm) between the target device 200 and the test device, first record the signal strength E9 of the signal emitted by the target device 200 received by the test device when the target device 200 is outside the housing, and use the signal strength E9 as the preset signal strength. Then, record the signal strength E10 of the signal emitted by the target device 200 received by the test device when the target device 200 is inside the housing, and use the difference between E9 and E10 as the adjustment value. Save the correspondence between the target device 200, the housing, the prompting distance, the adjustment value, and the preset signal strength so that the adjustment value and the preset signal strength can be quickly and accurately determined in practical applications.
[0180] Please see Figure 28 and Figure 29 The notification method described in this application is used in a wireless connection system 1000. The wireless connection system 1000 includes an electronic device 100 and a target device 200. The target device 200 is capable of wirelessly connecting to the electronic device 100. The notification method includes:
[0181] 031: The target device 200 determines its location information and, based on the location information, transmits a signal to the electronic device 100;
[0182] 033: Electronic device 100 determines the target signal strength based on the signal strength of the signal received from the target device 200. The target signal strength corresponds to the location information of the target device 200 when it transmits the signal. When the target signal strength is greater than or equal to the preset signal strength, the electronic device 100 prompts the target device 200 with the preset information.
[0183] The notification method described in this application can be implemented by the wireless connection system 1000 described in this application. Specifically, the wireless connection system 1000 includes an electronic device 100 and a target device 200, and the electronic device 100 is capable of wirelessly connecting with the target device 200. The target device 200 is used to determine its location information and, based on the location information, transmits a signal to the electronic device 100. The electronic device 100 is used to determine the target signal strength based on the signal strength of the received signal transmitted by the target device 200. The target signal strength corresponds to the location information of the target device 200 when transmitting the signal. When the target signal strength is greater than or equal to a preset signal strength, the electronic device 100 provides preset information to the target device 200.
[0184] The above-mentioned prompting method and wireless connection system 1000 take into account the location information of the target device 200 and dynamically determine the target signal strength. Based on the target signal strength, they determine whether to prompt the target device 200 with preset information. This can better control the prompting distance, avoid causing users to be bothered by frequent prompts or no prompts at all, and improve the user experience.
[0185] It should be noted that the above explanation of the prompting method, electronic device 100 and target device 200 implementation methods and beneficial effects also applies to the prompting method and wireless connection system 1000 of this embodiment. To avoid redundancy, they will not be elaborated in detail here.
[0186] Specifically, the target device 200 includes a second processor 20, which is used to determine the location information of the target device 200 and transmit a signal to the electronic device 100 based on the location information. The electronic device 100 includes a first processor 10, which is used to determine the target signal strength based on the signal strength of the received signal transmitted by the target device 200. The target signal strength corresponds to the location information of the target device 200 when transmitting the signal. When the target signal strength is greater than or equal to a preset signal strength, the first processor 10 prompts the target device 200 with preset information.
[0187] The computer-readable storage medium of the present application embodiments stores a computer program that, when executed by a processor, implements the prompting method steps of any of the above embodiments.
[0188] For example, when the program is executed by the processor, the steps to implement the following prompt method are:
[0189] 011: Determine the target signal strength based on the signal strength of the signal received from the target device 200. The target signal strength corresponds to the position information of the target device 200 when it transmitted the signal.
[0190] 013: When the target signal strength is greater than or equal to the preset signal strength, the preset information of the target device 200 will be displayed.
[0191] It is understood that a computer program includes computer program code. Computer program code can be in the form of source code, object code, executable files, or certain intermediate forms. Computer-readable storage media can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, external hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), and software distribution media, etc. The processor 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.
[0192] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0193] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the function involved, as will be understood by those skilled in the art to which embodiments of this application pertain.
[0194] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.
Claims
1. A prompting method for an electronic device, characterized in that, The electronic device is capable of wirelessly connecting to a target device, and the prompting method includes: The target signal strength is determined based on the signal strength of the signal received from the target device. The target signal strength corresponds to the location information of the target device when it transmits the signal. The location information includes being inside the containment and being outside the containment. When the target signal strength is greater than or equal to the preset signal strength, the target device is prompted with preset information; Determining the target signal strength based on the signal strength of the received signal transmitted by the target device includes: When the location information indicates that the target device is located inside the containment, the signal strength of the received signal emitted by the target device is added to a first preset value to obtain the target signal strength; when the location information indicates that the target device is located outside the containment, the signal strength of the received signal emitted by the target device is directly used as the target signal strength; or, When the location information indicates that the target device is located inside the containment, the signal strength of the received signal emitted by the target device is directly used as the target signal strength; when the location information indicates that the target device is located outside the containment, the signal strength of the received signal emitted by the target device is subtracted from the second preset value to obtain the target signal strength; or, When the location information indicates that the target device is located inside the containment, the signal strength of the received signal emitted by the target device is subtracted from the signal strength of the received signal emitted by the target device to obtain the target signal strength; when the location information indicates that the target device is located outside the containment, the signal strength of the received signal emitted by the target device is directly used as the target signal strength; or, When the location information indicates that the target device is located inside the containment, the signal strength of the signal received from the target device is directly used as the target signal strength; when the location information indicates that the target device is located outside the containment, the signal strength of the signal received from the target device is added to a fourth preset value to obtain the target signal strength.
2. The prompting method according to claim 1, characterized in that, The preset signal strength includes a first signal strength, and the step of prompting the target device with preset information when the target signal strength is greater than or equal to the preset signal strength includes: When the target signal strength is greater than or equal to the first signal strength, the target device is prompted with preset information.
3. The prompting method according to claim 1, characterized in that, The preset signal strength includes a second signal strength, and the step of prompting the target device with preset information when the target signal strength is greater than or equal to the preset signal strength includes: When the target signal strength is greater than or equal to the second signal strength, the target device is prompted with preset information.
4. The prompting method according to claim 1, characterized in that, The preset signal strength includes a third signal strength, and the step of prompting the target device with preset information when the target signal strength is greater than or equal to the preset signal strength includes: When the target signal strength is greater than or equal to the third signal strength, the target device is prompted with preset information.
5. The prompting method according to claim 1, characterized in that, The preset signal strength includes a fourth signal strength, and the step of prompting the target device with preset information when the target signal strength is greater than or equal to the preset signal strength includes: When the target signal strength is greater than or equal to the fourth signal strength, the target device is prompted with preset information.
6. The prompting method according to claim 1, characterized in that, The signal includes the location information when the target device transmits the signal. Before determining the target signal strength based on the signal strength of the received signal transmitted by the target device, the prompting method further includes: The received signal transmitted by the target device is analyzed to determine the location information of the target device when it transmitted the signal.
7. The prompting method according to claim 6, characterized in that, Determining the target signal strength based on the signal strength of the received signal transmitted by the target device includes: Determine the adjustment value corresponding to the position information when the target device transmits the signal; The target signal strength is determined based on the signal strength and the adjustment value of the signal received from the target device.
8. The prompting method according to claim 7, characterized in that, The signal includes identification information of the target device, and the identification information corresponds to the adjustment value. Determining the adjustment value corresponding to the position information when the target device transmits the signal includes: Determine the adjustment value corresponding to the identification information and the location information when the target device transmits the signal.
9. The prompting method according to claim 6, characterized in that, Before parsing the received signal emitted by the target device to determine the location information of the target device when it emitted the signal, the prompting method further includes: Analyze the received signal transmitted by the device to be processed to determine whether the device to be processed is the target device; The step of parsing the received signal transmitted by the target device to determine the location information of the target device when it transmitted the signal includes: When the device to be processed is the target device, the received signal transmitted by the target device is parsed to determine the location information when the target device transmitted the signal.
10. The prompting method according to claim 7, characterized in that, The signal includes an adjustment value, and before determining the target signal strength based on the signal strength of the received signal emitted by the target device, the prompting method further includes: The received signal transmitted by the target device is analyzed to determine the adjustment value.
11. The prompting method according to claim 10, characterized in that, Determining the target signal strength based on the signal strength of the received signal transmitted by the target device includes: The target signal strength is determined based on the signal strength and the adjustment value of the signal received from the target device.
12. The prompting method according to claim 1, characterized in that, The signal includes the identification information of the target device, and the preset information prompting the target device includes: The system displays the identification information of the target device.
13. A prompting method for a target device, characterized in that, The target device is capable of wirelessly connecting to electronic devices, and the prompting method includes: Determine the location information of the target device, the location information including whether it is located inside the containment or outside the containment; Based on the location information, a signal is transmitted to the electronic device. The signal is used to trigger the electronic device to determine the target signal strength based on the signal strength of the signal transmitted by the target device. The target signal strength corresponds to the location information when the target device transmits the signal. When the target signal strength is greater than or equal to a preset signal strength, preset information is displayed to the target device. The electronic device determines the target signal strength based on the signal strength of the signal received from the target device, including: When the location information indicates that the target device is located inside the containment, the signal strength of the received signal emitted by the target device is added to a first preset value to obtain the target signal strength; when the location information indicates that the target device is located outside the containment, the signal strength of the received signal emitted by the target device is directly used as the target signal strength; or, When the location information indicates that the target device is located inside the containment, the signal strength of the received signal emitted by the target device is directly used as the target signal strength; when the location information indicates that the target device is located outside the containment, the signal strength of the received signal emitted by the target device is subtracted from the second preset value to obtain the target signal strength; or, When the location information indicates that the target device is located inside the containment, the signal strength of the received signal emitted by the target device is subtracted from the signal strength of the received signal emitted by the target device to obtain the target signal strength; when the location information indicates that the target device is located outside the containment, the signal strength of the received signal emitted by the target device is directly used as the target signal strength; or, When the location information indicates that the target device is located inside the containment, the signal strength of the signal received from the target device is directly used as the target signal strength; when the location information indicates that the target device is located outside the containment, the signal strength of the signal received from the target device is added to a fourth preset value to obtain the target signal strength.
14. The prompting method according to claim 13, characterized in that, The signal includes the location information, which is used to trigger the electronic device to determine an adjustment value corresponding to the location information when the target device transmits the signal, and to determine the target signal strength based on the signal strength of the received signal transmitted by the target device and the adjustment value.
15. The prompting method according to claim 14, characterized in that, The signal also includes identification information of the target device, which is used to trigger the electronic device to determine the adjustment value corresponding to the identification information and the location information when the target device transmits the signal.
16. The prompting method according to claim 13, characterized in that, The signal includes an adjustment value, which triggers the electronic device to determine the target signal strength based on the signal strength of the signal received from the target device and the adjustment value.
17. A notification method for a wireless connection system, characterized in that, The wireless connection system includes an electronic device and a target device, the target device being capable of wirelessly connecting to the electronic device, and the prompting method includes: The target device determines its location information and transmits a signal to the electronic device based on the location information, wherein the location information includes being inside the containment and being outside the containment; The electronic device determines the target signal strength based on the signal strength of the signal received from the target device. The target signal strength corresponds to the location information of the target device when it transmits the signal. When the target signal strength is greater than or equal to a preset signal strength, the electronic device prompts the target device with preset information. The electronic device determines the target signal strength based on the signal strength of the signal received from the target device, including: When the location information indicates that the target device is located inside the containment, the signal strength of the received signal emitted by the target device is added to a first preset value to obtain the target signal strength; when the location information indicates that the target device is located outside the containment, the signal strength of the received signal emitted by the target device is directly used as the target signal strength; or, When the location information indicates that the target device is located inside the containment, the signal strength of the received signal emitted by the target device is directly used as the target signal strength; when the location information indicates that the target device is located outside the containment, the signal strength of the received signal emitted by the target device is subtracted from the second preset value to obtain the target signal strength; or, When the location information indicates that the target device is located inside the containment, the signal strength of the received signal emitted by the target device is subtracted from the signal strength of the received signal emitted by the target device to obtain the target signal strength; when the location information indicates that the target device is located outside the containment, the signal strength of the received signal emitted by the target device is directly used as the target signal strength; or, When the location information indicates that the target device is located inside the containment, the signal strength of the signal received from the target device is directly used as the target signal strength; when the location information indicates that the target device is located outside the containment, the signal strength of the signal received from the target device is added to a fourth preset value to obtain the target signal strength.
18. An electronic device, characterized in that, The electronic device is capable of wirelessly connecting to a target device, and the electronic device includes a first processor, the first processor being configured to: The target signal strength is determined based on the signal strength of the signal received from the target device. The target signal strength corresponds to the location information of the target device when it transmits the signal. The location information includes being inside the containment and being outside the containment. When the target signal strength is greater than or equal to the preset signal strength, the target device is prompted with preset information; Determining the target signal strength based on the signal strength of the received signal transmitted by the target device includes: When the location information indicates that the target device is located inside the containment, the signal strength of the received signal emitted by the target device is added to a first preset value to obtain the target signal strength; when the location information indicates that the target device is located outside the containment, the signal strength of the received signal emitted by the target device is directly used as the target signal strength; or, When the location information indicates that the target device is located inside the containment, the signal strength of the received signal emitted by the target device is directly used as the target signal strength; when the location information indicates that the target device is located outside the containment, the signal strength of the received signal emitted by the target device is subtracted from the second preset value to obtain the target signal strength; or, When the location information indicates that the target device is located inside the containment, the signal strength of the received signal emitted by the target device is subtracted from the signal strength of the received signal emitted by the target device to obtain the target signal strength; when the location information indicates that the target device is located outside the containment, the signal strength of the received signal emitted by the target device is directly used as the target signal strength; or, When the location information indicates that the target device is located inside the containment, the signal strength of the signal received from the target device is directly used as the target signal strength; when the location information indicates that the target device is located outside the containment, the signal strength of the signal received from the target device is added to a fourth preset value to obtain the target signal strength.
19. A target device, characterized in that, The target device is capable of wirelessly connecting to an electronic device, and the target device includes a second processor, the second processor being used for: Determine the location information of the target device, the location information including whether it is located inside the containment or outside the containment; Based on the location information, a signal is transmitted to the electronic device. The signal is used to trigger the electronic device to determine the target signal strength based on the signal strength of the signal transmitted by the target device. The target signal strength corresponds to the location information when the target device transmits the signal. When the target signal strength is greater than or equal to a preset signal strength, preset information is displayed to the target device. The electronic device determines the target signal strength based on the signal strength of the signal received from the target device, including: When the location information indicates that the target device is located inside the containment, the signal strength of the received signal emitted by the target device is added to a first preset value to obtain the target signal strength; when the location information indicates that the target device is located outside the containment, the signal strength of the received signal emitted by the target device is directly used as the target signal strength; or, When the location information indicates that the target device is located inside the containment, the signal strength of the received signal emitted by the target device is directly used as the target signal strength; when the location information indicates that the target device is located outside the containment, the signal strength of the received signal emitted by the target device is subtracted from the second preset value to obtain the target signal strength; or, When the location information indicates that the target device is located inside the containment, the signal strength of the received signal emitted by the target device is subtracted from the signal strength of the received signal emitted by the target device to obtain the target signal strength; when the location information indicates that the target device is located outside the containment, the signal strength of the received signal emitted by the target device is directly used as the target signal strength; or, When the location information indicates that the target device is located inside the containment, the signal strength of the signal received from the target device is directly used as the target signal strength; when the location information indicates that the target device is located outside the containment, the signal strength of the signal received from the target device is added to a fourth preset value to obtain the target signal strength.
20. A wireless connection system, characterized in that, The wireless connectivity system includes an electronic device and a target device, wherein the electronic device is capable of wirelessly connecting to the target device. The target device is used to determine the location information of the target device, and transmit a signal to the electronic device according to the location information, wherein the location information includes being inside the containment and being outside the containment; The electronic device is used to determine the target signal strength based on the signal strength of the signal transmitted by the target device, wherein the target signal strength corresponds to the location information when the target device transmits the signal, and when the target signal strength is greater than or equal to a preset signal strength, it prompts the target device with preset information. The electronic device is further configured to, when the location information indicates that the device is located inside the containment, add a first preset value to the signal strength of the received signal emitted by the target device to obtain the target signal strength; and when the location information indicates that the device is located outside the containment, directly use the signal strength of the received signal emitted by the target device as the target signal strength; or, When the electronic device is located within the containment, the signal strength of the signal received from the target device is directly used as the target signal strength; when the location information indicates that the device is located outside the containment, the signal strength of the signal received from the target device is subtracted by a second preset value to obtain the target signal strength; or, When the electronic device is located inside the containment according to the location information, the signal strength of the received signal emitted by the target device is subtracted from the signal strength of the received signal emitted by the target device to obtain the target signal strength; when the location information indicates that the device is located outside the containment, the signal strength of the received signal emitted by the target device is directly used as the target signal strength; or, When the electronic device is located inside the containment according to the location information, the signal strength of the signal received from the target device is directly used as the target signal strength; when the location information indicates that the device is located outside the containment, the signal strength of the signal received from the target device is added to a fourth preset value to obtain the target signal strength.
21. A prompting device for an electronic device, characterized in that, The electronic device is capable of wirelessly connecting to a target device, and the prompting device includes: The calculation module is used to determine the target signal strength based on the signal strength of the signal received from the target device, wherein the target signal strength corresponds to the location information of the target device when it transmits the signal, and the location information includes being inside the containment and being outside the containment; The prompting module is used to prompt the target device with preset information when the target signal strength is greater than or equal to the preset signal strength; The calculation module is further configured to, when the location information indicates that the device is located inside the containment, add a first preset value to the signal strength of the received signal emitted by the target device to obtain the target signal strength; and when the location information indicates that the device is located outside the containment, directly use the signal strength of the received signal emitted by the target device as the target signal strength; or, The calculation module is further configured to, when the location information indicates that the target device is located inside the containment, directly use the signal strength of the received signal emitted by the target device as the target signal strength; and when the location information indicates that the target device is located outside the containment, subtract a second preset value from the signal strength of the received signal emitted by the target device to obtain the target signal strength; or, The calculation module is further configured to, when the location information indicates that the device is located inside the containment, subtract a third preset value from the signal strength of the received signal emitted by the target device to obtain the target signal strength; and when the location information indicates that the device is located outside the containment, directly use the signal strength of the received signal emitted by the target device as the target signal strength; or, The calculation module is further configured to, when the location information indicates that the target device is located inside the containment, directly use the signal strength of the received signal emitted by the target device as the target signal strength; and when the location information indicates that the target device is located outside the containment, add a fourth preset value to the signal strength of the received signal emitted by the target device to obtain the target signal strength.
22. A prompting device for a target device, characterized in that, The target device is capable of wirelessly connecting to electronic devices, and the prompting device includes: A determining module is used to determine the location information of the target device, the location information including being located inside the containment and being located outside the containment; The transmitting module is used to transmit a signal to the electronic device according to the location information. The signal is used to trigger the electronic device to determine the target signal strength according to the signal strength of the signal transmitted by the target device. The target signal strength corresponds to the location information when the target device transmits the signal. When the target signal strength is greater than or equal to a preset signal strength, the module prompts the target device with preset information. The electronic device determines the target signal strength based on the signal strength of the signal received from the target device, including: When the location information indicates that the target device is located inside the containment, the signal strength of the received signal emitted by the target device is added to a first preset value to obtain the target signal strength; when the location information indicates that the target device is located outside the containment, the signal strength of the received signal emitted by the target device is directly used as the target signal strength; or, When the location information indicates that the target device is located inside the containment, the signal strength of the received signal emitted by the target device is directly used as the target signal strength; when the location information indicates that the target device is located outside the containment, the signal strength of the received signal emitted by the target device is subtracted from the second preset value to obtain the target signal strength; or, When the location information indicates that the target device is located inside the containment, the signal strength of the received signal emitted by the target device is subtracted from the signal strength of the received signal emitted by the target device to obtain the target signal strength; when the location information indicates that the target device is located outside the containment, the signal strength of the received signal emitted by the target device is directly used as the target signal strength; or, When the location information indicates that the target device is located inside the containment, the signal strength of the signal received from the target device is directly used as the target signal strength; when the location information indicates that the target device is located outside the containment, the signal strength of the signal received from the target device is added to a fourth preset value to obtain the target signal strength.
23. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by a processor, it implements the prompting method according to any one of claims 1-17.