Method for locating earphone based on communication equipment
By integrating the communication module, positioning module and prompt module in the communication device, the signal strength and distance information is used to calculate the position of the headset, and sound prompts are used to help the user find the headset, which solves the problem of difficulty in locating the headset when it is lost and improves the safety of the headset. and user experience.
Patent Information
- Application Number
- CN202310767557.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-27
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2043-06-27
AI Technical Summary
Existing technology is difficult to quickly and accurately locate lost headphones, causing users to spend a lot of time looking for them.
Using a method based on communication equipment, the signal strength and distance information of the headset is obtained through the communication module, and the position of the headset is calculated based on the algorithm of the positioning module, and a sound prompt is issued through the prompt module to help the user find the headset, while providing an anti-lost unit and distance adaptation. unit, adaptively adjust the prompt mode and intensity.
It achieves fast and accurate positioning of the headset, improves the safety and user experience of the headset, and reduces the risk of losing the headset.
Smart Images

Figure CN116828593B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of scientific and technological positioning technology, and in particular to a method for positioning an earphone based on a communication device. Background Art
[0002] As wireless headphones are widely used by the public, many people face a common problem, which is that they often lose their headphones. However, today's headphones are made more and more sophisticated and compact, so when we accidentally lose our headphones, it is difficult for us to remember where we lost them. Or when we are at home, we don't use the headphones for a long time, so when we look for them again, it takes a long time to find them. Therefore, we need a convenient, fast and accurate method to locate the headphones. Summary of the invention
[0003] The present invention proposes a method for locating a headset based on a communication device, which solves the problem in the related art that the headset is difficult to find when it is lost.
[0004] The technical solution of the present invention is as follows:
[0005] The present invention provides a method for positioning an earphone based on a communication device, which is characterized by comprising:
[0006] Communication module: used to communicate with the target headset through wireless technology, obtain the signal strength and distance information of the target headset, and send the obtained parameter information to the positioning module. The communication module includes a marking unit, a distance adaptation unit, and an anti-loss unit;
[0007] Positioning module: used to calculate the position of the headset through the positioning algorithm using the headset parameter information obtained from the communication module, and send it to the prompt module;
[0008] Prompt module: according to the earphone position calculated by the positioning module, send a sound prompt to the user to help the user find the target earphone;
[0009] The marking unit is used to provide a marking page for the communication device, allowing the user to mark the location of the headset in the communication device;
[0010] The distance adaptive unit is used to adaptively adjust the sound prompt mode according to the distance change between the target headset and the communication device;
[0011] The anti-lost unit is used to provide an anti-lost function for the communication device. When the target headset leaves the range of the device, the target headset sends a warning signal to the communication device;
[0012] As a further improvement of the present invention, the positioning module uses ultrasonic technology to communicate with the earphone and detects the travel time of the ultrasonic signal sent to the earphone. The specific detection method is:
[0013] First, the communication device sends an ultrasonic waveform with a frequency of 20kHz to 200kHz to the target earphone. The target earphone will receive the signal and echo. Then, the communication device detects the echo time of the ultrasonic signal. The communication device will record the echo time and then calculate the distance from the device to the earphone through the formula of speed = distance / time. Since the speed of ultrasonic waves in the air is known, the communication device can use this speed (approximately 340m / s) to calculate the distance of signal transmission and determine the position of the target earphone.
[0014] As a further improvement of the present invention, the positioning module uses Wi-Fi wireless technology to locate the target headset and determines the position of the headset according to the signal strength of the target headset. The specific method is:
[0015] The communication device turns on the Wi-Fi switch and scans the surrounding Wi-Fi signals. If the Wi-Fi signal used by the target headset is found, it automatically connects to the WiFi signal used by the target headset. The communication device measures the signal strength of the connected Wi-Fi signal and records the value of the signal strength. The value of the signal strength is used as a reference value for positioning. According to the Wi-Fi signal transmission characteristics and the value of the signal strength, the communication device calculates the current distance between the communication device and the target headset through an algorithm. There is a correlation between the signal strength and the distance. The calculation is performed based on the relationship between the known distance and the signal strength, and the position of the target headset is inferred based on the calculation result. The position of the target headset is determined by comprehensively analyzing the signal strength and the distance. The place with stronger signal strength means that the target headset is closer to the device. This method is used to improve the accuracy of positioning.
[0016] As a further improvement of the present invention, the prompt module helps the user locate the earphone by sending a sound signal and is customized according to the user's needs. The specific sending method is:
[0017] The user selects different sound prompts in different environments through the communication device interface. The user adjusts the volume according to the ambient noise or personal preference. When the surrounding environment is noisy, the volume will be automatically adjusted to become louder. According to the selected sound type and the set sound volume, the communication device will send out a corresponding sound signal. The frequency and effect of the sent sound depend on the sound tool used by the device. The user observes the device's feedback on the sent sound. The device can display the approximate location of the headset on the map to indicate the current search progress. If the user approaches the headset during the search process, the device can send out different prompt sounds to indicate that the communication device is closer to the headset. When the user successfully finds the headset, the device will stop sending prompt sounds, and the user will stop searching immediately without being disturbed by other prompt sounds.
[0018] As a further improvement of the present invention, when the prompt module locates the earphone, different types of sound prompts are selected according to the needs of the user. The specific method is:
[0019] The user opens the setting menu of the communication device or application and looks for setting options related to sound prompts. The user finds multiple optional prompt sound types in the sound setting interface and selects one of them. The user sets the appropriate sound volume according to the environment and personal needs. After setting the sound type and volume, the user can click the test button to test and listen to whether the effect of the sound type is appropriate. Once the user confirms the selected sound type and volume, the setting can be saved and the setting can be exited from the setting menu. After turning on the prompt sound, the communication device will send a prompt sound to the user for a certain period of time using the specified sound type and volume. If the user is within the range of the prompt sound, the lost earphones can be found. If the prompt sound cannot find the earphones, the user can turn the prompt sound back on or try other methods to find the earphones.
[0020] As a further improvement of the present invention, the marking unit allows the user to mark the position of the headset in the communication device for finding the headset. The specific marking method is:
[0021] The user opens the headset pairing application or setting options in the communication device, finds the function of marking the headset location, and turns it on. Before marking the headset location, the user must connect the headset and the communication device. If the headset is already connected, the user can proceed directly to the next step. The user tries to find the location of the headset by using sound prompts or finding its physical location, and checks the approximate location of the headset on the screen. The user marks the location of the headset by touching the screen, dragging the map or other controls. Once the headset location is found, the user uses the marking option in the device to mark the headset location. The marking information can be viewed in the headset pairing application. The user will save the headset location information for searching when needed.
[0022] As a further improvement of the present invention, the distance adaptive unit adaptively adjusts the sound prompting mode according to the distance change between the target headset and the communication device, and the specific method is:
[0023] The distance adaptive unit measures the distance between the target headset and the communication device in real time by measuring the signal strength, Bluetooth distance, and GPS positioning, and calculates the position change based on the measured distance between the headset and the device. Once the distance change is calculated, the distance adaptive unit will adjust the mode and intensity of the sound prompt accordingly. When the distance between the headset and the device increases, the distance adaptive unit will increase the sound prompt so that the user can hear it. After adjusting the sound prompt, the distance adaptive module will feedback the latest adjusted sound volume and adjusted direction information to the user.
[0024] As a further improvement of the present invention, the anti-lost unit sets an anti-lost mode function. When leaving the range of the headset, the device can send a warning signal to help quickly find the headset. The specific setting method is:
[0025] The user turns on the anti-lost mode function in the settings of the communication device. The user sets a threshold to specify the range within which the headset leaves the device. The range is expressed in meters or other units of measurement. When the anti-lost mode function is turned on, the user adjusts the sound type, sound volume, and sound interval to quickly locate the headset. Some devices allow the user to set an automatic shut-off function to avoid power consumption and other problems. Before the communication device is turned off, the system will alert the user to remind them to look for the headset. If the anti-lost mode has been triggered and the headset has been lost, the user can use other methods to find the headset within the specified range.
[0026] Compared with the prior art, the present invention provides a method for locating a headset based on a communication device, which has the following beneficial effects:
[0027] 1. Quick positioning: The method of positioning the headset based on the communication device can quickly and accurately locate the position of the headset, providing convenience when the headset is lost or forgotten.
[0028] 2. Improve the safety of earphones: Earphones are usually high-value portable electronic devices that are easy to be forgotten or stolen. The method of positioning earphones based on communication devices can prevent the earphones from being lost or stolen through positioning.
[0029] 3. Improve user experience: When the headset is out of the range of the device, the positioning function will send a warning signal to remind the user to avoid losing the headset and improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 It is a system structure connection diagram of the present invention; DETAILED DESCRIPTION
[0031] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0032] See also Figure 1 As shown, the present invention provides a method for locating a headset based on a communication device, including a communication module, a positioning module and a prompt module. The communication module includes a marking unit, a distance adaptation unit, and an anti-loss unit.
[0033] The output end of the communication module is connected to the input end of the positioning module, and the output end of the positioning module is connected to the input end of the prompt module.
[0034] The communication module is used to communicate with the target headset through wireless technology, obtain signal strength and distance information about the target headset, and send the obtained parameter information to the positioning module. The communication module includes a marking unit, a distance adaptation unit and an anti-loss unit.
[0035] The positioning module is used to calculate the position of the earphone using a positioning algorithm based on the earphone parameter information obtained from the communication module, and send the calculated position to the prompt module.
[0036] In a possible design, the positioning module uses ultrasonic technology to communicate with the headset and detects the travel time of the ultrasonic signal sent to the headset. The specific detection method is:
[0037] The communication device sends an ultrasonic waveform with a frequency of 20kHz to 200kHz to the target earphone, which receives the signal and reverberates. Next, the communication device detects the reverberation time of the ultrasonic signal, records the reverberation time, and then calculates the distance from the device to the earphone using the formula speed = distance / time. Since the speed of ultrasonic waves in the air is known, the communication device can use this speed (approximately 340m / s) to calculate the distance the signal is transmitted and determine the position of the target earphone.
[0038] Furthermore, the positioning module calculates the distance from the device to the headset by the formula of speed = distance / time. The specific calculation method is:
[0039] The communication device will start timing when sending the ultrasonic wave, and when the ultrasonic wave reaches the target earphone, the target earphone will reflect the ultrasonic wave emitted by the communication device back to the communication device, and the communication module will record the echo time, which is recorded as T 回响 Since the speed of ultrasound in the air is known, the communication device can use this speed and set it as V 通信 Now we can calculate the distance between the target headset and the communication device according to the formula, and set the distance to M, that is:
[0040]
[0041] The distance between the target headset and the communication device can be obtained by the above formula.
[0042] As a preferred technical solution of the present invention, the positioning module uses Wi-Fi wireless technology to locate the target headset and determines the position of the headset according to the signal strength of the target headset. The specific method is:
[0043] The communication device turns on the Wi-Fi switch and scans the surrounding Wi-Fi signals. If the Wi-Fi signal used by the target headset is found, it automatically connects to the WiFi signal used by the target headset. The communication device measures the signal strength of the connected Wi-Fi signal and records the value of the signal strength. The value of the signal strength is used as a reference value for positioning. According to the Wi-Fi signal transmission characteristics and the value of the signal strength, the communication device calculates the current distance between the communication device and the target headset through an algorithm. There is a correlation between the signal strength and the distance. The calculation is performed based on the relationship between the known distance and the signal strength, and the position of the target headset is inferred based on the calculation result. The position of the target headset is determined by comprehensively analyzing the signal strength and the distance. The place with stronger signal strength means that the target headset is closer to the device. This method is used to improve the accuracy of positioning.
[0044] Furthermore, how does the communication device measure the signal strength of the Wi-Fi signal and calculate the location of the target headset based on the signal strength:
[0045] The communication device measures the signal strength of the connected Wi-Fi signal by using a received signal strength indicator, and records the value of the signal strength, which is recorded as W. Since the law of Wi-Fi signal attenuation is that the signal strength gradually decreases as the distance increases, the communication device calculates the approximate value of the distance between the communication device and the target headset according to the relationship between the signal strength and the distance, and the formula is:
[0046] L = 10^((WA) / (10*n))
[0047] Wherein L represents the distance, W represents the signal strength value of the Wi-Fi signal, A represents the reference strength value at a certain distance, and n represents the attenuation coefficient of the wireless signal when propagating in the air;
[0048] When W, A and A are all constant values, the distance between the target headset and the communication device can be calculated by the above formula, and then the position of the target headset can be calculated according to the signal strength.
[0049] The prompt module is used to issue a sound prompt to the user according to the earphone position calculated by the positioning module, so as to help the user find the target earphone.
[0050] In a possible design, the prompt module helps the user locate the earphone by sending a sound signal and is customized according to the user's needs. The specific sending method is:
[0051] The user selects different sound prompts in different environments through the communication device interface. The user adjusts the volume according to the ambient noise or personal preference. When the surrounding environment is noisy, the volume will be automatically adjusted to become louder. According to the selected sound type and the set sound volume, the communication device will send out a corresponding sound signal. The frequency and effect of the sent sound depend on the sound tool used by the device. The user observes the device's feedback on the sent sound. The device can display the approximate location of the headset on the map to indicate the current search progress. If the user approaches the headset during the search process, the device can send out different prompt sounds to indicate that the communication device is closer to the headset. When the user successfully finds the headset, the device will stop sending prompt sounds, and the user will stop searching immediately without being disturbed by other prompt sounds.
[0052] As a preferred solution of the present invention, when the prompt module locates the earphone, different types of sound prompts are selected according to the needs of the user. The specific method is:
[0053] The user opens the setting menu of the communication device or application and looks for setting options related to sound prompts. The user finds multiple optional prompt sound types in the sound setting interface and selects one of them. The user sets the appropriate sound volume according to the environment and personal needs. After setting the sound type and volume, the user can click the test button to test and listen to whether the effect of the sound type is appropriate. Once the user confirms the selected sound type and volume, the setting can be saved and the setting can be exited from the setting menu. After turning on the prompt sound, the communication device will send a prompt sound to the user for a certain period of time using the specified sound type and volume. If the user is within the range of the prompt sound, the lost earphones can be found. If the prompt sound cannot find the earphones, the user can turn the prompt sound back on or try other methods to find the earphones.
[0054] In a possible design, the marking unit allows a user to mark the position of the headset in the communication device for finding the headset, and the specific marking method is:
[0055] The user opens the headset pairing application or setting options in the communication device, finds the function of marking the headset location, and turns it on. Before marking the headset location, the user must connect the headset and the communication device. If the headset is already connected, the user can proceed directly to the next step. The user tries to find the location of the headset by using sound prompts or finding its physical location, and checks the approximate location of the headset on the screen. The user marks the location of the headset by touching the screen, dragging the map or other controls. Once the headset location is found, the user uses the marking option in the device to mark the headset location. The marking information can be viewed in the headset pairing application. The user will save the headset location information for searching when needed.
[0056] In a possible design, the distance adaptive unit adaptively adjusts the sound prompting mode according to the distance change between the target headset and the communication device, and the specific method is:
[0057] The distance adaptive unit measures the distance between the target headset and the communication device in real time by measuring the signal strength, Bluetooth distance, and GPS positioning, and calculates the position change based on the measured distance between the headset and the device. Once the distance change is calculated, the distance adaptive unit will adjust the mode and intensity of the sound prompt accordingly. When the distance between the headset and the device increases, the distance adaptive unit will increase the sound prompt so that the user can hear it. After adjusting the sound prompt, the distance adaptive unit will feedback the latest adjusted sound volume and adjusted direction information to the user.
[0058] Furthermore, the distance adaptive unit measures the distance between the target headset and the communication device in real time through GPS measurement, and the specific measurement method is:
[0059] Obtain the GPS coordinate information of the communication device and the target headset, and use the API provided by GPS to convert the GPS coordinate information of the communication device and the target headset into radians. Calculate the length of the great circle arc between the two coordinate points through the formula, and convert the spherical distance into the ground (horizontal) distance, that is, divide the spherical distance by the radius of the earth to obtain a value in radians. Multiply the radians calculated in the previous step by the radius of the earth to obtain the straight-line distance between the communication device and the target headset.
[0060] In a possible design, the anti-lost unit sets an anti-lost mode function. When leaving the range of the headset, the device can send a warning signal to help quickly find the headset. The specific setting method is:
[0061] The user turns on the anti-lost mode function in the settings of the communication device. The user sets a threshold to specify the range within which the earphone leaves the device. The range is expressed in meters or other units of measurement. When the anti-lost mode function is turned on, the user adjusts the sound type, sound volume or sound interval to locate the earphone. The communication device allows the user to set an automatic shut-off function. In order to avoid power consumption and other problems, the system will alert the user before the communication device is turned off to remind them to look for the earphone. If the anti-lost mode has been triggered and the earphone has been lost, the user can use other methods to find the earphone within the specified range.
[0062] In this embodiment, the present invention obtains the signal strength and distance information of the target headset, integrates the information, uses the positioning algorithm to obtain the position of the headset, prompts the user through the prompt module, and emits a sound to the user. The prompt tone can also be changed according to user needs, or different prompt tones can be automatically emitted in different environments. The communication device will provide a marking page to allow the user to mark the position of the headset in the communication device. In addition, a distance adaptation unit and an anti-loss unit are added. When the target headset leaves the range of the communication device, the target headset will send a warning signal to the communication device to help the user quickly find the headset, reduce the risk of losing the headset, and greatly improve the user's comfort.
[0063] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for locating a headset based on a communication device, characterized in that: include: Communication module: used to communicate with the target headset through wireless technology, obtain the signal strength and distance information of the target headset, and send the obtained parameter information to the positioning module. The communication module includes a marking unit, a distance adaptation unit, and an anti-loss unit; The marking unit is used to provide a marking page for the communication device, allowing the user to mark the location of the headset in the communication device; The distance adaptive unit is used to adaptively adjust the sound prompt mode according to the distance change between the target headset and the communication device; The anti-lost unit is used to provide an anti-lost function for the communication device. When the target headset leaves the range of the device, the target headset sends a warning signal to the positioning module; Positioning module: used to calculate the position of the headset through the positioning algorithm using the headset parameter information obtained from the communication module, and send it to the prompt module; Prompt module: issues a voice prompt to the user according to the earphone position calculated by the positioning module; The positioning module uses ultrasonic technology to communicate with the headset and detects the travel time of the ultrasonic signal sent to the headset. The specific detection method is: First, the communication device sends an ultrasonic waveform to the target earphone, which receives the ultrasonic signal and reverberates. Next, the communication device detects the reverberation time of the ultrasonic signal, records the reverberation time, and then calculates the distance from the device to the earphone using the formula speed = distance / time. Since the speed of ultrasonic waves in the air is known, the communication device uses this speed, i.e., 340 m / s, to calculate the distance the signal is transmitted and determine the location of the target earphone. The positioning module uses Wi-Fi wireless technology to locate the target headset and determines the location of the headset according to the signal strength of the target headset. The specific method is as follows: The communication device turns on the Wi-Fi switch and scans the surrounding Wi-Fi signals. If the Wi-Fi signal used by the target headset is found, the communication device automatically connects to the WiFi signal used by the target headset. The communication device measures the signal strength of the connected Wi-Fi signal and records the value of the signal strength. The value of the signal strength is used as a reference value for positioning. According to the Wi-Fi signal transmission characteristics and the value of the signal strength, the communication device calculates the current distance between the communication device and the target headset through an algorithm. There is a correlation between the signal strength and the distance. The communication device performs calculations based on the known relationship between the distance and the signal strength, and infers the position of the target headset based on the calculation result. The position of the target headset is determined by performing a comprehensive analysis of the signal strength and the distance. The signal strength is positively correlated with the distance of the target headset from the device. The prompt module helps the user locate the headset by sending a sound signal and is customized according to the user's needs. The specific sending method is: The user selects different sound prompts in different environments through the communication device interface. The user adjusts the volume according to the ambient noise or personal preference. When the surrounding environment is noisy, the volume will be automatically adjusted to be louder. According to the selected sound type and the set sound volume, the communication device will send out corresponding sound signals. The frequency and effect of the sent sound depend on the sound tool used by the device. The user observes the feedback of the device on the sent sound. The device displays the approximate location of the headset on the map to indicate the current search progress. If the user approaches the headset during the search process, the device sends out different prompt sounds to indicate that the communication device is close to the headset. When the user successfully finds the headset, the device stops sending prompt sounds, and the user stops searching immediately without being disturbed by other prompt sounds. When the prompt module locates the earphone, different types of sound prompts are selected according to the needs of the user. The specific method is as follows: The user opens the setting menu of the communication device and looks for the setting options related to the sound prompt. The user finds a plurality of optional prompt sound types in the sound setting interface and selects one of them. The user sets the appropriate sound volume according to the environment and personal needs. After setting the sound type and volume, the user clicks the test button to test whether the effect of the sound type is appropriate. When the user confirms the selected sound type and volume, the setting is saved, and the setting is exited from the setting menu. After turning on the prompt sound, the communication device will send a prompt sound to the user for a certain period of time with the specified sound type and volume. If the user is within the range of the prompt sound, the lost earphone can be found. If the prompt sound cannot find the earphone, the user turns on the prompt sound again. The marking unit allows the user to mark the location of the headset in the communication device for finding the headset. The specific marking method is: Before marking the location of the headset, the user must connect the headset and the communication device. If the headset is already connected, the user proceeds directly to the next step. The user opens the headset pairing application or setting option in the communication device, finds the function of marking the headset location, and turns it on. The user finds the location of the headset by using sound prompts or finding its physical location, and views the approximate location of the headset on the screen. The user marks the location of the headset by touching the screen, dragging a map or other controls. Once the headset location is found, the user uses the marking option in the device to mark the headset location. The marking information is viewed in the headset pairing application, and the user will save the headset location information; The distance adaptive unit adaptively adjusts the sound prompting mode according to the distance change between the target headset and the communication device, and the specific method is: The distance adaptive unit measures the distance between the target headset and the communication device in real time by measuring the signal strength, Bluetooth distance, and GPS positioning, and calculates the position change according to the measured distance between the headset and the device. Once the distance change is calculated, the distance adaptive unit will adjust the mode and intensity of the sound prompt accordingly. When the distance between the headset and the device increases, the distance adaptive unit will increase the sound prompt for the user to hear. After adjusting the sound prompt, the distance adaptive unit will feedback the latest adjusted sound volume and adjusted direction information to the user; The anti-lost unit sets the anti-lost mode function. When leaving the range of the headset, the device sends a warning signal to help quickly find the headset. The specific setting method is as follows: The user turns on the anti-lost mode function in the settings of the communication device. The user sets a threshold to specify the range of the earphones leaving the device. The range is measured in meters. When the anti-lost mode function is turned on, the user locates the earphones by adjusting the sound type, sound volume and sound interval. The device allows the user to set an automatic shut-off function. Before the communication device is turned off, the system will alert the user to remind them to find the earphones.
