CN115273431B - Device retrieving method and device, storage medium and electronic device - Google Patents

Device retrieving method and device, storage medium and electronic device Download PDF

Info

Publication number
CN115273431B
CN115273431B CN202211169470.1A CN202211169470A CN115273431B CN 115273431 B CN115273431 B CN 115273431B CN 202211169470 A CN202211169470 A CN 202211169470A CN 115273431 B CN115273431 B CN 115273431B
Authority
CN
China
Prior art keywords
sound
bluetooth headset
electronic device
echo
instruction
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
Application number
CN202211169470.1A
Other languages
Chinese (zh)
Other versions
CN115273431A (en
Inventor
苏星宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202211169470.1A priority Critical patent/CN115273431B/en
Publication of CN115273431A publication Critical patent/CN115273431A/en
Application granted granted Critical
Publication of CN115273431B publication Critical patent/CN115273431B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO 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
    • G01S1/00Beacons or beacon systems transmitting signals having a characteristic or characteristics capable of being detected by non-directional receivers and defining directions, positions, or position lines fixed relatively to the beacon transmitters; Receivers co-operating therewith
    • G01S1/72Beacons or beacon systems transmitting signals having a characteristic or characteristics capable of being detected by non-directional receivers and defining directions, positions, or position lines fixed relatively to the beacon transmitters; Receivers co-operating therewith using ultrasonic, sonic or infrasonic waves
    • G01S1/76Systems for determining direction or position line
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1091Details not provided for in groups H04R1/1008 - H04R1/1083
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application provides a device retrieving method, a device, a storage medium and electronic equipment, wherein the method comprises the following steps: receiving a first sound message sent by the Bluetooth headset, wherein the first sound message comprises first sound collected by the Bluetooth headset; playing a first sound as an echo, wherein the first sound comprises the echo played by the electronic equipment; and generating and displaying a movement trend according to the first sound, wherein the movement trend is used for indicating whether the electronic equipment is close to or far away from the Bluetooth headset, so that the Bluetooth headset is used for collecting sound comprising echo played by the electronic equipment, and the movement trend of the electronic equipment is determined based on the echo according to the Doppler effect, so that a user can determine the position of the Bluetooth headset according to the movement trend, and the user can more conveniently retrieve the Bluetooth headset.

Description

Device retrieving method and device, storage medium and electronic device
Technical Field
The embodiment of the application relates to the technical field of electronic equipment, in particular to a method and a device for retrieving equipment, a storage medium and electronic equipment.
Background
The volume of the bluetooth headset is usually small, and especially the wireless bluetooth headset is easy to be found out.
Disclosure of Invention
In view of this, embodiments of the present application provide a device retrieving method, an apparatus, a storage medium, and an electronic device, so that a user can retrieve a bluetooth headset more conveniently.
In a first aspect, an embodiment of the present application provides a device recovery method, where the method is applied to an electronic device, and the method includes:
receiving a first sound message sent by a Bluetooth headset, wherein the first sound message comprises first sound collected by the Bluetooth headset;
playing the first sound as an echo, wherein the first sound comprises the echo played by the electronic equipment;
and generating and displaying a movement trend according to the first sound, wherein the movement trend is used for indicating whether the electronic equipment is close to or far away from the Bluetooth headset.
In one possible implementation, the generating and displaying a movement trend according to the first sound includes:
carrying out extremum filtering processing on the first sound to generate a characteristic wave;
processing the characteristic wave to generate a distance characterization function;
and generating and displaying the moving trend according to the distance characterization function.
In a possible implementation manner, after generating the moving trend according to the distance characterization function, the method further includes:
and generating and displaying a movement trend distance according to the distance characterization function, wherein the movement trend distance is used for representing the distance of the electronic equipment approaching or departing from the Bluetooth headset under the current movement trend.
In one possible implementation manner, the volume of the electronic device for playing the echo is adjusted according to the frequency of the first sound, and the volume is inversely related to the frequency of the first sound.
In a possible implementation manner, before the receiving the first sound message sent by the bluetooth headset, the method further includes:
determining a device retrieval mode;
if the device retrieving mode is determined to be the first mode, sending a first echo sound instruction to the Bluetooth headset;
and if the device retrieving mode is determined to be the second mode, sending a limit volume sound prompt instruction to the Bluetooth headset.
In one possible implementation, the method further includes:
if the device retrieving mode is determined to be the third mode, sending a second return sound instruction to the Bluetooth headset;
after sending the second return sound instruction to the Bluetooth headset, receiving a second sound message sent by the Bluetooth headset, wherein the second sound message comprises a second sound collected by the Bluetooth headset in response to the second return sound instruction;
and playing the second sound. In one possible implementation, the method further includes:
and if the equipment retrieval mode is determined to be the fourth mode, sending a vibration instruction to the charging bin.
In one possible implementation, the method further includes:
and if the device retrieving mode is determined to be the fifth mode, sending a limit volume sound prompt instruction to the Bluetooth headset and sending a vibration instruction to the charging bin.
In a second aspect, an embodiment of the present application provides a control method for a bluetooth headset, where the method is applied to a bluetooth headset, and the method includes:
when a first echo sound instruction sent by the electronic equipment is received;
collecting a first sound in response to the first echo sound instruction;
transmitting a first voice message to the electronic device, the first voice message including the first voice.
In one possible implementation, the method further includes:
when receiving a limit volume voice prompt instruction sent by the electronic equipment;
and responding to the limit volume sound prompt instruction, and playing prompt sound at the limit volume.
In one possible implementation manner, when a second return sound instruction sent by the electronic equipment is received;
collecting a second sound in response to the second return sound instruction;
sending a second audio message to the electronic device, the second audio message comprising the second sound.
In one possible implementation, the method further includes:
when an instruction sent by electronic equipment is not received, judging whether the Bluetooth headset meets a first prompt condition according to the counted non-wearing time and the Bluetooth headset electric quantity, wherein the first prompt condition comprises that the non-wearing time exceeds a first preset time length, and the Bluetooth headset electric quantity is lower than an electric quantity threshold value;
and if the Bluetooth headset is judged to meet the first prompt condition, playing prompt sound at a first volume.
In one possible implementation manner, the method further includes:
if the Bluetooth headset is judged to meet the first prompt condition and the Bluetooth headset is not arranged in the charging bin beyond the second preset time, the prompt sound is played at the second volume, and the second volume is larger than the first volume.
In one possible implementation, the playing the cue sound at the second volume includes: and playing the prompt sound in the third preset time length at the second volume every fourth preset time length.
In a third aspect, an embodiment of the present application provides an apparatus for retrieving a device, the apparatus being mounted on an electronic device, the apparatus including:
the first receiving module is used for receiving a first sound message sent by a Bluetooth headset, wherein the first sound message comprises first sound collected by the Bluetooth headset;
the first playing module is used for playing the first sound as an echo, wherein the first sound comprises the echo played by the electronic equipment;
and the display module is used for generating and displaying a movement trend according to the first sound, wherein the movement trend is used for indicating whether the electronic equipment is close to or far away from the Bluetooth headset.
In a fourth aspect, an embodiment of the present application provides a control device for a bluetooth headset, the device being mounted on the bluetooth headset, the device including:
the second receiving module is used for receiving a first echo sound instruction sent by the electronic equipment;
the first acquisition module is used for receiving a first echo sound instruction sent by the electronic equipment; collecting a first sound in response to the first echo sound instruction;
a second sending module, configured to send a first voice message to the electronic device, where the first voice message includes the first voice.
In a fifth aspect, an embodiment of the present application provides a storage medium, where the storage medium includes a stored program, where the program, when running, controls a device in the storage medium to execute a device recovery method in the first aspect or any possible implementation manner of the first aspect, or a bluetooth headset control method in any possible implementation manner of the second aspect or the second aspect.
In a sixth aspect, an embodiment of the present application provides an electronic device, including a memory and a processor, where the memory is used to store information including program instructions, and the processor is used to control execution of the program instructions, and the program instructions are loaded by the processor and executed to implement the steps of the device recovery method in the first aspect or any possible implementation manner of the first aspect.
In a seventh aspect, an embodiment of the present application provides a bluetooth headset, including a memory and a processor, where the memory is configured to store information including program instructions, and the processor is configured to control execution of the program instructions, where the program instructions are loaded and executed by the processor to implement the steps of the bluetooth headset control method in any one of the second aspect and the second possible implementation manner.
In the technical scheme of the device retrieving method, the device, the storage medium and the electronic device provided by the embodiment of the application, if it is determined that the user searches for the Bluetooth headset in an echo positioning mode, a first echo sound instruction is sent to the Bluetooth headset; receiving a first voice message sent by the Bluetooth headset, wherein the first voice message comprises first voice collected by the Bluetooth headset in response to a first echo voice instruction; generating a distance representation from the first sound; and displaying the distance representation to prompt the user of the Bluetooth headset direction, so that the loss rate of the Bluetooth headset is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a bluetooth headset according to an embodiment of the present application;
fig. 3 is a schematic view of a charging bin provided in an embodiment of the present application;
fig. 4 is a flowchart of an interaction method between an electronic device and a bluetooth headset according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a retrieve bluetooth headset according to an embodiment of the present application;
fig. 6 is a flowchart illustrating a moving trend according to an embodiment of the present disclosure;
fig. 7 is a flowchart of a device recovery method according to an embodiment of the present application;
fig. 8 is a flowchart of another method for interaction between an electronic device and a bluetooth headset according to an embodiment of the present application;
fig. 9 is a schematic diagram of an active recovery apparatus according to an embodiment of the present application;
fig. 10 is a flowchart of another method for interaction between an electronic device and a bluetooth headset according to an embodiment of the present application;
fig. 11 is a flowchart of an interaction method between an electronic device and a charging bin according to an embodiment of the present application;
fig. 12 is a flowchart of a control method for a charging bin according to an embodiment of the present disclosure;
fig. 13 is a schematic diagram of a passive reminder according to an embodiment of the present application;
fig. 14 is a flowchart of an interaction method of an electronic device with a bluetooth headset and a charging chamber according to an embodiment of the present application;
fig. 15 is a flowchart of a control method of a bluetooth headset according to an embodiment of the present disclosure;
fig. 16 is a flowchart of another control method for a bluetooth headset according to an embodiment of the present disclosure;
fig. 17 is a schematic structural diagram of a retrieving device of an apparatus according to an embodiment of the present disclosure;
fig. 18 is a schematic structural diagram of a control device of a bluetooth headset according to an embodiment of the present application.
Detailed Description
For better understanding of the technical solutions of the present application, the following detailed descriptions of the embodiments of the present application are provided with reference to the accompanying drawings.
It should be understood that the embodiments described are only a few embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the examples of this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be understood that although the terms first, second, third, etc. may be used in the embodiments of the present application to describe numbers, etc., these numbers should not be limited to these terms. These terms are only used to distinguish one number from another. For example, a first number may also be referred to as a second number, and similarly, a second number may also be referred to as a first number, without departing from the scope of embodiments herein.
The word "if," as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection," depending on context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
The embodiment of the application provides a communication system, which comprises electronic equipment, a Bluetooth headset and a charging bin.
Fig. 1 shows a schematic structural diagram of an electronic device 100.
The electronic device 100 may include a processor 110, an internal memory 121, an antenna 2, a wireless communication module 160, an audio module 170, a speaker 170A, a microphone 170C, a sensor module 180, keys 190, a camera 193, a display 194, and the like. The sensor module 180 may include a gyro sensor 180B, an acceleration sensor 180E, a touch sensor 180K, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller can generate an operation control signal according to the instruction operation code and the time sequence signal to finish the control of instruction fetching and instruction execution.
The wireless communication function of the electronic device 100 may be realized by the antenna 2, the wireless communication module 160, and the like.
The antenna 2 is used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), global Navigation Satellite System (GNSS), frequency Modulation (FM), near Field Communication (NFC), infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the microphone 170C, and the application processor, among others. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic apparatus 100 can listen to music through the speaker 170A or listen to a handsfree call.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking near the microphone 170C through the mouth. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., x, y, and z axes) may be determined by gyroscope sensor 180B. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
The touch sensor 180K is also called a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
Fig. 2 is a schematic diagram of a bluetooth headset according to an embodiment of the present application. The bluetooth headset 40 includes: a processor 41, a memory 42, and a computer program 43 stored in the memory 42 and executable on the processor 41, the bluetooth headset 40 further comprises a speaker 44 and a microphone 45. The computer program 43 is executed by the processor 41 to implement the control method applied to the bluetooth headset in the embodiment, which is not described herein for avoiding repetition. Alternatively, the computer program is executed by the processor 41 to implement the functions of each model/unit in the control device applied to the bluetooth headset in the embodiment, and for avoiding repetition, the description is omitted here.
The bluetooth headset 40 includes, but is not limited to, a processor 41, and a memory 42. Those skilled in the art will appreciate that fig. 2 is merely an example of a bluetooth headset 40 and does not constitute a limitation of bluetooth headset 40 and may include more or fewer components than shown, or some components in combination, or different components, e.g., bluetooth headset 40 may also include input-output devices, network access devices, buses, etc.
The Processor 41 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 42 may be an internal storage unit of the bluetooth headset 40, such as a hard disk or a memory of the bluetooth headset 40. The memory 42 may also be an external storage device of the bluetooth headset 40, such as a plug-in hard disk provided on the bluetooth headset 40, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 42 may also include both an internal storage unit of the bluetooth headset 40 and an external storage device. The memory 42 is used to store computer programs and other programs and data required by the bluetooth headset 40. The memory 42 may also be used to temporarily store data that has been output or is to be output.
Fig. 3 is a schematic diagram of a charging bin provided in an embodiment of the present application, where the charging bin is used for charging a bluetooth headset. In addition, the charging bin may further include a charging port corresponding to the Mobile power supply, a Subscriber Identity Module (SIM) card slot, a fifth Generation Mobile Communication technology (5 g) Communication Module, a wireless transmission Module, and a vibration motor. The storehouse accessible portable power source that charges is connected with portable power source through the mouth that charges that corresponds, has strengthened the duration in storehouse that charges. The charging bin can be connected with the electronic device 100 through wireless communication of the wireless transmission module, and in addition, the wireless transmission module can also be used for setting a hot spot, so that the user can realize the wireless communication of the electronic device through the hot spot of the charging bin.
Electronic devices include, but are not limited to, cell phones, tablets, portable PCs, desktops, wearable devices, and the like. When a user cannot find a bluetooth headset, the electronic device may be used to find the bluetooth headset by using the following method. Fig. 4 is a flowchart of an interaction method between an electronic device and a bluetooth headset according to an embodiment of the present disclosure, and as shown in fig. 4, the interaction method between the electronic device and the bluetooth headset according to the embodiment of the present disclosure includes:
the electronic device executes the step 1001 and sends a first echo sound instruction to the Bluetooth headset;
fig. 5 is a schematic diagram of a bluetooth headset retrieving according to an embodiment of the present disclosure, as shown in fig. 5, when a user cannot find the bluetooth headset, a headset application provided by an electronic device may be opened. The user selects to search the Bluetooth headset in an echo positioning mode, the electronic equipment enters a Bluetooth headset searching state, and a first echo sound instruction is sent to the Bluetooth headset.
The bluetooth headset receives a first echo sound instruction sent by the electronic device, and in response to the first echo sound instruction, step 2001 is performed to collect a first sound, that is, the bluetooth headset 40 turns on the microphone 45, and collects ambient sound around the current position through the microphone 45;
the bluetooth headset executes step 2002 and sends a first sound message to the electronic device, wherein the first sound message comprises a first sound currently collected by the bluetooth headset;
the electronic equipment executes the step 1002 and receives a first sound message sent by the Bluetooth headset;
the electronic device executes step 1003, and plays the first sound as an echo, at this time, the electronic device 100 turns on the speaker 170A and turns off the microphone 170C, that is, while the bluetooth headset continuously collects sound, the electronic device continuously plays the sound collected by the bluetooth headset, that is, the sound currently collected by the bluetooth headset includes an original sound of an ambient sound around the bluetooth headset and the echo played by the electronic device;
the electronic equipment executes step 1004, and generates and displays a movement trend according to the first sound, wherein the movement trend is used for indicating whether the electronic equipment is close to or far away from the Bluetooth headset to guide a user to find the Bluetooth headset, the electronic equipment can continuously execute steps 1002-1004, namely, the sound collected by the Bluetooth headset is continuously played, and the Bluetooth headset can continuously execute steps 2001-2002, namely, the Bluetooth headset continuously collects the sound until the user finds the headset or stops finding the headset.
Specifically, the steps 1001 to 1004 belong to a device recovery method applied to an electronic device, and the steps 2001 to 2002 belong to a control method applied to a bluetooth headset. The sound collected by the Bluetooth earphone comprises the original sound and the echo played by the electronic equipment, the actual sound collected by the Bluetooth earphone is the superposition of two sound waveforms, the wavelength of the sound wave can reflect the distance between the Bluetooth earphone and the electronic equipment, the distance between the electronic equipment and the earphone can be judged by utilizing the echo positioning method, namely, the distance between the electronic equipment and the earphone can be judged according to the Doppler effect, when the electronic equipment moves, the distance between the electronic equipment and the Bluetooth earphone changes, the sound waveform can be changed, the electronic equipment can be determined to be close to or far away from the Bluetooth earphone according to the change of the sound waveform, so that the corresponding moving trend is displayed to prompt a user, and the user can move the electronic equipment according to the prompt, namely, the Bluetooth earphone can be more easily found.
According to the device retrieving method in the embodiment of the application, the Bluetooth headset can be used for collecting the sound including the echo played by the electronic device, and the movement trend of the electronic device is determined based on the echo according to the Doppler effect, so that a user can conveniently determine the position of the Bluetooth headset according to the movement trend, and the user can more conveniently retrieve the Bluetooth headset.
In a possible implementation manner, fig. 6 is a flowchart for displaying a movement trend provided by an embodiment of the present application, and as shown in fig. 6, the step 1004 of generating and displaying a movement trend according to a first sound includes:
10041, performing extremum filtering processing on the first sound to generate a characteristic wave;
step 10042, processing the characteristic wave to generate a distance characterization function;
and 10043, generating and displaying a moving trend according to the distance characterization function.
In one possible implementation, the distance characterization function includes
Figure 470177DEST_PATH_IMAGE001
Figure 667940DEST_PATH_IMAGE002
In order to correct the constant, the constant is corrected,
Figure 340230DEST_PATH_IMAGE003
for the feature point distance, x is the segment value, t is time, and n is an integer greater than or equal to 1. Wherein the characteristic point distance may be a distance between two adjacent peaks. When a user moves with the electronic equipment, the distance in the function is represented
Figure 307049DEST_PATH_IMAGE003
Figure 406592DEST_PATH_IMAGE004
Figure 91651DEST_PATH_IMAGE005
The value of (2) generates disturbance, and the electronic equipment generates a moving trend according to which current distance characterization function and the last distance characterization function in the moving process of the electronic equipment.
Electronic equipment throughd(
Figure 302053DEST_PATH_IMAGE006
) And d (a), (b)
Figure 123378DEST_PATH_IMAGE007
) The value of the difference is determined to be close to or far away from the Bluetooth headset in the moving trend. Wherein the content of the first and second substances,
Figure 659402DEST_PATH_IMAGE008
。d(
Figure 566178DEST_PATH_IMAGE006
) Represents the last distance between the electronic device and the Bluetooth headset, and d: (
Figure 580271DEST_PATH_IMAGE007
) When the current distance between the electronic equipment and the Bluetooth headset is represented, d: (
Figure 521682DEST_PATH_IMAGE006
) And d (a), (b)
Figure 228607DEST_PATH_IMAGE007
) When the value of the difference is positive, the last distance between the electronic equipment and the Bluetooth headset is larger than the current distance, and the electronic equipment approaches the Bluetooth headset; when d: (
Figure 622679DEST_PATH_IMAGE006
) And d: (a)
Figure 440462DEST_PATH_IMAGE007
) When the value of the difference is negative, the last distance between the electronic equipment and the Bluetooth headset is smaller than the current distance, and the electronic equipment is far away from the Bluetooth headset.
In one possible implementation manner, the step 1004 of generating and displaying the movement trend according to the first sound further includes:
and 10044, generating and displaying a movement trend distance according to the distance characterization function, wherein the movement trend distance is used for indicating the distance that the electronic device approaches or leaves the bluetooth headset under the current movement trend.
For example, the distance between the electronic device and the bluetooth headset in the last period calculated by the electronic device is 3 meters, d: (
Figure 33117DEST_PATH_IMAGE006
) Is 3; calculating the distance between the electronic equipment and the Bluetooth headset in the current period to be 2 meters according to the current distance characterization function, d: (
Figure 910944DEST_PATH_IMAGE007
) Is 2; and calculating that the electronic equipment approaches the Bluetooth headset by 1 meter. The electronic device may display the movement trend and the movement trend distance. For example, the electronic device displays "you are close to 1 meter to the headphone position" or "you are far from 1 meter to the headphone position".
In a possible implementation, the method for retrieving the device further includes: step 1005, adjusting the volume of the echo played by the electronic device according to the frequency of the first sound, where the volume is inversely related to the frequency of the first sound, that is, when the frequency of the first sound is increased, the volume of the echo is decreased, and when the frequency of the first sound is decreased, the volume of the echo is increased.
Specifically, the echo currently played by the electronic device includes an environmental sound acquired by the bluetooth headset and an echo from the electronic device during acquisition, and the currently played echo includes a superposition of the environmental sound and the echo during acquisition, which may cause that when the electronic device plays the current echo, an amplitude of the environmental sound in the current echo is superposed with an amplitude of the echo during acquisition to generate an intermittent howling.
In a possible implementation manner, the retrieving manner corresponding to fig. 4, that is, the steps 1001 to 1004 may be a first manner of the retrieving manner, and fig. 7 is a flowchart of a retrieving method of a device provided in this embodiment of the present application, as shown in fig. 7, before the step 1001 of sending a first echo sound instruction to a bluetooth headset and the step 1002 of receiving a first sound message sent by the bluetooth headset, the method further includes: step 1000, determining a device retrieving mode, if the device retrieving mode is determined to be the first mode, executing step 1001, determining the device retrieving mode, if the device retrieving mode is determined to be the first mode, executing step 1001, and sending a first echo sound instruction to the bluetooth headset; if the device retrieving mode is determined to be the second mode, step 1006 is executed to send a limit volume voice prompt instruction to the bluetooth headset.
Fig. 8 is a flowchart of another interaction method between an electronic device and a bluetooth headset according to an embodiment of the present application, and as shown in fig. 7 and 8, if it is determined that the device retrieving mode is the second mode, the electronic device executes step 1006 and sends a limit volume audio prompt instruction to the bluetooth headset.
In an embodiment of the application, the electronic device includes a display screen, and the display screen displays at least one retrieval mode button. The retrieval mode button comprises a first mode button, a second mode button, a third mode button, a fourth mode button or a fifth mode button. Fig. 9 is a schematic diagram of an active recovery device according to an embodiment of the present disclosure, and as shown in fig. 9, when the recovered device is a bluetooth headset, the bluetooth device may be recovered through any one or a combination of a limit volume mode, a listening position mode, or an echo position mode. When the retrieved equipment is the charging bin, the charging bin can be retrieved in a vibration prompting mode. For example, the user can determine the area where the bluetooth headset is located by listening to sound and positioning, and then find the bluetooth headset by echo positioning. Also shown in fig. 14 is a position interface of the app displayed by the mobile phone when the electronic device is the mobile phone, wherein a figure 01 represents a position where the electronic device is located, and a figure 02 represents a position where the bluetooth headset may appear.
The second mode button may be an alert tone button. As shown in fig. 9, the electronic device displays an alert tone button, the user inputs an operation of clicking the alert tone button to the electronic device, and the electronic device transmits a limit volume sound alert instruction to the bluetooth headset in response to the operation of clicking the alert tone button input by the user.
The bluetooth headset receives the limit volume voice prompt instruction sent by the electronic device, and in response to the limit volume voice prompt instruction, step 2003 is executed to play the prompt voice at the limit volume. As shown in fig. 2, the bluetooth headset 40 turns on the speaker 44, and the prompt sound is played through the speaker 44 at the limit volume until the user finds the bluetooth headset or stops finding the bluetooth headset.
Specifically, step 1006 belongs to a device retrieving method applied to the electronic device, and step 2003 belongs to a control method applied to a bluetooth headset. Therefore, the Bluetooth headset is used for playing the prompt sound with the limit volume, so that the position of the Bluetooth headset can be determined after the user hears the prompt sound played by the Bluetooth headset, and the user can more conveniently retrieve the Bluetooth headset.
In a possible implementation manner, fig. 10 is a flowchart of another interaction method between an electronic device and a bluetooth headset according to an embodiment of the present application, and as shown in fig. 7 and fig. 10, if it is determined that a device retrieving manner is a third manner, the electronic device executes step 1007 and sends a second return sound instruction to the bluetooth headset; wherein the third mode button may be an audible locate button. As shown in fig. 9, the electronic device displays the listening position button, the user inputs an operation of clicking the listening position button to the electronic device, and the electronic device sends a second return sound instruction to the bluetooth headset in response to the operation of clicking the listening position button input by the user.
The bluetooth headset receives a second return sound instruction sent by the electronic device, and in response to the second return sound instruction, step 2004 is executed to collect a second sound, as shown in fig. 2, that is, the bluetooth headset 40 turns on the microphone 45, and collects ambient sound around the current location through the microphone 45;
the bluetooth headset performs step 2005 and sends a second audio message to the electronic device, the second audio message comprising a second sound.
The electronic device executes step 1008 and receives a second voice message sent by the bluetooth headset;
the electronic device executes step 1009 to play the second sound, as shown in fig. 1, at this time, the electronic device 100 turns on the speaker 170A and turns off the microphone 170C, that is, the electronic device continuously plays the sound collected by the bluetooth headset while the bluetooth headset continuously collects the sound.
Specifically, the steps 1007 to 1009 belong to a device recovery method applied to an electronic device, and the steps 2004 to 2005 belong to a control method applied to a bluetooth headset. Therefore, the Bluetooth headset is utilized to collect the ambient sound, the electronic equipment plays the ambient sound collected by the Bluetooth headset, and the user can observe the ambient environment and determine the position of the Bluetooth headset according to the ambient sound played by the electronic equipment, so that the user can more conveniently retrieve the Bluetooth headset.
In a possible implementation manner, fig. 11 is a flowchart of an interaction method between an electronic device and a charging bin according to an embodiment of the present application, and as shown in fig. 7 and fig. 11, if it is determined that a device retrieving manner is a fourth manner, the electronic device executes step 1010 and sends a shock instruction to the charging bin. The electronic device and the charging bin are in a wireless connection state, for example, the electronic device and the charging bin are connected through a wireless network. The fourth mode button may be a vibration alert button. As shown in fig. 9, the electronic device displays a vibration prompt button, the user inputs an operation of clicking the vibration prompt button to the electronic device, and the electronic device sends a vibration instruction to the charging bin in response to the operation of clicking the vibration prompt button input by the user.
The charging bin receives a vibration instruction sent by the electronic device, and in response to the vibration instruction, executes step 3001 to vibrate. The charging bin is provided with a vibration motor, and the vibration motor is used for vibrating after receiving a vibration instruction.
Specifically, step 1010 belongs to a device retrieving method applied to an electronic device, and step 3001 belongs to a charging bin control method applied to a charging bin. Thereby utilize the storehouse vibrations of charging to make sound to after the user hears the sound that the storehouse vibrations of charging sent, can determine the position in storehouse of charging, make the user can retrieve the storehouse of charging more conveniently.
In a possible implementation manner, when the electronic device does not send a shock instruction to the charging bin, fig. 12 is a flowchart of a control method for the charging bin, which is provided in an embodiment of the present application, and the control method for the charging bin is applied to the charging bin, as shown in fig. 12, the method includes:
step 3002, according to the collected electric quantity of the charging bin, determining whether the electric quantity of the charging bin is smaller than a first threshold. If yes, go to step 3002; if not, go to step 3003.
Step 3003, sending a prompt message to the electronic device.
In the embodiment of the present application, fig. 13 is a schematic diagram of a passive reminder provided in the embodiment of the present application, as shown in fig. 13, fig. 13 shows that the bluetooth headset prompts a user when determining that the bluetooth headset is at a low loss risk or a high loss risk, and the charging bin prompts the user when the bluetooth headset is at the high loss risk. For example, the first threshold is 5%, when the charge amount in the charge bin is less than 5%, the charge bin is in a high loss risk, and the charge bin sends a message "please charge in time, the charge bin cannot vibrate due to the charge amount exhaustion" to the electronic device. And the electronic equipment receives and displays the prompt message sent by the charging bin.
Step 3004, counting the cycle prompt time.
In the embodiment of the application, the cycle prompt time is a time difference between a first time when the prompt message is sent to the electronic device and a current time.
Step 3005, determining whether the cycle prompt time is longer than a fifth preset time, if yes, executing step 3003; if not, go to step 3005.
In the embodiment of the present application, as shown in fig. 13, the fifth preset time is 5 minutes, and if the cycle prompting time counted by the charging bin is greater than 5 minutes, the prompting message is sent to the electronic device again.
When the charging bin counts the cycle time, if the charging state of the charging bin is changed from the negative state to the positive state, the charging bin stops counting the cycle time. Thereby make the storehouse of charging can initiatively indicate the position in user's storehouse of charging and the storehouse electric quantity of charging, reduce the condition of losing in storehouse of charging.
In a possible implementation manner, fig. 14 is a flowchart of an interaction method between an electronic device and a bluetooth headset and a charging bin according to an embodiment of the present application, and as shown in fig. 7 and fig. 14, if it is determined that a device retrieving manner is a fifth manner, the electronic device performs step 1011, sends a limit volume sound prompt instruction to the bluetooth headset, and sends a vibration instruction to the charging bin.
The bluetooth headset receives the limit volume voice prompt instruction sent by the electronic device, and in response to the limit volume voice prompt instruction, step 2003 is executed to play the prompt voice at the limit volume.
The charging bin receives a vibration instruction sent by the electronic device, and in response to the vibration instruction, executes step 3001 to vibrate.
Specifically, step 1011 above pertains to a device retrieving method applied to an electronic device, step 2003 pertains to a control method applied to a bluetooth headset of a bluetooth headset, and step 3001 pertains to a control method applied to a charging chamber of a charging chamber. Thereby when bluetooth headset and the storehouse of charging all can not be found, the user need not to look for bluetooth headset and the storehouse of charging respectively through electronic equipment, can utilize bluetooth headset to broadcast suggestion sound and the storehouse of charging vibrations mode of making a sound with limit volume, look for bluetooth headset and the storehouse of charging simultaneously, the user of being convenient for can determine the position in bluetooth headset and the storehouse of charging respectively after hearing the suggestion sound of bluetooth headset broadcast and the sound that the storehouse vibrations of charging sent, make the user can more conveniently seek bluetooth headset and the storehouse of charging.
When a user searches for a bluetooth headset through an electronic device, the bluetooth headset may respond to the search of the electronic device by the following method, fig. 15 is a flowchart of a control method of the bluetooth headset according to an embodiment of the present application, and as shown in fig. 15, the method includes:
step 2000, determining a received instruction sent by the electronic device, and executing step 2001 when a first echo sound instruction sent by the electronic device is received; when receiving a limit volume voice prompt instruction sent by the electronic device, executing step 2003; when a second return sound command sent by the electronic device is received, step 2004 is executed.
Step 2001, collect the first sound.
Step 2002, a first voice message is sent to the electronic device.
Step 2003, playing the prompt sound at the limit volume.
Step 2004, a second sound is collected.
Step 2005, a second audio message is sent to the electronic device.
In a possible implementation manner, fig. 16 is a flowchart of another control method for a bluetooth headset according to an embodiment of the present application, and as shown in fig. 16, the control method for a bluetooth headset further includes:
step 2006, when an instruction sent by the electronic device is not received, judging whether the bluetooth headset meets a first prompt condition according to the counted non-wearing time and the bluetooth headset electric quantity, wherein the first prompt condition comprises that the non-wearing time exceeds a first preset time length, and the bluetooth headset electric quantity is lower than an electric quantity threshold value, if yes, executing step 2007; if not, go to step 2006.
In the embodiment of the present application, if the bluetooth headset determines that the unworn time is longer than the first preset time and the power of the bluetooth headset is less than the power threshold, execute step 2007; if the non-wearing time is less than or equal to the first preset time and/or the electric quantity of the bluetooth headset is greater than or equal to the electric quantity threshold value, executing step 2006. For example, as shown in fig. 13, the first preset time period is 10 minutes, and the charge threshold is 10%.
Step 2007, playing the prompt sound with the first volume.
In the embodiment of the present application, as shown in fig. 13, the first volume is 50% of the limit volume. Bluetooth headset judges that the time of not wearing is greater than 10 minutes, and the Bluetooth headset electric quantity is less than 10%, shows that Bluetooth headset this moment has lower risk of losing, and Bluetooth headset plays suggestion sound with 50% limit volume to the suggestion user charges the earphone, when preventing that the earphone from not having the electricity or the electric quantity is lower, can't pass through the quick earphone of looking for of electronic equipment.
Step 2008, judging whether the Bluetooth headset meets a second prompt condition, wherein the second prompt condition includes that the Bluetooth headset exceeds a second preset time length and is not placed in the charging bin, and if yes, executing step 2009; if not, go to step 2008.
In the embodiment of the present application, for example, as shown in fig. 13, the second preset time period is 1 minute.
And step 2009, playing the prompt sound with a second volume, wherein the second volume is larger than the first volume.
In the embodiment of the present application, as shown in fig. 13, the second volume is the limit volume.
If the charging state of the Bluetooth headset is still in a negative state within 1 minute after the Bluetooth headset prompts the user to charge the headset by the first sound, the fact that the Bluetooth headset at the moment has a high risk of loss is indicated, and the Bluetooth headset plays the prompt sound by the limit volume.
In one possible implementation, the bluetooth headset playing the alert sound at the second volume includes: and playing the prompt sound in the third preset time length at the second volume every fourth preset time length.
For example, as shown in fig. 13, if the charging status of the bluetooth headset is still in the negative state within 5 minutes after the bluetooth headset plays the prompt sound at the second volume, the bluetooth headset continues to play the prompt sound at the limit volume within 1 minute. Therefore, the Bluetooth device can actively prompt the position of the Bluetooth headset of the user and the electric quantity of the charging bin, and the loss condition of the Bluetooth headset is reduced.
Fig. 17 is a schematic structural diagram of a retrieving apparatus of a device according to an embodiment of the present application, and as shown in fig. 17, the apparatus includes: a first receiving module 11, a first playing module 12 and a display module 13. The first receiving module 11 is connected to the first playing module 12, and the first playing module 12 is connected to the display module 13.
The first receiving module 11 is configured to receive a first sound message sent by the bluetooth headset, where the first sound message includes a first sound collected by the bluetooth headset; the first playing module 12 is configured to play the first sound as an echo, where the first sound includes an echo played by the electronic device; the display module 13 is configured to generate and display a movement trend according to the first sound, where the movement trend is used to indicate whether the electronic device is approaching or moving away from the bluetooth headset.
In the embodiment of the present application, the display module 13 includes: a first generation submodule 131, a second generation submodule 132 and a third generation submodule 133. The first generating submodule 131 is connected to the second generating submodule 132, and the second generating submodule 132 is connected to the third generating submodule 133.
The first generation submodule 131 is configured to perform extremum filtering processing on the first sound to generate a characteristic wave; the second generating submodule 132 is configured to process the characteristic wave and generate a distance characterizing function; the third generating submodule 133 is configured to generate and display a movement trend according to the distance characterization function.
In this embodiment, the display module 13 further includes: a fourth generation submodule 134. The fourth generation submodule 134 is connected to the third generation submodule 133.
The third generating sub-module 133 is configured to generate and display a movement trend distance according to the distance characterization function, where the movement trend distance is used to indicate a distance that the electronic device is close to or far away from the bluetooth headset under the current movement trend.
In the embodiment of the present application, the apparatus further includes an adjustment module 14. The adjustment module 14 is connected to the display module 13.
The adjusting module 14 is configured to adjust a volume of the echo played by the electronic device according to the frequency of the first sound, where the volume is inversely related to the frequency of the first sound.
In the embodiment of the present application, the apparatus further includes: a first determining module 15 and a first sending module 16. The first determination module 15 is connected to the first transmission module 16. The first sending module 16 is connected to the first receiving module 11.
The first determining module 15 is used for determining a device retrieving mode; the first sending module 16 is configured to send a first echo sound instruction to the bluetooth headset if it is determined that the device retrieving mode is the first mode; the first sending module 16 is further configured to send a limit volume sound prompt instruction to the bluetooth headset if it is determined that the device retrieving mode is the second mode.
In this embodiment of the application, the first sending module 16 is further configured to send a second return sound instruction to the bluetooth headset if it is determined that the device retrieving manner is the third manner; the first receiving module 11 is further configured to receive a second sound message sent by the bluetooth headset after sending the second return sound instruction to the bluetooth headset, where the second sound message includes a second sound collected by the bluetooth headset in response to the second return sound instruction; the first playing module 12 is also used for playing the second sound.
In this embodiment of the application, the first sending module 16 is further configured to send a vibration instruction to the charging bin if it is determined that the device retrieving manner is the fourth manner.
In this embodiment of the application, the first sending module 16 is further configured to send a limit volume sound prompt instruction to the bluetooth headset and send a vibration instruction to the charging bin if it is determined that the device retrieving mode is the fifth mode.
According to the device retrieving device provided by the embodiment of the application, the Bluetooth headset can be used for collecting the sound including the echo played by the electronic equipment, and the movement trend of the electronic equipment is determined based on the echo according to the Doppler effect, so that a user can conveniently determine the position of the Bluetooth headset according to the movement trend, and the user can more conveniently retrieve the Bluetooth headset.
Fig. 18 is a schematic structural diagram of a control device of a bluetooth headset according to an embodiment of the present application, and as shown in fig. 18, the control device includes: a second receiving module 21, a first collecting module 22 and a second sending module 23. The second receiving module 21 is connected to the first collecting module 22, and the first collecting module 22 is connected to the second sending module 23. The second receiving module 21 is configured to receive a first echo sound instruction sent by the electronic device; the first acquisition module 22 is configured to, when receiving a first echo sound instruction sent by the electronic device; collecting a first sound in response to the first echo sound instruction; the second sending module 23 is configured to send a first sound message to the electronic device, where the first sound message includes a first sound.
In the embodiment of the present application, the apparatus further includes: a second play module 24. The second playing module 24 is connected to the second receiving module 21.
The second receiving module 21 is further configured to receive a limit volume sound prompt instruction sent by the electronic device; the second playing module 24 is configured to receive a limit volume sound prompt instruction sent by the electronic device; and responding to the limit volume sound prompt instruction, and playing prompt sound at the limit volume.
In the embodiment of the present application, the apparatus further includes: and the second acquisition module 25, wherein the second acquisition module 25 is connected with the second receiving module 21.
The second receiving module 21 is further configured to receive a second return sound instruction sent by the electronic device; the second acquisition module 25 is configured to, when receiving a second return sound instruction sent by the electronic device; collecting a second sound in response to the second return sound instruction; the second sending module 23 is further configured to send a second audio message to the electronic device, where the second audio message includes a second sound.
In the embodiment of the present application, the apparatus further includes: and a decision block 26. The judgment module 26 is connected with the second playing module 24.
The judging module 26 is configured to, when an instruction sent by the electronic device is not received, judge whether the bluetooth headset meets a first prompting condition according to the counted unworn time and the bluetooth headset electric quantity, where the first prompting condition includes that the unworn time exceeds a first preset time duration, and the bluetooth headset electric quantity is lower than an electric quantity threshold; the second playing module 24 is further configured to play the prompt sound at the first volume if the determining module 26 determines that the bluetooth headset satisfies the first prompt condition.
In this embodiment, the second playing module 24 is further configured to play the prompt sound with a second volume if the determining module 26 determines that the bluetooth headset satisfies the first prompt condition and the bluetooth headset exceeds a second preset duration and is not placed in the charging bin, where the second volume is greater than the first volume.
In this embodiment of the application, the second playing module 24 is specifically configured to play the prompt sound within a third preset time period at a second volume every fourth preset time period.
According to the control device of the Bluetooth headset, the Bluetooth headset is used for collecting sound including echo played by the electronic equipment, the electronic equipment determines the movement trend of the electronic equipment based on the echo according to the Doppler effect, and therefore a user can determine the position of the Bluetooth headset according to the movement trend, and the user can retrieve the Bluetooth headset more conveniently.
The above description is only a preferred embodiment of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (18)

1. A method for retrieving a device, the method being applied to an electronic device, the method comprising:
receiving a first sound message sent by a Bluetooth headset, wherein the first sound message comprises first sound collected by the Bluetooth headset;
playing the first sound as an echo, wherein the first sound comprises the echo played by the electronic equipment;
generating and displaying a movement trend according to the first sound, wherein the movement trend is used for indicating that the electronic equipment is close to or far away from the Bluetooth headset;
generating and displaying a movement trend according to the first sound, comprising:
carrying out extremum filtering processing on the first sound to generate a characteristic wave;
processing the characteristic wave to generate a distance characterization function, wherein the distance characterization function is the sum of a correction constant and a first value, and the first value is the product of the average distance between two adjacent peaks in a period of time and the average segmentation time;
and generating and displaying the moving trend according to the distance characterization function.
2. The method of claim 1,
the generating and displaying a movement trend according to the first sound further comprises:
and generating and displaying a movement trend distance according to the distance characterization function, wherein the movement trend distance is used for representing the distance of the electronic equipment approaching or departing from the Bluetooth headset under the current movement trend.
3. The method of claim 1, further comprising:
adjusting the volume of the electronic equipment for playing the echo according to the frequency of the first sound, wherein the volume is inversely related to the frequency of the first sound.
4. The method of claim 1,
before the receiving the first sound message sent by the bluetooth headset, the method further includes:
determining a device retrieval mode;
if the device retrieving mode is determined to be the first mode, sending a first echo sound instruction to the Bluetooth headset;
and if the device retrieving mode is determined to be the second mode, sending a limit volume sound prompt instruction to the Bluetooth headset.
5. The method of claim 4, further comprising:
if the device retrieving mode is determined to be the third mode, sending a second return sound instruction to the Bluetooth headset;
after sending the second return sound instruction to the Bluetooth headset, receiving a second sound message sent by the Bluetooth headset, wherein the second sound message comprises a second sound collected by the Bluetooth headset in response to the second return sound instruction;
and playing the second sound.
6. The method of claim 4, further comprising:
and if the equipment retrieval mode is determined to be the fourth mode, sending a vibration instruction to the charging bin.
7. The method of claim 4, further comprising:
and if the device retrieving mode is determined to be the fifth mode, sending a limit volume sound prompt instruction to the Bluetooth headset and sending a vibration instruction to the charging bin.
8. A control method of a Bluetooth headset is applied to the Bluetooth headset, and the method comprises the following steps:
when a first echo sound instruction sent by the electronic equipment is received;
collecting a first sound in response to the first echo sound instruction;
sending a first sound message to the electronic device, wherein the first sound message comprises the first sound, so that the electronic device plays the first sound as an echo, and generating and displaying a movement trend according to the first sound, wherein the movement trend is used for indicating that the electronic device is close to or far away from the Bluetooth headset, and the generating and displaying the movement trend according to the first sound comprises: carrying out extremum filtering processing on the first sound to generate a characteristic wave; processing the characteristic wave to generate a distance characterization function, wherein the distance characterization function is the sum of a correction constant and a first value, and the first value is the product of the average distance between two adjacent peaks in a period of time and the average segmentation time; and generating and displaying the moving trend according to the distance characterization function.
9. The method of claim 8, further comprising:
when receiving a limit volume voice prompt instruction sent by the electronic equipment;
and responding to the limit volume sound prompt instruction, and playing prompt sound at the limit volume.
10. The method of claim 8,
when a second return sound instruction sent by the electronic equipment is received;
collecting a second sound in response to the second return sound instruction;
sending a second audio message to the electronic device, the second audio message comprising the second sound.
11. The method of claim 8, further comprising:
when an instruction sent by electronic equipment is not received, judging whether the Bluetooth headset meets a first prompt condition according to the counted non-wearing time and the Bluetooth headset electric quantity, wherein the first prompt condition comprises that the non-wearing time exceeds a first preset time length, and the Bluetooth headset electric quantity is lower than an electric quantity threshold value;
and if the Bluetooth headset is judged to meet the first prompt condition, playing prompt sound at a first volume.
12. The method of claim 11, further comprising:
if the Bluetooth headset is judged to meet the first prompt condition and the Bluetooth headset is not arranged in the charging bin beyond the second preset time, the prompt sound is played at the second volume, and the second volume is larger than the first volume.
13. The method of claim 12, wherein playing the cue sound at the second volume comprises: and playing the prompt sound in the third preset time length at the second volume every fourth preset time length.
14. An apparatus for retrieving a device, the apparatus being mounted on an electronic device, the apparatus comprising:
the first receiving module is used for receiving a first sound message sent by a Bluetooth headset, wherein the first sound message comprises first sound collected by the Bluetooth headset;
the first playing module is used for playing the first sound as an echo, wherein the first sound comprises the echo played by the electronic equipment;
the display module is used for generating and displaying a movement trend according to the first sound, and the movement trend is used for indicating whether the electronic equipment is close to or far away from the Bluetooth headset;
the display module comprises a first generation submodule, a second generation submodule and a third generation submodule;
the first generation submodule is used for carrying out extremum filtering processing on the first sound to generate characteristic waves;
the second generation submodule is used for processing the characteristic wave and generating a distance characterization function, wherein the distance characterization function is the sum of a correction constant and a first value, and the first value is the product of the average distance between two adjacent peaks in a period of time and the average segmentation time;
and the third generation submodule is used for generating and displaying the movement trend according to the distance characterization function.
15. A control device for a Bluetooth headset, the device being mounted on the Bluetooth headset, the device comprising:
the second receiving module is used for receiving a first echo sound instruction sent by the electronic equipment;
the first acquisition module is used for receiving a first echo sound instruction sent by the electronic equipment; collecting a first sound in response to the first echo sound instruction;
a second sending module, configured to send a first sound message to the electronic device, where the first sound message includes the first sound, so that the electronic device plays the first sound as an echo, and generates and displays a movement trend according to the first sound, where the movement trend is used to indicate whether the electronic device is approaching or departing from the bluetooth headset, and the generating and displaying the movement trend according to the first sound includes: carrying out extremum filtering processing on the first sound to generate a characteristic wave; processing the characteristic wave to generate a distance characterization function, wherein the distance characterization function is the sum of a correction constant and a first value, and the first value is the product of the average distance between two adjacent peaks in a period of time and the average segmentation time; and generating and displaying the moving trend according to the distance characterization function.
16. A storage medium comprising a stored program, wherein the program, when executed, controls an apparatus in which the storage medium is located to perform a method of retrieving an apparatus according to any one of claims 1 to 7 or a method of controlling a bluetooth headset according to any one of claims 8 to 13.
17. An electronic device comprising a memory for storing information comprising program instructions and a processor for controlling the execution of the program instructions, characterized in that the program instructions are loaded and executed by the processor to implement the retrieval method steps of the device according to any of claims 1 to 7.
18. A bluetooth headset comprising a memory for storing information comprising program instructions and a processor for controlling the execution of the program instructions, characterized in that the program instructions are loaded and executed by the processor to implement the steps of the bluetooth headset control method of any of claims 8 to 13.
CN202211169470.1A 2022-09-26 2022-09-26 Device retrieving method and device, storage medium and electronic device Active CN115273431B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211169470.1A CN115273431B (en) 2022-09-26 2022-09-26 Device retrieving method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211169470.1A CN115273431B (en) 2022-09-26 2022-09-26 Device retrieving method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN115273431A CN115273431A (en) 2022-11-01
CN115273431B true CN115273431B (en) 2023-03-07

Family

ID=83756134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211169470.1A Active CN115273431B (en) 2022-09-26 2022-09-26 Device retrieving method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN115273431B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115942253B (en) * 2023-02-01 2023-08-04 荣耀终端有限公司 Prompting method and related device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3133013U (en) * 2007-04-11 2007-06-28 株式会社ウィルコム Headphone with communication function
WO2013130338A1 (en) * 2012-03-02 2013-09-06 Lookout, Inc. System and method for remotely-initiated audio communication
EP3172730A1 (en) * 2014-07-23 2017-05-31 PCMS Holdings, Inc. System and method for determining audio context in augmented-reality applications
EP3621068A1 (en) * 2018-05-18 2020-03-11 Shenzhen Aukey Smart Information Technology Co., Ltd. Portable smart voice interaction control device, method and system
CN111063170A (en) * 2019-11-29 2020-04-24 歌尔股份有限公司 TWS earphone loss prevention method, TWS earphone and computer readable storage medium
CN111225366A (en) * 2019-12-27 2020-06-02 宇龙计算机通信科技(深圳)有限公司 Equipment searching method and device, storage medium and terminal
CN114189790A (en) * 2021-10-26 2022-03-15 荣耀终端有限公司 Audio information processing method, electronic device, system, product and medium
WO2022145914A1 (en) * 2020-12-29 2022-07-07 삼성전자 주식회사 Method for finding audio output device by using power supply device and power supply device thereof
CN114727212A (en) * 2022-03-10 2022-07-08 荣耀终端有限公司 Audio processing method and electronic equipment
CN114745624A (en) * 2022-02-28 2022-07-12 歌尔股份有限公司 Wireless earphone searching method and device, earphone and storage medium
CN115065746A (en) * 2020-05-31 2022-09-16 深圳市睿耳电子有限公司 Wireless earphone intelligent retrieving method and related equipment, storage medium and program product

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008083315A2 (en) * 2006-12-31 2008-07-10 Personics Holdings Inc. Method and device configured for sound signature detection
US20180180752A1 (en) * 2015-06-22 2018-06-28 Wizedsp Ltd. Method and a system for locating a mobile telephone
US10573139B2 (en) * 2015-09-16 2020-02-25 Taction Technology, Inc. Tactile transducer with digital signal processing for improved fidelity
US10834507B2 (en) * 2018-05-03 2020-11-10 Htc Corporation Audio modification system and method thereof
CN109922402B (en) * 2019-04-29 2020-08-28 歌尔科技有限公司 Earphone loss prevention method, true wireless earphone, charging box and earphone set product

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3133013U (en) * 2007-04-11 2007-06-28 株式会社ウィルコム Headphone with communication function
WO2013130338A1 (en) * 2012-03-02 2013-09-06 Lookout, Inc. System and method for remotely-initiated audio communication
EP3172730A1 (en) * 2014-07-23 2017-05-31 PCMS Holdings, Inc. System and method for determining audio context in augmented-reality applications
EP3621068A1 (en) * 2018-05-18 2020-03-11 Shenzhen Aukey Smart Information Technology Co., Ltd. Portable smart voice interaction control device, method and system
CN111063170A (en) * 2019-11-29 2020-04-24 歌尔股份有限公司 TWS earphone loss prevention method, TWS earphone and computer readable storage medium
CN111225366A (en) * 2019-12-27 2020-06-02 宇龙计算机通信科技(深圳)有限公司 Equipment searching method and device, storage medium and terminal
CN115065746A (en) * 2020-05-31 2022-09-16 深圳市睿耳电子有限公司 Wireless earphone intelligent retrieving method and related equipment, storage medium and program product
WO2022145914A1 (en) * 2020-12-29 2022-07-07 삼성전자 주식회사 Method for finding audio output device by using power supply device and power supply device thereof
CN114189790A (en) * 2021-10-26 2022-03-15 荣耀终端有限公司 Audio information processing method, electronic device, system, product and medium
CN114745624A (en) * 2022-02-28 2022-07-12 歌尔股份有限公司 Wireless earphone searching method and device, earphone and storage medium
CN114727212A (en) * 2022-03-10 2022-07-08 荣耀终端有限公司 Audio processing method and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Ultra-broadband local active noise control with remote acoustic sensing;Xiao Tong;《Scientific Reports》;20201130;全文 *
耳机定位回放系统初探;徐笛潇;《中国优秀硕士学位论文全文数据库》;20190115;全文 *

Also Published As

Publication number Publication date
CN115273431A (en) 2022-11-01

Similar Documents

Publication Publication Date Title
US10051368B2 (en) Mobile apparatus and control method thereof
US11482237B2 (en) Method and terminal for reconstructing speech signal, and computer storage medium
CN111696570B (en) Voice signal processing method, device, equipment and storage medium
CN114299933A (en) Speech recognition model training method, device, equipment, storage medium and product
CN111445901A (en) Audio data acquisition method and device, electronic equipment and storage medium
CN111613213B (en) Audio classification method, device, equipment and storage medium
CN115273431B (en) Device retrieving method and device, storage medium and electronic device
CN110956971A (en) Audio processing method, device, terminal and storage medium
CN112233689A (en) Audio noise reduction method, device, equipment and medium
CN111681655A (en) Voice control method and device, electronic equipment and storage medium
CN110392334A (en) A kind of microphone array audio signal adaptive processing method, device and medium
CN112233688B (en) Audio noise reduction method, device, equipment and medium
CN108711434A (en) Vehicle noise-reduction method and device
CN114520002A (en) Method for processing voice and electronic equipment
CN109360577B (en) Method, apparatus, and storage medium for processing audio
CN111081283A (en) Music playing method and device, storage medium and terminal equipment
CN115035187A (en) Sound source direction determining method, device, terminal, storage medium and product
CN114388001A (en) Multimedia file playing method, device, equipment and storage medium
CN114384466A (en) Sound source direction determining method, sound source direction determining device, electronic equipment and storage medium
CN110377208B (en) Audio playing method, device, terminal and computer readable storage medium
CN113362836A (en) Vocoder training method, terminal and storage medium
CN112750449A (en) Echo cancellation method, device, terminal, server and storage medium
CN111681654A (en) Voice control method and device, electronic equipment and storage medium
CN111580777B (en) Audio processing method, device, electronic equipment and storage medium
CN110989963B (en) Wake-up word recommendation method and device and storage medium

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