CN111031438A - Control method of earphone assembly, earphone assembly and computer readable storage medium - Google Patents
Control method of earphone assembly, earphone assembly and computer readable storage medium Download PDFInfo
- Publication number
- CN111031438A CN111031438A CN201911379431.2A CN201911379431A CN111031438A CN 111031438 A CN111031438 A CN 111031438A CN 201911379431 A CN201911379431 A CN 201911379431A CN 111031438 A CN111031438 A CN 111031438A
- Authority
- CN
- China
- Prior art keywords
- pairing
- earphone
- controlling
- determining
- target
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1025—Accumulators specially adapted for earpieces; Arrangements specially adapted for charging thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1091—Details not provided for in groups H04R1/1008 - H04R1/1083
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Headphones And Earphones (AREA)
Abstract
The invention provides a control method of an earphone assembly, the earphone assembly and a computer readable storage medium, wherein the control method of the earphone assembly comprises the following steps: determining a pairing signal, acquiring a historical pairing record according to the pairing signal, and determining a first pairing target according to the historical pairing record; controlling the earphone to establish pairing connection with the first pairing target and acquiring a pairing result corresponding to the first pairing target; and determining that the pairing result is successful, acquiring a historical play record corresponding to the first pairing target, determining audio data according to the historical play record, and controlling the earphone to play the audio data. The pairing connection is automatically established with the first pairing target through controlling the earphone, the pairing is controlled and paired without manual control of a user, and the pairing operation is simplified. Meanwhile, after the pairing connection is established, the audio data is automatically selected and automatically played, manual appointed playing by a user is not needed, the intelligent degree of the earphone assembly is improved, and the use experience of the user is improved.
Description
Technical Field
The invention relates to the technical field of earphones, in particular to a control method of an earphone assembly, the earphone assembly and a computer readable storage medium.
Background
In the related art, the wireless headset needs to be paired with an external terminal such as a player for use, but the current headset pairing needs manual pairing of a user, and the pairing needs manual control of the user for playing, so that the operation is complex, and the experience is poor.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art or the related art.
To this end, a first aspect of the present invention proposes a control method of a headphone assembly.
A second aspect of the invention proposes an earphone assembly.
A third aspect of the invention proposes a computer-readable storage medium.
In view of the above, a first aspect of the present invention provides a method for controlling a headphone assembly, the headphone assembly including a headphone, the method for controlling the headphone assembly including: determining a pairing signal, acquiring a historical pairing record according to the pairing signal, and determining a first pairing target according to the historical pairing record; controlling the earphone to establish pairing connection with the first pairing target and acquiring a pairing result corresponding to the first pairing target; and determining that the pairing result is successful, acquiring a historical play record corresponding to the first pairing target, determining audio data according to the historical play record, and controlling the earphone to play the audio data.
In the technical scheme, the earphone assembly comprises an earphone, and when the pairing signal is determined to be received, the historical pairing record is obtained, and the first pairing target is determined according to the historical pairing record. The first pairing target, i.e. the pairing target with the highest rank, is determined by the pairing history accumulated during the usage of the headset, i.e. the first pairing target is always the target that the user "pairs most frequently".
And when the control earphone establishes pairing connection with the first pairing target and the pairing is determined to be successful, further acquiring a historical playing record corresponding to the first pairing target. Specifically, the history play record may be stored in a storage space of the headphone itself, or in a storage medium of the first pairing target. And after the historical play record is acquired, determining at least one piece of audio data for the earphone to play according to the historical play record. The determined audio data may be the audio data played by the user the most times, or the audio data that has been played by the user last time but has not been played, and may be freely set according to the user's preference.
According to the method and the device, the first pairing target is automatically determined according to the pairing history record during pairing, the headset is controlled to automatically establish pairing connection with the first pairing target, manual control of pairing by a user is not needed, and pairing operation is simplified. Meanwhile, after the pairing connection is established, audio data are automatically selected according to the historical playing records corresponding to the paired targets, the earphone is controlled to be automatically played, manual appointed playing of a user is not needed, operation of the earphone assembly during use is further simplified, the intelligent degree of the earphone assembly is improved, and use experience of the user is further improved.
In addition, the control method of the earphone assembly in the above technical solution provided by the present invention may further have the following additional technical features:
in the above technical solution, the step of determining the first pairing target according to the historical pairing record specifically includes: determining the matching success times corresponding to any matching target in the historical matching records, and sequencing all matching targets according to the matching success times in at least a sequence so as to obtain a matching target sequence; and determining the pairing target at the head of the column in the pairing target sequence as a first pairing target.
In the technical scheme, when a first pairing target is determined, the pairing success frequency of each pairing target successfully paired with the earphone in the historical pairing record is respectively determined, all pairing targets are sequenced according to the pairing success frequency, and a sequence with the pairing success frequency from high to low is obtained after sequencing, namely the pairing target sequence. When determining the pairing target, the sequence in the pairing target sequence represents the pairing weight value, so that the pairing target at the head of the queue with the largest number of successful times of historical pairing can determine the first pairing target. The earphone is controlled to be automatically paired with the first pairing target, the user requirements can be met under most of conditions, the automatic pairing reliability of the earphone assembly is improved, and the user experience is guaranteed.
In any of the above technical solutions, the method for controlling an earphone assembly further includes: and determining that the pairing result is pairing failure, sequentially determining second pairing targets in the pairing target sequence, and controlling the earphone to establish pairing connection with the second pairing targets until the earphone and any one pairing target successfully establish pairing connection.
In the technical scheme, if the earphone cannot be successfully paired with the first pairing target, the second pairing target is sequentially determined in the target sequence according to the sequence, namely the pairing target with the successful pairing frequency being second to the first pairing target, pairing connection is tried, and if pairing is successful, the corresponding audio data is determined according to the historical playing record corresponding to the second pairing target so as to realize automatic playing. If the pairing still fails, the third pairing target is searched continuously according to the sequence of the target sequences left in the target sequences until the earphone is successfully connected with one pairing target.
If the connection with any matching target cannot be successfully established after the target sequence is traversed, the earphone is controlled to play a prestored prompt tone to inform a user that the matching cannot be performed, and at the moment, the user can determine whether the user has a terminal or other playing equipment which can be matched with the user or not by himself and manually complete the matching.
In any of the above technical solutions, the method for controlling an earphone assembly further includes: receiving a pairing instruction, and determining a pairing signal according to the pairing instruction; and/or acquiring the state information of the earphone, determining the state information as a wearing state, and generating a pairing signal.
In the technical scheme, a user can send a pairing instruction to the earphone, and when the earphone receives the pairing instruction, the pairing signal is determined according to the pairing instruction, and automatic pairing is started. Wherein at least part of the space on the outer surface of the earphone is set as a touch receiving area, and a user can send a pairing instruction to the earphone through predefined operation characteristics such as 'double click', 'slide', and the like.
In some embodiments, a wearing sensor is provided on the headset, and the state information of the headset is acquired through the wearing sensor. When the wearing state of the state information bit is determined, namely the user wears the earphone, the earphone automatically generates a pairing signal and starts automatic pairing.
In any of the above technical solutions, the earphone assembly further includes an earphone box, a storage device is disposed on the earphone box, and the earphone is adapted to establish a pairing connection with the earphone box or the terminal; and determining that the pairing target is a terminal, and controlling the earphone to play audio data, wherein the method specifically comprises the following steps: generating a playing instruction corresponding to the audio data, and sending the playing instruction to the terminal; receiving audio data sent by a terminal, and controlling an earphone to play the audio data; the method comprises the steps of determining that a pairing target is an earphone box and controlling an earphone to play audio data, and specifically comprises the following steps: and reading the storage device to acquire the audio data and controlling the earphone to play the audio data.
In this technical scheme, the earphone subassembly includes earphone and earphone box, and wherein, the last storage device that is provided with of earphone box, the earphone can establish to pair with external playback devices such as cell-phone, player and link, also can establish to pair with the earphone box and be connected.
Specifically, when the earphone and a terminal player such as a mobile phone establish a pairing connection and determine audio data to be played, the earphone generates a playing instruction corresponding to the audio data, and sends the playing instruction to the terminal through the pairing connection relationship, so as to control the terminal to send the corresponding audio data to the earphone, and the earphone plays the audio data through a sound production unit of the earphone after receiving the audio data.
When the earphone and the mobile phone box are connected in a matched mode, the earphone can directly access the storage device of the earphone box, the audio data to be played are located and determined in the storage device, the audio data are read, and the audio data are played through the sound production unit of the earphone.
In any of the above technical solutions, the earphone is provided with a pulse sensor, and the pairing result is determined to be successful, and the control method of the earphone assembly further includes: receiving a pulse measuring instruction, and controlling a pulse sensor to acquire biological information of a wearer of the earphone according to the pulse measuring instruction; and determining the pulse data of the wearer according to the biological information, and sending the pulse data to the first pairing target so that the first pairing target displays the pulse data.
In the technical scheme, the earphone is further provided with a pulse sensor, biological information of a user can be acquired through the pulse sensor, the acquired biological information is sent to a first pairing target through pairing connection, the first pairing target can execute a corresponding computer program through a controller of the earphone, the biological information is analyzed and processed, pulse data of the wearer is obtained and displayed, the function of the earphone is expanded on the basis of basic functions of playing audio or voice communication and the like, and various requirements of the user can be met.
Specifically, be provided with pulse sensor on the income ear of earphone, the user is when wearing the earphone, goes into ear portion laminating in user's external auditory canal, consequently pulse sensor can be inseparable laminating in user external auditory canal skin, and then gathers user's biological information to confirm earphone wearer's pulse data through the controller, realize detecting user's healthy through the earphone.
In some embodiments, the pulse sensor may be an infrared pulse sensor, which can detect the sensitivity of the blood volume change caused by blood circulation at the end of a blood vessel by using infrared rays with specific wavelengths (such as infrared rays with wavelength of 570um or 870 um), specifically, detect the blood oxygen protein content change in capillary vessels of the external auditory canal caused by the heartbeat, and output the detection signal after processing as a pulse signal synchronized with the heartbeat, which is used for representing biological information. After the processor receives the pulse signal (the biological information mentioned above), specific pulse data is calculated according to the pulse frequency.
In other embodiments, the pulse sensor may be a piezoelectric or piezoresistive pulse sensor, and a micro-pressure sensing material (such as a piezoelectric sheet or a bridge) may be used as a detection end, the micro-pressure sensing material is attached to the skin of the external auditory canal of the wearer, detects a terminal blood vessel pulsation signal caused by the heartbeat, processes and amplifies the signal to form a waveform signal or a pulse signal synchronous with the pulse of the wearer, and finally, the waveform signal or the pulse signal is further processed by the processor to obtain specific pulse data.
In any of the above technical solutions, a step-counting sensor is disposed on the earphone, and it is determined that the pairing result is successful, and the control method of the earphone assembly further includes: receiving a step recording instruction, and controlling a step recording sensor to acquire step recording data according to the step recording instruction; and sending the step recording data to the first pairing target so that the first pairing target displays the step recording data.
In the technical scheme, the earphone is further provided with a step counting sensor, step counting data are obtained after a step counting instruction is received, the step counting data are sent to a first pairing target, the step counting data are displayed through the first pairing target, and then step counting through the earphone is achieved, so that the function of the earphone is expanded on the basis of meeting basic functions of playing audio or voice communication and the like, and the requirements of users in multiple aspects can be met.
Specifically, in some embodiments, the step-counting sensor may be a mechanical step-counting sensor disposed on the earphone, the mechanical step-counting sensor includes a vibration sensor, a pulse counter and an output circuit, the vibration sensor detects a vibration and correspondingly outputs a pulse signal every time the user takes a step, and the pulse counter records the number of pulses of the detected pulse signal and outputs corresponding step-counting data through the output circuit.
In other embodiments, the step-counting sensor may be a three-axis acceleration sensor disposed on the headset, and the headset may be influenced by the gravity acceleration and the walking acceleration during the horizontal walking exercise, wherein the gravity acceleration is always perpendicular to the ground, and the walking acceleration is in the same direction as the walking direction. Along with the walking of the wearer, the three-axis acceleration sensor records periodic variation signals of gravity acceleration and walking acceleration, and the movement step number of the wearer can be calculated in real time by detecting and calculating the peak value of the periodic variation signals and deciding an acceleration threshold value.
In any of the above technical solutions, the earphone box is provided with an energy storage device and a charging module, the charging module can establish a charging connection with an earphone or a terminal, and the control method of the earphone assembly further includes: determining that the earphone and the earphone box are in charging connection, and controlling the energy storage device to output a power supply signal to the earphone; determining that the terminal is in charging connection with the earphone box, and acquiring first residual electric quantity of the earphone box and second residual electric quantity of the terminal; determining that the first residual capacity is larger than the second residual capacity, and controlling the energy storage device to output a power supply signal to the terminal; and determining that the first residual capacity is less than or equal to the second residual capacity, and controlling the energy storage device to receive a power supply signal output by the terminal.
In the technical scheme, the earphone box is provided with an energy storage device and a charging module, wherein the energy storage device is a battery pack, such as a lithium battery pack. When the earphone is placed in the earphone box, the earphone box is in charging connection with the earphone through the charging module, and outputs a power supply signal to the earphone so as to supply power to the earphone.
In some embodiments, the earphone box may further provide a power supply signal with an external terminal, such as a mobile phone battery, through a built-in energy storage device, so as to function as a "power bank" in an emergency. Specifically, when the earphone box detects the electric connection with the terminal, the earphone box automatically determines the current first remaining capacity of the earphone box and the second remaining capacity of the terminal, if the ratio of the remaining capacity of the earphone box is higher, namely the first remaining capacity is greater than the second remaining capacity, the earphone box is used for supplying power to the terminal, if the remaining capacity of the middle-high end is higher, namely the second remaining capacity is greater than the first remaining capacity, the earphone box is used for supplying power through the terminal, further the electric capacity of the terminal and the earphone box is balanced, and the increase of endurance is realized.
A second aspect of the present invention provides an earphone assembly, comprising an earphone and an earphone box; a memory configured to store a computer program; a processor configured to execute a computer program to implement the method for controlling an earphone assembly provided in any one of the above technical solutions, and therefore, the earphone assembly includes all the beneficial effects of the method for controlling an earphone assembly provided in any one of the above technical solutions, which are not described herein again.
A third aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for controlling an earphone assembly provided in any one of the above technical solutions, and therefore, the computer-readable storage medium includes all the beneficial effects of the method for controlling an earphone assembly provided in any one of the above technical solutions, which are not described herein again.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 shows a flow chart of a method of controlling a headset assembly according to an embodiment of the invention;
fig. 2 shows another flow chart of a method of controlling a headset assembly according to an embodiment of the invention;
fig. 3 shows yet another flow chart of a method of controlling a headset assembly according to an embodiment of the invention;
fig. 4 shows yet another flowchart of a control method of a headphone assembly according to an embodiment of the invention;
fig. 5 shows yet another flowchart of a control method of a headphone assembly according to an embodiment of the invention;
fig. 6 shows a block diagram of a headset assembly according to an embodiment of the invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
A control method of a headset assembly, and a computer-readable storage medium according to some embodiments of the present invention are described below with reference to fig. 1 to 6.
The first embodiment is as follows:
as shown in fig. 1, in an embodiment of the first aspect of the present invention, there is provided a control method of a headphone assembly, the headphone assembly including headphones, the control method of the headphone assembly including:
step S102, determining a pairing signal, acquiring a historical pairing record according to the pairing signal, and determining a first pairing target according to the historical pairing record;
step S104, controlling the earphone to establish pairing connection with the first pairing target and acquiring a pairing result corresponding to the first pairing target;
and S106, determining that the pairing result is successful, acquiring a historical play record corresponding to the first pairing target, determining audio data according to the historical play record, and controlling the earphone to play the audio data.
In this embodiment, the headset assembly includes a headset, and when it is determined that the pairing signal is received, a historical pairing record is obtained, and the first pairing object is determined according to the historical pairing record. The first pairing target, i.e. the pairing target with the highest rank, is determined by the pairing history accumulated during the usage of the headset, i.e. the first pairing target is always the target that the user "pairs most frequently".
And when the control earphone establishes pairing connection with the first pairing target and the pairing is determined to be successful, further acquiring a historical playing record corresponding to the first pairing target. Specifically, the history play record may be stored in a storage space of the headphone itself, or in a storage medium of the first pairing target. And after the historical play record is acquired, determining at least one piece of audio data for the earphone to play according to the historical play record. The determined audio data may be the audio data played by the user the most times, or the audio data that has been played by the user last time but has not been played, and may be freely set according to the user's preference.
According to the method and the device, the first pairing target is automatically determined according to the pairing history record during pairing, the headset is controlled to automatically establish pairing connection with the first pairing target, manual control of pairing by a user is not needed, and pairing operation is simplified. Meanwhile, after the pairing connection is established, audio data are automatically selected according to the historical playing records corresponding to the paired targets, the earphone is controlled to be automatically played, manual appointed playing of a user is not needed, operation of the earphone assembly during use is further simplified, the intelligent degree of the earphone assembly is improved, and use experience of the user is further improved.
In an embodiment of the present invention, as shown in fig. 2, the step of determining the first pairing target according to the historical pairing record specifically includes:
step S202, determining the matching success frequency corresponding to any matching target in the history matching records, and sequencing all the matching targets according to the matching success frequency in at least more order to obtain a matching target sequence;
in step S204, the pairing target located at the top of the sequence of pairing targets is determined as the first pairing target.
In this embodiment, when the first pairing target is determined, the pairing success frequency of each "pairing target" that has been successfully paired with the headset in the history pairing record is respectively determined, all pairing targets are sorted according to the pairing success frequency, and a sequence with the pairing success frequency from high to low, that is, a pairing target sequence, is obtained after the sorting. When determining the pairing target, the sequence in the pairing target sequence represents the pairing weight value, so that the pairing target at the head of the queue with the largest number of successful times of historical pairing can determine the first pairing target. The earphone is controlled to be automatically paired with the first pairing target, the user requirements can be met under most of conditions, the automatic pairing reliability of the earphone assembly is improved, and the user experience is guaranteed.
In one embodiment of the present invention, the control method of the headphone assembly further includes: and determining that the pairing result is pairing failure, sequentially determining second pairing targets in the pairing target sequence, and controlling the earphone to establish pairing connection with the second pairing targets until the earphone and any one pairing target successfully establish pairing connection.
In this embodiment, if the earphone cannot successfully establish a pairing connection with the first pairing target, in the target sequence, the second pairing target is sequentially determined in order, that is, the pairing target whose successful pairing frequency is next to the "first pairing target", and a pairing connection is attempted with the second pairing target, and if the pairing is successful, the corresponding audio data is determined according to the history play record corresponding to the second pairing target, so as to implement automatic playing. If the pairing still fails, the third pairing target is searched continuously according to the sequence of the target sequences left in the target sequences until the earphone is successfully connected with one pairing target.
If the connection with any matching target cannot be successfully established after the target sequence is traversed, the earphone is controlled to play a prestored prompt tone to inform a user that the matching cannot be performed, and at the moment, the user can determine whether the user has a terminal or other playing equipment which can be matched with the user or not by himself and manually complete the matching.
In an embodiment of the present invention, as shown in fig. 3, the control method of the headphone assembly further includes:
step S302, receiving a pairing instruction, and determining a pairing signal according to the pairing instruction;
step S304, acquiring the state information of the earphone, determining the state information as a wearing state, and generating a pairing signal.
In this embodiment, the user may send a pairing instruction to the headset, and when the headset receives the pairing instruction, the pairing signal is determined according to the pairing instruction, and automatic pairing is started. Wherein at least part of the space on the outer surface of the earphone is set as a touch receiving area, and a user can send a pairing instruction to the earphone through predefined operation characteristics such as 'double click', 'slide', and the like.
In some embodiments, a wearing sensor is provided on the headset, and the state information of the headset is acquired through the wearing sensor. When the wearing state of the state information bit is determined, namely the user wears the earphone, the earphone automatically generates a pairing signal and starts automatic pairing.
In an embodiment of the present invention, the earphone assembly further includes an earphone box, the earphone box is provided with a storage device, and the earphone is adapted to establish a pairing connection with the earphone box or the terminal; and determining that the pairing target is a terminal, and controlling the earphone to play audio data, wherein the method specifically comprises the following steps: generating a playing instruction corresponding to the audio data, and sending the playing instruction to the terminal; receiving audio data sent by a terminal, and controlling an earphone to play the audio data; the method comprises the steps of determining that a pairing target is an earphone box and controlling an earphone to play audio data, and specifically comprises the following steps: and reading the storage device to acquire the audio data and controlling the earphone to play the audio data.
In this embodiment, the earphone assembly includes an earphone and an earphone box, where the earphone box is provided with a storage device, and the earphone can establish a pairing link with an external playing device such as a mobile phone and a player, and also can establish a pairing connection with the earphone box.
Specifically, when the earphone and a terminal player such as a mobile phone establish a pairing connection and determine audio data to be played, the earphone generates a playing instruction corresponding to the audio data, and sends the playing instruction to the terminal through the pairing connection relationship, so as to control the terminal to send the corresponding audio data to the earphone, and the earphone plays the audio data through a sound production unit of the earphone after receiving the audio data.
When the earphone and the mobile phone box are connected in a matched mode, the earphone can directly access the storage device of the earphone box, the audio data to be played are located and determined in the storage device, the audio data are read, and the audio data are played through the sound production unit of the earphone.
In an embodiment of the present invention, a pulse sensor is disposed on the earphone, and it is determined that the pairing result is successful, as shown in fig. 4, the method for controlling the earphone assembly further includes:
step S402, receiving a pulse measuring instruction, and controlling a pulse sensor to acquire biological information of a wearer of the earphone according to the pulse measuring instruction;
step S404, determining the pulse data of the wearer according to the biological information, and sending the pulse data to the first pairing target so that the first pairing target displays the pulse data.
In this embodiment, the earphone is further provided with a pulse sensor, the biological information of the user can be acquired through the pulse sensor, the acquired biological information is sent to the first pairing target through pairing connection, the first pairing target can execute a corresponding computer program through a controller of the first pairing target, the biological information is analyzed and processed, the pulse data of the wearer is further obtained and displayed, the function of the earphone is expanded on the basis of meeting basic functions of playing audio or voice communication and the like, and the requirements of the user in various aspects can be met.
Specifically, be provided with pulse sensor on the income ear of earphone, the user is when wearing the earphone, goes into ear portion laminating in user's external auditory canal, consequently pulse sensor can be inseparable laminating in user external auditory canal skin, and then gathers user's biological information to confirm earphone wearer's pulse data through the controller, realize detecting user's healthy through the earphone.
In some embodiments, the pulse sensor may be an infrared pulse sensor, which can detect the sensitivity of the blood volume change caused by blood circulation at the end of a blood vessel by using infrared rays with specific wavelengths (such as infrared rays with wavelength of 570um or 870 um), specifically, detect the blood oxygen protein content change in capillary vessels of the external auditory canal caused by the heartbeat, and output the detection signal after processing as a pulse signal synchronized with the heartbeat, which is used for representing biological information. After the processor receives the pulse signal (the biological information mentioned above), specific pulse data is calculated according to the pulse frequency.
In other embodiments, the pulse sensor may be a piezoelectric or piezoresistive pulse sensor, and a micro-pressure sensing material (such as a piezoelectric sheet or a bridge) may be used as a detection end, the micro-pressure sensing material is attached to the skin of the external auditory canal of the wearer, detects a terminal blood vessel pulsation signal caused by the heartbeat, processes and amplifies the signal to form a waveform signal or a pulse signal synchronous with the pulse of the wearer, and finally, the waveform signal or the pulse signal is further processed by the processor to obtain specific pulse data.
In an embodiment of the present invention, a step-counting sensor is disposed on the headset, and it is determined that the pairing result is successful, as shown in fig. 5, the method for controlling the headset assembly further includes:
step S502, receiving a step recording instruction, and controlling a step recording sensor to acquire step recording data according to the step recording instruction;
step S504, sending the step data to the first pairing target, so that the first pairing target displays the step data.
In this embodiment, the earphone is further provided with a step counting sensor, step counting data is obtained after a step counting instruction is received, the step counting data is sent to the first pairing target, the step counting data is displayed through the first pairing target, and step counting through the earphone is further achieved, so that functions of the earphone are expanded on the basis of meeting basic functions of playing audio or voice communication and the like, and various requirements of a user can be met.
Specifically, in some embodiments, the step-counting sensor may be a mechanical step-counting sensor disposed on the earphone, the mechanical step-counting sensor includes a vibration sensor, a pulse counter and an output circuit, the vibration sensor detects a vibration and correspondingly outputs a pulse signal every time the user takes a step, and the pulse counter records the number of pulses of the detected pulse signal and outputs corresponding step-counting data through the output circuit.
In other embodiments, the step-counting sensor may be a three-axis acceleration sensor disposed on the headset, and the headset may be influenced by the gravity acceleration and the walking acceleration during the horizontal walking exercise, wherein the gravity acceleration is always perpendicular to the ground, and the walking acceleration is in the same direction as the walking direction. Along with the walking of the wearer, the three-axis acceleration sensor records periodic variation signals of gravity acceleration and walking acceleration, and the movement step number of the wearer can be calculated in real time by detecting and calculating the peak value of the periodic variation signals and deciding an acceleration threshold value.
In an embodiment of the present invention, an energy storage device and a charging module are disposed on an earphone box, the charging module can establish a charging connection with an earphone or a terminal, and the control method of the earphone assembly further includes: determining that the earphone and the earphone box are in charging connection, and controlling the energy storage device to output a power supply signal to the earphone; determining that the terminal is in charging connection with the earphone box, and acquiring first residual electric quantity of the earphone box and second residual electric quantity of the terminal; determining that the first residual capacity is larger than the second residual capacity, and controlling the energy storage device to output a power supply signal to the terminal; and determining that the first residual capacity is less than or equal to the second residual capacity, and controlling the energy storage device to receive a power supply signal output by the terminal.
In this embodiment, the earphone box is provided with an energy storage device and a charging module, and the energy storage device is specifically a battery pack, such as a lithium battery pack. When the earphone is placed in the earphone box, the earphone box is in charging connection with the earphone through the charging module, and outputs a power supply signal to the earphone so as to supply power to the earphone.
In some embodiments, the earphone box may further provide a power supply signal with an external terminal, such as a mobile phone battery, through a built-in energy storage device, so as to function as a "power bank" in an emergency. Specifically, when the earphone box detects the electric connection with the terminal, the earphone box automatically determines the current first remaining capacity of the earphone box and the second remaining capacity of the terminal, if the ratio of the remaining capacity of the earphone box is higher, namely the first remaining capacity is greater than the second remaining capacity, the earphone box is used for supplying power to the terminal, if the remaining capacity of the middle-high end is higher, namely the second remaining capacity is greater than the first remaining capacity, the earphone box is used for supplying power through the terminal, further the electric capacity of the terminal and the earphone box is balanced, and the increase of endurance is realized.
Example two:
as shown in fig. 6, in one embodiment of the present invention, there is provided a headset assembly 600 including a headset 602 and a headset case 604; a memory 606 configured to store a computer program; the processor 608 is configured to execute a computer program to implement the control method of the earphone assembly provided in any one of the above embodiments, and therefore, the earphone assembly 600 includes all the advantages of the control method of the earphone assembly provided in any one of the above embodiments, which are not described herein again.
Example three:
in an embodiment of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program, when executed by a processor, implements the control method of the earphone assembly as provided in any one of the above embodiments, and therefore, the computer-readable storage medium includes all the beneficial effects of the control method of the earphone assembly as provided in any one of the above embodiments, and is not described herein again.
In the description of the present invention, the terms "plurality" or "a plurality" refer to two or more, and unless otherwise specifically defined, the terms "upper", "lower", and the like indicate orientations or positional relationships based on the orientations or positional relationships illustrated in the drawings, and are only for convenience in describing the present invention and simplifying the description, but do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention; the terms "connected," "mounted," "secured," and the like are to be construed broadly and include, for example, fixed connections, removable connections, or integral connections; may be directly connected or indirectly connected through an intermediate. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the description of the present invention, the description of the terms "one embodiment," "some embodiments," "specific embodiments," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In the present invention, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A control method of a headphone set including headphones, the control method of the headphone set comprising:
determining a pairing signal, acquiring a historical pairing record according to the pairing signal, and determining a first pairing target according to the historical pairing record;
controlling the earphone to establish pairing connection with the first pairing target, and acquiring a pairing result corresponding to the first pairing target;
and determining that the pairing result is successful, acquiring a historical play record corresponding to the first pairing target, determining audio data according to the historical play record, and controlling the earphone to play the audio data.
2. The method for controlling an earphone assembly according to claim 1, wherein the step of determining a first pairing target according to the historical pairing record specifically comprises:
determining the matching success times corresponding to any one matching target in the historical matching records, and sequencing all the matching targets according to the matching success times in at least a sequence so as to obtain a matching target sequence;
determining the pairing object at the head of the pairing object sequence as the first pairing object.
3. The method of controlling an earphone assembly according to claim 2, further comprising:
and determining that the pairing result is pairing failure, sequentially determining second pairing targets in the pairing target sequence, and controlling the earphone to establish pairing connection with the second pairing targets until the earphone and any one pairing target successfully establish pairing connection.
4. The method of controlling an earphone assembly according to claim 1, further comprising:
receiving a pairing instruction, and determining the pairing signal according to the pairing instruction; and/or
And acquiring the state information of the earphone, determining the state information as a wearing state, and generating the pairing signal.
5. The method for controlling the earphone assembly according to claim 2, wherein the earphone assembly further comprises an earphone box, a storage device is arranged on the earphone box, and the earphone is suitable for establishing the pairing connection with the earphone box or a terminal; and
determining that the pairing target is the terminal, and controlling the earphone to play the audio data specifically includes:
generating a playing instruction corresponding to the audio data, and sending the playing instruction to the terminal;
receiving the audio data sent by the terminal, and controlling the earphone to play the audio data;
determining that the pairing target is the earphone box, and controlling the earphone to play the audio data specifically includes:
and reading the storage equipment to acquire the audio data, and controlling the earphone to play the audio data.
6. The method for controlling an earphone assembly according to any one of claims 1-5, wherein a pulse sensor is disposed on the earphone, and the pairing result is determined as successful pairing, the method further comprising:
receiving a pulse measuring instruction, and controlling the pulse sensor to acquire biological information of a wearer of the earphone according to the pulse measuring instruction;
determining the pulse data of the wearer according to the biological information, and sending the pulse data to the first pairing target so that the first pairing target displays the pulse data.
7. The method for controlling an earphone assembly according to any one of claims 1 to 5, wherein a step sensor is provided on the earphone, and it is determined that the pairing result is successful, the method further comprising:
receiving a step recording instruction, and controlling the step recording sensor to acquire step recording data according to the step recording instruction;
and sending the step recording data to the first pairing target so that the first pairing target displays the step recording data.
8. The method for controlling the earphone assembly according to claim 5, wherein an energy storage device and a charging module are disposed on the earphone box, the charging module is capable of establishing a charging connection with the earphone or the terminal, and the method for controlling the earphone assembly further comprises:
determining that the earphone is in charging connection with the earphone box, and controlling the energy storage device to output a power supply signal to the earphone; and
determining that the terminal establishes charging connection with the earphone box, and acquiring first residual electric quantity of the earphone box and second residual electric quantity of the terminal;
determining that the first residual capacity is greater than the second residual capacity, and controlling the energy storage device to output a power supply signal to the terminal;
and determining that the first residual capacity is less than or equal to the second residual capacity, and controlling the energy storage device to receive a power supply signal output by the terminal.
9. An earphone assembly, comprising:
earphones and earphone cases;
a memory configured to store a computer program;
a processor configured to execute the computer program to implement the method of controlling a headset assembly of any of claims 1 to 8.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of controlling a headset assembly according to any one of claims 1 to 8.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911379431.2A CN111031438A (en) | 2019-12-27 | 2019-12-27 | Control method of earphone assembly, earphone assembly and computer readable storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911379431.2A CN111031438A (en) | 2019-12-27 | 2019-12-27 | Control method of earphone assembly, earphone assembly and computer readable storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111031438A true CN111031438A (en) | 2020-04-17 |
Family
ID=70196586
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911379431.2A Pending CN111031438A (en) | 2019-12-27 | 2019-12-27 | Control method of earphone assembly, earphone assembly and computer readable storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111031438A (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111698373A (en) * | 2020-06-05 | 2020-09-22 | 北京搜狗科技发展有限公司 | Voice broadcasting method and device, earphone and earphone storage device |
| CN112822600A (en) * | 2021-01-27 | 2021-05-18 | 歌尔科技有限公司 | Earphone step counting method, earphone and storage medium |
| CN113225837A (en) * | 2021-04-23 | 2021-08-06 | 深圳创维-Rgb电子有限公司 | Wireless sound box connection method and device, communication terminal and readable storage medium |
| CN114071292A (en) * | 2020-08-05 | 2022-02-18 | 广东小天才科技有限公司 | Prompt automatic memory playing method, ear-hanging earphone and storage medium |
| CN114697797A (en) * | 2022-01-10 | 2022-07-01 | Oppo广东移动通信有限公司 | Sound source acquisition method, device, electronic device, computer readable medium and product |
| CN119865792A (en) * | 2025-03-25 | 2025-04-22 | 深圳市海凌威电子有限公司 | Method for enabling earphone box to be opened and connected |
Citations (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102420641A (en) * | 2011-12-01 | 2012-04-18 | 深圳市中兴移动通信有限公司 | Method and system for realizing automatic pairing connection of Bluetooth earphones |
| CN102835096A (en) * | 2010-03-31 | 2012-12-19 | 诺基亚公司 | Apparatus and method for wireless headsets |
| CN104767878A (en) * | 2015-03-12 | 2015-07-08 | 朱亚光 | Voice communication system based on Bluetooth earphones and voice communication method |
| CN204465816U (en) * | 2015-03-19 | 2015-07-08 | 河南机电高等专科学校 | A kind of bluetooth earphone with mobile phone connecting device |
| CN106294747A (en) * | 2016-08-10 | 2017-01-04 | 北京小米移动软件有限公司 | Audio synchronization method and device |
| CN106385650A (en) * | 2016-08-31 | 2017-02-08 | 深圳天珑无线科技有限公司 | Play control device and method |
| CN108347720A (en) * | 2018-02-08 | 2018-07-31 | 广东欧珀移动通信有限公司 | Communication connection method, device, terminal and storage medium |
| CN108710486A (en) * | 2018-05-28 | 2018-10-26 | Oppo广东移动通信有限公司 | Audio playing method and device, earphone and computer readable storage medium |
| CN108810693A (en) * | 2018-05-28 | 2018-11-13 | Oppo广东移动通信有限公司 | Apparatus control method and Related product |
| CN108834012A (en) * | 2018-03-27 | 2018-11-16 | 江苏大学 | A bluetooth earphone system capable of improving motion quality and its control method |
| CN108924706A (en) * | 2018-06-26 | 2018-11-30 | 努比亚技术有限公司 | Bluetooth headset method for handover control, bluetooth headset and computer readable storage medium |
| US20180359556A1 (en) * | 2017-06-07 | 2018-12-13 | Bragi GmbH | Pairing of wireless earpiece to selected device based on head movement to identify device |
| CN109511035A (en) * | 2018-12-14 | 2019-03-22 | 歌尔股份有限公司 | A kind of Earphone box, wireless headset and its awakening method |
| CN209184752U (en) * | 2018-11-13 | 2019-07-30 | 东莞市旋音电子有限公司 | TWS Bluetooth headset with heart rate based on power optimization |
| CN110166877A (en) * | 2019-06-21 | 2019-08-23 | 歌尔科技有限公司 | A kind of audio frequency playing method, device and the charging box of TWS earphone |
| CN110166869A (en) * | 2019-05-30 | 2019-08-23 | 深圳市安特信技术有限公司 | Bluetooth headset contrast means and matching method |
| CN110191442A (en) * | 2019-04-18 | 2019-08-30 | 华为技术有限公司 | Bluetooth connection method, equipment and system |
-
2019
- 2019-12-27 CN CN201911379431.2A patent/CN111031438A/en active Pending
Patent Citations (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102835096A (en) * | 2010-03-31 | 2012-12-19 | 诺基亚公司 | Apparatus and method for wireless headsets |
| CN102420641A (en) * | 2011-12-01 | 2012-04-18 | 深圳市中兴移动通信有限公司 | Method and system for realizing automatic pairing connection of Bluetooth earphones |
| CN104767878A (en) * | 2015-03-12 | 2015-07-08 | 朱亚光 | Voice communication system based on Bluetooth earphones and voice communication method |
| CN204465816U (en) * | 2015-03-19 | 2015-07-08 | 河南机电高等专科学校 | A kind of bluetooth earphone with mobile phone connecting device |
| CN106294747A (en) * | 2016-08-10 | 2017-01-04 | 北京小米移动软件有限公司 | Audio synchronization method and device |
| CN106385650A (en) * | 2016-08-31 | 2017-02-08 | 深圳天珑无线科技有限公司 | Play control device and method |
| US20180359556A1 (en) * | 2017-06-07 | 2018-12-13 | Bragi GmbH | Pairing of wireless earpiece to selected device based on head movement to identify device |
| CN108347720A (en) * | 2018-02-08 | 2018-07-31 | 广东欧珀移动通信有限公司 | Communication connection method, device, terminal and storage medium |
| CN108834012A (en) * | 2018-03-27 | 2018-11-16 | 江苏大学 | A bluetooth earphone system capable of improving motion quality and its control method |
| CN108810693A (en) * | 2018-05-28 | 2018-11-13 | Oppo广东移动通信有限公司 | Apparatus control method and Related product |
| CN108710486A (en) * | 2018-05-28 | 2018-10-26 | Oppo广东移动通信有限公司 | Audio playing method and device, earphone and computer readable storage medium |
| CN108924706A (en) * | 2018-06-26 | 2018-11-30 | 努比亚技术有限公司 | Bluetooth headset method for handover control, bluetooth headset and computer readable storage medium |
| CN209184752U (en) * | 2018-11-13 | 2019-07-30 | 东莞市旋音电子有限公司 | TWS Bluetooth headset with heart rate based on power optimization |
| CN109511035A (en) * | 2018-12-14 | 2019-03-22 | 歌尔股份有限公司 | A kind of Earphone box, wireless headset and its awakening method |
| CN110191442A (en) * | 2019-04-18 | 2019-08-30 | 华为技术有限公司 | Bluetooth connection method, equipment and system |
| CN110166869A (en) * | 2019-05-30 | 2019-08-23 | 深圳市安特信技术有限公司 | Bluetooth headset contrast means and matching method |
| CN110166877A (en) * | 2019-06-21 | 2019-08-23 | 歌尔科技有限公司 | A kind of audio frequency playing method, device and the charging box of TWS earphone |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111698373A (en) * | 2020-06-05 | 2020-09-22 | 北京搜狗科技发展有限公司 | Voice broadcasting method and device, earphone and earphone storage device |
| CN114071292A (en) * | 2020-08-05 | 2022-02-18 | 广东小天才科技有限公司 | Prompt automatic memory playing method, ear-hanging earphone and storage medium |
| CN112822600A (en) * | 2021-01-27 | 2021-05-18 | 歌尔科技有限公司 | Earphone step counting method, earphone and storage medium |
| WO2022160759A1 (en) * | 2021-01-27 | 2022-08-04 | 歌尔股份有限公司 | Earphone step-counting method, earphone and storage medium |
| CN113225837A (en) * | 2021-04-23 | 2021-08-06 | 深圳创维-Rgb电子有限公司 | Wireless sound box connection method and device, communication terminal and readable storage medium |
| CN114697797A (en) * | 2022-01-10 | 2022-07-01 | Oppo广东移动通信有限公司 | Sound source acquisition method, device, electronic device, computer readable medium and product |
| CN119865792A (en) * | 2025-03-25 | 2025-04-22 | 深圳市海凌威电子有限公司 | Method for enabling earphone box to be opened and connected |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111031438A (en) | Control method of earphone assembly, earphone assembly and computer readable storage medium | |
| US9386929B2 (en) | Aural heart monitoring apparatus and method | |
| JP6613392B2 (en) | Sound playback device | |
| CN110575150B (en) | Electronic device for providing exercise information using biometric information and method of operating the same | |
| EP2277301B1 (en) | An improved headset | |
| CN111131952B (en) | Earphone assembly control method, earphone assembly and computer readable storage medium | |
| US20170049335A1 (en) | Earphones with biometric sensors | |
| US20160051184A1 (en) | System and method for providing sleep recommendations using earbuds with biometric sensors | |
| US20090105548A1 (en) | In-Ear Biometrics | |
| CN108848429A (en) | Pairing connection method of wireless transceiver and wireless transceiver | |
| US20160029974A1 (en) | System and method for tracking biological age over time based upon heart rate variability using earphones with biometric sensors | |
| US20230390608A1 (en) | Systems and methods including ear-worn devices for vestibular rehabilitation exercises | |
| WO2014049148A1 (en) | Method for adjusting parameters of a hearing aid functionality provided in a consumer electronics device | |
| US20260082147A1 (en) | Control method for headphone, headphone, and computer-readable storage medium | |
| CN111147973A (en) | Control method of earphone assembly, earphone assembly and computer readable storage medium | |
| KR102571607B1 (en) | Wireless earbud charge case in which the bio-information measurement function is included | |
| CN113449836B (en) | Kowtowing counting method and device | |
| TWI442348B (en) | Personalized gait analysis method of physiological sensor | |
| CN111131953A (en) | Earphone assembly | |
| CN119316761B (en) | Earphone control method, earphone and computer readable storage medium | |
| TWI876329B (en) | Wireless headset with radar detection function | |
| CN118039049A (en) | Data collection method, readable storage medium, program product and electronic device | |
| CN119316765A (en) | Headphone control method, headphone and computer readable storage medium | |
| CN120167927A (en) | A monitoring method, system and related device | |
| WO2017010935A1 (en) | Workout monitoring device with feedback control system |
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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200417 |