CN113194371B - Method and device for searching wireless earphone and computer storage medium - Google Patents
Method and device for searching wireless earphone and computer storage medium Download PDFInfo
- Publication number
- CN113194371B CN113194371B CN202110446890.9A CN202110446890A CN113194371B CN 113194371 B CN113194371 B CN 113194371B CN 202110446890 A CN202110446890 A CN 202110446890A CN 113194371 B CN113194371 B CN 113194371B
- Authority
- CN
- China
- Prior art keywords
- wireless earphone
- power supply
- supply box
- signal
- bluetooth
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1041—Mechanical or electronic switches, or control elements
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S11/00—Systems for determining distance or velocity not using reflection or reradiation
- G01S11/02—Systems for determining distance or velocity not using reflection or reradiation using radio waves
- G01S11/06—Systems for determining distance or velocity not using reflection or reradiation using radio waves using intensity measurements
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B21/00—Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
- G08B21/18—Status alarms
- G08B21/24—Reminder alarms, e.g. anti-loss alarms
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B5/00—Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied
- G08B5/22—Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission
- G08B5/36—Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission using visible light sources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Acoustics & Sound (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Electromagnetism (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a method for retrieving a wireless earphone, which is applied to a power supply box and comprises the following steps: when detecting that a preset switch on the power supply box is triggered, scanning a plurality of Bluetooth signals within a set range of the power supply box; determining a target Bluetooth signal corresponding to the wireless earphone bound with the power supply box from the plurality of Bluetooth signals; and outputting distance prompt information according to the signal intensity of the target Bluetooth signal. The invention also discloses a method and a device for searching the wireless earphone and a computer storage medium. According to the wireless earphone searching method, the switch is arranged on the power supply box, a user can trigger the searching step of the wireless earphone through one key of the switch, the power supply box automatically obtains the Bluetooth signal intensity of the wireless earphone bound with the power supply box, and distance prompts are output according to the Bluetooth signal intensity, so that the user can search the wireless earphone conveniently, and the searching efficiency of the wireless earphone is improved.
Description
Technical Field
The present invention relates to the field of wireless headphones, and in particular, to a method and apparatus for retrieving a wireless headphone, and a computer storage medium.
Background
After the wireless earphone is lost, the position of the wireless earphone is generally searched through a mobile phone. When searching the wireless earphone, a user needs to open a specific mobile phone APP first and conduct a series of operations on the mobile phone APP to scan a plurality of peripheral Bluetooth signals, then manually select the Bluetooth signals corresponding to the wireless earphone to be searched, and establish Bluetooth connection through the Bluetooth signals, so that the position of the wireless earphone relative to the mobile phone of the user is determined, and the process is complicated, so that the searching efficiency of the wireless earphone is low.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The invention mainly aims to provide a method and a device for retrieving a wireless earphone and a computer storage medium, aiming at improving the retrieving efficiency of the wireless earphone.
In order to achieve the above object, the present invention provides a method for retrieving a wireless earphone, which is applied to a power supply box, and includes the following steps:
when a preset switch on the power supply box is detected to be triggered, a plurality of Bluetooth signals in a set range of the power supply box are scanned;
determining a target Bluetooth signal corresponding to the wireless earphone bound with the power box from a plurality of Bluetooth signals;
and outputting distance prompt information according to the signal intensity of the target Bluetooth signal.
Optionally, the step of outputting the distance prompt information according to the signal strength of the target bluetooth signal includes:
acquiring an indicator lamp control parameter corresponding to the signal intensity of the target Bluetooth signal, wherein the indicator lamp control parameter comprises at least one of the number of indicator lamps, the brightness of the indicator lamps and the flicker frequency of the indicator lamps;
and controlling the indicator light module on the power supply box according to the indicator light control parameter so as to output the distance prompt information through the indicator light module.
Optionally, the step of obtaining the indicator light control parameter corresponding to the signal strength of the target bluetooth signal includes:
acquiring a spacing distance corresponding to the signal intensity of the target Bluetooth signal;
determining a preset distance interval in which the interval distance is located;
and acquiring the control parameters of the indicator lamp corresponding to the preset distance interval, wherein the control parameters of the indicator lamp are positively correlated with the interval distance.
Optionally, after the step of determining the target bluetooth signal corresponding to the wireless headset bound to the power box in the plurality of bluetooth signals, the method further includes:
acquiring a spacing distance corresponding to the signal intensity of the target Bluetooth signal;
when the interval distance is smaller than a preset distance, establishing Bluetooth connection between the power supply box and the wireless earphone;
after the Bluetooth connection is established, an early warning instruction is sent to the wireless earphone, so that the wireless earphone outputs an alarm prompt to the environment where the wireless earphone is located.
In addition, in order to achieve the above object, the present invention also provides a method for retrieving a wireless headset, where the method for retrieving a wireless headset is applied to a wireless headset, and includes the following steps:
continuously broadcasting a target Bluetooth signal, wherein when a power box bound by the wireless earphone detects that a preset switch on the power box is triggered, scanning a plurality of Bluetooth signals within a set range of the power box, determining the target Bluetooth signal in the plurality of Bluetooth signals, establishing Bluetooth connection between the power box and the wireless earphone through the target Bluetooth signal, and sending an early warning instruction to the wireless earphone;
and outputting an alarm prompt to the environment where the wireless earphone is positioned when the early warning instruction sent by the power supply box is received.
Optionally, the step of outputting an alarm prompt to the environment where the wireless earphone is located includes at least one of:
controlling an audio output module of the wireless earphone to output first prompt information at a preset volume, wherein the alarm prompt comprises the first prompt information;
and starting a signal lamp of the wireless earphone to output second prompt information through the signal lamp, wherein the alarm prompt comprises the second prompt information.
Optionally, the step of continuously broadcasting the target bluetooth signal includes:
when the wireless earphone is in an unused state and the duration of the wireless earphone in the unused state is smaller than a preset duration, continuously broadcasting the target Bluetooth signal through a first Bluetooth module of the wireless earphone;
and when the wireless earphone is in an unused state and the duration time of the wireless earphone in the unused state is longer than or equal to the preset duration time, continuously broadcasting the target Bluetooth signal through a second Bluetooth module of the wireless earphone, wherein the power consumption of the second Bluetooth module is smaller than that of the first Bluetooth module.
Optionally, before the step of continuously broadcasting the target bluetooth signal, the method further includes:
and when the wireless earphone is detected not to be in the power supply box and the Bluetooth connection is not established between the wireless earphone and terminal equipment except the power supply box, judging that the wireless earphone is in an unused state.
In addition, in order to achieve the above object, the present invention also provides a retrieving apparatus of a wireless earphone, the retrieving apparatus of the wireless earphone includes: the wireless earphone comprises a memory, a processor and a wireless earphone searching program which is stored in the memory and can run on the processor, wherein the wireless earphone searching program realizes the steps of the wireless earphone searching method when being executed by the processor.
In addition, to achieve the above object, the present invention also provides a computer storage medium having stored thereon a retrieval program of a wireless headset, which when executed by a processor, implements the steps of the retrieval method of a wireless headset as described above.
The embodiment of the invention provides a method, a device and a computer storage medium for searching a wireless earphone, which are used for scanning a plurality of Bluetooth signals in a set range of a power supply box when a preset switch on the power supply box is triggered; determining a target Bluetooth signal corresponding to the wireless earphone bound with the power supply box from the plurality of Bluetooth signals; and outputting distance prompt information according to the signal intensity of the target Bluetooth signal. According to the wireless earphone searching method, the switch is arranged on the power supply box, a user can trigger the searching step of the wireless earphone through one key of the switch, the power supply box automatically obtains the Bluetooth signal intensity of the wireless earphone bound with the power supply box, and distance prompts are output according to the Bluetooth signal intensity, so that the user can search the wireless earphone conveniently, and the searching efficiency of the wireless earphone is improved.
Drawings
FIG. 1 is a schematic diagram of a terminal structure of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating an embodiment of a method for retrieving a wireless headset according to the present invention;
fig. 3 is a flowchart of another embodiment of a method for retrieving a wireless headset according to the present invention;
fig. 4 is a flowchart of a method for retrieving a wireless headset according to another embodiment of the present invention;
fig. 5 is a schematic structural view of the power supply box of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The embodiment of the invention provides a solution, by arranging the switch on the power supply box, a user can trigger the searching step of the wireless earphone through one key of the switch, the power supply box automatically acquires the Bluetooth signal intensity of the wireless earphone bound with the power supply box, and the distance prompt is output according to the Bluetooth signal intensity, so that the user can search the wireless earphone conveniently, and the searching efficiency of the wireless earphone is improved.
As shown in fig. 1, fig. 1 is a schematic diagram of a terminal structure of a hardware running environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention is a power supply box or a wireless earphone, wherein the power supply box and the wireless earphone are pre-bound, for example, the power supply box and the wireless earphone are pre-adapted devices which can be matched for use.
As shown in fig. 1, the terminal may include: a processor 1001, e.g. CPU, MCU, DSP chip or the like, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as keys, and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., bluetooth interface, WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the terminal structure shown in fig. 1 is not limiting of the terminal and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, a network communication module, a user interface module, and a retrieval program of a wireless headset may be included in a memory 1005 as one type of computer storage medium.
In the terminal shown in fig. 1, when the embodiment terminal is a power box, the processor 1001 may be configured to call a search program of the wireless headset stored in the memory 1005, and perform the following operations:
when a preset switch on the power supply box is detected to be triggered, a plurality of Bluetooth signals in a set range of the power supply box are scanned;
determining a target Bluetooth signal corresponding to the wireless earphone bound with the power box from a plurality of Bluetooth signals;
and outputting distance prompt information according to the signal intensity of the target Bluetooth signal.
Further, the processor 1001 may call a search program of the wireless earphone stored in the memory 1005, and further perform the following operations:
acquiring an indicator lamp control parameter corresponding to the signal intensity of the target Bluetooth signal, wherein the indicator lamp control parameter comprises at least one of the number of indicator lamps, the brightness of the indicator lamps and the flicker frequency of the indicator lamps;
and controlling the indicator light module on the power supply box according to the indicator light control parameter so as to output the distance prompt information through the indicator light module.
Further, the processor 1001 may call a search program of the wireless earphone stored in the memory 1005, and further perform the following operations:
acquiring a spacing distance corresponding to the signal intensity of the target Bluetooth signal;
determining a preset distance interval in which the interval distance is located;
and acquiring the control parameters of the indicator lamp corresponding to the preset distance interval, wherein the control parameters of the indicator lamp are positively correlated with the interval distance.
Further, the processor 1001 may call a search program of the wireless earphone stored in the memory 1005, and further perform the following operations:
acquiring a spacing distance corresponding to the signal intensity of the target Bluetooth signal;
when the interval distance is smaller than a preset distance, establishing Bluetooth connection between the power supply box and the wireless earphone;
after the Bluetooth connection is established, an early warning instruction is sent to the wireless earphone, so that the wireless earphone outputs an alarm prompt to the environment where the wireless earphone is located.
When the embodiment terminal is a wireless headset, the processor 1001 may be configured to invoke a search program of the wireless headset stored in the memory 1005, and perform the following operations:
continuously broadcasting a target Bluetooth signal, wherein when a power box bound by the wireless earphone detects that a preset switch on the power box is triggered, scanning a plurality of Bluetooth signals within a set range of the power box, determining the target Bluetooth signal in the plurality of Bluetooth signals, establishing Bluetooth connection between the power box and the wireless earphone through the target Bluetooth signal, and sending an early warning instruction to the wireless earphone;
and outputting an alarm prompt to the environment where the wireless earphone is positioned when the early warning instruction sent by the power supply box is received.
Further, the processor 1001 may call a search program of the wireless earphone stored in the memory 1005, and further perform the following operations:
controlling an audio output module of the wireless earphone to output first prompt information at a preset volume, wherein the alarm prompt comprises the first prompt information;
further, the processor 1001 may call a search program of the wireless earphone stored in the memory 1005, and further perform the following operations:
and starting a signal lamp of the wireless earphone to output second prompt information through the signal lamp, wherein the alarm prompt comprises the second prompt information.
Further, the processor 1001 may call a search program of the wireless earphone stored in the memory 1005, and further perform the following operations:
when the wireless earphone is in an unused state and the duration of the wireless earphone in the unused state is smaller than a preset duration, continuously broadcasting the target Bluetooth signal through a first Bluetooth module of the wireless earphone;
and when the wireless earphone is in an unused state and the duration time of the wireless earphone in the unused state is longer than or equal to the preset duration time, continuously broadcasting the target Bluetooth signal through a second Bluetooth module of the wireless earphone, wherein the power consumption of the second Bluetooth module is smaller than that of the first Bluetooth module.
Further, the processor 1001 may call a search program of the wireless earphone stored in the memory 1005, and further perform the following operations:
and when the wireless earphone is detected not to be in the power supply box and the Bluetooth connection is not established between the wireless earphone and terminal equipment except the power supply box, judging that the wireless earphone is in an unused state.
Referring to fig. 2, in an embodiment, the method for retrieving a wireless headset includes the following steps:
step S10, when a preset switch on the power supply box is detected to be triggered, a plurality of Bluetooth signals in a set range of the power supply box are scanned;
in this embodiment, the embodiment terminal is a power supply box, a preset switch is provided on the power supply box, the preset switch can be triggered by the operation of a user, and when the preset switch is triggered, the power supply box enters a recovery mode and executes the technical scheme of this embodiment.
Alternatively, the preset switch may be a key, a button, a virtual key on a touch screen, etc., which is not limited herein. For example, in fig. 5, when the preset switch is the key 1 of the power box, if the key 1 is not activated, the user may press the key 1 to activate the key 1, and if the key 1 is activated, the user may press the key 1 to restore the key 1 to the non-activated state.
Optionally, the power supply box is provided with a bluetooth communication module, and the bluetooth communication module can be a common bluetooth module or a low energy bluetooth module. The bluetooth communication module of the power supply box can send and receive bluetooth signals, so when detecting that the preset switch on the power supply box is triggered, the user considers that the wireless earphone is lost and needs to be found, and the power supply box can start the bluetooth module to scan a plurality of bluetooth signals in the setting range of the power supply box. It should be noted that, the setting range is related to the capability of the bluetooth communication module to receive bluetooth signals, and the setting range is larger when the capability of the bluetooth communication module to receive bluetooth signals is stronger. Multiple bluetooth devices may be present in the surrounding environment of the power box at the same time, and all broadcast bluetooth signals outwards, so the power box can scan for multiple bluetooth signals at the same time.
Step S20, determining a target Bluetooth signal corresponding to the wireless earphone bound with the power box in a plurality of Bluetooth signals;
in this embodiment, the power supply box and the wireless earphone to be searched are bound in advance, for example, the power supply box and the wireless earphone are devices which are adapted in advance and can be used together, and the binding relationship can be obtained through burning. Optionally, a containing cavity is arranged in the power supply box and is used for containing the wireless earphone bound by the power supply box, and the shape of the containing cavity is matched with the wireless earphone bound by the power supply box. When the wireless earphone bound by the power box is accommodated in the power box, the power box can be electrically connected with the wireless earphone through pins arranged in the accommodating cavity so as to charge or communicate the wireless earphone.
Optionally, the power supply box stores bluetooth information of the wireless headset in advance, where the bluetooth information may include a bluetooth hardware (Mac) address of the wireless headset, so that after the power supply box scans a plurality of bluetooth signals, the power supply box may analyze the plurality of bluetooth information respectively to determine a target bluetooth signal including the bluetooth information, and consider that the target bluetooth signal is sent by the wireless headset bound by the power supply box.
Optionally, in order to make the user more easily find the wireless earphone, after determining the target bluetooth signal corresponding to the wireless earphone, the power supply box may further obtain a separation distance corresponding to the signal strength of the target bluetooth signal, and when the separation distance is smaller than a preset distance, establish bluetooth connection between the power supply box and the wireless earphone, and after successfully establishing bluetooth connection, the power supply box actively sends an early warning instruction to the wireless earphone, so that the wireless earphone outputs an alarm prompt to an environment where the wireless earphone is located, for example, the wireless earphone may output audio information and/or turn on or flash a signal lamp of the wireless earphone, so that the user more quickly finds the wireless earphone according to auditory factors or visual factors in the surrounding environment. Optionally, because the wireless earphone outputs the alarm to the surrounding environment and has limited transmission range, when the interval distance is greater than or equal to the preset distance, the power supply box does not send the early warning instruction to the wireless earphone, so that unnecessary energy consumption of the wireless earphone is saved.
And step S30, outputting distance prompt information according to the signal intensity of the target Bluetooth signal.
In this embodiment, after determining a target bluetooth signal corresponding to a wireless headset to which the power supply box is bound, the power supply box determines a separation distance between the power supply box and the wireless headset according to a signal strength of the target bluetooth signal, generates distance prompt information according to the separation distance, and outputs the distance prompt information to a surrounding environment of the power supply box. The step of outputting distance prompt information corresponding to the signal intensity of the target Bluetooth signal is executed at fixed time, so that when the signal intensity of the target Bluetooth signal is changed, the corresponding distance prompt information is changed.
Alternatively, when determining the separation distance between the power supply box and the wireless earphone according to the signal intensity of the target bluetooth signal, the separation distance can be achieved by a received signal intensity indicator (RSSI, received Signal Strength Indication), and the distance between the signal point and the receiving point is determined according to the received signal intensity. It should be noted that, when steps S10, S20, and S30 are executed, the power supply box and the wireless headset may be in an unconnected state, and the technical solution of the embodiment is implemented according to the signal strength of the target bluetooth signal broadcasted by the wireless headset.
Optionally, the power supply box may be provided with at least one of an indicator light module, a nixie tube display, an LED display screen, a vibration module and an audio output module, so that distance prompt information is output through at least one of the indicator light module, the nixie tube display, the LED display screen, the vibration module and the audio output module, and thus, a user can determine the interval distance between the power supply box and the wireless earphone according to the distance prompt information output by the power supply box, and the user can carry the power supply box to move when searching the wireless earphone, and determine whether the user is close to or far away from the wireless earphone according to the change of the distance prompt information output by the power supply box, so that the user can more quickly reach the position where the wireless earphone is located, and the searching efficiency of the wireless earphone is improved.
Optionally, the distance prompt information may include the number of turned-on indicator modules, the display content of the nixie tube display, the display content of the LED display screen, the vibration strength or vibration frequency of the vibration module, and the audio information output by the audio output module.
Optionally, in the process of outputting the distance prompt information according to the signal intensity of the target bluetooth signal, if the preset switch is detected to be restored to be not triggered, the power supply box exits the recovery mode, and stops executing the step of outputting the distance prompt information according to the signal intensity of the target bluetooth signal. Optionally, when the power supply box exits the searching mode, the power supply box sends an instruction for canceling the early warning to the wireless earphone, so that the wireless earphone stops outputting the alarm prompt to the environment where the wireless earphone is located.
In the technical scheme disclosed in this embodiment, through setting up the switch on the power pack, the user can trigger the step of looking for of wireless earphone through a switch key, need not to rely on the cell-phone operation, need not the user to carry out a series of operations on cell-phone APP, also need not the bluetooth signal of wireless earphone that the user manually selected to seek, the power pack automatic acquisition is bound with the power pack wireless earphone's bluetooth signal strength to according to bluetooth signal strength output distance suggestion, so that the user seeks wireless earphone, improved wireless earphone's searching efficiency.
In another embodiment, as shown in fig. 3, based on the embodiment shown in fig. 2, step S30 includes:
step S31, obtaining an indicator lamp control parameter corresponding to the signal intensity of the target Bluetooth signal, wherein the indicator lamp control parameter comprises at least one of the number of indicator lamps, the brightness of the indicator lamps and the flicker frequency of the indicator lamps;
in this embodiment, when the power supply box outputs the distance prompt information according to the signal intensity of the target bluetooth signal, if the power supply box is provided with the indicator light module, the interval distance corresponding to the signal intensity of the target bluetooth signal can be obtained, and the interval distance represents the distance between the power supply box and the wireless earphone. And acquiring an indicator lamp control parameter corresponding to the interval distance, wherein the indicator lamp control parameter comprises at least one of the number of indicator lamps, the brightness of the indicator lamps and the flicker frequency of the indicator lamps, and the corresponding relation between the interval distance and the indicator lamp control parameter can be preset and stored in the power supply box.
Optionally, the power supply box stores a plurality of preset distance areas and indicator light control parameters corresponding to the preset distance areas in advance, when the indicator light control parameters corresponding to the interval distance are obtained, the preset distance area where the interval distance is located can be determined, and then the indicator light control parameters corresponding to the preset distance area where the interval distance is located are determined.
Alternatively, the relationship between the indicator light control parameter and the separation distance may be a positive correlation. For example, when the power supply box receives the Bluetooth signal intensity of the wireless earphone to be-60 dB, the interval distance between the power supply box and the wireless earphone is 10 meters, the corresponding number of the indication lamps is 1, when the power supply box receives the Bluetooth signal intensity of the wireless earphone to be-40 dB, the interval distance between the power supply box and the wireless earphone is 5 meters, the corresponding number of the indication lamps is 2, when the power supply box receives the Bluetooth signal intensity of the wireless earphone to be-20 dB, the interval distance between the power supply box and the wireless earphone is 1 meter, and the corresponding number of the indication lamps is 3.
And step S32, controlling the indicator light module on the power supply box according to the indicator light control parameters so as to output the distance prompt information through the indicator light module.
In this embodiment, the indicator light module includes at least one indicator light, for example, in fig. 5, the indicator light module of the power box includes three indicator lights 2. After the control parameters of the indicator lamps are obtained, the indicator lamp modules on the power supply box are controlled according to the control parameters of the indicator lamps, so that the number of the indicator lamps started in the indicator lamp modules, the brightness of each indicator lamp, the flicker frequency of each indicator lamp and the like are adjusted, and a user can conveniently determine the interval distance between the power supply box and the wireless earphone and the change condition of the interval distance according to the number of the indicator lamps, the brightness, the flicker frequency and the like.
In the technical scheme disclosed in the embodiment, the indication lamp module is arranged on the power supply box, and the output of the indication lamp module is adjusted according to the interval distance between the power supply box and the wireless earphone, so that a user can more intuitively know the distance and the azimuth of the power supply box relative to the wireless earphone to be searched.
In yet another embodiment, as shown in fig. 4, the method for retrieving the wireless earphone based on any one of the embodiments shown in fig. 2 to 3 includes the following steps:
step S40, continuously broadcasting a target Bluetooth signal, wherein when a power box bound by the wireless earphone detects that a preset switch on the power box is triggered, a plurality of Bluetooth signals in a set range of the power box are scanned, the target Bluetooth signal is determined in the plurality of Bluetooth signals, bluetooth connection between the power box and the wireless earphone is established through the target Bluetooth signal, and an early warning instruction is sent to the wireless earphone;
and S50, outputting an alarm prompt to the environment where the wireless earphone is located when the early warning instruction sent by the power supply box is received.
In this embodiment, the terminal is a wireless earphone, and the wireless earphone and the power supply box are pre-bound, for example, the wireless earphone and the power supply box are devices which are pre-adapted and can be used together. Optionally, a containing cavity is arranged in the power supply box and is used for containing the wireless earphone bound by the power supply box, and the shape of the containing cavity is matched with the wireless earphone bound by the power supply box. When the wireless earphone bound by the power box is accommodated in the power box, the power box can be electrically connected with the wireless earphone through pins arranged in the accommodating cavity so as to charge or communicate the wireless earphone.
Optionally, the wireless earphone continuously broadcasts the target bluetooth signal to the surrounding environment, so that when the power supply box detects that a preset switch on the power supply box is triggered and scans a plurality of bluetooth signals within a set range of the power supply box, the target bluetooth signal corresponding to the wireless earphone bound with the power supply box can be determined in the plurality of bluetooth signals, and the distance prompt information is output according to the signal intensity of the target bluetooth signal. Optionally, after determining the target bluetooth signal, the power supply box establishes bluetooth connection between the power supply box and the wireless earphone through the target bluetooth signal, and sends an early warning instruction to the wireless earphone.
Optionally, the wireless earphone includes an unused state and a used state, when the wireless earphone is in the unused state, the target bluetooth signal is continuously broadcasted and the subsequent steps are executed, and when the wireless earphone is in the used state, the wireless earphone is controlled according to a common control mechanism.
Optionally, when the wireless earphone is in the unused state, the duration of the wireless earphone in the unused state may be detected, if the duration is less than the preset duration, the target bluetooth signal is continuously broadcast through the first bluetooth module of the wireless earphone, so that the user can use the wireless earphone normally, and if the duration is greater than or equal to the preset duration, the target bluetooth signal is continuously broadcast through the second bluetooth module of the wireless earphone, where the power consumption of the second bluetooth module is less than the power consumption of the first bluetooth module, for example, the second bluetooth module is a low-power bluetooth module, and the first bluetooth module is a common bluetooth module, so as to save the energy consumption of the wireless earphone under the condition that the user may have a need to find the wireless earphone. It should be noted that, the first bluetooth module and the second bluetooth module all belong to the bluetooth module of wireless earphone, and the bluetooth module of wireless earphone includes first bluetooth module and second bluetooth module promptly to first bluetooth module and second bluetooth module all can be used to wireless earphone and terminal equipment's such as cell-phone, power pack bluetooth communication connection.
Optionally, before continuously broadcasting the target bluetooth signal, it is determined whether the wireless headset is in an unused state. Specifically, when it is detected that the wireless headset is not in the power box and the wireless headset is not establishing bluetooth connection with a terminal device other than the power box, it is considered that the wireless headset may need to be retrieved, and thus it is determined that the wireless headset is in an unused state, and the continuously broadcasting target bluetooth signal and the subsequent steps are performed.
Optionally, the wireless earphone is provided with an audio output module and/or a signal lamp, the audio output module may be a loudspeaker, the loudspeaker may be a loudspeaker of the wireless earphone itself for playing music, and the signal lamp may be a flash lamp. Therefore, the step of outputting the alarm prompt to the environment where the wireless earphone is located by the wireless earphone comprises the following steps: the audio output module of the wireless earphone is controlled to output first prompt information at preset volume, wherein the alarm prompt comprises the first prompt information, and/or a signal lamp of the wireless earphone is started to output second prompt information through the signal lamp, and the alarm prompt comprises the second prompt information. Optionally, the first prompt information is a sound signal, and the second prompt information is a light signal. Optionally, the preset volume may be the maximum output volume of the audio output module, and the first prompt information output by the audio output module of the wireless earphone with the preset volume may be an intermediate frequency signal sound.
In the technical scheme disclosed in this embodiment, through setting up the switch on the power pack, the user accessible switch key triggers wireless earphone's step of looking for, and the power pack obtains the bluetooth signal strength of wireless earphone who binds with the power pack voluntarily to according to bluetooth signal strength output distance suggestion, so that the user looks for wireless earphone, improved wireless earphone's searching efficiency.
In addition, an embodiment of the present invention further provides a retrieving device for a wireless earphone, where the retrieving device for a wireless earphone includes: the wireless earphone comprises a memory, a processor and a wireless earphone searching program which is stored in the memory and can run on the processor, wherein the wireless earphone searching program realizes the steps of the wireless earphone searching method according to the various embodiments when being executed by the processor.
Alternatively, the retrieving means of the wireless headset may be the wireless headset or the power supply box as in the above embodiments.
In addition, the embodiment of the invention also provides a computer storage medium, wherein the computer storage medium stores a wireless earphone searching program, and the wireless earphone searching program realizes the steps of the wireless earphone searching method according to each embodiment when being executed by a processor.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.
Claims (7)
1. The method for retrieving the wireless earphone is characterized by being applied to a power supply box and comprising the following steps of:
when a preset switch on the power supply box is detected to be triggered, a plurality of Bluetooth signals in a set range of the power supply box are scanned;
determining a target Bluetooth signal corresponding to the wireless earphone bound with the power box from a plurality of Bluetooth signals;
outputting distance prompt information according to the signal intensity of the target Bluetooth signal;
after the step of determining the target bluetooth signal corresponding to the wireless earphone bound to the power box in the plurality of bluetooth signals, the method further includes:
acquiring a spacing distance corresponding to the signal intensity of the target Bluetooth signal;
when the interval distance is smaller than a preset distance, establishing Bluetooth connection between the power supply box and the wireless earphone;
after the Bluetooth connection is established, an early warning instruction is sent to the wireless earphone, so that the wireless earphone outputs an alarm prompt to the environment where the wireless earphone is located;
when the interval distance is greater than or equal to the preset distance, the power supply box does not send an early warning instruction to the wireless earphone;
the alarm prompt comprises medium frequency signal prompt information and flash prompt information;
after the step of outputting the distance prompt information according to the signal strength of the target bluetooth signal, the method further includes:
if the preset switch is detected to be restored to be not triggered, stopping executing the step of outputting distance prompt information according to the signal intensity of the target Bluetooth signal;
sending a cancellation early warning instruction to the wireless earphone so that the wireless earphone stops outputting an alarm prompt to the environment where the wireless earphone is located;
the broadcasting mode of the target Bluetooth signal comprises the following steps:
when the wireless earphone is in an unused state and the duration of the wireless earphone in the unused state is smaller than a preset duration, continuously broadcasting the target Bluetooth signal through a first Bluetooth module of the wireless earphone;
and when the wireless earphone is in an unused state and the duration time of the wireless earphone in the unused state is longer than or equal to the preset duration time, continuously broadcasting the target Bluetooth signal through a second Bluetooth module of the wireless earphone, wherein the power consumption of the second Bluetooth module is smaller than that of the first Bluetooth module.
2. The method for retrieving a wireless headset according to claim 1, wherein the step of outputting a distance prompt message according to the signal strength of the target bluetooth signal comprises:
acquiring an indicator lamp control parameter corresponding to the signal intensity of the target Bluetooth signal, wherein the indicator lamp control parameter comprises at least one of the number of indicator lamps, the brightness of the indicator lamps and the flicker frequency of the indicator lamps;
and controlling the indicator light module on the power supply box according to the indicator light control parameter so as to output the distance prompt information through the indicator light module.
3. The method for retrieving a wireless headset according to claim 2, wherein the step of obtaining the indicator control parameter corresponding to the signal strength of the target bluetooth signal includes:
acquiring a spacing distance corresponding to the signal intensity of the target Bluetooth signal;
determining a preset distance interval in which the interval distance is located;
and acquiring the control parameters of the indicator lamp corresponding to the preset distance interval, wherein the control parameters of the indicator lamp are positively correlated with the interval distance.
4. The method for retrieving the wireless earphone is characterized by being applied to the wireless earphone and comprising the following steps of:
continuously broadcasting a target Bluetooth signal, wherein when a power box bound by the wireless earphone detects that a preset switch on the power box is triggered, scanning a plurality of Bluetooth signals within a set range of the power box, determining the target Bluetooth signal in the plurality of Bluetooth signals, establishing Bluetooth connection between the power box and the wireless earphone through the target Bluetooth signal, and sending an early warning instruction to the wireless earphone;
when the early warning instruction sent by the power supply box is received, outputting an alarm prompt to the environment where the wireless earphone is located;
wherein, after the step of outputting an alarm prompt to the environment where the wireless earphone is located when the early warning instruction sent by the power supply box is received, the method further comprises:
when receiving a cancellation early warning instruction sent by the power supply box, canceling to output an alarm prompt to the environment where the wireless earphone is positioned;
the step of outputting the alarm prompt to the environment where the wireless earphone is located comprises at least one of the following steps:
controlling an audio output module of the wireless earphone to output medium-frequency signal prompt information at a preset volume, wherein the alarm prompt comprises the medium-frequency signal prompt information;
starting a signal lamp of the wireless earphone to output flash prompt information through the signal lamp, wherein the alarm prompt comprises the flash prompt information;
wherein, the step of continuously broadcasting the target bluetooth signal includes:
when the wireless earphone is in an unused state and the duration of the wireless earphone in the unused state is smaller than a preset duration, continuously broadcasting the target Bluetooth signal through a first Bluetooth module of the wireless earphone;
and when the wireless earphone is in an unused state and the duration time of the wireless earphone in the unused state is longer than or equal to the preset duration time, continuously broadcasting the target Bluetooth signal through a second Bluetooth module of the wireless earphone, wherein the power consumption of the second Bluetooth module is smaller than that of the first Bluetooth module.
5. The method of retrieving a wireless headset of claim 4, wherein prior to the step of continuously broadcasting the target bluetooth signal, further comprising:
and when the wireless earphone is detected not to be in the power supply box and the Bluetooth connection is not established between the wireless earphone and terminal equipment except the power supply box, judging that the wireless earphone is in an unused state.
6. A retrieving apparatus of a wireless earphone, wherein the retrieving apparatus of a wireless earphone comprises: memory, a processor and a wireless headset retrieval program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the wireless headset retrieval method of any one of claims 1 to 5.
7. A computer storage medium, wherein a retrieval program of a wireless headset is stored on the computer storage medium, which when executed by a processor, implements the steps of the retrieval method of a wireless headset according to any one of claims 1 to 5.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110446890.9A CN113194371B (en) | 2021-04-23 | 2021-04-23 | Method and device for searching wireless earphone and computer storage medium |
JP2021161686A JP7220268B2 (en) | 2021-04-23 | 2021-09-30 | Wireless earphone collection method, device and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110446890.9A CN113194371B (en) | 2021-04-23 | 2021-04-23 | Method and device for searching wireless earphone and computer storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113194371A CN113194371A (en) | 2021-07-30 |
CN113194371B true CN113194371B (en) | 2023-07-14 |
Family
ID=76978953
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110446890.9A Active CN113194371B (en) | 2021-04-23 | 2021-04-23 | Method and device for searching wireless earphone and computer storage medium |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP7220268B2 (en) |
CN (1) | CN113194371B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114302280A (en) * | 2021-12-29 | 2022-04-08 | 维沃移动通信有限公司 | Earphone assembly, control method and control device thereof, electronic equipment and storage medium |
CN114554471A (en) * | 2022-02-25 | 2022-05-27 | 广东美的厨房电器制造有限公司 | Wireless probe positioning method and device, cooking appliance and storage medium |
CN115065931A (en) * | 2022-07-27 | 2022-09-16 | Oppo广东移动通信有限公司 | Method and device for searching Bluetooth device |
CN116095614A (en) * | 2022-12-30 | 2023-05-09 | 东莞华贝电子科技有限公司 | Electronic equipment prevents losing system |
CN116456282A (en) * | 2023-05-31 | 2023-07-18 | 深圳市明泰智能技术有限公司 | Equipment tracking method and system based on short-distance wireless communication |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110267150A (en) * | 2019-07-31 | 2019-09-20 | 潍坊歌尔电子有限公司 | Wireless headset, earphone charging box and communication means, system, computer media |
CN110730419A (en) * | 2019-09-29 | 2020-01-24 | 北京摩拜科技有限公司 | Article positioning method, device and system and electronic equipment |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8326228B2 (en) * | 2008-12-19 | 2012-12-04 | At&T Mobility Ii Llc | Headset locator device |
CN103840857A (en) * | 2014-03-12 | 2014-06-04 | 上海天奕达电子科技有限公司 | Method and equipment for searching for Bluetooth equipment rapidly |
US10142750B2 (en) * | 2016-04-22 | 2018-11-27 | Apple Inc. | Swapping roles between untethered wirelessly connected devices |
WO2019218368A1 (en) * | 2018-05-18 | 2019-11-21 | 深圳傲智天下信息科技有限公司 | Tws headphones, wrist-worn ai voice interaction device and system |
CN111132028B (en) * | 2019-12-19 | 2021-04-20 | 歌尔科技有限公司 | Wireless earphone searching method and device, electronic equipment and readable storage medium |
CN111131951A (en) * | 2019-12-26 | 2020-05-08 | 歌尔科技有限公司 | Wireless earphone positioning method, wireless earphone, electronic equipment and storage medium |
CN211606789U (en) * | 2020-05-09 | 2020-09-29 | 歌尔科技有限公司 | Earphone device |
CN211880597U (en) * | 2020-05-09 | 2020-11-06 | 歌尔智能科技有限公司 | Wireless earphone and receiver alarm system that drops |
CN111986454A (en) * | 2020-07-02 | 2020-11-24 | 东莞宇龙通信科技有限公司 | Wireless earphone searching method, device, storage medium and terminal |
-
2021
- 2021-04-23 CN CN202110446890.9A patent/CN113194371B/en active Active
- 2021-09-30 JP JP2021161686A patent/JP7220268B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110267150A (en) * | 2019-07-31 | 2019-09-20 | 潍坊歌尔电子有限公司 | Wireless headset, earphone charging box and communication means, system, computer media |
CN110730419A (en) * | 2019-09-29 | 2020-01-24 | 北京摩拜科技有限公司 | Article positioning method, device and system and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
JP7220268B2 (en) | 2023-02-09 |
JP2022167754A (en) | 2022-11-04 |
CN113194371A (en) | 2021-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113194371B (en) | Method and device for searching wireless earphone and computer storage medium | |
CN108174457B (en) | Charging box, communication system and communication method of Bluetooth headset | |
CN106851654B (en) | Pseudo base station identification method, pseudo base station identification device and terminal | |
KR101719161B1 (en) | Wifi-based devices and a method of operating the same | |
KR101790042B1 (en) | Earphone system And Portable Device supporting the same, and Operation Method of Earphone based on the same | |
CN104507005B (en) | The packet control process and system of wireless sound box | |
CN105282654A (en) | Headphone listening apparatus | |
CN104853405A (en) | Intelligent networking method and intelligent device | |
CN106936676B (en) | Household equipment control method and device | |
CN110996405A (en) | Earphone connection method, terminal, earphone box and computer readable storage medium | |
KR20120052599A (en) | Fast device searching method based on a short range communication module and portable device supporting the same | |
CN105208056A (en) | Information exchange method and terminal | |
CN106506437B (en) | Audio data processing method and device | |
CN111447602A (en) | Bluetooth device, Bluetooth preemption method and device thereof, and computer-readable storage medium | |
CN106126675A (en) | A kind of method of recommendation of audio, Apparatus and system | |
CN111131951A (en) | Wireless earphone positioning method, wireless earphone, electronic equipment and storage medium | |
CN110072013B (en) | Terminal control method and device | |
CN112601237A (en) | Network type detection method, device, storage medium and mobile terminal | |
CN111586662A (en) | Sharing method and audio output device | |
US20090052368A1 (en) | Radio network expansion method | |
CN109362065A (en) | Pairing method and device for sound box equipment and pairing method and device for microphone | |
CN114257922B (en) | Earphone mixed loading identification method, system, equipment and computer readable storage medium | |
CN103095916B (en) | A kind of incidence prompt method and user terminal | |
CN105898674A (en) | Processing device, vehicle-mounted system and audio frequency data processing method | |
KR20120006374A (en) | Method and apparatus for connecting wireless communication device automatically |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |