A method for finding a wireless earphone

By obtaining the RSSI value and location coordinates of the wireless earphone before it disconnects from the terminal via Bluetooth, and combining this with the Bluetooth module status, the target retrieval area is calculated. This solves the problem of low retrieval efficiency after the wireless earphone is lost, and improves retrieval efficiency and accuracy.

CN117596544BActive Publication Date: 2026-07-03JIANGXI RUISHENG ELECTRONIC CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
JIANGXI RUISHENG ELECTRONIC CO LTD
Filing Date
2023-11-01
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

The current wireless earphones are difficult to locate and retrieve efficiently after being lost, resulting in a time-consuming, labor-intensive, and inefficient retrieval process.

Method used

By obtaining the RSSI value and location coordinates before and after the wireless earphone disconnects from the terminal via Bluetooth, and combining this with the terminal's Bluetooth module status, the wireless earphone loss situation is classified, and the target retrieval area is calculated using the RSSI value and location coordinates.

Benefits of technology

It improves the efficiency and accuracy of finding wireless earphones, thus enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117596544B_ABST
    Figure CN117596544B_ABST
Patent Text Reader

Abstract

This invention discloses a method for retrieving wireless earphones. The method includes: acquiring the first RSS I value and the disconnection location coordinates at the moment the wireless earphone disconnects from the terminal before the Bluetooth connection is lost; determining whether specific location coordinates triggered by a preset RSS I trigger interval are recorded; if no specific location coordinates are recorded, obtaining the target retrieval area based on the first RSS I value and the disconnection location coordinates; if specific location coordinates are recorded, acquiring the connection status of the terminal's Bluetooth module when the wireless earphone disconnects from the terminal; and obtaining the target retrieval area based on the first RSS I value, connection status, disconnection location coordinates, and specific location coordinates. Compared with the prior art, this invention solves the problem of an excessively large retrieval range when using a terminal to retrieve wireless earphones, better adapting to the scenario of lost wireless earphones and improving the accuracy and efficiency of wireless earphone retrieval.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of wireless earphone technology, and in particular to a method for retrieving wireless earphones. Background Technology

[0002] With the development of Bluetooth technology, headphones can obtain and play audio signals from connected devices via Bluetooth data transmission, eliminating the need for a signal cable. However, while eliminating the signal cable improves the convenience of headphone use, it also significantly increases the probability of headphone loss.

[0003] In existing technologies, most wireless earphones do not have a positioning device or positioning component inside. When a user loses a wireless earphone, it is not possible to quickly locate and retrieve it, making the process of finding the wireless earphone both time-consuming and laborious. Some wireless earphones can use terminal assistance to achieve the function of finding the wireless earphone, but the area for locating and retrieving the wireless earphone is too large, making the process of finding the wireless earphone inefficient and troublesome.

[0004] Therefore, it is necessary to provide a method for finding wireless earphones to solve the above problems. Summary of the Invention

[0005] In view of the shortcomings of the existing technology, the present invention provides a method for finding wireless earphones, which aims to solve the technical problem that users cannot efficiently locate and find wireless earphones after they are lost.

[0006] To achieve the above objectives, the present invention provides a method for retrieving wireless earphones, the steps of which include:

[0007] Obtain the first RSSI value and the disconnection location coordinates of the wireless earphones at the moment before the Bluetooth connection with the terminal is disconnected.

[0008] Determine whether specific positioning coordinates triggered by a preset RSSI trigger range have been recorded;

[0009] If no specific location coordinates are recorded, the target retrieval area is obtained based on the first RSSI value and the disconnected location coordinates.

[0010] If specific location coordinates are recorded, the connection status of the terminal's Bluetooth module is obtained when the recorded wireless earphone disconnects from the terminal via Bluetooth.

[0011] Based on the first RSSI value, connection status, disconnection location coordinates, and specific location coordinates, the target retrieval area is obtained.

[0012] In a preferred embodiment, the step of obtaining the target retrieval area based on the first RSSI value, connection status, disconnection location coordinates, and specific location coordinates includes:

[0013] Determine whether the Bluetooth module of the terminal is in an enabled state;

[0014] If not, determine whether the first RSSI value is greater than the upper limit of the RSSI trigger interval;

[0015] If the first RSSI value is greater than the upper limit of the RSSI trigger interval, the target retrieval area is obtained based on the first RSSI value and the disconnection location coordinates.

[0016] In a preferred embodiment, if no specific location coordinates are recorded, the step of obtaining the target retrieval area based on the first RSSI value and the disconnection location coordinates includes: or if the first RSSI value is greater than the upper limit of the RSSI trigger interval, the step of obtaining the target retrieval area based on the first RSSI value and the disconnection location coordinates includes:

[0017] Based on the first RSSI value, obtain the target distance value;

[0018] Based on the distance between the disconnected location coordinates and the target, the target retrieval area is obtained.

[0019] In a preferred embodiment, the step of determining whether the connection status of the terminal's Bluetooth module is enabled further includes:

[0020] If so, then obtain the first distance value based on the lower limit of the RSSI trigger interval;

[0021] The second distance value is determined based on the disconnected positioning coordinates, the specific positioning coordinates, and the first distance value;

[0022] Based on specific positioning coordinates and a first distance value, the positioning coordinates and a second distance value are disconnected to obtain the target retrieval area.

[0023] In a preferred embodiment, the step of determining whether the first RSSI value is greater than the upper limit of the RSSI trigger interval further includes:

[0024] If not, then obtain the first distance value based on the lower limit of the RSSI trigger interval;

[0025] The second distance value is determined based on the disconnected positioning coordinates, the specific positioning coordinates, and the first distance value;

[0026] Based on specific positioning coordinates and a first distance value, the positioning coordinates and a second distance value are disconnected to obtain the target retrieval area.

[0027] In a preferred embodiment, the step of determining the second distance value based on the disconnection location coordinates, the specific location coordinates, and the first distance value includes:

[0028] Calculate the distance between the disconnected location coordinates and the specific location coordinates to obtain the location distance;

[0029] Determine if the location distance is less than the first distance value;

[0030] If so, then the first distance value will be used as the second distance value;

[0031] If not, then the preset specific distance value will be used as the second distance value.

[0032] In a preferred embodiment, the step of disconnecting the positioning coordinates and the second distance value based on specific positioning coordinates and a first distance value to obtain the target retrieval area includes:

[0033] Based on specific positioning coordinates and a first distance value, a first initial region is obtained;

[0034] The second initial region is obtained based on the disconnection location coordinates and the second distance value;

[0035] Based on the first initial region and the second initial region, the target retrieval region is obtained.

[0036] In a preferred embodiment, the step of obtaining the target retrieval region based on the first initial region and the second initial region includes:

[0037] Determine whether the second distance value is greater than the first distance value;

[0038] If so, the intersection of the first initial region and the second initial region is obtained as the target retrieval region.

[0039] In a preferred embodiment, the step of determining whether the second distance value is greater than the first distance value further includes:

[0040] If not, then obtain the difference region between the first initial region and the second initial region, as the target retrieval region.

[0041] In a preferred embodiment, after the step of obtaining the intersection region of the first initial region and the second initial region as the target retrieval region, the method further includes:

[0042] Obtain the intersection point of the first initial region and the second initial region as the third positioning coordinate;

[0043] Obtain the absolute value of the difference between the second distance value and the first distance value, and use it as the third distance value;

[0044] Based on the third positioning coordinates and the third distance value, the third correction range is obtained;

[0045] Obtain the intersection area between the third correction range and the target retrieval area, and use it as the priority retrieval area.

[0046] The present invention also provides an electronic device, which includes a processor, a memory, and program instructions for a wireless earphone retrieval method stored in the memory and executable by the processor. When the program instructions are executed by the processor, they can implement the steps of the wireless earphone retrieval method described above.

[0047] The present invention also provides a computer-readable storage medium storing a program for a method of retrieving a wireless earphone, wherein when the program for the method of retrieving a wireless earphone is executed by a processor, it can implement the steps of the above-described method for retrieving a wireless earphone.

[0048] The beneficial effects of this invention are as follows: This invention classifies the situation after a wireless earphone is lost by determining whether a specific location coordinate triggered by the RSSI trigger interval is recorded, judging the connection status of the recorded terminal's Bluetooth module, and judging the relationship between the first RSSI value and the RSSI trigger interval. Based on the classified situation after the wireless earphone is lost, it comprehensively utilizes the first RSSI value, the connection status of the Bluetooth module, the disconnection location coordinates, and the specific location coordinates to directly or indirectly obtain the target retrieval area for finding the wireless earphone. This solves the problem that when using a terminal to find a wireless earphone, the search range is too large, resulting in low search efficiency. It can better adapt to the scenario when a wireless earphone is lost, improve the efficiency and accuracy of using a terminal to find a wireless earphone, and improve the user experience. Attached Figure Description

[0049] Figure 1 This is a schematic diagram of the first process of the wireless earphone retrieval method according to an embodiment of the present invention;

[0050] Figure 2 This is a schematic diagram of the second process of the wireless earphone retrieval method according to an embodiment of the present invention;

[0051] Figure 3 This is a schematic diagram of the third process of the wireless earphone retrieval method according to an embodiment of the present invention;

[0052] Figure 4 This is a schematic diagram of the fourth process of the wireless earphone retrieval method according to an embodiment of the present invention;

[0053] Figure 5 This is a schematic diagram of the fifth process of the wireless earphone retrieval method according to an embodiment of the present invention;

[0054] Figure 6 This is a schematic diagram of the sixth process of the wireless earphone retrieval method according to an embodiment of the present invention;

[0055] Figure 7 This is a schematic diagram of the seventh process of the wireless earphone retrieval method according to an embodiment of the present invention;

[0056] Figure 8 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. Detailed Implementation

[0057] In this invention, the terms "set up," "equipped with," and "connected" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral structure; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium, or an internal connection between two devices, elements, or components. Those skilled in the art can understand the specific meaning of these terms in this invention according to the specific circumstances.

[0058] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0059] Furthermore, in addition to indicating direction or positional relationship, some of the aforementioned terms may also have other meanings. For example, the term "above" may also be used in certain situations to indicate a dependency or connection. Those skilled in the art can understand the specific meaning of these terms in this invention based on the specific circumstances.

[0060] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.

[0061] With the rapid development of electronic technology, wireless headphones have become increasingly versatile. The emergence of wireless headphones has improved the convenience of using headphones for users. However, due to the small size of the wireless headphones and the absence of wires, they are prone to being lost during use. Moreover, existing wireless headphones usually do not have a positioning device, making it difficult for users to find lost wireless headphones. Or, when users use a terminal to assist in finding wireless headphones, the search area is too large, resulting in a poor user experience.

[0062] This invention provides a method for finding wireless earphones, which solves the problem of low search efficiency caused by an excessively large search area when using a terminal to find wireless earphones. It can adapt to various scenarios when wireless earphones are lost, improves the efficiency and accuracy of finding wireless earphones using a terminal, and enhances the user experience.

[0063] The wireless earphone assembly includes the wireless earphones and the charging case. Compared to the charging case, wireless earphones are more prone to loss due to their smaller size and weight. During use, users sometimes remove the earphones and leave them elsewhere, such as during or after exercise, without returning them to the charging case. In these scenarios, the earphones are easily lost. However, in such cases, if the earphones are lost, they will remain connected to the device until the maximum connection distance is exceeded. Therefore, the device's location function can be used to obtain relevant parameters for locating the earphones, thus assisting in their recovery.

[0064] Please refer to Figure 1 In this embodiment, the steps of the method for retrieving wireless earphones include:

[0065] S1. Obtain the first RSSI value and the disconnection location coordinates at the moment before the wireless earphone disconnects from the terminal.

[0066] The first RSSI value is the signal strength indicator of the Bluetooth connection between the wireless headset and the terminal recorded at the moment before the Bluetooth connection between the wireless headset and the terminal is disconnected. It can be approximately equivalent to the RSSI value when the wireless headset and the terminal disconnect the Bluetooth connection. The disconnection location coordinates are the current location coordinates of the terminal triggered and recorded by the terminal when the Bluetooth connection between the wireless headset and the terminal is disconnected.

[0067] It is easy to understand that the preferred recording method for the first RSSI value and the disconnection location coordinates can be a replacement recording method, that is, when a new RSSI value or a new disconnection location coordinate is detected, the new data will replace the old data that has been recorded.

[0068] S2. Determine whether there are specific positioning coordinates recorded based on RSSI trigger intervals;

[0069] The RSSI trigger interval is the range used to determine whether the RSSI of the Bluetooth connection between the wireless headset and the terminal meets the trigger recording requirements. The specific positioning coordinates are the current positioning coordinates of the terminal that are triggered and recorded when the RSSI value of the Bluetooth connection between the wireless headset and the terminal meets the RSSI trigger interval.

[0070] Specifically, the range of the RSSI trigger interval can be selected and set according to the connection distance between the wireless headset and the terminal. The range of selectable connection distance nodes is 50% to 80% of the maximum connection distance value of the Bluetooth connection between the wireless headset and the terminal. In a preferred embodiment, the RSSI values ​​corresponding to 50% and 60% of the maximum connection distance value between the wireless headset and the terminal are selected as the upper and lower limits of the RSSI trigger interval, respectively.

[0071] Understandably, during normal use of wireless earbuds, the distance between the earbuds and the device is usually not too far. When the RSSI value of the Bluetooth connection between the device and the earbuds falls within the RSSI trigger range, it indicates that the connection distance between the earbuds and the device has exceeded half of the maximum connection distance. This suggests a potential disconnection, meaning the earbuds may be lost. Therefore, recording the device's current location coordinates can be triggered at this point. By setting an RSSI trigger range, the frequent recording of the device's current location coordinates during earbud use can be effectively reduced, making the entire trigger recording more consistent with the actual process after the earbuds are lost.

[0072] Before determining whether to record specific location coordinates, it is necessary to obtain the RSSI of the Bluetooth connection between the wireless earphone and the terminal, and then perform the corresponding determination. Specifically, before triggering the command to retrieve the wireless earphone, the following steps are also included:

[0073] Obtain the RSSI value of the Bluetooth connection between the wireless headset and the terminal;

[0074] Determine whether the RSSI value is within the RSSI trigger range;

[0075] If so, then the terminal's current location coordinates will be recorded as specific positioning coordinates.

[0076] S3. If no specific location coordinates are recorded, the target retrieval area is obtained based on the first RSSI value and the disconnected location coordinates.

[0077] It is understandable that when the specific location coordinates recorded based on the RSSI trigger interval are not detected, it means that the disconnection between the wireless headset and the terminal is an active disconnection, that is, the wireless headset actively disconnects the Bluetooth connection or the terminal actively disconnects the connection. Moreover, the connection distance between the wireless headset and the terminal does not exceed the connection distance corresponding to the upper limit value of the RSSI trigger interval. In other words, the distance between the wireless headset and the terminal is relatively small when the connection is disconnected. Therefore, the target retrieval area can be obtained directly through the first RSSI value and the disconnection location coordinates.

[0078] S4. If specific location coordinates are recorded, obtain the connection status of the terminal's Bluetooth module when the recorded wireless earphone disconnects from the terminal via Bluetooth.

[0079] S5. Based on the first RSSI value, connection status, disconnection location coordinates and specific location coordinates, obtain the target retrieval area.

[0080] It is easy to understand that there are multiple ways that can cause the Bluetooth connection between the wireless headset and the terminal to be disconnected. It could be that the connection distance between the wireless headset and the terminal exceeds the maximum connection distance, or the wireless headset actively disconnects the Bluetooth connection with the terminal, or the terminal actively disconnects the Bluetooth connection with the wireless headset. Therefore, after determining that a specific location coordinate has been recorded, it is also necessary to obtain the connection status of the terminal's Bluetooth module when the wireless headset and the terminal disconnect the Bluetooth connection.

[0081] After confirming that specific location coordinates are recorded, the first RSSI value, connection status, disconnection location coordinates, and specific location coordinates are used together to classify the situations of lost wireless earphones. Based on the aforementioned data used to retrieve wireless earphones and the classification of wireless earphone loss situations, the corresponding target retrieval area is obtained using relevant data and corresponding methods. This can better adapt to various situations of lost wireless earphones, reduce the area of ​​the search range, improve the efficiency and accuracy of retrieving wireless earphones using the terminal, and improve the user experience.

[0082] For further details, please refer to... Figure 2 In this embodiment, step S5, which obtains the target retrieval area based on the first RSSI value, connection status, disconnection location coordinates, and specific location coordinates, includes:

[0083] S51. Determine whether the connection status of the terminal's Bluetooth module is enabled;

[0084] S52. If not, determine whether the first RSSI value is greater than the upper limit of the RSSI trigger interval.

[0085] S3. If the first RSSI value is determined to be greater than the upper limit of the RSSI trigger interval, the target retrieval area is obtained based on the first RSSI value and the disconnection location coordinates.

[0086] After a Bluetooth connection is established between the wireless earbuds and the terminal, if the Bluetooth connection distance between the earbuds and the terminal exceeds the maximum connection distance or the wireless earbuds actively disconnect, the terminal's Bluetooth module will remain in the "on" state. If the terminal actively disconnects, the terminal's Bluetooth module will be in the "off" state. By determining the connection status of the terminal's Bluetooth module, a preliminary classification can be made regarding the circumstances of a lost wireless earbuds.

[0087] Understandably, when the Bluetooth module of the terminal is determined to be in a closed state, it means that the terminal has actively disconnected the Bluetooth connection between the wireless headset and the terminal. Then, by judging the relationship between the first RSSI value and the upper limit of the RSSI trigger range, if the first RSSI value is greater than the upper limit of the RSSI trigger range, it means that when the terminal actively disconnected the Bluetooth connection with the wireless headset, the distance between the wireless headset and the terminal was relatively close. Therefore, the target retrieval area for finding the wireless headset can be directly obtained through the first RSSI value and the disconnection location coordinates, realizing the initial division of the wireless headset loss situation and reducing the size of the wireless headset retrieval range.

[0088] Furthermore, the aforementioned distinction was made between two scenarios: when the wireless earphone was lost, no specific location coordinates were recorded; and after specific location coordinates were recorded, the terminal actively disconnected the connection near the wireless earphone. Using the first RSSI value and the disconnection location coordinates, the target retrieval area for finding the wireless earphone can be obtained. For details, please refer to... Figure 3 In this embodiment, step S3, which obtains the target retrieval area based on the first RSSI value and the disconnection location coordinates, includes:

[0089] S31. Based on the first RSSI value, obtain the target distance value;

[0090] S32. Based on the distance between the disconnected location coordinates and the target, the target retrieval area is obtained.

[0091] The target distance value is obtained by calculating the RSSI value and the connection distance formula. Specifically, the connection distance calculation formula is d=10^((abs(RSSI)-A) / (10*n)), where d is the connection distance, i.e. the first initial distance value, A is the RSSI value when the connection distance between the terminal and the wireless headset is 1m, and n is the environmental attenuation factor.

[0092] The target retrieval area is circular to better reflect the actual connection range between the wireless earphone and the terminal. Specifically, the target retrieval area is obtained by using the disconnection location coordinates as the center and the target distance value as the radius.

[0093] For further details, please refer to... Figure 4 In this embodiment, step S51, which determines whether the connection status of the terminal's Bluetooth module is enabled, further includes:

[0094] S53. If so, then obtain the first distance value based on the lower limit of the RSSI trigger interval;

[0095] S54. Determine the second distance value based on the disconnected positioning coordinates, the specific positioning coordinates, and the first distance value;

[0096] S55. Based on the specific positioning coordinates and the first distance value, disconnect the positioning coordinates and the second distance value to obtain the target retrieval area.

[0097] When the Bluetooth module of the terminal is determined to be in the enabled state, it means that the Bluetooth connection between the wireless headset and the terminal is disconnected due to long-distance disconnection. During the process from maintaining the connection to long-distance disconnection between the wireless headset and the terminal, the connection will pass through the RSSI trigger interval, thereby triggering the recording of specific positioning coordinates.

[0098] The first distance value is obtained based on the formula for calculating the connection distance using the RSSI value. When obtaining the first distance value corresponding to a specific location coordinate, it is necessary to ensure that the area formed by this first distance value includes the lost wireless earphone. Therefore, the lower limit of the RSSI trigger interval is selected as the basis for obtaining the first distance value. It can be understood that the smaller the RSSI value, the larger the connection distance between the wireless earphone and the terminal. The first distance value obtained based on the lower limit of the RSSI trigger interval is greater than the distance value corresponding to the RSSI value within the RSSI trigger interval, ensuring that the area formed by the first RSSI value includes the lost wireless earphone.

[0099] During the process of maintaining a connection between the wireless headset and the terminal, from the initial connection to the point of disconnection at a distance, the user's movement is multi-directional. Therefore, there are various positional relationships between the recorded specific positioning coordinates and the disconnection positioning coordinates. After determining the first distance value, a second distance value corresponding to the disconnection positioning coordinates can be determined based on the relationship between the disconnection positioning coordinates, the specific positioning coordinates, and the first distance value, to accommodate the various positional relationships between the specific positioning coordinates and the disconnection positioning coordinates.

[0100] After obtaining the second distance value, the positional and magnitude relationships between the specific positioning coordinates and the first distance value are broken and connected to obtain the target retrieval area. By using more relevant parameters to determine the retrieval area of ​​the wireless earphone, the size of the wireless earphone retrieval area can be better reduced, thereby improving the accuracy and efficiency of wireless earphone retrieval.

[0101] For further details, please refer to... Figure 4 In this embodiment, step S52, which determines whether the first RSSI value is greater than the upper limit of the RSSI trigger interval, further includes:

[0102] S53. If not, then obtain the first distance value based on the lower limit of the RSSI trigger interval;

[0103] S54. Determine the second distance value based on the disconnected positioning coordinates, the specific positioning coordinates, and the first distance value;

[0104] S55. Based on the specific positioning coordinates and the first distance value, disconnect the positioning coordinates and the second distance value to obtain the target retrieval area.

[0105] If the Bluetooth module on the terminal is not in an active state, it indicates that the terminal actively disconnected the Bluetooth connection with the wireless headset. By determining the positional relationship between the first RSSI value and the upper limit of the RSSI trigger range, the relative distance between the terminal and the wireless headset when the terminal actively disconnected can be determined. If the first RSSI value is not greater than the RSSI trigger range, it indicates that the terminal actively disconnected the connection when the distance between the terminal and the wireless headset was relatively large.

[0106] Similarly, after determining that the terminal's Bluetooth module is in the enabled state, the target retrieval area can be obtained by determining that the first RSSI value is not greater than the upper limit of the RSSI trigger range, and then the first distance value can be obtained based on the lower limit of the RSSI trigger range. Then, based on the disconnection positioning coordinates, the specific positioning coordinates and the first distance value, the second distance value can be determined. Finally, based on the specific positioning coordinates and the first distance value, the disconnection positioning coordinates and the second distance value, the target retrieval area can be obtained.

[0107] For further details, please refer to... Figure 5 In this embodiment, step S54, which determines the second distance value based on the disconnection location coordinates, the specific location coordinates, and the first distance value, includes:

[0108] S541. Calculate the distance between the disconnected positioning coordinates and the specific positioning coordinates to obtain the location distance;

[0109] S542. Determine whether the location distance is less than the first distance value;

[0110] S543. If so, then the first distance value is used as the second distance value;

[0111] S544. If not, then the preset specific distance value will be used as the second distance value.

[0112] The location distance is the distance between the disconnected positioning coordinates and the specific positioning coordinates, which can be calculated using the formula for the distance between two points. The specific distance value is the maximum distance at which the wireless headset and the terminal can maintain a connection. The relevant parameters for the maximum connection distance vary for different wireless headsets, and this value can be set according to the actual product.

[0113] It is easy to understand that by determining the relationship between the location distance and the first distance value, the positional relationship between the specific positioning coordinates and the disconnected positioning coordinates can be determined. When the location distance is less than the first distance value, it means that the distance between the specific positioning coordinates and the disconnected positioning coordinates is relatively close. When the location distance is not less than the first distance value, it means that the distance between the specific positioning coordinates and the disconnected positioning coordinates is relatively far. Since there are different situations in the positional relationship between the specific positioning coordinates and the disconnected positioning coordinates, the method of obtaining the second distance value needs to be determined according to different situations.

[0114] Specifically, when the location distance is determined to be less than the first distance value, meaning the specific positioning coordinates and the disconnected positioning coordinates are relatively close, a second distance value is selected as the first distance value to better reduce the invalid area in the first initial area. When the current location distance is determined to be not less than the first distance value, meaning the specific positioning coordinates and the disconnected positioning coordinates are relatively far, a preset specific distance value can be obtained as the second distance value to better reduce the invalid area in the first initial area.

[0115] For further details, please refer to... Figure 6 In this embodiment, step S55, which involves disconnecting the positioning coordinates and the second distance value based on specific positioning coordinates and a first distance value to obtain the target retrieval area, includes:

[0116] S551. Obtain the first initial area based on the specific positioning coordinates and the first distance value;

[0117] S552. Based on the disconnection positioning coordinates and the second distance value, obtain the second initial area;

[0118] S553. Based on the first initial region and the second initial region, the target retrieval region is obtained.

[0119] Both the first initial region and the second initial region are circular areas. The first initial region is obtained by taking a specific positioning coordinate as the center and a first distance value as the radius; the second initial region is obtained by taking the disconnection positioning coordinate as the center and a second distance value as the radius. The first initial region is used to initially locate the position range of the wireless earphone, and the second initial region is used to further determine the position range of the wireless earphone, thereby narrowing down the size of the retrieval area.

[0120] Specifically, after obtaining the first initial region and the second initial region, the target retrieval area can be obtained by combining the positional and size relationships between the first and second initial regions in the scenario of the lost wireless earphone, so as to improve the efficiency and accuracy of wireless earphone retrieval.

[0121] For further details, please refer to... Figure 7 In this embodiment, step S553, which obtains the target retrieval region based on the first initial region and the second initial region, includes:

[0122] S5531. Determine whether the second distance value is greater than the first distance value;

[0123] S5532. If not, then obtain the difference region between the first initial region and the second initial region as the target retrieval region;

[0124] S5533. If so, then obtain the intersection region of the first initial region and the second initial region as the target retrieval region.

[0125] It is understandable that since the first initial region and the second initial region are obtained by disconnecting the positioning coordinates and the second distance value respectively based on specific positioning coordinates and the first distance value, the positional and size relationships between the first initial region and the second initial region can be reflected to a certain extent by determining the relationship between the first distance value and the second distance value.

[0126] When determining the target retrieval area, the first initial region and the second initial region play different roles, and the size of the target retrieval area is affected by the positional and size relationships between the first and second initial regions. The core of using the first and second initial regions to determine the target retrieval area is to initially determine the approximate area where the wireless earphone is located using the first initial region, and then reduce the range of the first initial region using the second initial region to obtain a target retrieval area with a relatively smaller area.

[0127] When the second distance value is determined to be greater than the first distance value, the area of ​​the second initial region is greater than the first initial region, and the wireless earphones are all located within the first initial region and the second initial region. Therefore, the overlapping area of ​​the first initial region and the second initial region can be used as the target retrieval area to reduce the area of ​​the wireless earphone retrieval range.

[0128] When the first distance value is used as the second distance value, it can be determined that the second distance value is not greater than the first distance value. The positions between the specific positioning coordinates and the disconnection positioning coordinates are relatively close, that is, the wireless earphone is not in the second initial area formed by using the first distance value as the second distance value. In order to better reduce the invalid area in the first initial area, the difference area between the first initial area and the second initial area should be used as the target retrieval area to reduce the range area for retrieval of the wireless earphone.

[0129] Please refer to Figure 7 In a preferred embodiment, after step S5533 of obtaining the intersection region of the first initial region and the second initial region as the target retrieval region, the method further includes:

[0130] S5534. Obtain the intersection of the first initial region and the second initial region as the third positioning coordinates;

[0131] S5535. Obtain the absolute value of the difference between the second distance value and the first distance value, and use it as the third distance value;

[0132] S5536. Based on the third positioning coordinates and the third distance value, the third correction range is obtained;

[0133] S5537. Obtain the intersection area of ​​the third correction range and the target retrieval area as the priority retrieval area.

[0134] The third correction range can be obtained by taking the third positioning coordinate as the center and the third distance value as the radius.

[0135] It is understandable that when the second distance value is greater than the first distance value, it means that the distance between the disconnected positioning coordinates and the specific positioning coordinates is far, and the area of ​​the second initial region is greater than the area of ​​the first initial region. In this case, the first initial region and the second initial region will intersect and overlap, and thus an intersection point will appear.

[0136] Furthermore, since the second distance value of the second initial region is the maximum distance that the wireless earphone and the terminal can maintain a connection when the intersection of the first initial region and the second initial region is used as the target retrieval region, the area of ​​the second initial region is relatively large, which will affect the size of the intersection region between the first initial region and the second initial region to a certain extent. Therefore, a third correction range can be introduced to obtain the priority retrieval region based on the target retrieval region, thereby further improving the efficiency of wireless earphone retrieval.

[0137] Furthermore, before triggering the recording of specific location coordinates, it is necessary to obtain the RSSI value of the Bluetooth connection between the terminal and the wireless headset in real time. Therefore, when it is determined that the RSSI value of the Bluetooth connection between the terminal and the wireless headset is within the RSSI trigger range, a prompt can be output to the user that the wireless headset and the terminal are about to disconnect and the wireless headset may be lost.

[0138] It's easy to understand that when the RSSI value of the Bluetooth connection between the terminal and the wireless headset is detected to be within the RSSI trigger range, it indicates that the wireless headset is about to disconnect. Therefore, the terminal can output a relevant prompt to remind the user and prevent the wireless headset from being lost or forgotten. Specifically, this prompt can be a voice prompt, a vibration prompt, or a pop-up message prompt, which can be selected individually or in combination according to actual needs.

[0139] To further improve the efficiency of retrieving wireless earphones, in one embodiment, after the step of obtaining the target retrieval area, the method further includes:

[0140] Once the terminal is located in the target retrieval area, it connects to the wireless headset.

[0141] The terminal controls the wireless earphone to send a second prompt message.

[0142] Once the terminal is within the target retrieval area, it can send a pairing request to the wireless earphone. If the wireless earphone has sufficient battery power, the terminal can establish a Bluetooth connection with the earphone. The second prompt can be an audio prompt or a flashing indicator light, which can be configured according to actual design requirements.

[0143] It is easy to understand that when searching for wireless earphones in the target retrieval area, there may be situations where the wireless earphones are covered by objects or the ambient light in the target retrieval area is dim, making the wireless earphones difficult to find. By connecting the wireless earphones to the terminal and then controlling the wireless earphones to output a second prompt message, users can find the wireless earphones in the target retrieval area more quickly, thereby improving the efficiency of wireless earphone retrieval.

[0144] Furthermore, to improve the user experience, in one embodiment, the step of obtaining the RSSI value of the Bluetooth connection between the wireless headset and the terminal includes:

[0145] Determine if the wireless earphone is in location recording mode;

[0146] If so, obtain the RSSI value of the Bluetooth connection between the wireless headset and the terminal.

[0147] Understandably, once the location recording mode is detected to be activated by the wireless earbuds, the RSSI value of the Bluetooth connection between the device and the earbuds can be obtained to determine whether to trigger the recording of the device's current location coordinates. If location recording mode is not activated, the recording of the device's location coordinates will not be triggered, which can save power consumption to some extent. Users can control the activation and deactivation of location recording mode according to their own needs, thereby improving the user experience.

[0148] In summary, this invention categorizes the scenarios after a wireless earphone is lost by determining whether specific location coordinates triggered by the RSSI trigger interval are recorded, judging the connection status of the recorded terminal's Bluetooth module, and determining the relationship between the first RSSI value and the RSSI trigger interval. Based on these categorized scenarios, the invention comprehensively utilizes the first RSSI value, the Bluetooth module's connection status, the disconnection location coordinates, and the specific location coordinates to directly or indirectly obtain the target retrieval area for finding the wireless earphone. This solves the problem of low search efficiency due to an excessively large search area when using a terminal to find wireless earphones. It is better suited to scenarios where wireless earphones are lost, improving the efficiency and accuracy of finding wireless earphones using a terminal, and enhancing the user experience.

[0149] The present invention also provides an electronic device, such as... Figure 8 As shown, the electronic device includes a memory 10, a processor 20, and a wireless earphone retrieval method program instruction 30 stored in the memory 10 and executable on the processor 20. When the wireless earphone retrieval method program instruction 30 is executed by the processor 20, the aforementioned wireless earphone retrieval method is implemented.

[0150] In some embodiments, the processor may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip. The processor is typically used to control the overall operation of the headphones. In this embodiment, the processor is used to run program code stored in a readable storage medium or to process data.

[0151] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a readable storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods of the various embodiments of the present invention.

[0152] The present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-described method for retrieving wireless earphones.

[0153] The above are merely specific embodiments of this application. It should be noted that those skilled in the art can make several improvements and modifications without departing from the principles of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A method for finding a wireless earpiece, the method comprising: include: Obtain the first RSSI value and the disconnection location coordinates of the wireless earphones at the moment before the Bluetooth connection with the terminal is disconnected. Determine whether specific positioning coordinates triggered by a preset RSSI trigger range have been recorded; If the specific location coordinates are not recorded, the target retrieval area is obtained based on the first RSSI value and the disconnected location coordinates. If the specific positioning coordinates are recorded, then obtain the connection status of the terminal's Bluetooth module when the recorded wireless earphone disconnects from the terminal via Bluetooth. Based on the first RSSI value, the connection status, the disconnection location coordinates, and the specific location coordinates, the target retrieval area is obtained; The step of obtaining the target retrieval area based on the first RSSI value, the connection status, the disconnection location coordinates, and the specific location coordinates includes: Determine whether the Bluetooth module of the terminal is in an enabled state; If not, determine whether the first RSSI value is greater than the upper limit of the RSSI trigger range; If the first RSSI value is greater than the upper limit of the RSSI trigger interval, the target retrieval area is obtained based on the first RSSI value and the disconnection location coordinates. The step of determining whether the Bluetooth module of the terminal is in an enabled state further includes: If so, then based on the lower limit of the RSSI trigger interval, obtain the first distance value; Based on the disconnection location coordinates, the specific location coordinates, and the first distance value, a second distance value is determined; Based on the specific positioning coordinates and the first distance value, the positioning coordinates and the second distance value are disconnected to obtain the target retrieval area.

2. The method of claim 1, wherein, If the specific location coordinates are not recorded, the step of obtaining the target retrieval area based on the first RSSI value and the disconnection location coordinates includes: or if the first RSSI value is greater than the upper limit of the RSSI trigger interval, the step of obtaining the target retrieval area based on the first RSSI value and the disconnection location coordinates includes: Based on the first RSSI value, obtain the target distance value; The target retrieval area is obtained based on the disconnection location coordinates and the target distance value.

3. The method for retrieving wireless earphones according to claim 1, characterized in that, The step of determining whether the first RSSI value is greater than the upper limit of the RSSI trigger interval further includes: If not, then obtain the first distance value based on the lower limit of the RSSI trigger interval; The second distance value is determined based on the disconnection location coordinates, the specific location coordinates, and the first distance value; Based on the specific positioning coordinates and the first distance value, and the disconnection positioning coordinates and the second distance value, the target retrieval area is obtained.

4. The method of claim 1 or 3, wherein, The step of determining the second distance value based on the disconnection location coordinates, the specific location coordinates, and the first distance value includes: Calculate the distance between the disconnection location coordinates and the specific location coordinates to obtain the location distance; Determine whether the location distance is less than the first distance value; If so, then the first distance value is used as the second distance value; If not, then the preset specific distance value will be used as the second distance value.

5. The method of claim 1 or 3, wherein, The step of obtaining the target retrieval area based on the specific positioning coordinates and the first distance value, and disconnecting the positioning coordinates and the second distance value, includes: Based on the specific positioning coordinates and the first distance value, a first initial region is obtained; Based on the disconnection location coordinates and the second distance value, a second initial region is obtained; The target retrieval area is obtained based on the first initial region and the second initial region.

6. The method of claim 5, wherein, The step of obtaining the target retrieval region based on the first initial region and the second initial region includes: Determine whether the second distance value is greater than the first distance value; If so, the intersection of the first initial region and the second initial region is obtained as the target retrieval region.

7. The method of claim 6, wherein, The step of determining whether the second distance value is greater than the first distance value further includes: If not, then the difference region between the first initial region and the second initial region is obtained as the target retrieval region.

8. The method of claim 6, wherein, Following the step of obtaining the intersection region of the first initial region and the second initial region as the target retrieval region, the method further includes: Obtain the intersection point of the first initial region and the second initial region as the third positioning coordinate; Obtain the absolute value of the difference between the second distance value and the first distance value, and use it as the third distance value; Based on the third positioning coordinates and the third distance value, a third correction range is obtained; Obtain the intersection area between the third correction range and the target retrieval area, and use it as the priority retrieval area.