Method, device, electronic device and storage medium for displaying prompt information

By dynamically processing the received broadcast message signal strength and combining the device status, the problem of false display of prompt information in electronic devices is solved, and the accuracy of user experience and device linkage is improved.

CN115767443BActive Publication Date: 2025-01-07GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111040150.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-06
Publication Date
2025-01-07
Estimated Expiration
2041-09-06

AI Technical Summary

Technical Problem

When the existing electronic devices determine the received signal strength of the broadcast message transmitted by other devices, they fail to consider the device status, resulting in the error display of prompt information and affecting the user experience.

Method used

By obtaining the received signal strength and device status corresponding to the received broadcast message, dynamically process the signal strength, and decide whether to display prompt information based on the device status, specifically including enhancing signal processing in the pairing state, attenuating or maintaining signal processing in the back-connected state .

Benefits of technology

Effectively control the display of prompt information, avoid disturbing users, improve user experience, and improve the accuracy and user interaction between devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115767443B_ABST
    Figure CN115767443B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, electronic device and storage medium for displaying prompt information, and relates to the technical field of electronic devices. The method is applied to a first electronic device, and the method includes: obtaining a received signal strength corresponding to a received broadcast message transmitted by a second electronic device, obtaining a state of the second electronic device, processing the received signal strength according to the state of the second electronic device, obtaining the processed received signal strength, and displaying the target information when the processed received signal strength is greater than a target strength threshold. The present application dynamically processes the received signal strength corresponding to the received broadcast message according to the state of the electronic device to determine the display of the prompt information, thereby better controlling the display of the prompt information, avoiding disturbing the user and improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic devices, and more specifically, to a method and device for displaying prompt information, an electronic device, and a storage medium. Background Art

[0002] With the development of science and technology, electronic devices are used more and more widely and have more and more functions, and have become one of the necessities in people's daily life. At present, more and more electronic devices begin to support the function of quickly finding and displaying prompts of other electronic devices. Summary of the invention

[0003] In view of the above problems, the present application proposes a method, device, electronic device and storage medium for displaying prompt information to solve the above problems.

[0004] In a first aspect, an embodiment of the present application provides a method for displaying prompt information, which is applied to a first electronic device, and the method includes: obtaining a received signal strength corresponding to a received broadcast message, wherein the broadcast message is transmitted by a second electronic device; obtaining a state of the second electronic device, processing the received signal strength according to the state of the second electronic device, and obtaining a processed received signal strength; when the processed received signal strength is greater than a target strength threshold, displaying target information.

[0005] In a second aspect, an embodiment of the present application provides a method for displaying prompt information, which is applied to a first electronic device, and the method includes: obtaining a distance value between the first electronic device and a second electronic device; obtaining a state of the second electronic device, processing the distance value according to the state of the second electronic device, and obtaining a processed distance value; when the processed distance value is less than a target distance threshold, displaying target information.

[0006] In a third aspect, an embodiment of the present application provides a method for displaying prompt information, which is applied to a first electronic device, and the method includes: when the state of the second electronic device is a pairing state, displaying target information, wherein the pairing state is used to represent that the second electronic device is about to perform a pairing operation with the first electronic device; or when the state of the second electronic device is a reconnection state, not displaying the target information, wherein the reconnection state is used to represent that the second electronic device is about to perform a reconnection operation after pairing.

[0007] In a fourth aspect, an embodiment of the present application provides a prompt information display device, which is applied to a first electronic device, and the device includes: a received signal strength acquisition module, used to obtain a received signal strength corresponding to a received broadcast message, wherein the broadcast message is transmitted by a second electronic device; a received signal strength processing module, used to obtain a state of the second electronic device, and process the received signal strength according to the state of the second electronic device to obtain a processed received signal strength; a prompt information display module, used to display target information when the processed received signal strength is greater than a target strength threshold.

[0008] In a fifth aspect, an embodiment of the present application provides a device for displaying prompt information, which is applied to a first electronic device, and the device includes: a distance value acquisition module, used to obtain the distance value between the first electronic device and the second electronic device; a distance value processing module, used to obtain the state of the second electronic device, and process the distance value according to the state of the second electronic device to obtain the processed distance value; a prompt information display module, used to display target information when the processed distance value is less than a target distance threshold.

[0009] In a sixth aspect, an embodiment of the present application provides a prompt information display device, which is applied to a first electronic device, and the device includes: a prompt information display module, which is used to display target information when the state of the second electronic device is a pairing state, wherein the pairing state is used to indicate that the second electronic device is about to perform a pairing operation with the first electronic device; or a prompt information prohibition display module, which is used to not display the target information when the state of the second electronic device is a reconnection state, wherein the reconnection state is used to indicate that the second electronic device is about to perform a reconnection operation after pairing.

[0010] In a seventh aspect, an embodiment of the present application provides an electronic device, comprising a memory and a processor, wherein the memory is coupled to the processor, the memory stores instructions, and when the instructions are executed by the processor, the processor executes the above method.

[0011] In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a program code is stored, and the program code can be called by a processor to execute the above method.

[0012] The display method, device, electronic device and storage medium of prompt information provided in the embodiments of the present application obtain the received signal strength corresponding to the received broadcast message transmitted by the second electronic device, obtain the state of the second electronic device, process the received signal strength according to the state of the second electronic device, obtain the processed received signal strength, and display the target information when the processed received signal strength is greater than the target strength threshold, so as to determine the display of the prompt information by dynamically processing the received signal strength corresponding to the received broadcast message according to the state of the electronic device, thereby better controlling the display of the prompt information, avoiding disturbing the user and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0014] Figure 1 A schematic diagram of a first application environment provided in an embodiment of the present application is shown;

[0015] Figure 2 A schematic diagram of a second application environment that can be provided in an embodiment of the present application is shown;

[0016] Figure 3 A schematic diagram of a third application environment that can be used in the embodiment of the present application is shown;

[0017] Figure 4 A schematic diagram showing a flow chart of a method for displaying prompt information provided by an embodiment of the present application;

[0018] Figure 5 A schematic diagram showing a flow chart of a method for displaying prompt information provided by an embodiment of the present application;

[0019] Figure 6 A schematic diagram showing a flow chart of a method for displaying prompt information provided by an embodiment of the present application;

[0020] Figure 7 A schematic diagram showing a flow chart of a method for displaying prompt information provided by an embodiment of the present application;

[0021] Figure 8 A schematic diagram showing a flow chart of a method for displaying prompt information provided by an embodiment of the present application;

[0022] Fig. 9 A schematic diagram showing a flow chart of a method for displaying prompt information provided by an embodiment of the present application;

[0023] Fig.10 A schematic diagram showing a flow chart of a method for displaying prompt information provided by an embodiment of the present application;

[0024] Fig.11 This application shows Fig.10 The flowchart of step S820 of the method for displaying prompt information is shown;

[0025] Fig.12 An example flowchart that can be used in embodiments of the present application is shown;

[0026] Fig.13 A schematic diagram showing a flow chart of a method for displaying prompt information provided by an embodiment of the present application;

[0027] Fig.14 A schematic diagram showing a flow chart of a method for displaying prompt information provided by an embodiment of the present application;

[0028] Fig.15 A module block diagram of a display device for prompt information provided by an embodiment of the present application is shown;

[0029] Fig.16 A module block diagram of a display device for prompt information provided by an embodiment of the present application is shown;

[0030] Fig.17 A module block diagram of a display device for prompt information provided by an embodiment of the present application is shown;

[0031] Fig.18 A block diagram of an electronic device for executing a method for displaying prompt information according to an embodiment of the present application is shown;

[0032] Fig.19 A storage unit for storing or carrying program codes for implementing a method for displaying prompt information according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0033] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0034] The Internet of Things (IoT) is a network concept that extends and expands the user end of the "Internet concept" to any objects and objects for information exchange and communication. With the development of IoT technology, some scenarios can be configured in the IoT system. For the configured scenario, multiple electronic devices may be involved, and there is a certain linkage relationship between the multiple electronic devices, and they can work together. For example, the configured scenario may include that when one electronic device is close to another electronic device, at least one of the two electronic devices will perform a specified operation, for example, one of the electronic devices outputs a connection prompt information, and the connection prompt information is used to prompt the connection with the other electronic device.

[0035] like Figure 1 As shown, the first electronic device 100 may be a user terminal (for example, a smart phone), and the second electronic device 200 may be a true wireless Bluetooth headset (true wireless stereo, TWS) device. When the second electronic device 200 is close to the first electronic device 100, the first electronic device 100 displays a pop-up box information 110, in which the power of the TWS Bluetooth headset device can be displayed, and connection prompt information can be displayed. In one embodiment, the TWS Bluetooth headset device may include an earphone 220 and an earphone box 210, and the earphone box 210 can accommodate the earphone 220. In one embodiment, the inner wall of the shell of the earphone box 210 forms an accommodating cavity, and the earphone 220 can be accommodated in the accommodating cavity of the earphone box 210. In addition, the earphone box 210 can not only provide an accommodating cavity for accommodating the earphone 220, but also communicate with the earphone 220, so as to obtain information such as the power, name or network parameters of the earphone 220, so that the user terminal can successfully pair with the earphone 220 through the earphone box 210 and achieve communication connection. As an implementation method, the earphone box 210 is also used to charge the earphone 220. In one embodiment, when the lid of the earphone box 210 is opened, the earphone 220 can be triggered to transmit a Bluetooth low energy (BLE) broadcast. After receiving the BLE broadcast, the first electronic device 100, such as a smart phone, can pop up a pop-up window on the display screen of the first electronic device 100. The pop-up window can provide the user with an operating interface for quickly connecting to the earphone 220, or can simultaneously display the power level of the earphone 220 and the power level of the earphone box 210 in the pop-up window information.

[0036] Currently, the distance between two electronic devices can be determined by the received signal strength of one electronic device received by another electronic device, wherein the distance measurement formula is as follows:

[0037]

[0038] In formula (1), d represents the distance between two electronic devices, RSSI represents the received signal strength of a signal received by one electronic device from another electronic device, A is a reference distance, which is usually a constant, and B is a path loss factor. It can be seen from formula (1) that the distance d and RSSI are in a one-to-one correspondence. Therefore, it is usually possible to determine whether the distance between one electronic device and another electronic device is less than a preset distance, or whether one electronic device enters the preset range of another electronic device, usually by obtaining the received signal strength of another electronic device received by one electronic device, and then determining whether the received signal strength is greater than a strength threshold to determine whether one electronic device enters the preset range of another electronic device.

[0039] In one embodiment, it is assumed that two electronic devices are a first electronic device 100 and a second electronic device 200. When the second electronic device 200 starts the wireless communication module, the second electronic device 200 transmits a broadcast signal to the surroundings. Figure 2 As shown, assuming that the first electronic device 100 is a user terminal, and the second electronic device 200 is a TWS Bluetooth headset device, when the second electronic device 200 is close to the first electronic device 100, the cover of the headset box 210 is in a closed state, then at this time, the headset box 210 will not emit a broadcast signal to the surroundings, that is, Figure 2 As shown, the first electronic device 100 does not receive the broadcast signal transmitted by the earphone box 210, and does not display the pop-up box information 110. When the cover of the first electronic device 100 is in an open state, such as Figure 3 As shown, the headset 220 transmits a broadcast signal, which can be received by the first electronic device 100, and when the received signal strength of the received broadcast signal is greater than the strength threshold, the pop-up information 110 is displayed, that is, the first device within the distance range corresponding to the strength threshold of the second electronic device will display the pop-up information 110. By setting the strength threshold, the pop-up window can be controlled to be triggered only when the first electronic device 100 and the second electronic device 200 are within a certain distance, which can avoid accidentally triggering the pop-up window of other people's mobile phones to a certain extent.

[0040] In some embodiments, the wireless communication module may be a Wi-Fi module or a Bluetooth module. In an embodiment of the present application, the wireless communication module may be a Bluetooth module, and the first electronic device 100 and the second electronic device 200 may be connected via Bluetooth, then the broadcast signal may be a Bluetooth broadcast signal, for example, a BLE broadcast. When the second electronic device 200 is within the signal receiving range of the first electronic device 100, the first electronic device 100 can detect the broadcast signal of the second electronic device 200, and then can determine the signal strength of the broadcast signal received by the second electronic device 200, that is, the received signal strength. As the distance between the first electronic device 100 and the second electronic device 200 approaches, the received signal strength of the first electronic device 100 gradually increases. When the detected received signal strength is greater than the strength threshold, the first electronic device 100 displays a pop-up message.

[0041] The first electronic device 100 and the second electronic device 200 may establish a wireless connection (eg, a Bluetooth connection). For example, a connection button is displayed in the pop-up information 110 displayed by the first electronic device 100, such as Figure 3 As shown in the connection control 111 , when a user clicks the connection control 111 , a connection between the first electronic device 100 and the second electronic device 200 can be achieved.

[0042] Electronic devices can support the function of quickly discovering other electronic devices and displaying prompts. The electronic devices judge whether to display prompt information mainly by directly comparing the received signal strength of the broadcast messages transmitted by other electronic devices with the set strength threshold. In other words, the electronic devices will directly compare the received signal strength of the broadcast messages received from other electronic devices with the strength threshold to determine whether to display the prompt information, but fail to consider and identify the status of other devices, resulting in the phenomenon of erroneous display of prompt information, causing disturbance to users and affecting user experience.

[0043] In view of the above problems, the inventors have found through long-term research that they have proposed a method, device, electronic device, and storage medium for displaying prompt information provided in the embodiments of the present application. According to the state of the electronic device, the received signal strength corresponding to the received broadcast message is dynamically processed to determine the display of the prompt information, thereby better controlling the display of the prompt information, avoiding disturbing the user, and improving the user experience. The method for displaying the prompt information is described in detail in the subsequent embodiments.

[0044] See also Figure 4 , Figure 4The flowchart of the method for displaying prompt information provided by an embodiment of the present application is shown. The method is used to dynamically process the received signal strength corresponding to the received broadcast message according to the state of the electronic device to determine the display of the prompt information, thereby better controlling the display of the prompt information, avoiding interruption to the user and improving the user experience. In an embodiment of the present application, the method for displaying prompt information is applied to Fig.15 The display device 300 for displaying prompt information and the electronic device (first electronic device) 100 equipped with the display device 300 for displaying prompt information ( Fig.18 ). It is understandable that the electronic device used in this embodiment can be a smart phone, a tablet computer, a wearable electronic device, etc., which is not limited here. Figure 4 The process shown is described in detail, and the method for displaying the prompt information may specifically include the following steps:

[0045] Step S110: Acquire a received signal strength corresponding to a received broadcast message, where the broadcast message is transmitted by a second electronic device.

[0046] In this embodiment, when the first electronic device is within the broadcast coverage of the second electronic device, the first electronic device can receive the broadcast message transmitted by the second electronic device. In one embodiment, when the first electronic device receives the broadcast message transmitted by the second electronic device, the received signal strength of the received broadcast message can be obtained.

[0047] In some implementations, the first electronic device can calculate the received signal strength of the broadcast message based on the received broadcast message. In one calculation method, the received signal strength = RxPower-SystemGain, where RxPower is the received power in the signal band obtained by performing analog / digital conversion on the received wireless signal and then filtering by the digital front end (DFE); SystemGain represents the system gain, which can be estimated based on the RF front end.

[0048] In some embodiments, the first electronic device is a smartphone and the second electronic device is a TWS Bluetooth headset device. When the headset box (charging device) containing the headset is opened, the headset can automatically turn on and try to transmit a broadcast message to try to establish a Bluetooth connection with the smartphone. When the headset box of the TWS Bluetooth headset device is closed, the headset can automatically turn off and stop transmitting broadcast messages. Accordingly, when the smartphone is within the broadcast range of the headset, the broadcast message transmitted by the headset can be received, and the received signal strength of the broadcast message transmitted by the headset can be obtained.

[0049] It can be understood that when the second electronic device transmits a broadcast message, if there is only one first electronic device within the broadcast coverage of the second electronic device, only the one first electronic device can receive the broadcast message transmitted by the second electronic device and obtain the received signal strength of the broadcast message; if there are multiple first electronic devices within the broadcast coverage of the second electronic device, all of the multiple first electronic devices can receive the broadcast message transmitted by the second electronic device and obtain the received signal strength of the broadcast message.

[0050] Step S120: Acquire the state of the second electronic device, process the received signal strength according to the state of the second electronic device, and obtain the processed received signal strength.

[0051] In some implementations, the first electronic device may receive a broadcast message transmitted by the second electronic device, and based on the broadcast message, obtain the state of the second electronic device. As an implementable manner, the broadcast message transmitted by the second electronic device may carry identification information of the second electronic device, and after receiving the broadcast message transmitted by the second electronic device, the first electronic device may parse the broadcast message to obtain the identification information of the second electronic device carried in the broadcast message, and based on the identification information, obtain the state of the second electronic device.

[0052] In this embodiment, after obtaining the state of the second electronic device, the first electronic device can process the received signal strength corresponding to the broadcast message according to the state of the second electronic device to obtain the processed received signal strength. As an implementable method, the first electronic device can pre-set and store multiple processing methods, then after obtaining the state of the second electronic device, it can obtain the processing method corresponding to the state of the second electronic device from the multiple processing methods according to the state of the second electronic device, and process the received signal strength by the processing method corresponding to the state of the second electronic device to obtain the processed received signal strength.

[0053] As an implementable manner, the first electronic device may pre-establish and store a first mapping relationship table, and the first mapping relationship table may include at least two states, at least two processing methods for received signal strength, and a correspondence between at least two states and at least the processing methods, wherein each of the at least two states may correspond to one or more processing methods, which is not limited here. Please refer to Table 1, the at least two states in the first mapping relationship table may include a first state, a second state, and a third state, and the at least two processing methods in the first mapping relationship table may include a first processing method, a second processing method, and a third processing method, wherein there is a correspondence between the first state and the first processing method, there is a correspondence between the second state and the second processing method, and there is a correspondence between the third state and the third processing method.

[0054] Table 1

[0055] state Processing First State First treatment method Second State Second treatment method The third state The third treatment method …… ……

[0056] Based on the above mapping relationship table, when it is determined that the state of the second electronic device is the first state, it can be determined that the received signal strength is processed by the first processing method; when it is determined that the state of the second electronic device is the second state, it can be determined that the received signal strength is processed by the second processing method, and so on. For example, when the first state is the pairing state, the first processing method corresponding to the first state may include enhanced processing. For another example, when the second state is the reconnection state, the second processing method corresponding to the second state may include attenuation processing or maintenance processing.

[0057] In some embodiments, processing the received signal strength according to the state of the second electronic device may include enhancing, attenuating, or maintaining. That is, the received signal strength may be enhanced according to the state of the second electronic device to obtain the processed received signal strength; the received signal strength may be attenuated according to the state of the second electronic device to obtain the processed received signal strength; the received signal strength may be maintained according to the state of the second electronic device. Among them, enhancing the received signal strength means that a certain value may be compensated on the basis of the received signal strength to increase the received signal strength; attenuating the received signal strength means that a certain value may be subtracted on the basis of the received signal strength to reduce the received signal strength; maintaining the received signal strength means that the received signal strength may be kept unchanged.

[0058] Step S130: When the processed received signal strength is greater than the target strength threshold, display target information.

[0059] In some embodiments, after obtaining the processed received signal strength, the first electronic device may compare the processed received signal strength with a target strength threshold to determine whether the processed received signal strength is greater than the target strength threshold. Wherein, when it is determined that the processed received signal strength is not greater than the target strength threshold, it can be determined that the processed received signal strength does not meet the signal strength requirement for displaying a prompt, and the target information can be intercepted, for example, the target information may not be displayed. Wherein, when it is determined that the processed received signal strength is greater than the target strength threshold, it can be determined that the processed received signal strength meets the signal strength requirement for displaying a prompt, and the target information is displayed.

[0060] In some embodiments, the first electronic device may display the target information in any of the following ways: displaying the target information on a display interface, displaying the target information in a pop-up window on the display interface, displaying the target information in a status bar, etc., which are not limited here.

[0061] In some embodiments, the state of the second electronic device may include a pairing state and a reconnection state. When the state of the second electronic device is a pairing state, the target information may be connection prompt information, that is, the target information may be used to prompt the user to perform a pairing connection operation with the second electronic device. When the state of the second electronic device is a reconnection state, the target information may be connection success prompt information, that is, the target information may be used to prompt that the reconnection with the second electronic device has been successfully performed.

[0062] A method for displaying prompt information provided by an embodiment of the present application obtains a received signal strength corresponding to a broadcast message transmitted by a second electronic device, obtains a state of the second electronic device, processes the received signal strength according to the state of the second electronic device, obtains the processed received signal strength, and displays the target information when the processed received signal strength is greater than a target strength threshold, thereby dynamically processing the received signal strength corresponding to the received broadcast message according to the state of the electronic device to determine the display of the prompt information, thereby better controlling the display of the prompt information, avoiding disturbing the user and improving the user experience.

[0063] See also Figure 5 , Figure 5 The flowchart of the method for displaying prompt information provided by an embodiment of the present application is shown in FIG. Figure 5 The process shown is described in detail, and the method for displaying the prompt information may specifically include the following steps:

[0064] Step S210: Acquire a received signal strength corresponding to a received broadcast message, where the broadcast message is transmitted by a second electronic device.

[0065] Step S220: Acquire the state of the second electronic device.

[0066] For the detailed description of step S210 to step S220, please refer to step S110 to step S120, which will not be repeated here.

[0067] Step S230: When the second electronic device is in a pairing state, the received signal strength is enhanced to obtain the processed received signal strength, wherein the pairing state is used to indicate that the second electronic device is about to perform a pairing operation with the first electronic device.

[0068] As a method, the state of the second electronic device may include a pairing state. The second electronic device is in a pairing state, which means that other electronic devices within the broadcast coverage of the second electronic device can scan the second electronic device, and can be paired and connected with the second electronic device. When the second electronic device is in a pairing state, the second electronic device can be in a state where it can be discovered and connected. In this embodiment, the pairing state can be used to characterize that the second electronic device is about to perform a pairing operation with the first electronic device, wherein the second electronic device is about to perform a pairing operation with the first electronic device and may include: all processes from the first electronic device scanning the second electronic device to the successful pairing with the second electronic device.

[0069] In some embodiments, when it is determined that the state of the second electronic device is a pairing state, it can be considered that the second electronic device expects to pair and connect with the first electronic device, and the first electronic device can be made to display the target information as much as possible to prompt the user to establish a connection with the second electronic device. Based on this, in this embodiment, the received signal strength corresponding to the received broadcast message can be enhanced, that is, a certain value is compensated on the basis of the received signal strength corresponding to the broadcast message to increase the received signal strength to obtain the processed received signal strength. It can be understood that at this time, the processed received signal strength is greater than the received signal strength corresponding to the received broadcast message, so that the processed received signal strength is easier to be greater than the strength threshold than the received signal strength corresponding to the received broadcast message, thereby increasing the probability of displaying the target information.

[0070] Step S240: When the state of the second electronic device is the reconnection state, attenuate or maintain the received signal strength to obtain the processed received signal strength, wherein the reconnection state is used to represent the reconnection operation of the second electronic device to be performed after pairing.

[0071] As a method, the state of the second electronic device may include a reconnection state, wherein the second electronic device is in the reconnection state, which means that the second electronic device is trying to reconnect with a previously paired and connected device by paging.

[0072] In this embodiment, when the second electronic device is in the back-connection state, the received signal strength may be attenuated or maintained.

[0073] For example, assuming that the first electronic device has been paired with the second electronic device before, and when the second electronic device wants to connect back to the first electronic device that was previously paired, the first electronic device can maintain the received signal strength, that is, the received signal strength corresponding to the broadcast message remains unchanged. It can be understood that at this time, the processed received signal strength is equal to the received signal strength corresponding to the received broadcast message, so that the first electronic device compares the received signal strength with the strength threshold normally to determine whether to display the target information. When the second electronic device wants to connect back to other electronic devices that have been paired, the first electronic device can attenuate the received signal strength, that is, subtract a certain value from the received signal strength corresponding to the broadcast message to reduce the received signal strength to obtain the processed received signal strength. It can be understood that at this time, the processed received signal strength is less than the received signal strength corresponding to the received broadcast message, so that the processed received signal strength is more likely to be not greater than the strength threshold than the received signal strength corresponding to the received broadcast message, thereby reducing the probability of displaying the target information.

[0074] Step S250: When the processed received signal strength is greater than the target strength threshold, display target information.

[0075] For the detailed description of step S350, please refer to step S130, which will not be repeated here.

[0076] The method for displaying prompt information provided in one embodiment of the present application obtains the received signal strength corresponding to the broadcast message transmitted by the second electronic device, obtains the state of the second electronic device, and when the state of the second electronic device is a pairing state, enhances the received signal strength to obtain the processed received signal strength, or when the state of the second electronic device is a reconnection state, attenuates or maintains the received signal strength to obtain the processed received signal strength, and when the processed received signal strength is greater than the target strength threshold, displays the target information. Compared to Figure 4The method for displaying the prompt information shown in the figure, this embodiment also achieves better control over the display of the prompt information by enhancing the received signal strength when the electronic device is in a pairing state, or attenuating or maintaining the received signal strength when the electronic device is in a reconnecting state, thereby avoiding disturbing the user and improving the user experience.

[0077] See also Figure 6 , Figure 6 The flowchart of the method for displaying prompt information provided by an embodiment of the present application is shown in FIG. Figure 6 The process shown is described in detail, and the method for displaying the prompt information may specifically include the following steps:

[0078] Step S310: Acquire a received signal strength corresponding to a received broadcast message, where the broadcast message is transmitted by a second electronic device.

[0079] Step S320: Acquire the state of the second electronic device.

[0080] For the detailed description of step S310 to step S320, please refer to step S110 to step S120, which will not be repeated here.

[0081] Step S330: In response to the intensity threshold selection instruction, determine a target intensity threshold from multiple intensity thresholds.

[0082] In some embodiments, the first electronic device may pre-set and store at least two strength thresholds of different sizes. For example, the first electronic device may pre-set and store a first strength threshold and a second strength threshold, and the first strength threshold and the second strength threshold are different in size. For another example, the first electronic device may pre-set and store a first strength threshold, a second strength threshold, a third strength threshold ... an Nth strength threshold, and the first strength threshold, the second strength threshold, the third strength threshold ... the Nth strength threshold are different in size.

[0083] As an implementable manner, take the first electronic device being provided with a first strength threshold and a second strength threshold as an example. The first strength threshold is relatively large, and the second strength threshold is relatively small, for example, the first strength threshold is greater than the standard strength threshold, and the second strength threshold is less than the standard strength threshold. The standard strength threshold is standard, and the first electronic device normally triggers the display of target information at the standard strength threshold. Since the first strength threshold is greater than the standard strength threshold, the first electronic device is not easy to trigger the display of target information at the first strength threshold. Since the second strength threshold is less than the standard strength threshold, the first electronic device is easy to trigger the display of target information at the first strength threshold.

[0084] As another practicable manner, take the first electronic device being provided with a first strength threshold and a second strength threshold as an example. The probability that the first electronic device triggers the target information to be displayed at the first strength threshold is lower than a preset probability, and the probability that the first electronic device triggers the target information to be displayed at the second strength threshold is higher than a preset probability. The preset probability refers to the probability that the first electronic device normally triggers the target information to be displayed.

[0085] As a method, the first electronic device may pre-set and store a plurality of intensity thresholds, and the user may manually select one of the plurality of intensity thresholds as the target intensity threshold.

[0086] As another way, the first electronic device may pre-set and store a plurality of intensity thresholds, and the user may automatically select one of the plurality of intensity thresholds as the target intensity threshold.

[0087] As an implementable manner, the first electronic device may display multiple intensity thresholds for the user to select from. When a selection operation acting on one of the displayed multiple intensity thresholds is detected, a selection instruction may be generated based on the selection operation, and in response to the selection instruction, the selected intensity threshold may be determined as the target intensity threshold from the multiple intensity thresholds, thereby improving the user's interactive experience.

[0088] In some embodiments, the first electronic device may provide an intensity threshold selection interface for the user to select and determine a target intensity threshold from multiple intensity thresholds each time the device is turned on or when the device is turned on for the first time. Upon receiving an intensity threshold selection instruction triggered by the intensity threshold selection interface, the first electronic device may respond to the intensity threshold selection instruction and determine a target intensity threshold from multiple intensity thresholds.

[0089] Among them, step S330 can be set before step S310-step S320, and can also be set after step S310-step S320, which is not limited here.

[0090] Step S340: Processing the received signal strength according to the state of the second electronic device and the target strength threshold to obtain the processed received signal strength.

[0091] In this embodiment, after obtaining the state of the second electronic device, the first electronic device can process the received signal strength corresponding to the broadcast message according to the state of the second electronic device and the target strength threshold, and obtain the processed received signal strength. As an implementable method, the first electronic device can pre-set and store multiple processing methods, then after obtaining the state of the second electronic device, according to the state of the second electronic device and the target strength threshold, obtain the processing method corresponding to the state of the second electronic device and the target strength threshold from the multiple processing methods, and process the received signal strength by the processing method corresponding to the state of the second electronic device and the target strength threshold, and obtain the processed received signal strength.

[0092] As an implementable manner, the first electronic device may pre-establish and store a second mapping relationship table, which may include at least two states, at least two target strength thresholds, at least two processing methods for the received signal strength, and a correspondence between at least two states, at least two target strength thresholds, and at least processing methods, wherein each of the at least two states may correspond to one or more target strength thresholds and one or more processing methods, which is not limited here. Please refer to Table 2, the at least two states in the second mapping relationship table may include a first state and a second state, the at least two target strength thresholds in the second mapping relationship table may include a first strength threshold and a second strength threshold, and the at least two processing methods in the second mapping relationship table may include a first processing method, a second processing method, and a third processing method. Among them, there is a correspondence between the first state, the first strength threshold, and the first processing method, there is a correspondence between the first state, the second strength threshold, and the second processing method, there is a correspondence between the second state, the first strength threshold, and the second processing method, and there is a correspondence between the second state, the second strength threshold, and the third processing method.

[0093] Table 2

[0094] state Target Strength Threshold Processing First State First intensity threshold First treatment method First State Second intensity threshold Second treatment method Second State First intensity threshold Second treatment method Second State Second intensity threshold The third treatment method

[0095] Based on the above mapping relationship table, when it is determined that the state of the second electronic device is the first state and the target strength threshold is the first strength threshold, it can be determined that the received signal strength is processed by the first processing method; when it is determined that the state of the second electronic device is the second state and the target strength threshold is the second strength threshold, it can be determined that the received signal strength is processed by the third processing method, and so on. For example, when the first state is a pairing state and the first strength threshold is a higher strength threshold, the corresponding first processing method may include enhanced processing. For another example, when the second state is a reconnected state and the second strength threshold is a lower strength threshold, the corresponding third processing method may include attenuation processing.

[0096] Step S350: When the processed received signal strength is greater than the target strength threshold, the target information is displayed.

[0097] For the detailed description of step S350, please refer to step S130, which will not be repeated here.

[0098] The method for displaying prompt information provided by an embodiment of the present application obtains the received signal strength of the broadcast message transmitted by the second electronic device, obtains the state of the second electronic device, and in response to the strength threshold selection instruction, determines the target strength threshold from multiple strength thresholds, processes the received signal strength according to the state of the second electronic device and the target strength threshold, obtains the processed received signal strength, and displays the target information when the processed received signal strength is greater than the target strength threshold. Figure 4 The method for displaying the prompt information shown in the figure, this embodiment also processes the received signal strength according to the state of the second electronic device and the target strength threshold, thereby improving the accuracy of the processed received signal strength.

[0099] See also Figure 7 , Figure 7 The flowchart of the method for displaying prompt information provided by an embodiment of the present application is shown in FIG. Figure 7 The process shown is described in detail. In this embodiment, the target intensity threshold is a first intensity threshold, and the probability that the first electronic device triggers the display of target information under the first intensity threshold is lower than a preset probability. The method for displaying the prompt information may specifically include the following steps:

[0100] Step S410: Acquire a received signal strength corresponding to a received broadcast message, where the broadcast message is transmitted by a second electronic device.

[0101] Step S420: Acquire the state of the second electronic device.

[0102] For the detailed description of step S410 to step S420, please refer to step S110 to step S120, which will not be repeated here.

[0103] Step S430: When the second electronic device is in a pairing state, enhance the received signal strength to obtain the processed received signal strength, wherein the pairing state is used to indicate that the second electronic device is about to perform a pairing operation with the first electronic device.

[0104] In this embodiment, the target strength threshold is a first strength threshold, wherein the probability of the first electronic device triggering the display of the target information under the first strength threshold is lower than the preset probability. That is, the first electronic device can set the target strength threshold to a higher value, in which case a larger received signal strength is not likely to cause the first electronic device to trigger the display of the target information.

[0105] In some embodiments, when it is determined that the state of the second electronic device is a pairing state, it can be considered that the second electronic device expects to pair with the first electronic device, and the first electronic device can be made to display the target information as much as possible to prompt the user corresponding to the first electronic device to establish a connection with the second electronic device. At this time, since the target strength threshold set by the first electronic device is the first strength threshold, that is, if the received signal strength corresponding to the received broadcast message is directly used for comparison, the received signal strength corresponding to the broadcast message is very likely to be less than the target strength threshold, so that the target information cannot be triggered to display. Based on this, in this embodiment, the received signal strength corresponding to the received broadcast message can be enhanced, that is, a certain value is compensated on the basis of the received signal strength corresponding to the broadcast message to increase the received signal strength to obtain the processed received signal strength. It can be understood that at this time, the processed received signal strength is greater than the received signal strength corresponding to the received broadcast message, so that the processed received signal strength is easier to be greater than the strength threshold than the received signal strength corresponding to the received broadcast message, thereby increasing the display probability of the target information.

[0106] Step S440: When the state of the second electronic device is a reconnection state, the received signal strength is maintained or attenuated to obtain the received signal strength after the processing, wherein the reconnection state is used to represent the reconnection operation of the second electronic device to be performed after pairing.

[0107] In some embodiments, when it is determined that the second electronic device is in a reconnected state, it can be considered that the second electronic device does not want to pair with the first electronic device, and the first electronic device can be prevented from displaying the target information as much as possible to reduce disturbance to the user of the first electronic device.

[0108] As a way, since the target strength threshold set by the first electronic device is the first strength threshold, that is, if the received signal strength corresponding to the received broadcast message is directly used for comparison, the received signal strength corresponding to the broadcast message is very likely to be less than the target strength threshold, so that the target information cannot be triggered for display. Based on this, in this embodiment, the received signal strength corresponding to the received broadcast message can be maintained (not processed). It can be understood that at this time, the received signal strength after processing is equal to the received signal strength corresponding to the received broadcast message, so that the received signal strength after processing is easily not greater than the strength threshold, thereby reducing the probability of displaying the target information.

[0109] As another way, since the target strength threshold set by the first electronic device is the first strength threshold, that is, if the received signal strength corresponding to the received broadcast message is directly used for comparison, the received signal strength corresponding to the broadcast message is very likely to be less than the target strength threshold, but there is also the possibility that the received signal strength corresponding to the broadcast message is not less than the target strength threshold. Based on this, in this embodiment, the received signal strength corresponding to the received broadcast message can be attenuated. It can be understood that at this time, the received signal strength after processing is less than the received signal strength corresponding to the received broadcast message, so that the received signal strength after processing is more likely to be no greater than the strength threshold, thereby reducing the probability of displaying the target information.

[0110] Step S450: When the processed received signal strength is greater than the target strength threshold, the target information is displayed.

[0111] For the detailed description of step S450, please refer to step S130, which will not be repeated here.

[0112] A method for displaying prompt information provided in an embodiment of the present application obtains the received signal strength corresponding to the broadcast message transmitted by the second electronic device, obtains the state of the second electronic device, and when the state of the second electronic device is a pairing state, enhances the received signal strength to obtain the processed received signal strength, or, when the state of the second electronic device is a reconnection state, maintains or attenuates the received signal strength to obtain the processed received signal strength, and when the processed received signal strength is greater than a first strength threshold, displays the target information, wherein the probability of the first electronic device triggering the display of the target information at the first strength threshold is lower than a preset probability. Compared to Figure 4The method for displaying the prompt information shown in the figure, this embodiment also processes the received signal strength according to the state of the second electronic device and the target strength threshold, and enhances the received signal strength when the target strength threshold is large and the second electronic device is in a pairing state, and maintains or attenuates the received signal strength when the target strength threshold is large and the second electronic device is in a reconnecting state, so as to better control the display of the prompt information, avoid disturbing the user and improve the user experience.

[0113] See also Figure 8 , Figure 8 The flowchart of the method for displaying prompt information provided by an embodiment of the present application is shown in FIG. Figure 8 The process shown is described in detail. In this embodiment, the target intensity threshold is the second intensity threshold, and the probability that the first electronic device triggers the display of the target information under the second intensity threshold is higher than the preset probability. The display method of the prompt information may specifically include the following steps:

[0114] Step S510: Acquire a received signal strength corresponding to a received broadcast message, where the broadcast message is transmitted by a second electronic device.

[0115] Step S520: Acquire the state of the second electronic device.

[0116] For the detailed description of step S510 to step S520, please refer to step S110 to step S120, which will not be repeated here.

[0117] Step S530: When the second electronic device is in a pairing state, the received signal strength is maintained or enhanced to obtain the processed received signal strength, wherein the pairing state is used to indicate that the second electronic device is about to perform a pairing operation with the first electronic device.

[0118] In this embodiment, the target strength threshold is the second strength threshold, wherein the probability of the first electronic device triggering the display of the target information under the first strength threshold is higher than the preset probability. That is, the first electronic device can set the target strength threshold to a lower value, in which case a smaller received signal strength can also easily cause the first electronic device to trigger the display of the target information.

[0119] In some embodiments, when it is determined that the second electronic device is in a pairing state, it can be considered that the second electronic device desires to pair and connect with the first electronic device, and the first electronic device can be made to display target information as much as possible to prompt the user corresponding to the first electronic device to establish a connection with the second electronic device.

[0120] As a way, since the target strength threshold set by the first electronic device is the second strength threshold, that is, if the received signal strength corresponding to the received broadcast message is directly used for comparison, the received signal strength corresponding to the broadcast message is very likely to be greater than the target strength threshold, so that the target information can be triggered for display. Based on this, in this embodiment, the received signal strength corresponding to the received broadcast message can be maintained (not processed). It can be understood that at this time, the received signal strength after processing is equal to the received signal strength corresponding to the received broadcast message, so that the received signal strength after processing is more likely to be greater than the strength threshold, thereby increasing the probability of displaying the target information.

[0121] As another way, since the target strength threshold set by the first electronic device is the second strength threshold, that is, if the received signal strength corresponding to the received broadcast message is directly used for comparison, the received signal strength corresponding to the broadcast message is very likely to be greater than the target strength threshold, but the received signal strength corresponding to the broadcast message may not be greater than the target strength threshold. Based on this, in this embodiment, the received signal strength corresponding to the received broadcast message can be enhanced. It can be understood that at this time, the received signal strength after processing is greater than the received signal strength corresponding to the received broadcast message, so that the received signal strength after processing is more likely to be greater than the strength threshold, thereby increasing the probability of displaying the target information.

[0122] Step S540: When the state of the second electronic device is a back-connection state, attenuate the received signal strength to obtain the received signal strength after the processing, wherein the back-connection state is used to indicate that the second electronic device is to perform a back-connection operation after pairing.

[0123] In some embodiments, when it is determined that the state of the second electronic device is a reconnection state, it can be considered that the second electronic device does not expect to be paired with the first electronic device, and the first electronic device can be made not to display the target information as much as possible to reduce the disturbance to the user corresponding to the first electronic device. At this time, since the target strength threshold set by the first electronic device is the second strength threshold, that is, if the received signal strength corresponding to the received broadcast message is directly used for comparison, the received signal strength corresponding to the broadcast message is very likely to be greater than the target strength threshold, so that the target information can be triggered to display. Based on this, in this embodiment, the received signal strength corresponding to the received broadcast message can be attenuated, that is, a certain value is subtracted from the received signal strength corresponding to the broadcast message to reduce the received signal strength to obtain the processed received signal strength. It can be understood that at this time, the processed received signal strength is less than the received signal strength corresponding to the received broadcast message, so that the processed received signal strength is easier to be not greater than the strength threshold than the received signal strength corresponding to the received broadcast message, thereby reducing the display probability of the target information.

[0124] Step S550: When the processed received signal strength is greater than the target strength threshold, display target information.

[0125] For the detailed description of step S550, please refer to step S130, which will not be repeated here.

[0126] A method for displaying prompt information provided in an embodiment of the present application obtains the received signal strength corresponding to the broadcast message transmitted by the second electronic device, obtains the state of the second electronic device, and when the state of the second electronic device is a pairing state, maintains or enhances the received signal strength to obtain the processed received signal strength, or, when the state of the second electronic device is a reconnection state, attenuates the received signal strength to obtain the processed received signal strength, and when the processed received signal strength is greater than a second strength threshold, displays the target information, wherein the probability of the second electronic device triggering the display of the target information at the first strength threshold is higher than the preset probability. Compared to Figure 4 The method for displaying the prompt information shown in the figure, this embodiment also processes the received signal strength according to the state of the second electronic device and the target strength threshold, and maintains or enhances the received signal strength when the target strength threshold is small and the second electronic device is in a pairing state, and attenuates the received signal strength when the target strength threshold is small and the second electronic device is in a reconnecting state, so as to better control the display of the prompt information, avoid disturbing the user and improve the user experience.

[0127] See also Fig. 9 , Fig. 9The flowchart of the method for displaying prompt information provided by an embodiment of the present application is shown in FIG. Fig. 9 The process shown is described in detail, and the method for displaying the prompt information may specifically include the following steps:

[0128] Step S610: Acquire a received signal strength corresponding to a received broadcast message, where the broadcast message is transmitted by a second electronic device.

[0129] For the detailed description of step S610 , please refer to step S110 , which will not be repeated here.

[0130] Step S620: Based on the broadcast message, obtain the state of the second electronic device.

[0131] In some implementations, after receiving a broadcast message transmitted by a second electronic device, the first electronic device may obtain the state of the second electronic device based on the broadcast message.

[0132] As a method, after receiving a broadcast message transmitted by a second electronic device, the first electronic device can parse the broadcast message, obtain the content carried by the broadcast message, and obtain the state of the second electronic device based on the content carried by the broadcast message.

[0133] In some embodiments, the broadcast message transmitted by the second electronic device may carry the identification information of the second electronic device. Based on this, after receiving the broadcast message transmitted by the second electronic device, the first electronic device may parse the broadcast message and obtain the identification information carried by the broadcast message, wherein the identification information is used to indicate the state of the second electronic device.

[0134] As an implementable method, the second electronic device can write the identification information in the flag bit of its broadcast message. Accordingly, when the second electronic device sends a broadcast message, it can carry the identification information in the broadcast message. Then, after receiving the broadcast message sent by the second electronic device, the first electronic device can parse the broadcast message to obtain the identification information on the flag bit of the broadcast message.

[0135] As a method, the identification information can be used to identify the state of the second electronic device. For example, the identification information can identify the "pairing state" or the "reconnection state". Then, when the first electronic device obtains the identification information of the broadcast message, it can determine whether the state of the second electronic device is the "pairing state" or the "reconnection state".

[0136] In some embodiments, the identification information may include first identification information or second identification information, wherein when the identification information is the first identification information, it can be determined that the state of the second electronic device is a pairing state, and when the identification information is the second identification information, it can be determined that the state of the second electronic device is a backconnection state.

[0137] In some implementations, when the identification information of the broadcast message is obtained, the state of the second electronic device can be obtained based on the identification information. For example, the state of the second electronic device can be determined to be a pairing state based on the identification information, or the state of the second electronic device can be determined to be a reconnection state based on the identification information, which is not limited here.

[0138] In this embodiment, the identification information may be connection information representing the second electronic device.

[0139] In some embodiments, after obtaining the identification information of the broadcast message transmitted by the second electronic device, the first electronic device can determine whether there is a connection record for the second electronic device based on the identification information (connection information). When it is determined based on the identification information that there is no connection record for the second electronic device, it indicates that the second electronic device has not been paired and connected with the electronic device before, that is, when the electronic device transmits the broadcast message this time, it is to pair and connect with the electronic device, that is, it can be determined that the state of the electronic device is a pairing state. In this embodiment, since the first electronic device receives the broadcast message transmitted by the second electronic device, and determines that the state of the second electronic device is a pairing state based on the broadcast message, it can be considered that the pairing state is used to indicate that the second electronic device is to perform a pairing operation with the first electronic device.

[0140] In some embodiments, after obtaining the identification information of the broadcast message transmitted by the second electronic device, the first electronic device can determine whether the second electronic device stores the address information of other electronic devices based on the identification information (connection information). For example, it can determine whether the second electronic device stores the MAC address of other electronic devices based on the identification information. When it is determined based on the identification information that the second electronic device does not store the address information of other electronic devices, it can be determined that there is no connection record for the second electronic device. That is, when it is determined based on the identification information that the second electronic device does not store the address information of other electronic devices, it indicates that the second electronic device has not been paired and connected with other electronic devices before. That is, when the second electronic device transmits the broadcast message this time, it is to pair and connect with the first electronic device. That is, it can be determined that the state of the second electronic device is a pairing state.

[0141] In some embodiments, after obtaining the identification information of the broadcast message transmitted by the second electronic device, the first electronic device can determine whether there is a connection record for the second electronic device based on the identification information (connection information). When it is determined based on the identification information that there is a connection record for the second electronic device, it indicates that the second electronic device has been paired and connected with other electronic devices before, that is, when the electronic device transmits the broadcast message this time, it is to reconnect with the electronic device that has been paired and connected before, that is, it can be determined that the state of the electronic device is a reconnection state. In this embodiment, since the first electronic device receives the broadcast message transmitted by the second electronic device, and determines that the state of the second electronic device is a reconnection state based on the broadcast message, it can be considered that the reconnection state is used to characterize the reconnection operation to be performed by the second electronic device.

[0142] In some embodiments, after obtaining the identification information of the broadcast message transmitted by the second electronic device, the first electronic device can determine whether the second electronic device stores the address information of other electronic devices based on the identification information (connection information). For example, it can determine whether the second electronic device stores the MAC address of other electronic devices based on the identification information. When it is determined that the second electronic device stores the address information of other electronic devices based on the identification information, it can be determined that there is a connection record for the second electronic device. That is, when it is determined that the second electronic device stores the address information of other electronic devices based on the identification information, it indicates that the second electronic device has been paired and connected with other electronic devices before. That is, when the second electronic device transmits the broadcast message this time, it is not for pairing and connecting with the first electronic device (it is for reconnecting with other electronic devices). That is, it can be determined that the state of the electronic device is a reconnecting state.

[0143] As a method, when there is a connection record for the second electronic device, it can be detected whether the second electronic device has performed a reconnection operation and failed to reconnect when transmitting the broadcast message this time. When the second electronic device has performed a reconnection operation and failed to reconnect, it can be considered that the second electronic device has switched from the reconnection state to the pairing state, that is, it is determined that the state of the second electronic device is the pairing state, not the reconnection state.

[0144] As another way, when there is a connection record for the second electronic device, it can be detected whether the second electronic device has received an instruction to switch to the pairing state when sending the broadcast message this time. For example, the user long presses a button on the earphone box 210 to switch the state. When it is detected that the second electronic device has received an instruction to switch to the pairing state, it can be considered that the second electronic device has switched from the reconnecting state to the pairing state, that is, it is determined that the state of the second electronic device is the pairing state, not the reconnecting state.

[0145] When there is a connection record for the second electronic device, and the second electronic device has not performed a back-connection operation and the second electronic device has not received an instruction to switch to the pairing state, it can be determined that the state of the second electronic device is the back-connection state.

[0146] Step S630: Process the received signal strength according to the state of the second electronic device to obtain a processed received signal strength.

[0147] Step S640: When the processed received signal strength is greater than the target strength threshold, the target information is displayed.

[0148] For the detailed description of step S630 to step S640, please refer to step S120 to step S130, which will not be repeated here.

[0149] The method for displaying prompt information provided by an embodiment of the present application obtains the received signal strength corresponding to the broadcast message transmitted by the second electronic device, obtains the state of the second electronic device based on the broadcast message, processes the received signal strength according to the state of the second electronic device, obtains the processed received signal strength, and displays the target information when the processed received signal strength is greater than the target strength threshold. Figure 4 In the method for displaying prompt information shown in the figure, this embodiment also obtains the state of the second electronic device according to the broadcast message transmitted by the second electronic device, thereby improving the accuracy of the obtained state of the second electronic device.

[0150] See also Fig.10 , Fig.10 The flowchart of the method for displaying prompt information provided by an embodiment of the present application is shown in FIG. Fig.10 The process shown is described in detail, and the method for displaying the prompt information may specifically include the following steps:

[0151] Step S710: Obtaining a received signal strength corresponding to a received broadcast message, where the broadcast message is transmitted by a second electronic device.

[0152] For the detailed description of step S710, please refer to step S110, which will not be repeated here.

[0153] Step S720: When the second electronic device meets the preset device condition, the state of the second electronic device is obtained.

[0154] In some embodiments, the first electronic device may be pre-set and store a preset device condition, and the preset device condition is used as a basis for judging the second electronic device. Therefore, in this embodiment, when the first electronic device receives a broadcast message transmitted by the second electronic device, it can judge whether the second electronic device meets the preset device condition based on the broadcast message. When it is determined that the second electronic device meets the preset device condition, the state of the second electronic device can be obtained. When it is determined that the second electronic device does not meet the preset device condition, the state of the second electronic device may not be obtained, and the corresponding target information may not be displayed.

[0155] As an implementable manner, when the first electronic device receives a broadcast message transmitted by the second electronic device, it can parse the broadcast message. When the parsing is successful, it is characterized that the protocol of the broadcast message transmitted by the second electronic device meets the protocol set by the first electronic device, and it can be determined that the second electronic device meets the preset device condition. When the parsing fails, it is characterized that the protocol of the broadcast message transmitted by the second electronic device does not meet the protocol set by the first electronic device, and it can be determined that the second electronic device does not meet the preset device condition.

[0156] See also Fig.11 , Fig.11 This application shows Fig.10 The flowchart of step S720 of the method for displaying prompt information is shown in FIG. Fig.11 The process shown is described in detail, and the method may specifically include the following steps:

[0157] Step S721: Acquire the identity information of the second electronic device.

[0158] In some embodiments, when the first electronic device receives a broadcast message from the second electronic device, it can obtain the identity information of the second electronic device based on the broadcast message. As an implementable manner, the first electronic device can obtain the identity information of the second electronic device based on the protocol of the broadcast message. As another implementable manner, the first electronic device can obtain the identity information of the second electronic device based on the information of the target flag bit of the broadcast message obtained by parsing.

[0159] Step S722: When the identity information of the second electronic device meets a preset identity condition, the state of the second electronic device is obtained.

[0160] In some embodiments, the first electronic device may be pre-set and store a preset identity condition, and the preset identity condition is used as a basis for judging the second electronic device. Therefore, in this embodiment, when the first electronic device obtains the identity information of the second electronic device, it can determine whether the identity information meets the preset identity condition. Among them, when it is determined that the identity information of the second electronic device meets the preset identity condition, it represents that the second electronic device is an electronic device that meets the conditions set by the first electronic device, and the state of the second electronic device can be obtained. Among them, when it is determined that the identity information of the second electronic device does not meet the preset identity condition, it represents that the second electronic device is an electronic device that does not meet the conditions set by the first electronic device, and the state of the second electronic device may not be obtained, and the corresponding target information may not be displayed.

[0161] As a method, the preset identity condition may be a preset manufacturer. Then, when the second electronic device is produced by a preset manufacturer, it can be considered that the identity information of the second electronic device meets the preset identity condition; the preset identity condition may be a preset terminal vendor. Then, when the second electronic device is of a preset terminal vendor brand, it can be considered that the identity information of the second electronic device meets the preset identity condition; the preset identity condition may be the manufacturer of the first electronic device. Then, when the manufacturer of the second electronic device is the same as the manufacturer of the first electronic device, it can be considered that the identity information of the second electronic device meets the preset identity condition; the preset identity condition may be the terminal vendor of the first electronic device. Then, when the terminal vendor brand of the second electronic device is the same as the terminal vendor brand of the first electronic device, it can be considered that the identity information of the second electronic device meets the preset identity condition, etc., and is not limited here.

[0162] Step S730: Process the received signal strength according to the state of the second electronic device to obtain a processed received signal strength.

[0163] Step S740: When the processed received signal strength is greater than the target strength threshold, display target information.

[0164] For the detailed description of step S730 to step S740, please refer to step S120 to step S130, which will not be repeated here.

[0165] The method for displaying prompt information provided by an embodiment of the present application obtains the received signal strength corresponding to the broadcast message transmitted by the second electronic device, obtains the state of the second electronic device when the second electronic device meets the preset device condition, processes the received signal strength according to the state of the second electronic device, obtains the processed received signal strength, and displays the target information when the processed received signal strength is greater than the target strength threshold. Figure 4The method for displaying prompt information shown in the embodiment also displays target information when the second electronic device meets the preset device condition, thereby avoiding the disturbance of other electronic devices to the user and improving the user experience.

[0166] See also Fig.12 ,like Fig.12 As shown, the first electronic device may be a smart device (such as a smart phone, a tablet computer, etc.), and the second electronic device may be a Bluetooth headset device. When the headset box of the Bluetooth headset device is opened, the Bluetooth headset of the Bluetooth headset device may transmit a BLE broadcast, wherein the BLE broadcast may carry information of the Bluetooth headset, such as a connection record, etc. The smart device within the broadcast range of the Bluetooth headset may receive the BLE broadcast, and parse the BLE broadcast to obtain a parsing result. Based on the parsing result, it is determined whether the Bluetooth headset is a target device, for example, it is determined whether the identity information of the Bluetooth headset meets a preset identity condition. When the Bluetooth headset is determined to be a target device, it may be determined whether the target device is in a pairing state. If the target device is determined to be in a pairing state, the received signal strength corresponding to the received BLE broadcast is compensated (enhanced) to obtain the compensated received signal strength, and the compensated received signal strength is compared with the pop-up box threshold. If the compensated received signal strength is greater than the pop-up box threshold, the pop-up box is displayed, and if the compensated received signal strength is not greater than the pop-up box threshold, the pop-up box is not displayed. If it is determined that the target device is not in a pairing state (such as in a reconnecting state), the received signal strength corresponding to the received BLE broadcast will not be compensated (maintained), and the initial received signal strength will be compared with the pop-up box threshold. If the initial received signal strength is greater than the pop-up box threshold, a pop-up box will be displayed. If the initial received signal strength is not greater than the pop-up box threshold, no pop-up box will be displayed.

[0167] See also Fig.13 , Fig.13 The flowchart of the method for displaying prompt information provided by an embodiment of the present application is shown. The method is used to dynamically process the distance value between two electronic devices according to the state of the electronic devices to determine the display of prompt information, thereby better controlling the display of prompt information, avoiding interruption to the user and improving the user experience. In an embodiment of the present application, the method for displaying prompt information is applied to Fig.16 The display device 400 for displaying prompt information and the electronic device (first electronic device) 100 ( Fig.18 ). It is understandable that the electronic device used in this embodiment can be a smart phone, a tablet computer, a wearable electronic device, etc., which is not limited here. Fig.12 The process shown is described in detail, and the method for displaying the prompt information may specifically include the following steps:

[0168] Step S810: Acquire the distance value between the first electronic device and the second electronic device.

[0169] In this embodiment, the first electronic device may obtain a distance value between the first electronic device and the second electronic device.

[0170] The present application does not impose any limitation on the manner in which the first device obtains the distance value between the first electronic device and the second electronic device. As one manner, the first electronic device may be provided with a distance sensor, and the first electronic device may obtain the distance value with the second electronic device through the distance sensor. For example, the first electronic device may be provided with an infrared sensor, and the first electronic device may obtain the distance value with the second electronic device through the infrared sensor. For another example, the first electronic device may be provided with an ultrasonic sensor, and the first electronic device may obtain the distance value with the second electronic device through the ultrasonic sensor.

[0171] As another way, the first electronic device can receive a signal transmitted by the second electronic device, obtain a received signal strength corresponding to the received signal, and obtain a distance value between the first electronic device and the second electronic device based on the received signal strength. In some embodiments, the first electronic device can pre-set and store a correspondence between the received signal strength and the distance value, and after obtaining the received signal strength corresponding to the received signal, it can obtain a distance value that has a corresponding relationship with the received signal strength corresponding to the received signal based on the mapping relationship as the distance value between the first electronic device and the second electronic device.

[0172] Step S820: Acquire the state of the second electronic device, process the distance value according to the state of the second electronic device, and obtain a processed distance value.

[0173] In some embodiments, the first electronic device may receive a signal transmitted by the second electronic device, and based on the signal, obtain the state of the second electronic device. As an implementable manner, the signal transmitted by the second electronic device may carry the identification information of the second electronic device. After receiving the signal transmitted by the second electronic device, the first electronic device may parse the signal to obtain the identification information of the second electronic device carried by the signal, and obtain the state of the second electronic device based on the identification information. As a manner, the identification information may include connection information. As a manner, the signal may include broadcast information.

[0174] In this embodiment, after obtaining the state of the second electronic device, the first electronic device can process the distance value of the second electronic device according to the state of the second electronic device to obtain the processed distance value. As an implementable method, the first electronic device can pre-set and store multiple processing methods, then after obtaining the state of the second electronic device, according to the state of the second electronic device, the processing method corresponding to the state of the second electronic device can be obtained from the multiple processing methods, and the distance value can be processed by the processing method corresponding to the state of the second electronic device to obtain the processed distance value.

[0175] As an implementable manner, the first electronic device may pre-establish and store a third mapping relationship table, which may include at least two states, at least two processing methods for distance values, and a correspondence between at least two states and at least one processing method, wherein each of the at least two states may correspond to one or more processing methods, which is not limited here. Please refer to Table 3, the at least two states in the first mapping relationship table may include a first state, a second state, and a third state, and the at least two processing methods in the first mapping relationship table may include a fourth processing method, a fifth processing method, and a sixth processing method, wherein there is a correspondence between the first state and the fourth processing method, there is a correspondence between the second state and the fifth processing method, and there is a correspondence between the third state and the sixth processing method.

[0176] Table 3

[0177] state Processing First State The fourth treatment method Second State The fifth treatment method The third state The sixth treatment method …… ……

[0178] Based on the above mapping relationship table, when it is determined that the state of the second electronic device is the first state, it can be determined that the distance value is processed by the fourth processing method; when it is determined that the state of the second electronic device is the second state, it can be determined that the distance value is processed by the fifth processing method, and so on. For example, when the first state is the pairing state, the fourth processing method corresponding to the first state may include a reduction process. For another example, when the second state is the reconnection state, the fifth processing method corresponding to the second state may include an increase process or a maintenance process.

[0179] In some embodiments, processing the distance value according to the state of the second electronic device may include increasing, decreasing, or maintaining. That is, the distance value may be increased according to the state of the second electronic device to obtain the processed distance value; the distance value may be decreased according to the state of the second electronic device to obtain the processed distance value; the distance value may be maintained according to the state of the second electronic device. Among them, increasing the distance value indicates that a certain value may be compensated on the basis of the distance value to increase the distance value; decreasing the distance value indicates that a certain value may be subtracted on the basis of the distance value to decrease the distance value; and maintaining the distance value indicates that the distance value may be kept unchanged.

[0180] In some embodiments, when the state of the electronic device is a pairing state, the distance value can be reduced to obtain the processed distance value, wherein the pairing state is used to characterize that the second electronic device is to perform a pairing operation with the first electronic device. Wherein, the second electronic device is in a pairing state, which means that other electronic devices within the broadcast coverage of the second electronic device can scan the second electronic device and can be paired and connected with the second electronic device. In this embodiment, the pairing state can be used to characterize that the second electronic device is to perform a pairing operation with the first electronic device, wherein the second electronic device is to perform a pairing operation with the first electronic device, which may include: all processes from the first electronic device scanning the second electronic device to the successful pairing with the second electronic device. When it is determined that the state of the second electronic device is a pairing state, it can be considered that the second electronic device expects to be paired with the first electronic device, and the first electronic device can be made to display the target information as much as possible to prompt the user corresponding to the first electronic device to establish a connection with the second electronic device. Based on this, in this embodiment, the distance value can be reduced, that is, a certain value is subtracted from the distance value to reduce the distance value to obtain a processed distance value. It can be understood that at this time, the processed distance value is smaller than the original distance value, so that the processed distance value is easier to be smaller than the target distance threshold than the original distance value, thereby increasing the probability of displaying the target information.

[0181] In some embodiments, the state of the second electronic device may include a reconnection state. The reconnection state of the second electronic device means that the second electronic device is trying to reconnect to a previously paired and connected device by paging. In this embodiment, the reconnection state can be used to indicate that the second electronic device is about to perform a reconnection operation after pairing.

[0182] In this embodiment, when the second electronic device is in the reconnection state, the distance value may be increased or maintained.

[0183] For example, assuming that the first electronic device has been paired with the second electronic device before, and when the second electronic device wants to connect back to the first electronic device that was previously paired, the first electronic device can maintain the distance value, that is, the original distance value remains unchanged. It can be understood that at this time, the processed distance value is equal to the original distance value, so that the first electronic device compares the distance value with the distance threshold normally to determine whether to display the target information. When the second electronic device wants to connect back to other electronic devices that have been paired, the first electronic device can increase the distance value, that is, add a certain value to the original distance value to increase the distance value to obtain the processed distance value. It can be understood that at this time, the processed distance value is greater than the original distance value, so that the processed distance value is easier to be greater than the distance threshold than the original distance value, thereby reducing the probability of displaying the target information.

[0184] In some embodiments, when it is determined that the state of the second electronic device is a reconnection state, it can be considered that the second electronic device expects to reconnect with the electronic device that was previously paired and connected. For example, when the other electronic device is the first electronic device, it can be considered that the second electronic device is reconnecting with the first electronic device that was previously paired and connected, so that the first electronic device can display the target information normally as much as possible. Based on this, in this embodiment, the distance value can be maintained, that is, the original distance value remains unchanged. It can be understood that at this time, the processed distance value is equal to the original distance value, so that the first electronic device compares the distance value with the distance threshold normally to determine whether to display the target information.

[0185] In some embodiments, the first electronic device may pre-set and store at least two target distance thresholds of different sizes. For example, the first electronic device may pre-set and store a first target distance threshold and a second target distance threshold, and the first target distance threshold and the second target distance threshold are different in size. For another example, the first electronic device may pre-set and store a first target distance threshold, a second target distance threshold, a third target distance threshold... an Nth target distance threshold, and the first target distance threshold, the second target distance threshold, the third target distance threshold... the Nth target distance threshold are different in size.

[0186] As an implementable method, take the example that the first electronic device is provided with a first target distance threshold and a second target distance threshold. Among them, the first target distance threshold is smaller, and the second target distance threshold is larger, for example, the first target distance threshold is smaller than the standard target distance threshold, and the second target distance threshold is larger than the standard target distance threshold. Among them, the distance value between the first electronic device and the second electronic device triggers the display of target information with normal difficulty within the standard target distance threshold. Since the first target distance threshold is smaller than the standard target distance threshold, the distance value between the first electronic device and the second electronic device triggers the display of target information at the first target distance threshold, that is, the probability of triggering the display of target information is reduced. Since the second target distance threshold is larger than the standard target distance threshold, the distance value between the first electronic device and the second electronic device triggers the display of target information at the second target distance threshold, that is, the probability of triggering the display of target information is increased.

[0187] As a method, the first electronic device may pre-set and store a plurality of target distance thresholds, and the user may manually select one of the plurality of target distance thresholds as the target distance threshold.

[0188] As another way, the first electronic device may pre-set and store a plurality of target distance thresholds, and the electronic device may automatically select one of the plurality of target distance thresholds as the target distance threshold.

[0189] As an implementable manner, the first electronic device can display multiple target distance thresholds for the user to choose from. When a selection operation acting on one of the multiple target distance thresholds displayed is detected, a selection instruction can be generated based on the selection operation, and in response to the selection instruction, the selected target distance threshold is determined as the target distance threshold from the multiple target distance thresholds, thereby improving the user's interactive experience.

[0190] In some embodiments, the first electronic device may provide a distance threshold selection interface for the user to select and determine the target distance threshold from multiple distance thresholds each time the device is turned on or when the device is turned on for the first time. Upon receiving a distance threshold selection instruction triggered by the distance threshold selection interface, the first electronic device may respond to the distance threshold selection instruction and determine the target distance threshold from multiple distance thresholds.

[0191] In this embodiment, after obtaining the state of the second electronic device, the first electronic device can process the distance value according to the state of the second electronic device and the target distance threshold to obtain the processed distance value. As an implementable method, the first electronic device can pre-set and store multiple processing methods, then after obtaining the state of the second electronic device, according to the state of the second electronic device and the target distance threshold, the first electronic device can obtain the processing method corresponding to the state of the second electronic device and the target distance threshold from the multiple processing methods, and process the distance value by the processing method corresponding to the state of the second electronic device and the target distance threshold to obtain the processed distance value.

[0192] As an implementable manner, the first electronic device may pre-establish and store a fourth mapping relationship table, which may include at least two states, at least two target distance thresholds, at least two processing methods for distance values, and a correspondence between at least two states, at least two target distance thresholds, and at least processing methods, wherein each of the at least two states may correspond to one or more target distance thresholds and one or more processing methods, which is not limited here. Please refer to Table 2, the at least two states in the second mapping relationship table may include a first state and a second state, the at least two target distance thresholds in the second mapping relationship table may include a first target distance threshold and a second target distance threshold, and the at least two processing methods in the second mapping relationship table may include a fourth processing method, a fifth processing method, and a sixth processing method. Among them, there is a correspondence between the first state, the first target distance threshold, and the fourth processing method, there is a correspondence between the first state, the second target distance threshold, and the fifth processing method, there is a correspondence between the second state, the first target distance threshold, and the fifth processing method, and there is a correspondence between the second state, the second target distance threshold, and the sixth processing method.

[0193] Table 4

[0194] state Target distance threshold Processing First State First target distance threshold The fourth treatment method First State Second target distance threshold The fifth treatment method Second State First target distance threshold The fifth treatment method Second State Second target distance threshold The sixth treatment method

[0195] Based on the above mapping relationship table, when it is determined that the state of the second electronic device is the first state and the target distance threshold is the first target distance threshold, it can be determined that the distance value is processed by the fourth processing method; when it is determined that the state of the second electronic device is the second state and the target distance threshold is the second target distance threshold, it can be determined that the distance value is processed by the sixth processing method, and so on. For example, when the first state is the pairing state, and the first distance threshold is a smaller distance threshold, the corresponding fourth processing method may include a reduction process. For another example, when the second state is the reconnection state, and the second distance threshold is a smaller distance threshold, the corresponding fifth processing method may include an increase process or a maintenance process.

[0196] In this embodiment, the target distance threshold is a first target distance threshold, wherein the first target distance threshold is less than the standard target distance threshold. That is, the first electronic device can set the target distance threshold to a lower value, in which case a smaller distance value is not likely to cause the first electronic device to trigger the display of target information.

[0197] In some embodiments, when it is determined that the state of the second electronic device is a pairing state, it can be considered that the second electronic device expects to pair with the first electronic device, and the first electronic device can be made to display the target information as much as possible to prompt the user corresponding to the first electronic device to establish a connection with the second electronic device. At this time, since the target distance threshold set by the first electronic device is the first target distance threshold, that is, if the original distance value is directly used for comparison, the original distance value is very likely to be greater than the target distance threshold, thereby causing the target information to fail to trigger display. Based on this, in this embodiment, the distance value can be reduced, that is, a certain value is subtracted from the original distance value to reduce the distance value to obtain the processed distance value. It can be understood that at this time, the processed distance value is less than the original distance value, so that the processed distance value is easier to be less than the target distance threshold than the original distance value, thereby increasing the display probability of the target information.

[0198] In some embodiments, when it is determined that the second electronic device is in a reconnecting state, it can be considered that the second electronic device does not want to pair with the first electronic device, and the first electronic device can be prevented from displaying the target information as much as possible to reduce disturbance to the user of the first electronic device.

[0199] As a method, since the target distance threshold set by the first electronic device is the first target distance threshold, that is, if the distance value corresponding to the received broadcast message is directly used for comparison, the distance value corresponding to the broadcast message is very likely to be greater than the target distance threshold, so that the target information cannot be triggered for display. Based on this, in this embodiment, the original distance value can be maintained (not processed), and it can be understood that at this time, the processed distance value is equal to the original distance value, so that the processed distance value is easy to be greater than the target distance threshold, thereby reducing the probability of displaying the target information.

[0200] As another way, since the target distance threshold set by the first electronic device is the first target distance threshold, that is, if the original distance value is directly used for comparison, the original distance value is very likely to be greater than the target distance threshold, but there is also the possibility that the original distance value is not greater than the target distance threshold. Based on this, in this embodiment, the original distance value can be increased, and it can be understood that at this time, the processed distance value is greater than the original distance value, so that the processed distance value is more likely to be greater than the target distance threshold, thereby reducing the probability of displaying the target information.

[0201] In this embodiment, the target distance threshold is a second target distance threshold, wherein the second target distance threshold is greater than the standard target distance threshold. That is, the first electronic device can set the target distance threshold to a higher value, in which case a larger distance value also makes it easier for the first electronic device to trigger the display of target information.

[0202] In some embodiments, when it is determined that the second electronic device is in a pairing state, it can be considered that the second electronic device expects to pair with the first electronic device, and the first electronic device can be made to display target information as much as possible to prompt the user corresponding to the first electronic device to establish a connection with the second electronic device.

[0203] As a way, since the target distance threshold set by the first electronic device is the second target distance threshold, that is, if the original distance value is directly used for comparison, the original distance value is very likely to be less than the target distance threshold, so that the target information can be triggered for display. Based on this, in this embodiment, the original distance value can be maintained (not processed), and it can be understood that at this time, the processed distance value is equal to the original distance value, so that the processed distance value is more likely to be less than the target distance threshold, thereby increasing the probability of displaying the target information.

[0204] As another way, since the target distance threshold set by the first electronic device is the second target distance threshold, that is, if the original distance value is directly used for comparison, the original distance value is very likely to be less than the target distance threshold, but the original distance value may also be not less than the target distance threshold. Based on this, in this embodiment, the original distance value can be reduced. It can be understood that at this time, the processed distance value is less than the distance value corresponding to the received broadcast message, so that the processed distance value is more likely to be less than the target distance threshold, thereby increasing the probability of displaying the target information.

[0205] In some embodiments, when it is determined that the state of the second electronic device is a reconnection state, it can be considered that the second electronic device does not expect to be paired with the first electronic device, and the first electronic device can be made not to display the target information as much as possible to reduce the disturbance to the user corresponding to the first electronic device. At this time, since the target distance threshold set by the first electronic device is the second target distance threshold, that is, if the original distance value is directly used for comparison, the original distance value is very likely to be less than the target distance threshold, so that the target information can be triggered to display. Based on this, in this embodiment, the original distance value can be increased, that is, a certain value is added on the basis of the original distance value to increase the distance value to obtain the processed distance value. It can be understood that at this time, the processed distance value is greater than the distance value corresponding to the received broadcast message, so that the processed distance value is easier to be not less than the target distance threshold than the distance value corresponding to the received broadcast message, thereby reducing the display probability of the target information.

[0206] Step S830: When the processed distance value is less than the target distance threshold, the target information is displayed.

[0207] In some embodiments, after obtaining the processed distance value, the first electronic device may compare the processed distance value with the target distance threshold to determine whether the processed distance value is less than the target distance threshold. Wherein, when it is determined that the processed distance value is not less than the target distance threshold, it can be determined that the processed distance value does not meet the signal strength requirement for displaying the prompt, and the target information can be intercepted, for example, the target information may not be displayed. Wherein, when it is determined that the processed distance value is less than the target distance threshold, it can be determined that the processed distance value meets the signal strength requirement for displaying the prompt, and the target information is displayed, that is, the target information can be displayed.

[0208] In some embodiments, the first electronic device may display the target information in any of the following ways: displaying the target information on a display interface, displaying the target information in a pop-up window on the display interface, displaying the target information in a status bar, etc., which are not limited here.

[0209] In some embodiments, the state of the second electronic device may include a pairing state and a reconnection state. When the state of the second electronic device is a configuration state, the target information may be connection prompt information, that is, the target information may be used to prompt a pairing connection operation with the second electronic device. When the state of the second electronic device is a reconnection state, the target information may be connection success prompt information, that is, the target information may be used to prompt that a reconnection has been successfully performed with the second electronic device.

[0210] A method for displaying prompt information provided by an embodiment of the present application obtains the distance between the second electronic device and the state of the second electronic device, processes the distance value according to the state of the second electronic device, obtains the processed distance value, and displays the target information when the processed distance value is less than the target distance threshold. Therefore, by dynamically processing the distance value between the two electronic devices according to the state of the electronic device to determine the display of the prompt information, the display of the prompt information is better controlled to avoid disturbing the user and improve the user experience.

[0211] See also Fig.14 , Fig.14 The flowchart of the method for displaying prompt information provided by an embodiment of the present application is shown. The method is used to perform different display controls on prompt information according to different states of the second electronic device when two electronic devices are at the same received signal strength or the same distance, so as to better control the display of prompt information, avoid disturbing the user and improve the user experience. In one embodiment, the method for displaying prompt information is applied to Fig.17 The display device 500 for displaying prompt information and the electronic device (first electronic device) 100 ( Fig.18 ). It is understandable that the electronic device used in this embodiment can be a smart phone, a tablet computer, a wearable electronic device, etc., which is not limited here. Fig.14 The process shown is described in detail, and the method for displaying the prompt information may specifically include the following steps:

[0212] Step S910: When the second electronic device is in a pairing state, target information is displayed, wherein the pairing state is used to indicate that the second electronic device is about to perform a pairing operation with the first electronic device.

[0213] Take the first electronic device and the second electronic device as an example with the same received signal strength.

[0214] In this embodiment, the first electronic device can receive the broadcast message transmitted by the second electronic device, and the received signal strength corresponding to the broadcast message received by the first electronic device is the target received signal strength. That is, at this time, regardless of the state of the second electronic device (whether it is a pairing state or a reconnection state), the received signal strength corresponding to the broadcast message transmitted by the second electronic device received by the first electronic device is consistent, and is the target received signal strength. Among them, the size of the target received signal strength is not limited here.

[0215] In some embodiments, the first electronic device can obtain the state of the second electronic device. As a way, the first electronic device can receive a broadcast message transmitted by the second electronic device, and based on the broadcast message, obtain the state of the second electronic device. In some embodiments, the broadcast message transmitted by the second electronic device can carry the identification information of the second electronic device. After receiving the broadcast message transmitted by the second electronic device, the first electronic device can parse the broadcast message to obtain the identification information of the second electronic device carried by the broadcast message, and obtain the state of the second electronic device based on the identification information. As a way, the identification information can include connection information.

[0216] In some embodiments, when the state of the second electronic device is obtained to be a pairing state, the target information can be displayed, that is, the target information can be displayed. The first electronic device may display the target information in a manner including: displaying the target information on a display interface, displaying the target information in a pop-up window on the display interface, displaying the target information in a status bar, etc., which is not limited here.

[0217] When the second electronic device is in a configuration state, the target information may be connection prompt information, that is, the target information may be used to prompt a pairing connection operation with the second electronic device.

[0218] As a method, when it is obtained that the state of the second electronic device is a pairing state, the received signal strength corresponding to the broadcast message can be enhanced so that the processed received signal strength is as large as possible from the signal strength threshold to display the target information.

[0219] As another way, when it is obtained that the state of the second electronic device is a pairing state, the set signal strength threshold can be reduced so that the received signal strength is as large as possible than the signal strength threshold to display the target information.

[0220] As another method, when it is obtained that the state of the second electronic device is a pairing state, the received signal strength corresponding to the broadcast message can be enhanced and the set signal strength threshold can be reduced to make the received signal strength as large as possible from the signal strength threshold to display the target information.

[0221] Take the first electronic device and the second electronic device at the same distance as an example.

[0222] In this embodiment, the distance between the first electronic device and the second electronic device may be the target distance. That is, at this time, regardless of the state of the second electronic device (whether it is a pairing state or a reconnection state), the distance between the first electronic device and the second electronic device is the same, which is the target distance. The size of the target distance is not limited here.

[0223] In some embodiments, the first electronic device may receive a signal transmitted by the second electronic device, and based on the signal, obtain the state of the second electronic device. As an implementable manner, the signal transmitted by the second electronic device may carry the identification information of the second electronic device. After receiving the signal transmitted by the second electronic device, the first electronic device may parse the signal to obtain the identification information of the second electronic device carried by the signal, and obtain the state of the second electronic device based on the identification information. As a manner, the identification information may include connection information. As a manner, the signal may include broadcast information.

[0224] In some embodiments, when the state of the second electronic device is obtained to be a pairing state, the target information can be displayed, that is, the target information can be displayed. The first electronic device may display the target information in a manner including: displaying the target information on a display interface, displaying the target information in a pop-up window on the display interface, displaying the target information in a status bar, etc., which is not limited here.

[0225] When the second electronic device is in a configuration state, the target information may be connection prompt information, that is, the target information may be used to prompt a pairing connection operation with the second electronic device.

[0226] As a method, when it is obtained that the state of the second electronic device is a pairing state, the target distance can be reduced so that the processed distance value is as small as possible from the distance threshold to display the target information.

[0227] As another way, when it is obtained that the state of the second electronic device is a pairing state, the set distance threshold may be increased so that the target distance is as small as possible from the distance threshold to display the target information.

[0228] As another way, when it is obtained that the state of the second electronic device is a pairing state, the distance value can be reduced and the set distance threshold can be increased to make the target distance as smaller than the distance threshold as possible to display the target information.

[0229] Step S920: When the state of the second electronic device is a reconnection state, the target information is not displayed, wherein the reconnection state is used to indicate that the second electronic device is to perform a reconnection operation after pairing.

[0230] Take the first electronic device and the second electronic device as an example with the same received signal strength.

[0231] In some implementations, when it is acquired that the state of the second electronic device is a reconnected state, the target information may not be displayed, for example, the target information may not be displayed.

[0232] When the state of the second electronic device is the back-connection state, the target information may be connection success prompt information, that is, the target information may be used to prompt that the back-connection with the second electronic device has been successfully performed.

[0233] As a method, when it is obtained that the state of the second electronic device is a reconnected state, the received signal strength corresponding to the broadcast message can be attenuated so that the processed received signal strength is as small as possible from the signal strength threshold to achieve non-display of the target information.

[0234] As another way, when it is obtained that the state of the second electronic device is the reconnection state, the set signal strength threshold can be increased to make the received signal strength as small as possible below the signal strength threshold, so as to achieve non-display of the target information.

[0235] As another method, when it is obtained that the state of the second electronic device is a reconnected state, the received signal strength corresponding to the broadcast message can be attenuated and the set signal strength threshold can be increased to make the received signal strength as small as possible from the signal strength threshold to display the target information.

[0236] Take the first electronic device and the second electronic device at the same distance as an example.

[0237] In some implementations, when it is acquired that the state of the second electronic device is a reconnected state, the target information may not be displayed, for example, the target information may not be displayed.

[0238] When the state of the second electronic device is the back-connection state, the target information may be connection success prompt information, that is, the target information may be used to prompt that the back-connection with the second electronic device has been successfully performed.

[0239] As a method, when it is obtained that the state of the second electronic device is the reconnection state, the target distance can be increased so that the processed distance value is as large as possible as possible to achieve non-display of the target information.

[0240] As another way, when the state of the second electronic device is obtained to be the reconnected pair state, the set distance threshold can be reduced to make the target distance as much as possible greater than the distance threshold, so as to achieve non-display of the target information.

[0241] As another way, when it is obtained that the state of the second electronic device is the reconnection state, the distance value can be increased and the set distance threshold can be reduced to make the target distance as large as possible as possible to display the target information.

[0242] A method for displaying prompt information provided by an embodiment of the present application, when the received signal strength of the signal between the first electronic device and the second electronic device is consistent, if the second electronic device is in a pairing state, the prompt information is displayed, and if the second electronic device is in a backconnection state, the prompt information is not displayed. By performing different display controls on the prompt information according to the different states of the second electronic device when the two electronic devices are in the same received signal strength, the display of the prompt information is better controlled to avoid disturbing the user and improve the user experience.

[0243] See also Fig.15 , Fig.15 The module block diagram of the display device of prompt information provided by an embodiment of the present application is shown. The display device 300 of prompt information is applied to the above electronic device. Fig.15 The block diagram shown in FIG. 1 is used to illustrate that the display device 300 for prompt information includes: a received signal strength acquisition module 310, a received signal strength processing module 320 and a prompt information display module 330, wherein:

[0244] The received signal strength acquisition module 310 is used to acquire the received signal strength corresponding to the received broadcast message, where the broadcast message is transmitted by the second electronic device.

[0245] The received signal strength processing module 320 is used to obtain the state of the second electronic device, and process the received signal strength according to the state of the second electronic device to obtain the processed received signal strength.

[0246] Further, the received signal strength processing module 320 includes: a first received signal strength processing submodule and a second received signal strength processing submodule, wherein:

[0247] The first received signal strength processing submodule is used to enhance the received signal strength when the second electronic device is in a pairing state to obtain the processed received signal strength, wherein the pairing state is used to indicate that the second electronic device is about to perform a pairing operation with the first electronic device.

[0248] The second received signal strength processing submodule is used to attenuate or maintain the received signal strength when the state of the second electronic device is the backconnection state to obtain the processed received signal strength, wherein the backconnection state is used to characterize the backconnection operation of the second electronic device to be performed after pairing.

[0249] Further, the received signal strength processing module 320 includes: a third received signal strength processing submodule, wherein:

[0250] The third received signal strength processing submodule is used to process the received signal strength according to the state of the second electronic device and the target strength threshold to obtain the processed received signal strength.

[0251] Further, the target strength threshold is a first strength threshold, and the probability that the first electronic device triggers the display of the target information under the first strength threshold is lower than a preset probability. The received signal strength processing module 320 includes: a fourth received signal strength processing submodule and a fifth received signal strength processing submodule, wherein:

[0252] The fourth received signal strength processing submodule is used to enhance the received signal strength when the second electronic device is in a pairing state to obtain the processed received signal strength, wherein the pairing state is used to indicate that the second electronic device is about to perform a pairing operation with the first electronic device.

[0253] The fifth received signal strength processing submodule is used to maintain or attenuate the received signal strength when the state of the second electronic device is a reconnection state, so as to obtain the processed received signal strength, wherein the reconnection state is used to characterize the reconnection operation to be performed by the second electronic device after pairing.

[0254] Further, the target strength threshold is a second strength threshold, and the probability that the first electronic device triggers the display of the target information under the second strength threshold is higher than a preset probability, and the received signal strength processing module 320 includes: a sixth received signal strength processing submodule and a seventh received signal strength processing submodule, wherein:

[0255] a sixth received signal strength processing submodule, configured to maintain or enhance the received signal strength when the second electronic device is in a pairing state, to obtain the received signal strength after the processing, wherein the pairing state is used to indicate that the second electronic device is about to perform a pairing operation with the first electronic device; or

[0256] The seventh received signal strength processing submodule is used to attenuate the received signal strength when the state of the second electronic device is a backconnection state to obtain the processed received signal strength, wherein the backconnection state is used to characterize the backconnection operation of the second electronic device to be performed after pairing.

[0257] Further, the received signal strength processing module 320 includes a first state acquisition submodule, wherein:

[0258] The first state acquisition submodule is used to acquire the state of the second electronic device based on the broadcast message.

[0259] Furthermore, the first status acquisition submodule includes: an identification information acquisition unit, wherein:

[0260] The identification information acquisition unit is used to parse the broadcast message to acquire identification information carried by the broadcast message, wherein the identification information is used to indicate the state of the second electronic device.

[0261] Furthermore, the received signal strength processing module 320 further includes: a target strength threshold determination submodule, wherein:

[0262] The target intensity threshold determination submodule is used to determine a target intensity threshold from a plurality of intensity thresholds in response to an intensity threshold selection instruction.

[0263] Further, the received signal strength processing module 320 includes: a second state acquisition submodule, wherein:

[0264] The second state acquisition submodule is used to acquire the state of the second electronic device when the second electronic device meets a preset device condition.

[0265] Furthermore, the second status acquisition submodule includes: an identity information acquisition unit and a second status acquisition unit, wherein:

[0266] The identity information acquiring unit is used to acquire the identity information of the second electronic device.

[0267] The second state acquisition unit is used to acquire the state of the second electronic device when the identity information of the second electronic device meets a preset identity condition.

[0268] The prompt information display module 330 is used to display target information when the processed received signal strength is greater than the target strength threshold.

[0269] See also Fig.16 , Fig.16The module block diagram of the display device of prompt information provided by an embodiment of the present application is shown. The display device 400 of prompt information is applied to the above electronic device. Fig.16 The block diagram shown in FIG. 4 is used to illustrate that the display device 400 for prompt information includes: a distance value acquisition module 410, a distance value processing module 420 and a prompt information display module 430, wherein:

[0270] The distance value acquisition module 410 is configured to acquire the distance value between the first electronic device and the second electronic device.

[0271] The distance value processing module 420 is used to obtain the state of the second electronic device, and process the distance value according to the state of the second electronic device to obtain a processed distance value.

[0272] Furthermore, the distance value processing module 420 includes: a distance value reduction submodule and a distance value increase submodule, wherein:

[0273] The distance value reduction submodule is used to reduce the distance value when the second electronic device is in a pairing state to obtain the processed distance value, wherein the pairing state is used to indicate that the second electronic device is about to perform a pairing operation with the first electronic device.

[0274] The distance value increasing submodule is used to increase the distance value when the state of the second electronic device is a reconnection state to obtain the processed distance value, wherein the reconnection state is used to represent the reconnection operation of the second electronic device to be performed after pairing.

[0275] The prompt information display module 430 is used to display target information when the processed distance value is less than the target distance threshold.

[0276] See also Fig.17 , Fig.17 The module block diagram of the display device of prompt information provided by an embodiment of the present application is shown. The display device 500 of prompt information is applied to the above electronic device. Fig.19 The block diagram shown in the figure is used to illustrate that the display device 500 of the prompt information includes: a prompt information display module 510 and a prompt information prohibition display module 520, wherein:

[0277] The prompt information display module 510 is used to display target information when the state of the second electronic device is a pairing state, wherein the pairing state is used to indicate that the second electronic device is about to perform a pairing operation with the first electronic device.

[0278] The prompt information display prohibition module 520 is used to not display the target information when the state of the second electronic device is a reconnection state, wherein the reconnection state is used to indicate that the second electronic device is about to perform a reconnection operation after pairing.

[0279] The prompt information display prohibition submodule is used for not displaying the target information when the state of the second electronic device is the back-connected state.

[0280] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0281] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.

[0282] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.

[0283] See also Fig.18 , which shows a structural block diagram of an electronic device 100 provided in an embodiment of the present application. The electronic device 100 may be an electronic device capable of running applications, such as a smart phone, a tablet computer, an e-book, etc. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by one or more processors 110, and the one or more programs are configured to execute the method described in the aforementioned method embodiment.

[0284] Among them, the processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes various functions and processes data of the electronic device 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 110 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented separately through a communication chip.

[0285] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). The memory 120 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as a phone book, audio and video data, chat record data) created by the electronic device 100 during use.

[0286] See also Fig.19 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 600 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.

[0287] The computer readable storage medium 600 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 600 includes a non-transitory computer-readable storage medium. The computer readable storage medium 600 has storage space for program code 610 that performs any method step in the above method. These program codes can be read from or written to one or more computer program products. The program code 610 can be compressed, for example, in an appropriate form.

[0288] In summary, the display method, device, electronic device and storage medium of prompt information provided in the embodiments of the present application obtain the received signal strength corresponding to the received broadcast message transmitted by the second electronic device, obtain the state of the second electronic device, process the received signal strength according to the state of the second electronic device, obtain the processed received signal strength, and display the target information when the processed received signal strength is greater than the target strength threshold, thereby dynamically processing the received signal strength corresponding to the received broadcast message according to the state of the electronic device to determine the display of the prompt information, thereby better controlling the display of the prompt information, avoiding disturbing the user and improving the user experience.

[0289] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for displaying prompt information, characterized in that: Applied to a first electronic device, the method includes: Acquire a received signal strength corresponding to a received broadcast message, where the broadcast message is transmitted by a second electronic device; Acquire the state of the second electronic device, and process the received signal strength according to the state of the second electronic device to obtain the processed received signal strength; When the received signal strength after the processing is greater than the target strength threshold, displaying the target information; The step of processing the received signal strength according to the state of the second electronic device to obtain the processed received signal strength includes: When the state of the second electronic device is a pairing state, enhancing the received signal strength to obtain the received signal strength after the processing, wherein the pairing state is used to indicate that the second electronic device is about to perform a pairing operation with the first electronic device; or When the state of the second electronic device is a reconnection state, the received signal strength is attenuated or maintained to obtain the received signal strength after the processing, wherein the reconnection state is used to represent the reconnection operation of the second electronic device to be performed after pairing.

2. The method according to claim 1, characterized in that The processing of the received signal strength according to the state of the second electronic device to obtain the processed received signal strength includes: The received signal strength is processed according to the state of the second electronic device and the target strength threshold to obtain the processed received signal strength.

3. The method according to claim 2, characterized in that Before processing the received signal strength according to the state of the second electronic device and the target strength threshold to obtain the processed received signal strength, the method further includes: In response to the intensity threshold selection instruction, a target intensity threshold is determined from a plurality of intensity thresholds.

4. The method according to claim 1, characterized in that: The target strength threshold is a first strength threshold, the probability that the first electronic device triggers the display of the target information under the first strength threshold is lower than a preset probability, and the processing of the received signal strength according to the state of the second electronic device to obtain the processed received signal strength includes: When the state of the second electronic device is a pairing state, enhancing the received signal strength to obtain the received signal strength after the processing, wherein the pairing state is used to indicate that the second electronic device is about to perform a pairing operation with the first electronic device; or When the state of the second electronic device is a reconnection state, the received signal strength is maintained or attenuated to obtain the received signal strength after the processing, wherein the reconnection state is used to represent the reconnection operation of the second electronic device to be performed after pairing.

5. The method according to claim 1, characterized in that The target strength threshold is a second strength threshold, the probability that the first electronic device triggers the display of the target information under the second strength threshold is higher than a preset probability, and the processing of the received signal strength according to the state of the second electronic device to obtain the processed received signal strength includes: When the state of the second electronic device is a pairing state, maintaining or enhancing the received signal strength to obtain the received signal strength after the processing, wherein the pairing state is used to indicate that the second electronic device is about to perform a pairing operation with the first electronic device; or When the state of the second electronic device is a back-connection state, the received signal strength is attenuated to obtain the received signal strength after the processing, wherein the back-connection state is used to indicate that the second electronic device is to perform a back-connection operation after pairing.

6. The method according to any one of claims 1 to 5, characterized in that: The acquiring the state of the second electronic device includes: Based on the broadcast message, the state of the second electronic device is acquired.

7. The method according to claim 6, characterized in that The acquiring the state of the second electronic device based on the broadcast message includes: The broadcast message is parsed to obtain identification information carried by the broadcast message, wherein the identification information is used to indicate a state of the second electronic device.

8. The method according to claim 7, characterized in that The identification information includes first identification information or second identification information, wherein: The first identification information is used to indicate that the state of the second electronic device is a pairing state, and the pairing state is used to indicate that the second electronic device is about to perform a pairing operation with the first electronic device; The second identification information is used to indicate that the state of the second electronic device is a back-connection state, and the back-connection state is used to represent that the second electronic device is to perform a back-connection operation after pairing.

9. The method according to any one of claims 1 to 5, characterized in that: The acquiring the state of the second electronic device includes: Acquire identity information of the second electronic device; When the identity information of the second electronic device meets the preset identity condition, the state of the second electronic device is acquired.

10. A method for displaying prompt information, characterized in that: Applied to a first electronic device, the method includes: Acquire a distance value between the first electronic device and the second electronic device; Acquiring the state of the second electronic device, and processing the distance value according to the state of the second electronic device to obtain a processed distance value; When the processed distance value is less than the target distance threshold, displaying target information; The processing of the distance value according to the state of the second electronic device to obtain the processed distance value includes: When the state of the second electronic device is a pairing state, reducing the distance value to obtain the processed distance value, wherein the pairing state is used to indicate that the second electronic device is about to perform a pairing operation with the first electronic device; or When the second electronic device is in a reconnection state, the distance value is increased or maintained to obtain the processed distance value, wherein the reconnection state is used to indicate that the second electronic device is to perform a reconnection operation after pairing.

11. A method for displaying prompt information, characterized in that: Applied to a first electronic device, the method includes: When the second electronic device is in a pairing state, enhancing the received signal strength corresponding to the broadcast message transmitted by the second electronic device or reducing the distance value between the second electronic device and the second electronic device to display target information, wherein the pairing state is used to indicate that the second electronic device is about to perform a pairing operation with the first electronic device; or When the second electronic device is in a reconnection state, the received signal strength corresponding to the broadcast message transmitted by the second electronic device is attenuated or the distance value to the second electronic device is increased so as not to display the target information, wherein the reconnection state is used to characterize the reconnection operation of the second electronic device to be performed after pairing.

12. A display device for prompt information, characterized in that: Applied to a first electronic device, the device comprises: A received signal strength acquisition module, used to acquire a received signal strength corresponding to a received broadcast message, where the broadcast message is transmitted by the second electronic device; a received signal strength processing module, used to obtain the state of the second electronic device, and process the received signal strength according to the state of the second electronic device to obtain a processed received signal strength; A prompt information display module, used for displaying target information when the received signal strength after the processing is greater than the target strength threshold; Wherein, the received signal strength processing module includes: a first received signal strength processing submodule, configured to enhance the received signal strength to obtain the processed received signal strength when the second electronic device is in a pairing state, wherein the pairing state is used to indicate that the second electronic device is about to perform a pairing operation with the first electronic device; or The second received signal strength processing submodule is used to attenuate or maintain the received signal strength when the state of the second electronic device is a backconnection state to obtain the processed received signal strength, wherein the backconnection state is used to characterize the backconnection operation of the second electronic device to be performed after pairing.

13. A display device for prompt information, characterized in that: Applied to a first electronic device, the device comprises: A distance value acquisition module, used to acquire the distance value between the first electronic device and the second electronic device; a distance value processing module, used to obtain the state of the second electronic device, and process the distance value according to the state of the second electronic device to obtain a processed distance value; A prompt information display module, used for displaying target information when the processed distance value is less than the target distance threshold; Wherein, the distance value processing module includes: a distance value reduction submodule, configured to reduce the distance value when the second electronic device is in a pairing state to obtain the processed distance value, wherein the pairing state is used to indicate that the second electronic device is about to perform a pairing operation with the first electronic device; or The distance value increasing submodule is used to increase or maintain the distance value when the second electronic device is in a reconnection state to obtain the processed distance value, wherein the reconnection state is used to represent the reconnection operation of the second electronic device to be performed after pairing.

14. A display device for prompt information, characterized in that: Applied to a first electronic device, the device comprises: a prompt information display module, used to enhance the received signal strength corresponding to the broadcast message transmitted by the second electronic device or reduce the distance value between the second electronic device and the second electronic device to display target information when the second electronic device is in a pairing state, wherein the pairing state is used to indicate that the second electronic device is to perform a pairing operation with the first electronic device; or The prompt information display prohibition module is used to attenuate the received signal strength corresponding to the broadcast message transmitted by the second electronic device or increase the distance value between the second electronic device and the second electronic device when the second electronic device is in a reconnection state, so as not to display the target information, wherein the reconnection state is used to characterize the reconnection operation of the second electronic device to be performed after pairing.

15. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory is coupled to the processor, the memory stores instructions, and when the instructions are executed by the processor, the processor executes the method according to any one of claims 1 to 11.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program codes, which can be called by a processor to execute the method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Prompting method and device, electronic equipment, target equipment, connection system and medium

    CN113286282A

  • Distance detection method and device, electronic equipment and storage medium

    CN113311414A

  • Mobile device and operating method thereof

    US20210227601A1