CN108762716B - Volume adjusting method and device and earphone - Google Patents

Volume adjusting method and device and earphone Download PDF

Info

Publication number
CN108762716B
CN108762716B CN201810981765.6A CN201810981765A CN108762716B CN 108762716 B CN108762716 B CN 108762716B CN 201810981765 A CN201810981765 A CN 201810981765A CN 108762716 B CN108762716 B CN 108762716B
Authority
CN
China
Prior art keywords
earphone
volume
user
current
sensor
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
CN201810981765.6A
Other languages
Chinese (zh)
Other versions
CN108762716A (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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology 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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN201810981765.6A priority Critical patent/CN108762716B/en
Publication of CN108762716A publication Critical patent/CN108762716A/en
Application granted granted Critical
Publication of CN108762716B publication Critical patent/CN108762716B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/012Head tracking input arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/012Walk-in-place systems for allowing a user to walk in a virtual environment while constraining him to a given position in the physical environment

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Headphones And Earphones (AREA)

Abstract

The embodiment of the application provides a volume adjusting method and device and an earphone. The method for adjusting the volume comprises the following steps: acquiring an environment noise signal outside the earphone, and primarily adjusting the volume of the earphone according to the environment noise signal to acquire the volume adaptive to the external environment; and acquiring a current head action signal of the user generated by the head action of the user, and carrying out secondary adjustment on the volume of the primarily adjusted earphone according to the current head action signal of the user so as to obtain the volume meeting the requirements of the user. According to the volume adjusting method, the volume of the earphone can be automatically adjusted without manual operation of a user, and accurate and rapid adjustment of the volume of the earphone can be achieved through a mode of combining primary coarse adjustment and secondary fine adjustment.

Description

Volume adjusting method and device and earphone
Technical Field
The present application relates to the field of earphone control, and in particular, to a method and an apparatus for adjusting a volume, and an earphone.
Background
With the development of science and technology, the market of consumer electronics is rapidly developed, and the application of earphones is more and more popular. People also require the earphone to be operated simply and efficiently while pursuing high-quality music quality. With the development of the intelligent earphone, the control of the earphone function enables consumers to get rid of the constraint of both hands to a certain extent, for example, a user can interact with the earphone through voice or actions, so that the function switching is realized.
However, when earphones in the existing market are used, some operations, such as switching of volume, can only be controlled by keys, rollers or actions and can be adjusted from large to small or from small to large step by step, so that the operation is very inconvenient and low in efficiency, and the user experience degree is not high.
Disclosure of Invention
Aspects of the application provide a volume adjustment method, a volume adjustment device and an earphone, so as to solve the problems that the volume adjustment is inconvenient and the volume required by a user is slow in speed in the existing earphone.
The embodiment of the application provides a volume adjusting method, which comprises the following steps:
acquiring an environmental noise signal outside the earphone, and primarily adjusting the volume of the earphone according to the acquired environmental noise signal to acquire the volume adaptive to the external environment;
and acquiring a current head action signal of the user generated by the head action of the user, and carrying out secondary adjustment on the volume of the primarily adjusted earphone according to the current head action signal of the user so as to obtain the volume meeting the requirements of the user.
Further, according to the preliminary adjustment of the earphone volume by using the collected environmental noise signal, the volume adaptive to the external environment is obtained, which includes:
superposing a preset decibel value on the decibel value of the environmental noise signal to serve as an initial tuning decibel value;
and adjusting the current decibel value of the earphone volume to the initially adjusted decibel value to obtain the volume adaptive to the external environment.
Further, the secondary adjustment of the volume of the primarily adjusted earphone is performed according to the current head action signal of the user to obtain the volume meeting the requirements of the user, including:
matching the current head action signal of the user in a mapping relation between a preset volume control instruction and the current head action signal of the user to obtain a matched volume control instruction;
and adjusting the volume of the earphone according to the matched volume control instruction.
Further, if the current head action signal of the user is a left nodding signal, and the matched volume control instruction is a volume to be increased, the volume of the primarily adjusted earphone is secondarily adjusted according to the volume control instruction in the matching, including: increasing the volume of the primarily adjusted earphone according to the set volume step length;
if the current head action signal of the user is a right nodding signal and the matched volume control instruction is turning down the volume, adjusting the volume of the earphone according to the matched volume control instruction, and the method comprises the following steps: and reducing the volume of the earphone after the initial adjustment according to the set volume step length.
Further, the acquiring a current head motion signal of the user generated by the head motion of the user comprises:
after the head of a user sends out a volume adjustment action, a first sensor arranged at the top of a head-wearing main body of the earphone and a second sensor arranged on an earphone module at one side of the earphone are used for collecting the current coordinate value of the earphone;
and determining the current head action signal of the user according to the current coordinate values of the earphones acquired by the first sensor and the second sensor.
Further, utilize the first sensor that the head-mounted main part top of earphone was equipped with before the current coordinate value of earphone is gathered to the second sensor that is equipped with on the earphone module of earphone one side, still include:
judging whether the earphone is in a standard wearing posture currently or not according to the current coordinate values of the earphone acquired by the first sensor and the second sensor;
and if not, outputting a prompt tone to prompt the user to adjust the earphone to a standard wearing posture.
Further, when the earphone is in the standard wearing posture, the coordinate values of the earphone collected by the first sensor 11 and the second sensor 12 are both (0, 0, 0); after the user head sends out a volume adjustment action, the earphone coordinate values collected by the first sensor 11 are (X1, Y1, Z1), and the earphone coordinate values collected by the second sensor 12 are (X2, Y2, Z2);
determining a current head action signal of a user according to the current coordinate values of the earphones acquired by the first sensor and the second sensor, wherein the determining step comprises the following steps:
when Y1-Y2-0, X1 > X2 > 0, Z1 < Z2 < 0, and | X1|, | X2| are simultaneously greater than a first threshold, and | Z1|, | Z2| are simultaneously greater than a third threshold, determining that the current head motion signal of the user is a left nodding signal;
when Y1-Y2-0, X1-X2-0, Z1-Z2-0, and | X1|, | X2| are simultaneously greater than a first threshold, and | Z1|, | Z2| are simultaneously greater than a third threshold, determining that the current head motion signal of the user is a right nodding signal;
when X1 is equal to X2 is equal to 0, Y1 is greater than Y2 is greater than 0, Z1 is greater than Z2 and is less than 0, Y1 and Y2 are simultaneously greater than a second threshold, and Z1 and Z2 are simultaneously greater than a third threshold, determining that the current head motion signal of the user is a head-lowering signal;
and when X1 is equal to X2 is equal to 0, Y1 is less than Y2 is less than 0, Z1 is less than Z2 is less than 0, Y1 and Y2 are simultaneously greater than a second threshold, and Z1 and Z2 are simultaneously greater than a third threshold, determining that the current head motion signal of the user is a head raising signal.
An embodiment of the present application further provides a volume adjustment device, including:
the first acquisition module is used for acquiring an ambient noise signal outside the earphone;
the primary adjusting module is used for primarily adjusting the volume of the earphone according to the environment noise signal so as to obtain the volume adaptive to the external environment;
the second acquisition module is used for acquiring a current head action signal of the user generated by the head action of the user;
and the secondary adjusting module is used for carrying out secondary adjustment on the volume of the primarily adjusted earphone according to the current head action signal of the user so as to obtain the volume meeting the requirements of the user.
The embodiment of the present application further provides an earphone, including: the device comprises an environmental noise signal acquisition device, a user current head action signal acquisition device, a processor and a memory for storing a volume adjustment program;
the environment noise signal acquisition device is used for acquiring an external environment noise signal;
the user current head action signal acquisition device is used for acquiring a user current head action signal generated by the head action of the user;
the processor is used for realizing the steps of the volume adjusting method when executing the volume adjusting program stored in the memory.
Further, still include: the headset comprises a headset main body 1 and two earphone modules 2; two earphone module 2 set up respectively at the both ends of wearing main part 1, ambient noise signal pickup assembly is microphone 20, and the current head action signal pickup assembly of user is the sensor, the sensor is including setting up the first sensor 11 at wearing main part 1 top and setting up the second sensor 12 on one side earphone module 2, microphone 20 is located on one of them earphone module 2.
According to the embodiment of the application, the volume of the earphone is roughly adjusted preliminarily according to the ambient noise signal outside the earphone, the volume of the earphone is quickly adjusted to the volume adaptive to the external environment, and then secondary fine adjustment is carried out on the volume after preliminary adjustment according to the current head action signal of a user generated by the head action of the user, so that the volume required by the user is achieved; according to the volume adjusting method, the volume of the earphone can be automatically adjusted without manual operation of a user, and accurate and rapid adjustment of the volume of the earphone can be achieved through a mode of combining primary coarse adjustment and secondary fine adjustment.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flow chart of a volume adjustment method according to an exemplary embodiment of the present application;
FIG. 2 is a flow chart illustrating control of related functions of the headset through head movements according to an exemplary embodiment of the present application;
fig. 3 is a schematic structural diagram of a head-mounted device according to an exemplary embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the 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.
To there being volume control inconvenient in current earphone, reach the technical problem that the required volume speed of user is slow, this application embodiment provides a solution, and the basic thinking is: firstly, carrying out primary coarse adjustment on the volume of the earphone according to an environment noise signal outside the earphone, quickly adjusting the volume of the earphone to the volume adaptive to an external environment, and then carrying out secondary fine adjustment on the volume after the primary adjustment through a current head action signal of a user generated by the head action of the user to achieve the volume required by the user; according to the volume adjusting method, the volume of the earphone can be automatically adjusted without manual operation of a user, and accurate and rapid adjustment of the volume of the earphone can be achieved through a mode of combining primary coarse adjustment and secondary fine adjustment.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a volume adjustment method provided by an example in the present application, which is described below with reference to fig. 1, and the volume adjustment method includes:
s101: acquiring an environment noise signal outside the earphone, and primarily adjusting the volume of the earphone according to the environment noise signal to acquire the volume adaptive to the external environment;
s102: and acquiring a current head action signal of the user generated by the head action of the user, and carrying out secondary adjustment on the volume of the primarily adjusted earphone according to the current head action signal of the user so as to obtain the volume meeting the requirements of the user.
The method provided by the embodiment can be applied to earphones, which can be headphones, in-ear earphones and the like. The earphone can be provided with a microphone and can acquire an environmental noise signal of the current environment where the earphone is located; the earphone can also be provided with a sensor which can be used for collecting the current head action signal of the user generated by the head action of the user. It is worth mentioning that one or more different types of sensors may be provided on the headset. When a user wears the earphone, the user may be in different external environments, and for the external environments with different noises, the user needs to readjust the volume of the earphone after wearing the earphone each time.
In this embodiment, a microphone may be disposed on the earphone to collect external environmental noise, and after collecting an external environmental noise signal of the earphone, the earphone primarily adjusts the volume of the earphone according to the environmental noise signal to obtain the volume adapted to the external environment. According to the environment noise signal, the earphone firstly carries out coarse adjustment on the volume of the earphone, and the volume of the earphone is adjusted to the volume which can be heard by the user and can eliminate the interference of the external environment noise at one time.
Optionally, superimposing a preset decibel value on the decibel value of the environmental noise signal to serve as an initial tuning decibel value; and adjusting the current decibel value of the earphone volume to the initially adjusted decibel value to obtain the volume adaptive to the external environment. Regarding obtaining the volume adapted to the external environment, it should be noted herein that after a person wears the headset, the decibel value of the external environment noise transmitted to the ear of the person is reduced due to the shielding of the headset itself, and therefore, the initial decibel value here should be smaller than the decibel value of the external environment noise, so that the user can hear the audio content inside the headset. It should be noted that the preset decibel value is a fixed value set in advance inside the earphone, and the preset decibel value may be a fixed value that a manufacturer collects different noise environments, and experimental data of different users is set in a memory inside the earphone before the earphone leaves a factory, or may be a fixed value that the preset decibel value is modified according to personal use habits after the user purchases the earphone, for example, a touch display screen interacting with the user is provided on the earphone, the user sends a modification instruction through the touch display screen, a human-computer interaction interface can be displayed on the display screen, and the user can modify the preset decibel value by operating modification options on the interaction interface.
In the above embodiment, the decibel value of the environmental noise signal may be obtained by collecting the decibel value corresponding to each unit time within the specified time period and averaging all the collected decibel values to obtain an average decibel value, which is used as the decibel value of the environmental noise signal, or may be obtained by collecting the decibel value corresponding to each unit time within the specified time period and selecting the maximum value or the minimum value of all the decibel values as the decibel value of the environmental noise signal.
In the above optional embodiment, in an actual use process of the headset, if the headset is used each time, the volume decibel value used when the headset is turned off is automatically recorded, when the user wears the headset next time, the initial volume of the headset automatically calls the volume decibel value when the headset is turned off last time, and in this case, the following three situations may occur between the initial volume of the headset and the current volume of the headset:
firstly, when the current decibel value of the earphone is greater than the initially adjusted decibel value, namely the current decibel value of the earphone is far higher than the external environmental noise decibel value, the volume of the earphone needs to be reduced, and the earphone automatically reduces the volume to the initially adjusted decibel value;
secondly, when the current decibel value of the earphone is smaller than the initially adjusted decibel value, namely the current decibel value of the earphone is lower than the external ambient noise decibel value, the volume of the earphone needs to be increased, and the earphone automatically increases the volume of the earphone to the initially adjusted decibel value;
thirdly, when the initial volume decibel value is larger than the maximum volume decibel value of the earphone, namely the external environment noise is too large, directly adjusting the volume of the earphone to the maximum volume decibel value of the earphone.
After the earphone volume is preliminarily adjusted, the preliminarily adjusted earphone volume is secondarily adjusted according to the current head action signal of the user so as to obtain the volume meeting the requirements of the user. After the earphone is preliminarily adjusted, the user can judge the earphone volume after preliminary adjustment, if the volume automatically adjusted by the user cannot meet the requirement of the user on the volume, the earphone volume can be micro-adjusted again, and the user can generate a current head action signal through head action to micro-adjust the earphone volume so as to reach the satisfactory volume of the user.
In this embodiment, the head motion of the user may be nodding, tilting, left nodding, right nodding, etc. When the head of the user acts, the sensor on the earphone collects the head action data of the user and converts the head action data of the user into a current head action signal of the user corresponding to the head action.
In the above embodiment, the obtaining of the user current head motion signal generated by the user head motion may be: after the head of a user sends out a volume adjustment action, a first sensor arranged at the top of a head-wearing main body of the earphone and a second sensor arranged on an earphone module at one side of the earphone are used for collecting the current coordinate value of the earphone; and determining the current head action signal of the user according to the current coordinate values of the earphones acquired by the first sensor and the second sensor.
In the embodiment, the two sensors are used for collecting the coordinate values of the earphones in real time, and the current head action signal of the user is determined through the change of the current coordinate values of the earphones. For example, when the head is noded, the earphone generates a forward motion and a downward motion, and accordingly, the coordinate values acquired by the sensor generate corresponding displacements on the forward and downward spatial axes, so that the motion of the user can be determined through the change of the coordinate values, and further the current head motion signal of the user is determined through the current coordinate values of the earphone.
In the above or following embodiments of the present application, before the head of the user sends out a volume adjustment action, whether the headset is in a standard wearing posture is determined according to the current coordinate values of the headset acquired by the first sensor and the second sensor; if not, outputting a prompt tone to prompt the user to adjust the earphone to the standard wearing posture. Under the condition that the standard wearing posture is judged to be negative, the user can be prompted to adjust the earphone to the standard wearing posture through other modes such as light flashing and the like.
It should be noted that the standard wearing posture refers to a posture in which the head is in a natural straightened state after the user normally wears the headphones. The method for judging whether the earphone is in the standard wearing posture can be used for determining the standard wearing posture by current coordinate values of the earphone collected by the first sensor and the second sensor through setting a certain threshold value as long as the earphone is in the threshold value range, and errors caused by head inclination or slight shaking of a user when the user wears the earphone every time can be eliminated through setting the threshold value. In some special cases, the head of an individual user is also inclined in a natural state, and the head of the user is taken as a standard wearing posture in the natural inclined state. After the earphone is judged to be in the standard wearing posture, the current coordinate values of the earphone collected by the first sensor and the second sensor can be restored to the initial values.
Optionally, the secondary adjustment of the primarily adjusted earphone volume by using the current head motion signal of the user may be: matching the current head action signal of the user in a mapping relation between a preset volume control instruction and the current head action signal of the user to obtain a volume control instruction in matching; and adjusting the volume of the earphone according to the volume control instruction in the matching.
In the above embodiment, the current head action signal of the user and the volume control instruction have a one-to-one correspondence relationship, a mapping relationship between the current head action signal of the user and the volume control instruction is preset in a memory of the earphone, and after receiving the current head action signal of the user, the processor finds out the volume control instruction corresponding to the current head action signal of the user from the mapping relationship, and adjusts the volume of the earphone.
In an alternative embodiment, the left nodding signal corresponds to a turned up volume and the right nodding signal corresponds to a turned down volume. The secondary adjustment of the earphone volume after the initial adjustment by using the current head motion signal of the user includes the following two ways, the following two ways of adjusting the earphone volume are merely exemplary, and the ways of adjusting the earphone volume are not limited to the following two ways.
The first method is as follows: if the gesture action signal is a left nodding signal, the volume control instruction in the matching is the volume to be increased, and then secondary adjustment is carried out on the volume of the primarily adjusted earphone according to the volume control instruction in the matching, wherein the secondary adjustment comprises the following steps: increasing the volume of the primarily adjusted earphone according to the set volume step length;
the second method comprises the following steps: if the gesture action signal is a right nodding signal, the volume control instruction in the matching is turning down the volume, and the volume of the earphone is adjusted according to the volume control instruction in the matching, including: and reducing the volume of the earphone after the initial adjustment according to the set volume step length.
Obviously, in the above embodiment, the left nodding signal may correspond to the turning-down volume, and the right nodding signal may correspond to the turning-up volume. In essence, it is sufficient that the volume-down and volume-up correspond to different current head movement signals of the user.
According to the embodiment of the application, the volume of the earphone is roughly adjusted preliminarily according to the ambient noise signal outside the earphone, the volume of the earphone is quickly adjusted to the volume which is in offsetting fit with the external environment, and then secondary fine adjustment is carried out on the volume after preliminary adjustment according to the current head action signal of a user generated by the head action of the user, so that the volume required by the user is achieved; according to the volume adjusting method, the volume of the earphone can be automatically adjusted without manual operation of a user, and accurate and rapid adjustment of the volume of the earphone can be achieved through a mode of combining primary coarse adjustment and secondary fine adjustment.
Fig. 2 is a flowchart illustrating a headset controlling related functions according to head movements according to an exemplary embodiment of the present application. The method for controlling volume adjustment by head movement and other functions of other earphones by head movement are exemplified in the following with reference to fig. 2.
In the present exemplary embodiment, first, the microphone collects an external environment noise signal, sets a proper volume in advance, and coarsely adjusts the volume of the earphone to obtain a volume suitable for the external environment. The method for primarily adjusting the earphone according to the external environment volume can superpose a preset decibel value on the decibel value of the environment noise signal to serve as an initially adjusted decibel value; and adjusting the current decibel value of the earphone volume to the initially adjusted decibel value.
And then, judging whether the earphone is in the standard wearing posture. When the earphone is judged to be in the standard wearing posture, the current coordinate values of the earphone collected by the first sensor 11 and the second sensor 12 are adjusted to be (0, 0, 0). The coordinate values in this embodiment are coordinates in a three-dimensional coordinate system. The following embodiment is merely an exemplary illustration of how to determine the current head motion signal of the user, and the manner of determining the gesture motion signal of the user is not limited to the following manner, nor in the following scenario.
After the earphone is in the standard wearing posture, the user generates a head action signal through head action. The current coordinate values of the earphones collected by the first sensor 11 are (X1, Y1, Z1), and the current coordinate values of the earphones collected by the second sensor 12 are (X2, Y2, Z2). At this time, the coordinate values acquired by the first sensor 11 and the second sensor 12 are the actual displacement amounts of the first sensor and the second sensor in the three spatial directions X, Y, Z.
Presetting that X1 and X2 are both greater than 0 when the head moves to the left side, and X1 and X2 are both less than 0 when the head moves to the right side; when the head moves forwards, Y1 and Y2 are both larger than 0, and when the head moves backwards, Y1 and Y2 are both smaller than 0; when the head moves upward, Z1 and Z2 are both greater than 0, and when the head moves backward, Z1 and Z2 are both less than 0.
When the current earphone coordinate values (X1, Y1, Z1) and the current earphone coordinate values (X2, Y2, Z2) satisfy the following conditions, the corresponding gesture motion signal of the user may be determined:
when Y1-Y2-0, X1 > X2 > 0, Z1 < Z2 < 0, and | X1|, | X2| are simultaneously greater than a first threshold, and | Z1|, | Z2| are simultaneously greater than a third threshold, determining that the current head motion signal of the user is a left nodding signal;
when Y1-Y2-0, X1-X2-0, Z1-Z2-0, and | X1|, | X2| are simultaneously greater than a first threshold, and | Z1|, | Z2| are simultaneously greater than a third threshold, determining that the current head motion signal of the user is a right nodding signal;
when X1 is equal to X2 is equal to 0, Y1 is greater than Y2 is greater than 0, Z1 is greater than Z2 and is less than 0, Y1 and Y2 are simultaneously greater than a second threshold, and Z1 and Z2 are simultaneously greater than a third threshold, determining that the current head motion signal of the user is a head-lowering signal;
and when X1 is equal to X2 is equal to 0, Y1 is less than Y2 is less than 0, Z1 is less than Z2 is less than 0, Y1 and Y2 are simultaneously greater than a second threshold, and Z1 and Z2 are simultaneously greater than a third threshold, determining that the current head motion signal of the user is a head raising signal.
Triggering an OK key or a play key of the earphone to execute an earphone confirming function or a play function after determining that the current head action signal of the user is a head lowering signal; triggering a pause key of the earphone to execute a pause playing function of the earphone after determining that the current head action signal of the user is a head-up signal; after the current head action signal of the user is determined to be a left nodding signal, controlling an accumulator +1 of the volume, increasing the volume by one step and turning the volume up; and after the current head action signal of the user is determined to be a right nodding signal, controlling an accumulator-1 of the volume, reducing the volume by one step and turning down the volume.
In the above exemplary embodiment, the left nodding signal may correspond to a volume up function, the right nodding signal may correspond to a volume down function, the head up signal may correspond to a play start function or a confirmation function, and the head down signal may correspond to a play pause function. It is worth explaining that, in the embodiment of the application, different functions of the headset are controlled by different head movements, so that a user can thoroughly get rid of constraint of two hands, and better user experience is brought.
The explanation of value is, set up on the earphone and be equipped with first sensor and second sensor respectively on the earphone module of wearing main part top and one side, carry out the embodiment through two sensors and gather the earphone coordinate, through setting up first threshold value, second threshold value, third threshold value respectively in X, Y, Z upwards, in earphone action process, the displacement volume in X, Y, Z three directions that two sensors gathered all will reach first threshold value, second threshold value and third threshold value simultaneously, prevent to not trigger because of the slight shake production of head, improve the earphone and to the accuracy of head action judgement.
An embodiment of the present application further provides a volume adjustment device, including: the first acquisition module is used for acquiring an ambient noise signal outside the earphone; the primary adjusting module is used for primarily adjusting the volume of the earphone according to the environmental noise signal so as to obtain the volume adaptive to the external environment; the second acquisition module is used for acquiring a current head action signal of the user generated by the head action of the user; and the secondary adjusting module is used for carrying out secondary adjustment on the volume of the primarily adjusted earphone according to the current head action signal of the user so as to obtain the volume meeting the requirements of the user.
An earphone that this application embodiment still provides includes: the device comprises an environmental noise signal acquisition device, a user current head action signal acquisition device, a processor and a memory for storing a volume adjustment program; the environment noise signal acquisition device is used for acquiring an external environment noise signal; the user current head action signal acquisition device is used for acquiring a user current head action signal generated by the head action of the user; the processor is used for realizing the steps of the volume adjusting method when executing the volume adjusting program stored in the memory.
In the above embodiment, the setting positions of the environmental noise signal collecting device, the user current head motion signal collecting device, the processor and the memory are different, and the present embodiment is not particularly limited. The earphone of the present embodiment may be a headphone, and the following description will take the headphone as an example.
Fig. 3 is a headphone provided in an exemplary embodiment of the present application, which includes a headphone main body 1 and two headphone modules 2; two earphone module 2 set up respectively at the both ends of wearing main part 1, and environmental noise signal pickup assembly is microphone 20, and the current head action signal pickup assembly of user is the sensor, and the sensor is including setting up the first sensor 11 at wearing main part 1 top and setting up the second sensor 12 on one side earphone module 2, and microphone 20 is located on one of them earphone module 2. In addition, the headset may further include a transmission line for transmitting audio data.
The first sensor 11 and the second sensor 12 may be acceleration sensors or gyroscopes. In order to improve the accuracy of the sensor for detecting the position of the headset, three sensors may be provided, and optionally, one more sensor is added to the other side of the headset module 2.
In an exemplary embodiment, each headphone module 2 includes: a sound receiving cover 21 and a cylindrical fixing piece 22 arranged outside the sound receiving cover 21, wherein the earphone module 2 is connected with the head-wearing main body part 1 through the fixing piece 22; the second sensor 12 is disposed inside an end facing outward near the fixing member 22, and the microphone 20 is disposed inside an outer sidewall of an upper end near the fixing member 22. The microphone 20 may be provided on the head mount body or the transmission line.
One or more processors operable to execute one or more computer programs stored in the memory to automatically adjust the volume of the headset.
For example, one or more processors to: acquiring an environmental noise signal acquired by the microphone 20, and primarily adjusting the volume of the earphone according to the environmental noise signal to acquire the volume adaptive to the external environment; and acquiring a current head action signal of the user acquired by the sensor, and carrying out secondary adjustment on the volume of the primarily adjusted earphone according to the current head action signal of the user so as to obtain the volume meeting the requirements of the user.
Optionally, the one or more processors perform preliminary adjustment on the volume of the headset according to the collected ambient noise signal to obtain a volume adapted to the external environment, and are specifically configured to: superposing a preset decibel value on the decibel value of the environmental noise signal to be used as an initial tuning decibel value; and adjusting the current decibel value of the earphone volume to the initially adjusted decibel value to obtain the volume adaptive to the external environment.
Optionally, the one or more processors perform secondary adjustment on the primarily adjusted volume of the earphone according to the current head motion signal of the user to obtain a volume meeting the user requirement, and are specifically configured to: matching the current head action signal of the user in a mapping relation between a preset volume control instruction and the current head action signal of the user to obtain a matched volume control instruction; and adjusting the volume of the earphone according to the matched volume control instruction.
Optionally, if the gesture action signal is a left nod signal and the matched volume control instruction is a turn-up volume, the one or more processors perform secondary adjustment on the primarily adjusted earphone volume according to the volume control instruction in the matching, and are specifically configured to: increasing the volume of the primarily adjusted earphone according to the set volume step length; if the gesture action signal is a right nodding signal, the matched volume control instruction is to turn down the volume, and then the volume of the earphone is adjusted according to the volume control instruction in the matching, including: and reducing the volume of the earphone after the initial adjustment according to the set volume step length.
Optionally, the one or more processors are configured to, in acquiring a current head motion signal of the user generated by the head motion of the user: acquiring a current coordinate value of the earphone by using a first sensor arranged at the top of a head-wearing main body of the earphone and a second sensor arranged on an earphone module at one side of the earphone; and determining the current head action signal of the user according to the current coordinate values of the earphones acquired by the first sensor and the second sensor.
Optionally, the one or more processors are further configured to, before acquiring the current coordinate value of the headset by using a first sensor provided at the top of the headset main body of the headset and a second sensor provided on the headset module on the headset side of the headset: judging whether the earphone is in a standard wearing posture or not according to the current coordinate values of the earphone acquired by the first sensor and the second sensor; if not, outputting a prompt tone to prompt the user to adjust the earphone to the standard wearing posture.
Optionally, when the headset is in the standard wearing posture, the current coordinate values of the headset collected by the first sensor (11) and the second sensor (12) are both (0, 0, 0); after the head of the user sends out a volume adjustment action, the current coordinate values of the earphones, which are acquired by the first sensor (11), are (X1, Y1 and Z1), and the current coordinate values of the earphones, which are acquired by the second sensor (12), are (X2, Y2 and Z2); determining a current head action signal of a user according to the current coordinate values of the earphones acquired by the first sensor and the second sensor, wherein the current head action signal is specifically used for:
when Y1-Y2-0, X1 > X2 > 0, Z1 < Z2 < 0, and | X1|, | X2| are simultaneously greater than a first threshold, and | Z1|, | Z2| are simultaneously greater than a third threshold, determining that the current head motion signal of the user is a left nodding signal;
when Y1-Y2-0, X1-X2-0, Z1-Z2-0, and | X1|, | X2| are simultaneously greater than a first threshold, and | Z1|, | Z2| are simultaneously greater than a third threshold, determining that the current head motion signal of the user is a right nodding signal;
when X1 is equal to X2 is equal to 0, Y1 is greater than Y2 is greater than 0, Z1 is greater than Z2 and is less than 0, Y1 and Y2 are simultaneously greater than a second threshold, and Z1 and Z2 are simultaneously greater than a third threshold, determining that the current head motion signal of the user is a head-lowering signal;
and when X1 is equal to X2 is equal to 0, Y1 is less than Y2 is less than 0, Z1 is less than Z2 is less than 0, Y1 and Y2 are simultaneously greater than a second threshold, and Z1 and Z2 are simultaneously greater than a third threshold, determining that the current head motion signal of the user is a head raising signal.
According to the embodiment of the application, the volume of the earphone is roughly adjusted preliminarily according to the ambient noise signal outside the earphone, the volume of the earphone is quickly adjusted to the volume which is offset with the external environment, and then secondary fine adjustment is carried out on the volume after preliminary adjustment through the current head action signal of the user generated by the head action of the user, so that the volume required by the user is achieved; according to the volume adjusting method, the volume of the earphone can be automatically adjusted without manual operation of a user, and accurate and rapid adjustment of the volume of the earphone can be achieved through a mode of combining primary coarse adjustment and secondary fine adjustment.
Correspondingly, the embodiment of the application also provides a computer readable storage medium storing the computer program. The computer-readable storage medium stores a computer program that, when executed by one or more processors, causes the one or more processors to perform the steps in the method embodiment shown in fig. 1.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (8)

1. A method of volume adjustment for a headset, comprising:
acquiring an environment noise signal outside the earphone, and primarily adjusting the volume of the earphone according to the environment noise signal to acquire the volume adaptive to the external environment;
according to the environment noise signal, primarily adjusting the volume of the earphone to obtain the volume adaptive to the external environment, comprising:
superposing a preset decibel value on the decibel value of the environmental noise signal to serve as an initial tuning decibel value;
when the current decibel value of the earphone volume is larger than the initially adjusted decibel value, the current decibel value of the earphone volume is adjusted to be smaller than the initially adjusted decibel value; when the current decibel value of the earphone volume is smaller than the initial decibel value, the current decibel value of the earphone volume is initially adjusted to be larger than the initial decibel value; when the initial tuning decibel value is larger than the maximum volume decibel value of the earphone, the current decibel value of the earphone volume is initially adjusted to the maximum volume decibel value of the earphone;
acquiring a current coordinate value of the earphone by using a first sensor arranged at the top of a head-wearing main body of the earphone and a second sensor arranged on an earphone module at one side of the earphone;
if the displacement amounts of the current earphone coordinate values acquired by the first sensor and the second sensor in the X, Y, Z three directions reach a first threshold, a second threshold and a third threshold at the same time, acquiring a current user head action signal generated by the user head action according to the current earphone coordinate values acquired by the first sensor and the second sensor;
and carrying out secondary adjustment on the volume of the primarily adjusted earphone according to the current head action signal of the user so as to obtain the volume meeting the requirements of the user.
2. The method for adjusting volume according to claim 1, wherein the adjusting the volume of the primarily adjusted earphone for the second time according to the current head movement signal of the user to obtain the volume meeting the user's requirement comprises:
matching the current head action signal of the user in a mapping relation between a preset volume control instruction and the current head action signal of the user to obtain a matched volume control instruction;
and adjusting the volume of the earphone according to the matched volume control instruction.
3. The method of volume adjustment according to claim 2,
if the current head action signal of the user is a left nodding signal, the matched volume control instruction is a volume to be increased, and then secondary adjustment is carried out on the volume of the primarily adjusted earphone according to the matched volume control instruction, wherein the secondary adjustment comprises the following steps: increasing the volume of the primarily adjusted earphone according to the set volume step length;
if the current head action signal of the user is a right nodding signal and the matched volume control instruction is turning down the volume, adjusting the volume of the earphone according to the matched volume control instruction, and the method comprises the following steps: and reducing the volume of the earphone after the initial adjustment according to the set volume step length.
4. The method for adjusting volume according to claim 1, wherein before the current coordinate values of the earphones are collected by using a first sensor disposed on a top of a main body of the earphones and a second sensor disposed on the earphone module on one side of the earphones, the method further comprises:
judging whether the earphone is in a standard wearing posture currently or not according to the current coordinate values of the earphone acquired by the first sensor and the second sensor;
and if not, outputting a prompt tone to prompt the user to adjust the earphone to a standard wearing posture.
5. The method for adjusting volume according to claim 1, wherein when the earphone is in a standard wearing posture, the earphone coordinate values collected by the first sensor and the second sensor are both (0, 0, 0); after the head of the user sends out a volume adjustment action, the coordinate values of the earphones, which are acquired by the first sensor, are (X1, Y1 and Z1), and the coordinate values of the earphones, which are acquired by the second sensor, are (X2, Y2 and Z2);
determining a current head action signal of a user according to the current coordinate values of the earphones acquired by the first sensor and the second sensor, wherein the determining step comprises the following steps:
when Y1-Y2-0, X1 > X2 > 0, Z1 < Z2 < 0, and | X1|, | X2| are simultaneously greater than a first threshold, and | Z1|, | Z2| are simultaneously greater than a third threshold, determining that the current head motion signal of the user is a left nodding signal;
when Y1-Y2-0, X1-X2-0, Z1-Z2-0, and | X1|, | X2| are simultaneously greater than a first threshold, and | Z1|, | Z2| are simultaneously greater than a third threshold, determining that the current head motion signal of the user is a right nodding signal;
when X1 is equal to X2 is equal to 0, Y1 is greater than Y2 is greater than 0, Z1 is greater than Z2 and is less than 0, Y1 and Y2 are simultaneously greater than a second threshold, and Z1 and Z2 are simultaneously greater than a third threshold, determining that the current head motion signal of the user is a head-lowering signal;
and when X1 is equal to X2 is equal to 0, Y1 is less than Y2 is less than 0, Z1 is less than Z2 is less than 0, Y1 and Y2 are simultaneously greater than a second threshold, and Z1 and Z2 are simultaneously greater than a third threshold, determining that the current head motion signal of the user is a head raising signal.
6. A volume adjustment device, comprising:
the first acquisition module is used for acquiring an ambient noise signal outside the earphone;
the primary adjusting module is used for primarily adjusting the volume of the earphone according to the environment noise signal so as to obtain the volume adaptive to the external environment; superposing a preset decibel value on the decibel value of the environmental noise signal to serve as an initial tuning decibel value;
when the current decibel value of the earphone volume is larger than the initially adjusted decibel value, the current decibel value of the earphone volume is adjusted to be smaller than the initially adjusted decibel value; when the current decibel value of the earphone volume is smaller than the initial decibel value, the current decibel value of the earphone volume is initially adjusted to be larger than the initial decibel value; when the initial tuning decibel value is larger than the maximum volume decibel value of the earphone, the current decibel value of the earphone volume is initially adjusted to the maximum volume decibel value of the earphone;
the second acquisition module is used for acquiring the current coordinate value of the earphone by utilizing a first sensor arranged at the top of the head-wearing main body of the earphone and a second sensor arranged on the earphone module at one side of the earphone; if the displacement amounts of the current earphone coordinate values acquired by the first sensor and the second sensor in the X, Y, Z three directions reach a first threshold, a second threshold and a third threshold at the same time, acquiring a current user head action signal generated by the user head action according to the current earphone coordinate values acquired by the first sensor and the second sensor;
and the secondary adjusting module is used for carrying out secondary adjustment on the volume of the primarily adjusted earphone according to the current head action signal of the user so as to obtain the volume meeting the requirements of the user.
7. An earphone, comprising: the device comprises an environmental noise signal acquisition device, a user current head action signal acquisition device, a processor and a memory for storing a volume adjustment program;
the environment noise signal acquisition device is used for acquiring an external environment noise signal;
the user current head action signal acquisition device is used for acquiring a user current head action signal generated by the head action of the user;
the processor is configured to implement the steps of the volume adjustment method of any one of claims 1-5 when executing the volume adjustment program stored in the memory.
8. The headset of claim 7, further comprising: the earphone comprises a head-wearing main body (1) and two earphone modules (2); two earphone modules (2) set up respectively at the both ends of wearing main part (1), ambient noise signal collection system is microphone (20), microphone (20) are located on one of them earphone module (2), the current head action signal acquisition device of user is the sensor, the sensor is including setting up first sensor (11) at wearing main part (1) top and setting up second sensor (12) on one side earphone module (2).
CN201810981765.6A 2018-08-27 2018-08-27 Volume adjusting method and device and earphone Active CN108762716B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810981765.6A CN108762716B (en) 2018-08-27 2018-08-27 Volume adjusting method and device and earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810981765.6A CN108762716B (en) 2018-08-27 2018-08-27 Volume adjusting method and device and earphone

Publications (2)

Publication Number Publication Date
CN108762716A CN108762716A (en) 2018-11-06
CN108762716B true CN108762716B (en) 2021-07-23

Family

ID=63966937

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810981765.6A Active CN108762716B (en) 2018-08-27 2018-08-27 Volume adjusting method and device and earphone

Country Status (1)

Country Link
CN (1) CN108762716B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI716828B (en) * 2019-03-08 2021-01-21 美律實業股份有限公司 System and earphone related to transforming sensed data
CN110401772B (en) * 2019-07-22 2021-08-06 咪咕互动娱乐有限公司 Ringtone setting method, ringtone setting device, mobile terminal, and storage medium
CN112218203A (en) * 2020-11-03 2021-01-12 珠海格力电器股份有限公司 Earphone, earphone control method, earphone control device, and storage medium
CN113573203B (en) * 2021-09-26 2022-03-04 广州朗国电子科技股份有限公司 Control method of non-contact earphone, intelligent earphone and storage medium
CN117221781A (en) * 2023-10-23 2023-12-12 深圳市鑫科美达通讯有限公司 Intelligent earphone volume automatic adjusting method based on data analysis

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9344612B2 (en) * 2006-02-15 2016-05-17 Kenneth Ira Ritchey Non-interference field-of-view support apparatus for a panoramic facial sensor

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101552595B (en) * 2008-03-31 2011-12-07 联想(北京)有限公司 Electronic product volume regulating method and device thereof
US8875026B2 (en) * 2008-05-01 2014-10-28 International Business Machines Corporation Directed communication in a virtual environment
US9769556B2 (en) * 2012-02-22 2017-09-19 Snik Llc Magnetic earphones holder including receiving external ambient audio and transmitting to the earphones
US9461606B2 (en) * 2014-03-17 2016-10-04 Adaptive Sound Technologies, Inc. Systems and methods for automatic signal attenuation
CN104936063A (en) * 2015-06-13 2015-09-23 陈火 Bluetooth headset
CN105472497A (en) * 2015-12-07 2016-04-06 京东方科技集团股份有限公司 Headset control device, headset, wearable equipment and headset control method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9344612B2 (en) * 2006-02-15 2016-05-17 Kenneth Ira Ritchey Non-interference field-of-view support apparatus for a panoramic facial sensor

Also Published As

Publication number Publication date
CN108762716A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
CN108762716B (en) Volume adjusting method and device and earphone
KR102192361B1 (en) Method and apparatus for user interface by sensing head movement
KR102378762B1 (en) Directional sound modification
US8787584B2 (en) Audio metrics for head-related transfer function (HRTF) selection or adaptation
JP2020031444A (en) Operational change of companion communication device on the basis of state of wearable device
CN107708009B (en) Wireless earphone operation method and device, wireless earphone and storage medium
JP2017507550A5 (en)
CN110471180B (en) System with device mount audio mode
JP2018512816A (en) Head mounted electronic device
CN111294691B (en) Earphone, noise reduction method thereof and computer readable storage medium
CN109429132A (en) Earphone system
CN110175014B (en) Wireless earphone volume control method, system, wireless earphone and storage medium
US10922044B2 (en) Wearable audio device capability demonstration
CN112272342B (en) Automatic volume adjusting method and device, bluetooth headset and storage medium
CN111787452B (en) TWS earphone, TWS earphone control method, TWS earphone control device and computer readable storage medium
CN106302974B (en) information processing method and electronic equipment
CN113746983A (en) Hearing aid method and device, storage medium and intelligent terminal
KR102580521B1 (en) Electronic apparatus and method of adjusting sound volume thereof
US11487497B2 (en) Audio output device and method for controlling output speed of audio data thereof
KR102443637B1 (en) Electronic device for determining noise control parameter based on network connection inforiton and operating method thereof
US11039265B1 (en) Spatialized audio assignment
CN105282642A (en) Headphone and sound channel control method thereof
US20220122630A1 (en) Real-time augmented hearing platform
CN212749771U (en) Information processing system based on audio wearable equipment
US10923098B2 (en) Binaural recording-based demonstration of wearable audio device functions

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