Pop-up window display method, device, terminal and storage medium

By judging the Bluetooth signal strength and threshold, the terminal demodulates and displays device information when the wireless headset is close to the terminal, solving the problem of high false pop-up rates and improving connection efficiency and accuracy.

CN115941835BActive Publication Date: 2024-10-29REALME MOBILE TELECOMM SHENZHEN CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211430939.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-15
Publication Date
2024-10-29
Estimated Expiration
2042-11-15

AI Technical Summary

Technical Problem

In the existing technology, when a terminal is connected to a wireless headset, a high rate of false pop-up windows is prone to occur, resulting in low user connection efficiency.

Method used

By determining the signal strength of the received Bluetooth signal and judging its relationship with the Bluetooth signal threshold, if the signal strength is not less than the threshold, the Bluetooth signal is demodulated and the device information of the wireless audio device is displayed in a pop-up window to guide the user connection; if the signal strength is less than the threshold, it cannot be demodulated and displayed, thereby reducing the false pop-up rate.

Benefits of technology

It effectively reduces the false popup rate of pop-up windows and improves the accuracy and efficiency of wireless headset connection. Especially when the wireless headset is far away from the terminal, it reduces the occurrence of erroneous displays.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115941835B_ABST
    Figure CN115941835B_ABST
Patent Text Reader

Abstract

The present application provides a pop-up window display method, device, terminal and storage medium, which belongs to the field of terminal technology. The method is executed by a terminal, and the method includes: based on the Bluetooth signal of a wireless audio device, determining the signal strength of the Bluetooth signal, the Bluetooth signal is used to indicate the device information of the wireless audio device; when the signal strength is not less than the Bluetooth signal threshold, demodulating the Bluetooth signal to obtain the device information of the wireless audio device; displaying the device information of the wireless audio device in the form of a pop-up window. The method can determine whether the terminal displays a pop-up window by judging the relationship between the signal strength of the Bluetooth signal and the Bluetooth signal threshold, thereby reducing the false pop-up rate of the pop-up window.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a pop-up window display method, device, terminal and storage medium. Background Art

[0002] With the development of terminal technology, terminals can establish a connection with wireless headphones and then play audio through wireless headphones. Most terminals have a headphone pop-up function, which can guide users to correctly connect wireless headphones, greatly improving the efficiency of connecting terminals with wireless headphones. So how to reduce the false pop-up rate of headphones is a technical problem that needs to be solved. Summary of the invention

[0003] The embodiments of the present application provide a pop-up window display method, device, terminal and storage medium, which can reduce the false pop-up rate of pop-up windows. The technical solution is as follows:

[0004] According to one aspect of an embodiment of the present application, a pop-up window display method is provided, the method comprising:

[0005] Determining a signal strength of a Bluetooth signal of a wireless audio device based on the Bluetooth signal of the wireless audio device, wherein the Bluetooth signal is used to indicate device information of the wireless audio device;

[0006] When the signal strength is not less than a Bluetooth signal threshold, demodulating the Bluetooth signal to obtain device information of the wireless audio device;

[0007] The device information of the wireless audio device is displayed in a pop-up window.

[0008] According to another aspect of an embodiment of the present application, a pop-up window display device is provided, the device comprising:

[0009] a determination module, configured to determine a signal strength of a Bluetooth signal of a wireless audio device based on the Bluetooth signal of the wireless audio device, wherein the Bluetooth signal is used to indicate device information of the wireless audio device;

[0010] A demodulation module, configured to demodulate the Bluetooth signal to obtain device information of the wireless audio device when the signal strength is not less than a Bluetooth signal threshold;

[0011] The display module is used to display the device information of the wireless audio device in the form of a pop-up window.

[0012] According to another aspect of an embodiment of the present application, a terminal is provided, comprising a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the pop-up window display method as described in the above aspect.

[0013] According to another aspect of an embodiment of the present application, a chip is provided, which includes a programmable logic circuit and / or program instructions. When the chip runs on a terminal, it is used to implement the pop-up window display method described in the above aspect.

[0014] According to another aspect of an embodiment of the present application, a computer-readable storage medium is provided, wherein the storage medium stores at least one program code, and the at least one program code is used to be executed by a processor to implement the pop-up window display method as described in the above aspect.

[0015] According to another aspect of an embodiment of the present application, a computer program product is provided, which stores at least one program code, and the at least one program code is used to be executed by a processor to implement the pop-up window display method described in the above aspect.

[0016] The embodiment of the present application provides a pop-up window display scheme, which determines the signal strength of the received Bluetooth signal and judges the size relationship between the signal strength and the Bluetooth signal threshold. When the wireless audio device is close to the terminal, the signal strength of the Bluetooth signal is not less than the Bluetooth signal threshold, and the terminal can demodulate the Bluetooth signal and obtain the device information of the demodulated wireless audio device, and then display the device information in the form of a pop-up window to guide the user to connect to the wireless audio device; when the wireless audio device is far away from the terminal, the signal strength of the Bluetooth signal is less than the Bluetooth signal threshold, and the terminal cannot demodulate the Bluetooth signal, and cannot obtain the device information of the demodulated wireless audio device, and will not display the device information in the form of a pop-up window, thereby reducing the false pop-up rate of the pop-up window. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] 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 ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0018] Figure 1 It is a schematic diagram of an implementation environment provided by an embodiment of the present application;

[0019] Figure 2 It is a flow chart of a pop-up window display method provided in an embodiment of the present application;

[0020] Figure 3 It is a flow chart of a pop-up window display method provided in an embodiment of the present application;

[0021] Figure 4 is a schematic diagram of a first pop-up window provided in an embodiment of the present application;

[0022] Figure 5 is a schematic diagram of a second pop-up window provided in an embodiment of the present application;

[0023] Figure 6 It is a structural schematic diagram of a pop-up window display device provided in an embodiment of the present application;

[0024] Figure 7 is a structural schematic diagram of another pop-up window display device provided in an embodiment of the present application;

[0025] Figure 8 It is a structural block diagram of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0027] In this article, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of the associated objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0028] It should be noted that the information (including but not limited to wireless audio device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the Bluetooth signals and device information involved in this application are all obtained with full authorization.

[0029] Figure 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application. Figure 1 , the implementation environment includes a terminal 101 and a wireless audio device 102. The terminal 101 and the wireless audio device 102 are connected via a wireless network.

[0030] Optionally, the terminal 101 can be a mobile phone, a desktop computer, a laptop computer, a tablet computer, a smart watch and other types of terminals. The wireless audio device 102 can be a wireless headset, a Bluetooth speaker and other types of devices. The terminal 101 can receive a Bluetooth signal and determine the signal strength of the Bluetooth signal. When the signal strength is not less than the Bluetooth signal threshold, the terminal 101 can demodulate the Bluetooth signal, obtain the device information of the wireless audio device 102 carried by the broadcast signal, and display the device information in the form of a pop-up window. The wireless audio device 102 can send a Bluetooth signal to the terminal 101, and the Bluetooth signal carries the device information of the wireless audio device 102.

[0031] The pop-up window display method provided in the embodiment of the present application can be applied in the scenario where the terminal 101 and the wireless audio device 102 attempt to establish a wireless connection. The wireless audio device 102 sends a Bluetooth signal to the terminal 101, and the terminal 101 receives the Bluetooth signal and uses the pop-up window display method provided in the embodiment of the present application to display the device information of the wireless audio device 102 in the form of a pop-up window based on the Bluetooth signal. The pop-up window displays a connection control, and the terminal 101 establishes a wireless connection with the wireless audio device 102 in response to the triggering operation of the connection control.

[0032] Of course, the method provided in the embodiment of the present application can also be applied to other pop-up window display scenarios, and the embodiment of the present application does not limit this.

[0033] Figure 2 is a flowchart of a pop-up window display method provided in an embodiment of the present application. The method is executed by a terminal, see Figure 2 , the method comprising:

[0034] 201. The terminal determines a signal strength of a Bluetooth signal based on a Bluetooth signal of a wireless audio device, where the Bluetooth signal is used to indicate device information of the wireless audio device.

[0035] In the embodiment of the present application, the wireless audio device can be a wireless device such as a wireless headset, a Bluetooth speaker, etc., and the wireless audio device can periodically send a Bluetooth signal. The device information of the wireless audio device can include one or more information such as device model, device volume, and device power.

[0036] The terminal can periodically receive the Bluetooth signal sent by the wireless audio device. The terminal can determine the signal strength of the Bluetooth signal based on the Bluetooth signal. The strength of the Bluetooth signal can reflect the distance between the terminal and the wireless audio device. The signal strength is inversely correlated with the distance between the terminal and the wireless audio device. The stronger the signal strength, the closer the distance between the terminal and the wireless audio device; the weaker the signal strength, the farther the distance between the terminal and the wireless audio device.

[0037] 202. When the signal strength is not less than the Bluetooth signal threshold, the terminal demodulates the Bluetooth signal to obtain device information of the wireless audio device.

[0038] In the embodiment of the present application, the Bluetooth signal threshold is used to indicate the lower limit of the signal strength that can be demodulated by the terminal when demodulating the Bluetooth signal, that is, when the signal strength of the Bluetooth signal is not less than the Bluetooth signal threshold, the terminal can demodulate the Bluetooth signal. Since the Bluetooth signal is used to indicate the device information of the wireless audio device, the terminal demodulates the Bluetooth signal to obtain the device information of the wireless audio device.

[0039] The terminal determines whether the terminal can demodulate the Bluetooth signal by judging the relationship between the signal strength of the received Bluetooth signal and the Bluetooth signal threshold. Since the signal strength of the Bluetooth signal can reflect the distance between the terminal and the wireless audio device. Therefore, when the signal strength is not less than the Bluetooth signal threshold, it can be considered that the signal strength of the Bluetooth signal is strong, and the distance between the terminal and the wireless audio device is close. At this time, the terminal demodulates the Bluetooth signal and obtains the device information of the wireless audio device; when the signal strength is less than the Bluetooth signal threshold, it can be considered that the signal strength of the Bluetooth signal is weak, and the distance between the terminal and the wireless audio device is far. At this time, the terminal cannot demodulate the Bluetooth signal and will not obtain the device information of the wireless audio device.

[0040] 203. The terminal displays device information of the wireless audio device in a pop-up window.

[0041] In an embodiment of the present application, the terminal may display a pop-up window, and then display the device information of the wireless audio device in the pop-up window. For different wireless audio devices, the device information displayed in the pop-up window may be different, and the style of the pop-up window may also be different. Optionally, the pop-up window displays a picture animation of the wireless audio device, and the picture animation vividly displays the appearance information of the wireless audio device, so that the user can intuitively understand the wireless audio device.

[0042] The embodiment of the present application provides a pop-up window display scheme, which determines the signal strength of the received Bluetooth signal and judges the size relationship between the signal strength and the Bluetooth signal threshold. When the wireless audio device is close to the terminal, the signal strength of the Bluetooth signal is not less than the Bluetooth signal threshold, and the terminal can demodulate the Bluetooth signal and obtain the device information of the demodulated wireless audio device, and then display the device information in the form of a pop-up window to guide the user to connect to the wireless audio device; when the wireless audio device is far away from the terminal, the signal strength of the Bluetooth signal is less than the Bluetooth signal threshold, and the terminal cannot demodulate the Bluetooth signal, and cannot obtain the device information of the demodulated wireless audio device, and will not display the device information in the form of a pop-up window, thereby reducing the false pop-up rate of the pop-up window.

[0043] Figure 3 is a flowchart of a pop-up window display method provided in an embodiment of the present application. The method is executed by a terminal, see Figure 3 , the method comprising:

[0044] 301. The terminal determines a signal strength of a Bluetooth signal based on a Bluetooth signal of a wireless audio device, where the Bluetooth signal is used to indicate device information of the wireless audio device.

[0045] In the embodiment of the present application, the wireless audio device is a wireless headset as an example for description. The Bluetooth signal is sent by the wireless headset when the lid of the headset box is opened. The way in which the terminal determines the signal strength of the Bluetooth signal is the same as the above step 201, which is not repeated here.

[0046] 302. When the signal strength is not less than the Bluetooth signal threshold, the terminal demodulates the Bluetooth signal to obtain device information of the wireless audio device.

[0047] In the embodiment of the present application, if the signal strength is less than the Bluetooth signal threshold, the terminal cannot demodulate the Bluetooth signal, and thus cannot obtain the device information of the wireless audio device; if the signal strength is not less than the communication signal threshold, the terminal can demodulate the Bluetooth signal and obtain the device information. The way in which the terminal demodulates the Bluetooth signal is the same as in step 202 above, and will not be described in detail here.

[0048] It should be noted that the wireless audio device may be a first-time access terminal or a non-first-time access terminal. When the wireless audio device is accessed for the first time, the terminal executes step 303; when the wireless audio device is not accessed for the first time, the terminal executes step 304.

[0049] 303. When the wireless audio device is connected for the first time, the terminal displays a first pop-up window, where the first pop-up window displays device information and a connection control of the wireless audio device, where the connection control is used to establish a connection with the wireless audio device after being triggered.

[0050] In an embodiment of the present application, when the wireless audio device is connected for the first time, the terminal needs to guide the user to connect to the wireless audio device, and the terminal can display a first pop-up window at this time. The first pop-up window can be displayed on any interface.

[0051] For example, if the terminal currently displays the main interface, the first pop-up window can be displayed on the main interface. Optionally, the first pop-up window can pop up from the bottom of the main interface, or from the top of the main interface, or from the left or right side of the main interface, which is not limited in this embodiment of the present application.

[0052] The connection control in the first pop-up window is used to prompt the user to establish a connection with the wireless audio device. If the user needs the terminal to establish a connection with the wireless audio device, the connection control can be triggered. The operation of triggering the connection control may include a click operation, a long press operation, etc., which is not limited in this embodiment. The terminal establishes a connection with the wireless audio device in response to the triggering operation of the connection control.

[0053] For example, see Figure 4 In the first pop-up window shown, the wireless audio device is a wireless headset, and the first pop-up window displays the device information and connection control of the wireless headset. The device information includes the headset model of the wireless headset. The connection control is a button control. The first pop-up window can also display a picture animation of the wireless headset, which vividly shows the appearance information of the wireless headset, so that the user can intuitively understand the wireless headset.

[0054] 304. If the wireless audio device is not connected for the first time, the terminal displays a second pop-up window, where the second pop-up window displays device information of the wireless audio device.

[0055] In an embodiment of the present application, when the wireless audio device is not accessed for the first time, that is, when the terminal has established a connection with the wireless audio device, the terminal displays a second pop-up window. The second pop-up window can be displayed on any interface. For example, if the terminal is currently in the main interface, the second pop-up window can be displayed on the main interface, which will not be repeated here.

[0056] For example, see Figure 5 In the second pop-up window shown, the wireless audio device is a wireless headset, which includes a left headset, a right headset and a headset box. The second pop-up window displays the device information of the wireless headset, which may include the headset model, the power value of the headset box, the power value of the left headset and the power value of the right headset. The second pop-up window also displays the headset box picture, the left headset picture and the right headset picture of the wireless headset, vividly showing the specific structure of the wireless headset. The second pop-up window also displays the information "Wireless headset connected", indicating that the connection between the terminal and the wireless headset has been established.

[0057] It is understandable that in the above embodiment, after the terminal demodulates the broadcast signal and obtains the device information of the wireless audio device, the terminal can also trigger a pop-up window event based on the device information. Accordingly, the terminal triggers a pop-up window event based on the device information of the wireless audio device obtained by demodulation, and displays the device information of the wireless audio device in the form of a pop-up window based on the pop-up window event. The pop-up window event is used to trigger the terminal to display the device information in the form of a pop-up window.

[0058] It is understandable that in the above embodiment, when the connection with the wireless audio device has been established, the terminal can also adjust the transmission power of the wireless audio device. Accordingly, when the connection with the wireless audio device has been established, the terminal obtains the transmission power of the wireless audio device, and when the transmission power is greater than the power threshold, sends a power adjustment instruction to the wireless audio device, and the power adjustment instruction is used to instruct the wireless audio device to adjust the transmission power to the power threshold.

[0059] Wherein, when the connection with the wireless audio device has been established, the terminal obtains the demodulated device information of the wireless audio device by demodulating the Bluetooth signal of the wireless audio device. The device information includes the transmission power of the wireless audio device, and the transmission power can reflect the signal strength of the Bluetooth signal when the wireless audio device transmits the Bluetooth signal. The transmission power is positively correlated with the signal strength. The greater the transmission power, the stronger the signal strength; the smaller the transmission power, the weaker the signal strength. The power threshold is used to limit the transmission power of the wireless audio device, and the power threshold is set by the terminal. The terminal can obtain the transmission power of the wireless audio device based on the device information, and send a power adjustment instruction to the wireless audio device when the transmission power is greater than the power threshold set by the terminal. The wireless audio device responds to the power adjustment instruction and adjusts the transmission power to the power threshold. When the transmission power is not greater than the power threshold, the wireless audio device keeps the transmission power unchanged. Since the terminal can adjust the transmission power of the wireless audio device, when the transmission power of the wireless audio device is greater than the power threshold, that is, when the transmission power of the wireless audio device is high, the terminal can adjust the transmission power to the power threshold. Since the power threshold is low power, when the transmission power of the wireless audio device is low power, the Bluetooth signal is not easily affected by the multipath effect, making the Bluetooth signal more stable.

[0060] It is understandable that in the above-mentioned embodiment, when the connection with the wireless audio device has been established, after the terminal obtains the transmission power of the wireless audio device, it can also display a pop-up window when the transmission power is not greater than the power threshold. Correspondingly, when the transmission power is not greater than the power threshold, the terminal displays a third pop-up window, and the third pop-up window is used to prompt that the signal strength of the Bluetooth signal of the wireless audio device is weak. Among them, since the transmission power can reflect the signal strength of the Bluetooth signal when the wireless audio device transmits the Bluetooth signal, therefore, when the transmission power is not greater than the power threshold, it indicates that the signal strength of the Bluetooth signal is weak. The terminal can prompt the user that the Bluetooth signal of the wireless audio device connected to the terminal is weak by displaying the third pop-up window.

[0061] It is understandable that in the above embodiment, after the terminal demodulates the broadcast signal and obtains the device information of the wireless audio device, the terminal can also determine the device Bluetooth signal threshold of the wireless audio device based on the transmission power of the wireless audio device and the signal strength of the Bluetooth signal. Accordingly, the terminal determines the device Bluetooth signal threshold through the following steps (1) and (2):

[0062] (1) The terminal determines the link loss and efficiency loss based on the transmission power of the wireless audio device and the signal strength of the Bluetooth signal. The link loss is the power loss when transmitting the Bluetooth signal in space, and the efficiency loss is the power loss when sending and receiving the Bluetooth signal through the antenna.

[0063] In an embodiment of the present application, the terminal obtains the device information of the demodulated wireless audio device by demodulating the Bluetooth signal, and the device information includes the transmission power. Based on the transmission power and the signal strength of the Bluetooth signal, the terminal can determine the link loss and efficiency loss. Among them, the efficiency loss includes two parts, one part is the power loss when the wireless audio device transmits the Bluetooth signal through the antenna, and the other part is the power loss when the terminal receives the Bluetooth signal through the antenna. Link loss is the power loss generated by the Bluetooth signal during the spatial transmission process. Among them, the size of the link loss can reflect the distance between the terminal and the wireless audio device, and the link loss is inversely correlated with the distance between the terminal and the wireless audio device, that is, the greater the link loss, the farther the distance; the smaller the link loss, the closer the distance.

[0064] (2) The terminal determines the device Bluetooth signal threshold based on the transmission power, link loss, and efficiency loss of the wireless audio device.

[0065] In an embodiment of the present application, based on the transmission power of the wireless audio device, the terminal can determine the signal strength of the Bluetooth signal of the wireless audio device during transmission, and then based on the signal strength during transmission and the power loss and efficiency loss of the Bluetooth signal during spatial transmission, it can determine the signal strength of the Bluetooth signal when it reaches the terminal, and set the signal strength as the device Bluetooth signal threshold, so that when the signal strength of the Bluetooth signal is not less than the device Bluetooth signal threshold, the terminal can display the device information of the wireless audio device in the form of a pop-up window.

[0066] It is understandable that in the above embodiment, after the terminal determines the device signal threshold based on the transmission power, link loss and efficiency loss of the wireless audio device, the terminal can also determine whether to display a pop-up window by judging the relationship between the device Bluetooth signal threshold and the signal strength of the Bluetooth signal. Accordingly, when the signal strength is not less than the device Bluetooth signal threshold, the terminal displays the device information of the wireless audio device in the form of a pop-up window. When the signal strength is less than the device Bluetooth signal threshold, the terminal does not display a pop-up window.

[0067] In the embodiment of the present application, since different wireless audio devices correspond to different device Bluetooth signal thresholds, the terminal obtains the device Bluetooth signal threshold corresponding to the wireless audio device for different wireless audio devices. The device Bluetooth signal threshold is used to indicate the lower limit of the signal strength of the Bluetooth signal when the terminal displays the device information of the wireless audio device in the form of a pop-up window. That is, when the signal strength of the Bluetooth signal is not less than the device Bluetooth signal threshold, the terminal can display a pop-up window, which displays the device information of the wireless audio device; when the signal strength of the Bluetooth signal is less than the device Bluetooth signal threshold, the terminal does not display the pop-up window.

[0068] The embodiment of the present application provides a pop-up window display scheme, which determines the signal strength of the received Bluetooth signal and judges the size relationship between the signal strength and the Bluetooth signal threshold. When the wireless audio device is close to the terminal, the signal strength of the Bluetooth signal is not less than the Bluetooth signal threshold, and the terminal can demodulate the Bluetooth signal and obtain the device information of the demodulated wireless audio device, and then display the device information in the form of a pop-up window to guide the user to connect to the wireless audio device; when the wireless audio device is far away from the terminal, the signal strength of the Bluetooth signal is less than the Bluetooth signal threshold, and the terminal cannot demodulate the Bluetooth signal, and cannot obtain the device information of the demodulated wireless audio device, and will not display the device information in the form of a pop-up window, thereby reducing the false pop-up rate of the pop-up window.

[0069] Furthermore, when the transmission power of the wireless audio device is greater than the power threshold, that is, when the transmission power of the wireless audio device is high, the terminal can adjust the transmission power to the power threshold. Since the power threshold is low power, when the transmission power of the wireless audio device is low power, the Bluetooth signal is not easily affected by the multipath effect, making the Bluetooth signal more stable.

[0070] It should be noted that, in order to more clearly illustrate the pop-up window display method provided by the embodiment of the present application, the following takes the wireless audio device as a wireless headset as an example to illustrate the process of the pop-up window display method provided by the embodiment of the present application. First, the wireless headset transmits the Bluetooth signal through the antenna. For example, the transmission power of the wireless headset can be -15dbm (decibel milliwatt), and the radiation power of the antenna of the wireless headset can be -6db (decibel), that is, the power loss of the wireless headset antenna transmitting the Bluetooth signal is -6db. Then the Bluetooth signal is transmitted in space, wherein the Bluetooth signal will generate power loss during the spatial transmission process. Finally, the Bluetooth signal arrives at the terminal, and the radiation efficiency of the antenna of the terminal can be -4db, that is, the power loss of the terminal antenna receiving the Bluetooth signal is -4db. The terminal receives the Bluetooth signal through the antenna and determines the signal strength of the Bluetooth signal. When the terminal is 1.5 meters away from the wireless headset, the wireless headset transmits the Bluetooth signal through the antenna, and the Bluetooth signal arrives at the terminal after spatial transmission. At this time, the signal strength of the Bluetooth signal has dropped below -100dbm. Since the Bluetooth signal threshold is -100dbm, the signal strength is less than the Bluetooth signal threshold. Since the Bluetooth signal threshold is used to indicate the lower limit of the signal strength that the terminal can demodulate when demodulating the Bluetooth signal, the terminal cannot demodulate the Bluetooth signal at this time, cannot obtain the device information of the wireless headset, and thus cannot display the pop-up window. When the distance between the terminal and the wireless headset is 20 cm, the wireless headset transmits the Bluetooth signal through the antenna, and the Bluetooth signal reaches the terminal after space transmission. At this time, the signal strength of the Bluetooth signal is -70dbm, which is greater than the Bluetooth signal threshold. At this time, the terminal can demodulate the Bluetooth signal, obtain the device information of the wireless headset, and display the device information in the form of a pop-up window.

[0071] In order to more intuitively reflect the difference between the pop-up window display solution provided in the embodiment of the present application and the solution using RSSI (Received Signal Strength Indicator) ranging technology, take the wireless audio device as a wireless headset and the terminal as a mobile phone as an example. As shown in Tables 1 and 2, when the distance between the wireless headset and the mobile phone is relatively close, the pop-up window display solution provided in the embodiment of the present application and the solution using RSSI ranging technology are respectively experimented, and the success rate of the pop-up window when these two solutions are adopted can be obtained, that is, the probability that the mobile phone successfully displays the pop-up window. As shown in Tables 3 and 4, when the distance between the wireless headset and the mobile phone is relatively far, the pop-up window display solution provided in the embodiment of the present application and the solution using RSSI ranging technology are respectively experimented, and the false pop-up rate of the pop-up window when these two solutions are adopted can be obtained, that is, the probability that the mobile phone incorrectly displays the pop-up window.

[0072] Table 1

[0073]

[0074] Refer to Table 1, which shows the success rate of the pop-up window when the distance between the wireless headset and the mobile phone is close using the pop-up window display solution provided by the embodiment of the present application. The success rate indicates the probability that the mobile phone successfully displays the pop-up window when the wireless headset is close. When the distance between the wireless headset and the mobile phone is 20 cm, the number of times the mobile phone successfully displays the pop-up window is tested from the top, bottom, left, and right directions, and the time for the mobile phone to display the pop-up window is tested, and each direction is tested 30 times in total. Based on the time it takes to display the pop-up window each time, the average time it takes for the mobile phone to display the pop-up window in the 30 test results can be obtained. And based on the number of successful pop-ups and the total number of tests, the probability that the mobile phone successfully displays the pop-up window is determined. When the wireless headset version is A and the mobile phone version is B, when the wireless headset is located above the mobile phone, the success rate of the mobile phone displaying the pop-up window within (0, 2 seconds], (0, 3 seconds] and (0, 5 seconds] is 100%, and the average time for displaying the pop-up window is 1.2 seconds. When the wireless headset is located below the mobile phone, the success rate of the mobile phone displaying the pop-up window within (0, 2 seconds] is 93%, and the probability of the mobile phone successfully displaying the pop-up window within (0, 3 seconds] and (0, 5 seconds] is 100%, and the average time for displaying the pop-up window is 1.43 seconds. When the wireless headset is located on the left side of the mobile phone, the success rate of the mobile phone displaying the pop-up window within (0, 2 seconds], (0 , 3 seconds] and (0, 5 seconds], the probability that the mobile phone successfully displays the pop-up window is 90%, 97% and 100% respectively, and the average time for displaying the pop-up window is 1.44 seconds. When the wireless headset is located on the right side of the mobile phone, the probability that the mobile phone successfully displays the pop-up window within (0, 2 seconds], (0, 3 seconds] and (0, 5 seconds] are 93%, 100% and 100% respectively, and the average time for displaying the pop-up window is 1.34 seconds. Similarly, when the version of the wireless headset is A and the version of the mobile phone is C, tests are performed from the top, bottom, left and right directions respectively to obtain the probability that the mobile phone successfully displays the pop-up window within a fixed time.

[0075] Table 2

[0076]

[0077] See Table 2, which shows the success rate of pop-up windows when the distance between the wireless headset and the mobile phone is close, using the solution using RSSI ranging technology. The success rate indicates the probability that the mobile phone successfully displays a pop-up window when the wireless headset is close. When the distance between the wireless headset and the mobile phone is 20 cm, the number of times the mobile phone successfully displays a pop-up window is tested from the top, bottom, left, and right directions, and the time the mobile phone displays the pop-up window is tested, with a total of 30 tests in each direction. Based on the time it takes to display a pop-up window each time, the average time the mobile phone displays a pop-up window in the 30 test results can be obtained. And based on the number of successful pop-ups and the total number of tests, the probability that the mobile phone successfully displays a pop-up window is determined. When the wireless headset is version A and the mobile phone version is version B, when the wireless headset is located above the mobile phone, the probability of the mobile phone successfully displaying the pop-up window within (0, 2 seconds], (0, 3 seconds] and (0, 5 seconds] are 50%, 93% and 93% respectively, and the average time for displaying the pop-up window is 2.25 seconds. When the wireless headset is located below the mobile phone, the probability of the mobile phone successfully displaying the pop-up window within (0, 2 seconds], (0, 3 seconds] and (0, 5 seconds] are 50%, 73% and 77% respectively, and the average time for displaying the pop-up window is 3.11 seconds. The wireless headset is located above the mobile phone. When the wireless headset is located on the left side of the mobile phone, the probability of the mobile phone successfully displaying the pop-up window within (0, 2 seconds], (0, 3 seconds] and (0, 5 seconds] are 83%, 100% and 100% respectively, and the average time for displaying the pop-up window is 1.44 seconds. When the wireless headset is located on the right side of the mobile phone, the probability of the mobile phone successfully displaying the pop-up window within (0, 2 seconds], (0, 3 seconds] and (0, 5 seconds] is 0%. Similarly, when the version of the wireless headset is A and the version of the mobile phone is C, tests are performed from the top, bottom, left and right directions respectively to obtain the probability of the mobile phone successfully displaying the pop-up window within a fixed time.

[0078] Table 3

[0079]

[0080]

[0081] See Table 3, which shows the false bounce rate of the pop-up window when the distance between the wireless headset and the mobile phone is far away using the pop-up window display scheme provided by the embodiment of the present application. The false bounce rate indicates the probability that the mobile phone displays the pop-up window incorrectly when the distance from the wireless headset is far away. When the distance between the wireless headset and the mobile phone is 150 cm, the number of times the mobile phone displays the pop-up window, i.e., the number of false bounces, is tested from the front, back, left, and right directions. And based on each direction, there are two ways to hold the mobile phone, namely, holding the mobile phone with the right hand and holding the mobile phone with the left hand. And based on the number of false bounces and the total number of tests, the false bounce rate of the mobile phone is determined. When the version of the wireless headset is A and the version of the mobile phone is B, when the wireless headset is on the left side of the mobile phone, the number of false bounces of the right-handed mobile phone is 0, and the false bounce rate is 0%, and the number of false bounces of the left-handed mobile phone is 0, and the false bounce rate is 0%. When the wireless headset is on the right side of the mobile phone, the number of false bounces of the right-handed mobile phone is 0, and the false bounce rate is 0%, and the number of false bounces of the left-handed mobile phone is 0, and the false bounce rate is 0%. When the wireless headset is in front of the phone, the number of false positives when the phone is held in the right hand is 1, and the false positive rate is 5%. When the phone is held in the left hand, the number of false positives is 0, and the false positive rate is 0%. When the wireless headset is in the back of the phone, the number of false positives when the phone is held in the right hand is 0, and the false positive rate is 0%. When the phone is held in the left hand, the number of false positives is 0, and the false positive rate is 0%. Similarly, when the wireless headset version is A and the phone version is C, the false positive rate of the pop-up window is obtained by testing from the front, back, left, and right directions.

[0082] Table 4

[0083]

[0084]

[0085] See Table 4, which shows the false bounce rate of the pop-up window when the distance between the wireless headset and the mobile phone is far away using the RSSI ranging technology. The false bounce rate indicates the probability that the mobile phone displays a pop-up window when the distance from the wireless headset is far away. When the distance between the wireless headset and the mobile phone is 150 cm, the number of times the mobile phone displays a pop-up window, that is, the number of false bounces, is tested from the front, back, left, and right directions. And based on each direction, there are two ways to hold the mobile phone, namely, holding the mobile phone with the right hand and holding the mobile phone with the left hand. And based on the number of false bounces and the total number of tests, the false bounce rate of the mobile phone is determined. When the wireless headset version is A and the mobile phone version is B, when the wireless headset is on the left side of the mobile phone, the number of false bounces when the right hand holds the mobile phone is 14, the false bounce rate is 70%, and the number of false bounces when the left hand holds the mobile phone is 0, and the false bounce rate is 0%. When the wireless headset is on the right side of the mobile phone, the number of false bounces when the right hand holds the mobile phone is 3, the false bounce rate is 15%, and the number of false bounces when the left hand holds the mobile phone is 0, and the false bounce rate is 0%. When the wireless headset is in front of the phone, the number of false positives when the phone is held in the right hand is 11, and the false positive rate is 55%. When the wireless headset is in the back of the phone, the number of false positives when the phone is held in the right hand is 0, and the false positive rate is 0%. When the wireless headset is in the back of the phone, the number of false positives when the phone is held in the right hand is 0, and the false positive rate is 0%. Similarly, when the wireless headset version is A and the phone version is C, the false positive rate of the pop-up window is obtained by testing from the front, back, left, and right directions.

[0086] In summary, by comparing the data in Table 1 and Table 2, it can be found that when the distance between the wireless headset and the mobile phone is relatively close, the pop-up display solution provided by the embodiment of the present application has a higher success rate for the mobile phone to display the pop-up window than the solution using RSSI ranging technology, and the success rate is basically maintained at more than 90%. And the average time for the mobile phone to display the pop-up window in different directions is closer, basically maintained at about 1.3 seconds. Therefore, using the pop-up display solution provided by the embodiment of the present application, the effect of the mobile phone displaying the pop-up window is more stable. Comparing the data in Table 3 and Table 4, it can be found that when the distance between the wireless headset and the mobile phone is relatively far, the pop-up display solution provided by the embodiment of the present application has a greatly reduced false bullet rate of the mobile phone compared to the solution using RSSI ranging technology, and basically can achieve a zero false bullet rate.

[0087] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.

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

[0089] Figure 6 is a structural diagram of a pop-up window display device provided in an embodiment of the present application. Figure 6 , the device comprises:

[0090] A determination module 601 is used to determine the signal strength of the Bluetooth signal based on the Bluetooth signal of the wireless audio device, where the Bluetooth signal is used to indicate device information of the wireless audio device;

[0091] The demodulation module 602 is used to demodulate the Bluetooth signal to obtain device information of the wireless audio device when the signal strength is not less than the Bluetooth signal threshold;

[0092] The display module 603 is used to display the device information of the wireless audio device in the form of a pop-up window.

[0093] In some embodiments, Figure 7 is a structural diagram of another pop-up window display device provided in an embodiment of the present application, see Figure 7 , the display module 603 comprises:

[0094] The first display unit 701 is used to display a first pop-up window when the wireless audio device is connected for the first time, wherein the first pop-up window displays device information and a connection control of the wireless audio device, and the connection control is used to establish a connection with the wireless audio device after being triggered;

[0095] The second display unit 702 is used to display a second pop-up window when the wireless audio device is not connected for the first time, and the second pop-up window displays device information of the wireless audio device.

[0096] In some embodiments, see Figure 7 , the device further comprises:

[0097] The acquisition module 604 is used to acquire the transmission power of the wireless audio device when the connection with the wireless audio device has been established;

[0098] The adjustment module 605 is used to send a power adjustment instruction to the wireless audio device when the transmission power is greater than the power threshold, and the power adjustment instruction is used to instruct the wireless audio device to adjust the transmission power to the power threshold.

[0099] In some embodiments, see Figure 7 The adjustment module 605 is also used to display a third pop-up window when the transmission power is less than the power threshold, and the third pop-up window is used to prompt that the signal strength of the Bluetooth signal of the wireless audio device is weak.

[0100] In some embodiments, see Figure 7 , the device further comprises:

[0101] A loss determination module 606, configured to determine a link loss and an efficiency loss based on the transmission power of the wireless audio device and the signal strength of the Bluetooth signal, wherein the link loss is the power loss when transmitting the Bluetooth signal in space, and the efficiency loss is the power loss when transmitting and receiving the Bluetooth signal through the antenna;

[0102] The threshold determination module 607 is used to determine the device Bluetooth signal threshold of the wireless audio device based on the transmission power, link loss and efficiency loss of the wireless audio device.

[0103] In some embodiments, see Figure 7 The display module 603 is also used to display the device information of the wireless audio device in the form of a pop-up window when the signal strength is not less than the device Bluetooth signal threshold.

[0104] The embodiment of the present application provides a pop-up window display device, which determines the signal strength of the received Bluetooth signal and judges the size relationship between the signal strength and the Bluetooth signal threshold. When the wireless audio device is close to the terminal, the signal strength of the Bluetooth signal is not less than the Bluetooth signal threshold, and the terminal can demodulate the Bluetooth signal and obtain the device information of the demodulated wireless audio device, and then display the device information in the form of a pop-up window to guide the user to connect to the wireless audio device; when the wireless audio device is far away from the terminal, the signal strength of the Bluetooth signal is less than the Bluetooth signal threshold, and the terminal cannot demodulate the Bluetooth signal, and cannot obtain the device information of the demodulated wireless audio device, and will not display the device information in the form of a pop-up window, thereby reducing the false pop-up rate of the pop-up window.

[0105] It should be noted that the pop-up window display device provided in the above embodiment, when implementing its functions, only uses the division of the above functional modules as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the pop-up window display device provided in the above embodiment and the pop-up window display method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0106] An embodiment of the present application provides a terminal, which includes a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the pop-up window display method provided in the above-mentioned various method embodiments.

[0107] Figure 8800 is a block diagram of a terminal provided in an embodiment of the present application. In some embodiments, the terminal 800 is a terminal such as a smart phone, a tablet computer, a wearable device, etc. that can access a wireless local area network as a wireless station. The terminal 800 in the present application includes at least one or more of the following components: a processor 810, a memory 820, and at least two wireless links 830.

[0108] In some embodiments, the processor 810 includes one or more processing cores. The processor 810 uses various interfaces and lines to connect various parts of the entire terminal 800, and executes various functions and processes data of the terminal 800 by running or executing program codes stored in the memory 820, and calling data stored in the memory 820. In some embodiments, the processor 810 is implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 810 can integrate one or more combinations of central processing unit (CPU), graphics processing unit (GPU), neural network processor (NPU) and modem. Among them, the CPU mainly processes the operating system, user interface and application program; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the NPU is used to implement artificial intelligence (AI) functions; and the modem is used to process wireless communications. It is understandable that the above-mentioned modem may not be integrated into the processor 810, but may be implemented by a separate chip.

[0109] In some embodiments, the processor 810 is used to control the working conditions of at least two wireless links 830. Accordingly, the processor 810 is a processor integrated with a wireless fidelity (Wireless Fidelity, Wi-Fi) chip. The Wi-Fi chip is a chip with dual Wi-Fi processing capabilities. For example, the Wi-Fi chip is a dual-band dual concurrent (Dual Band Dual Concurrent, DBDC) chip, or a dual-band synchronous (Dual Band Simultaneous, DBS) chip, etc.

[0110] In some embodiments, the memory 820 includes a random access memory (RAM), and in some embodiments, the memory 820 includes a read-only memory (ROM). In some embodiments, the memory 820 includes a non-transitory computer-readable storage medium. The memory 820 can be used to store program codes. The memory 820 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 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 store data created according to the use of the terminal 800 (such as audio data, a phone book), etc.

[0111] In some embodiments, the memory 820 stores reception schemes for receiving beacon frames of different wireless links 830, as well as identifiers of access nodes connected to different wireless links 830, identifiers of wireless links 830, and the like.

[0112] The at least two wireless links 830 are used to connect different access points (APs) to receive downlink data sent by the APs, wherein the different access points are access points in the same router or access points in different routers.

[0113] In some embodiments, the terminal 800 also includes a display screen. The display screen is a display component for displaying a user interface. In some embodiments, the display screen is a display screen with a touch function, through which the user can use any suitable object such as a finger or a touch pen to perform touch operations on the display screen. In some embodiments, the display screen is usually arranged on the front panel of the terminal 800. In some embodiments, the display screen is designed to be a full screen, a curved screen, a special-shaped screen, a double-sided screen or a folding screen. In some embodiments, the display screen is also designed to be a combination of a full screen and a curved screen, a combination of a special-shaped screen and a curved screen, etc., which is not limited in this embodiment.

[0114] In addition, those skilled in the art will appreciate that the structure of the terminal 800 shown in the above drawings does not limit the terminal 800, and the terminal 800 includes more or fewer components than shown in the drawings, or combines certain components, or arranges components differently. For example, the terminal 800 also includes components such as a microphone, a speaker, an input unit, a sensor, an audio circuit, a module, a power supply, and a Bluetooth module, which will not be described in detail here.

[0115] The present application also provides a computer-readable storage medium, which stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the pop-up window display method shown in the above embodiments.

[0116] The present application also provides a chip, which includes a programmable logic circuit and / or program instructions. When the chip runs on a terminal, it is used to implement the pop-up window display method shown in the above embodiments.

[0117] The present application also provides a computer program product, which stores at least one program code, and the at least one program code is used to be executed by a processor to implement the pop-up window display method shown in the above embodiments.

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

[0119] Those skilled in the art can understand that all or part of the steps in the pop-up window display method of the above embodiment can be completed by hardware, or by a program to instruct the relevant hardware to complete, and the program can be stored in a computer-readable storage medium, and the above-mentioned storage medium can be a read-only memory, a disk or an optical disk, etc. The above is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A pop-up window display method, characterized in that: Applied to a terminal, the method comprises: Determining a signal strength of a Bluetooth signal of a wireless audio device based on the Bluetooth signal of the wireless audio device, wherein the Bluetooth signal is used to indicate device information of the wireless audio device; When the signal strength is not less than a Bluetooth signal threshold, demodulate the Bluetooth signal to obtain device information of the wireless audio device, wherein the Bluetooth signal threshold is used to indicate a lower limit of the signal strength that can be demodulated by the terminal when demodulating the Bluetooth signal; Displaying device information of the wireless audio device in a pop-up window; When a connection with the wireless audio device has been established, obtaining a transmission power of the wireless audio device; When the transmit power is greater than the power threshold, a power adjustment instruction is sent to the wireless audio device, where the power adjustment instruction is used to instruct the wireless audio device to adjust the transmit power to the power threshold.

2. The method according to claim 1, characterized in that The pop-up window includes a first pop-up window and a second pop-up window, and the device information of the wireless audio device is displayed in the form of a pop-up window, including: When the wireless audio device is connected for the first time, displaying the first pop-up window, wherein the first pop-up window displays device information and a connection control of the wireless audio device, wherein the connection control is used to establish a connection with the wireless audio device after being triggered; When the wireless audio device is not connected for the first time, the second pop-up window is displayed, and the second pop-up window displays device information of the wireless audio device.

3. The method according to claim 1, characterized in that The method further comprises: When the transmission power is not greater than the power threshold, a third pop-up window is displayed, where the third pop-up window is used to prompt that the signal strength of the Bluetooth signal of the wireless audio device is weak.

4. The method according to claim 1, characterized in that: The method further comprises: Determine a link loss and an efficiency loss based on the transmission power of the wireless audio device and the signal strength of the Bluetooth signal, wherein the link loss is the power loss when the Bluetooth signal is transmitted in space, and the efficiency loss is the power loss when the Bluetooth signal is sent and received through an antenna; A device Bluetooth signal threshold of the wireless audio device is determined based on the transmit power of the wireless audio device, the link loss, and the efficiency loss.

5. The method according to claim 4, characterized in that The displaying of the device information of the wireless audio device in the form of a pop-up window includes: When the signal strength is not less than the device Bluetooth signal threshold, the device information of the wireless audio device is displayed in a pop-up window.

6. A pop-up window display device, characterized in that: The device comprises: a determination module, configured to determine a signal strength of a Bluetooth signal of a wireless audio device based on the Bluetooth signal of the wireless audio device, wherein the Bluetooth signal is used to indicate device information of the wireless audio device; A demodulation module, configured to demodulate the Bluetooth signal to obtain device information of the wireless audio device when the signal strength is not less than a Bluetooth signal threshold, wherein the Bluetooth signal threshold is used to indicate a lower limit of the signal strength that can be demodulated by the terminal when demodulating the Bluetooth signal; A display module, used to display device information of the wireless audio device in the form of a pop-up window; an acquisition module, configured to acquire the transmission power of the wireless audio device when a connection with the wireless audio device has been established; The adjustment module is used to send a power adjustment instruction to the wireless audio device when the transmission power is greater than the power threshold, and the power adjustment instruction is used to instruct the wireless audio device to adjust the transmission power to the power threshold.

7. A terminal, characterized in that: The terminal includes a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the pop-up window display method as described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The storage medium stores at least one program code, and the at least one program code is used to be executed by a processor to implement the pop-up window display method as described in any one of claims 1 to 5.

9. A chip, characterized in that: The chip includes a programmable logic circuit and / or program instructions, and when the chip runs on the terminal, it is used to implement the pop-up window display method as described in any one of claims 1 to 5.

10. A computer program product, comprising a computer program, characterized in that The computer program product stores at least one program code, and the at least one program code is used to be executed by a processor to implement the pop-up window display method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Transmission power control method, equipment and wireless controller

    CN108207021A

  • Information processing method, terminal and computer storage medium

    CN109788441A

  • Prompt information display method and device and electronic equipment

    CN112333332A