CN102325216A - Mobile communication equipment and volume control method thereof - Google Patents

Mobile communication equipment and volume control method thereof Download PDF

Info

Publication number
CN102325216A
CN102325216A CN201110178332A CN201110178332A CN102325216A CN 102325216 A CN102325216 A CN 102325216A CN 201110178332 A CN201110178332 A CN 201110178332A CN 201110178332 A CN201110178332 A CN 201110178332A CN 102325216 A CN102325216 A CN 102325216A
Authority
CN
China
Prior art keywords
volume
headset mode
earpiece
group
audio types
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.)
Granted
Application number
CN201110178332A
Other languages
Chinese (zh)
Other versions
CN102325216B (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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201110178332.5A priority Critical patent/CN102325216B/en
Publication of CN102325216A publication Critical patent/CN102325216A/en
Priority to PCT/CN2012/076335 priority patent/WO2013000354A1/en
Application granted granted Critical
Publication of CN102325216B publication Critical patent/CN102325216B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • H04M1/6033Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
    • H04M1/6041Portable telephones adapted for handsfree use
    • H04M1/6058Portable telephones adapted for handsfree use involving the use of a headset accessory device connected to the portable telephone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • H04M1/6016Substation equipment, e.g. for use by subscribers including speech amplifiers in the receiver circuit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • H04M1/6033Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
    • H04M1/6041Portable telephones adapted for handsfree use
    • H04M1/605Portable telephones adapted for handsfree use involving control of the receiver volume to provide a dual operational mode at close or far distance from the user

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses mobile communication equipment and a volume control method thereof. The mobile communication equipment comprises a volume setting module, a volume control module and an earphone management module, wherein the volume setting module is connected with the volume control module and is used for setting the volume of different audio types in an earphone mode to be a first group of volume, and setting the volume of different audio types in a non-earphone mode to be a second group of volume; the earphone management module is connected with the volume control module and is used for detecting the earphone mode or the non-earphone mode; the volume control module is used for setting the volume of an application program to be the first group of volume in the earphone mode when the earphone mode is detected, and setting the volume of the application program to be the second group of volume in the non-earphone mode when the non-earphone mode is detected. By adopting the method, an optimum sound effect can be realized under different situations when an earphone is used or a loudspeaker is used, and hearing can be protected.

Description

A kind of mobile communication equipment and method for controlling volume thereof
Technical field
The present invention relates to field of mobile communication, particularly relate to a kind of mobile communication equipment and method for controlling volume thereof.
Background technology
Wireless telecommunications system has been not only a kind of communication apparatus as a kind of mobile device, also is a kind of mobile device that possesses multimedia function, and nowadays people also more and more pay close attention to the function beyond its communication when selecting product.With the mobile phone is example, such as, estimate a mobile phone OK, not only want the whether good communication function of testing mobile phone, also to test it and whether have strong multimedia processing capability, such as disposal ability video, audio frequency.
Wireless telecommunications system of today basically all has music and video playback capability, and the user also often uses earphone to carry out listening to of music.Yet volume parameters has only a cover on traditional wireless telecommunications system, and promptly all playback equipments use same volume value; This has just brought problem; Still be example, plug in the earphone when listening to music or listening to broadcast receiver, the excessive and injury sense of hearing of volume such as: user with the mobile phone.Because in the mobile phone use; Be in different environment and different audio broadcast mode (as at the outdoor loudspeaker plays sound that passes through), the user might adjust to multimedia volume very big, yet; When the user plugs in the earphone suddenly; Open music, video, the volume in the time of just may occurring using earphone to listen to is too big, thereby ear is damaged.When the user find earpiece volume very big after through the manual adjustments volume, listen to volume value to reach the earphone that a user is fit to, still, when the user pulls out earphone once more and uses mobile phone, because concert this moment might think that again volume is too little from loudspeaker plays.
Summary of the invention
The technical problem that the present invention mainly solves provides a kind of mobile communication equipment and method for controlling volume thereof, can also protect hearing using earphone or using the different situations of loud speaker to realize best audio.
For solving the problems of the technologies described above, the technical scheme that the embodiment of the invention adopts is: a kind of mobile communication equipment is provided, comprises: volume setting module, volume control module and earphone administration module; The volume setting module connects volume control module, and the volume of different audio types is first group of volume when being used to headset mode is set, and the volume of different audio types is second group of volume when non-headset mode is set; The earphone administration module connects volume control module, is used to detect headset mode or non-headset mode; Volume control module is used for when detecting headset mode, and the volume that application program is set is first group of volume under the headset mode, and when detecting non-headset mode, the volume that application program is set is second group of volume of non-headset mode.
Wherein, the earphone administration module comprises baseband chip, earphone chip, first resistance, second resistance, the 3rd resistance, the 4th resistance, first electric capacity and second electric capacity; Baseband chip comprises first port, second port, the 3rd port and baseband chip output; First port connects an end of first resistance, and second port connects an end of second resistance, and the 3rd port connects an end of the 3rd resistance; The earphone chip comprises L channel port and R channel port; The other end of first resistance connects the L channel port, and the other end of second resistance connects an end of first electric capacity, and the other end of the 3rd resistance connects an end of second electric capacity; The other end of first electric capacity connects the L channel port, and the other end of second electric capacity connects the R channel port; Connect first reference voltage end between second resistance and first electric capacity, connect second reference voltage end between the 3rd resistance and second electric capacity; The 4th resistance one end connects the L channel port, and the other end connects the 3rd reference voltage end; Said volume control module comprises the volume control module input, and the baseband chip output connects the volume control module input.
Wherein, audio types comprises the tinkle of bells, alarm clock and multimedia at least; First group of volume comprises first ringing volume, the first alarm clock volume and the first multimedia volume at least; Second group of volume comprises second ringing volume, the second alarm clock volume and the second multimedia volume at least.
Wherein, The volume setting module comprises first memory cell and second memory cell; Volume control module also comprises first link and second link, and first memory cell connects first link, and second memory cell connects second link; First memory cell is used to store first group of volume, and second memory cell is used to store second group of volume.
Wherein, volume control module also is used for, and detects audio types; And earpiece volume or non-earpiece volume is set according to audio types, concrete: during headset mode, when audio types is the tinkle of bells; It is earpiece volume that first ringing volume is set, and when perhaps audio types was alarm clock, it was earpiece volume that the first alarm clock volume is set; When perhaps audio types was multimedia, it was earpiece volume that the first multimedia volume is set; During non-headset mode, when audio types was the tinkle of bells, it was non-earpiece volume that second ringing volume is set; When perhaps audio types is alarm clock; It is non-earpiece volume that the second alarm clock volume is set, and when perhaps audio types was multimedia, it was non-earpiece volume that the second multimedia volume is set.
Wherein, volume control module comprises the 3rd memory cell, and the 3rd memory cell is used to store earpiece volume, perhaps is used to store non-earpiece volume.
For solving the problems of the technologies described above; Another technical scheme that the embodiment of the invention adopts is: the method for controlling volume that a kind of mobile communication equipment is provided; Dissimilar volumes is first group of volume when comprising the steps: headset mode is set, and the volume when non-headset mode is set is second group of volume; Detect mobile communication equipment and be that to be in headset mode also be non-headset mode; When detecting headset mode, the volume that application program is set is first group of volume under the headset mode, and when detecting non-headset mode, the volume that application program is set is second group of volume of non-headset mode.
Wherein, dissimilar volumes is first group of volume when headset mode is set, and the volume when non-headset mode is set is in the step of second group of volume, comprising: store first group of volume and store second group of volume.
Wherein, when basis detected headset mode, the volume that application program is set was first group of volume under the headset mode; When detecting non-headset mode, the volume that application program is set is in the step of second group of volume of non-headset mode, comprising: detect audio types; And earpiece volume or non-earpiece volume is set according to audio types, concrete: during headset mode, when audio types is the tinkle of bells; It is earpiece volume that first ringing volume is set, and when perhaps audio types was alarm clock, it was earpiece volume that the first alarm clock volume is set; When perhaps audio types was multimedia, it was earpiece volume that the first multimedia volume is set; During non-headset mode, when audio types was the tinkle of bells, it was non-earpiece volume that second ringing volume is set; When perhaps audio types is alarm clock; It is non-earpiece volume that the second alarm clock volume is set, and when perhaps audio types was multimedia, it was non-earpiece volume that the second multimedia volume is set.
Wherein, detecting audio types, and earpiece volume is set or is being provided with after the step of non-earpiece volume, comprising according to audio types: the storage earpiece volume, perhaps store non-earpiece volume.
The invention has the beneficial effects as follows: perhaps directly use loud speaker to carry out the adjusting of volume when being different from prior art mobile communication terminal insertion earphone; But the situation that the volume that can not be directed against dissimilar audio or videos is play; The volume of different audio types was first group of volume when the embodiment of the invention was provided with headset mode through the volume setting module; And the volume of different audio types is second group of volume when non-headset mode is set; Volume setting with application program when detecting headset mode is first group of volume under the headset mode, and when detecting non-headset mode, the volume that application program is set is second group of volume of non-headset mode; Can under different playing environments, realize best audio, protection hearing.
Description of drawings
Fig. 1 is the structural representation of mobile communication equipment first embodiment of the present invention;
Fig. 2 is the circuit diagram of earphone administration module shown in Figure 1;
Fig. 3 is the flow chart of method for controlling volume first embodiment of mobile communication equipment of the present invention;
Fig. 4 is the first pass figure of method for controlling volume first embodiment of mobile communication equipment of the present invention;
Fig. 5 is second flow chart of method for controlling volume first embodiment of mobile communication equipment of the present invention;
Fig. 6 is the 3rd flow chart of method for controlling volume first embodiment of mobile communication equipment of the present invention;
Fig. 7 is the 4th flow chart of method for controlling volume first embodiment of mobile communication equipment of the present invention.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is elaborated.
Consult Fig. 1, Fig. 1 is the structural representation of mobile communication equipment first embodiment of the present invention.This mobile communication equipment comprises: volume setting module 10, volume control module 11 and earphone administration module 12.
Volume setting module 10 connects volume control module 11, and the volume of different audio types is first group of volume when being used to headset mode is set, and the volume of different audio types is second group of volume when non-headset mode is set.
Earphone administration module 12 connects volume control module 11, is used to detect headset mode or non-headset mode.
Volume control module 11 is used for when detecting headset mode, and the volume that application program is set is first group of volume under the headset mode, and when detecting non-headset mode, the volume that application program is set is second group of volume of non-headset mode.
Please continue to consult Fig. 2, Fig. 2 is the circuit diagram of earphone administration module shown in Figure 1.This earphone administration module 12 comprises: baseband chip 121, earphone chip 122, first resistance 123, second resistance 124, the 3rd resistance 125, the 4th resistance 126, first electric capacity 127 and second electric capacity 128.
Baseband chip 121 comprises first port one 211, second port one 212, the 3rd port one 213 and baseband chip output (figure does not show).
First port one 211 connects an end of first resistance 123, and second port one 212 connects an end of second resistance 124, and the 3rd port one 213 connects an end of the 3rd resistance 125.
Earphone chip 122 comprises L channel port one 221 and R channel port one 222.
The other end of other end connection L channel port one 221, the second resistance 124 of first resistance 123 connects an end of first electric capacity 127, and the other end of the 3rd resistance 125 connects an end of second electric capacity 128.
The other end that the other end of first electric capacity 127 connects L channel port one 221, the second electric capacity 128 connects R channel port one 222.
Connect first reference voltage end between second resistance 124 and first electric capacity 127, connect second reference voltage end between the 3rd resistance 125 and second electric capacity 128.
The 4th resistance 126 1 ends connect L channel port one 221, and the other end connects the 3rd reference voltage end.
Volume control module 11 comprises volume control module input (figure does not show), and the baseband chip output connects the volume control module input.
In embodiments of the present invention; The volume of different audio types is first group of volume when through the volume setting module headset mode being set, and the volume of different audio types is second group of volume when non-headset mode is set, and the volume setting with application program when detecting headset mode is first group of volume under the headset mode; When detecting non-headset mode; The volume that application program is set is second group of volume of non-headset mode, can under different playing environments, realize best audio, protection hearing.
In another execution mode of the present invention, audio types comprises the tinkle of bells, alarm clock and multimedia at least; First group of volume comprises first ringing volume, the first alarm clock volume and the first multimedia volume at least; Second group of volume comprises second ringing volume, the second alarm clock volume and the second multimedia volume at least.Certainly, this audio types can also be the audio frequency of other type, gives unnecessary details no longer one by one here.
In another execution mode of the present invention, volume control module 11 also is used for, and detects audio types; And earpiece volume is set or non-earpiece volume is set according to audio types; Concrete: when earphone administration module 12 detected this wireless telecommunications system and is in headset mode, when audio types was the tinkle of bells, it was earpiece volume that first ringing volume is set; When perhaps audio types is alarm clock; It is earpiece volume that the first alarm clock volume is set, and when perhaps audio types was multimedia, it was earpiece volume that the first multimedia volume is set.
When earphone administration module 12 detects the non-headset mode of this wireless telecommunications system; When audio types is the tinkle of bells; It is non-earpiece volume that second ringing volume is set, and when perhaps audio types was alarm clock, it was non-earpiece volume that the second alarm clock volume is set; When perhaps audio types was multimedia, it was non-earpiece volume that the second multimedia volume is set.
The operation principle of mobile communication equipment first embodiment of the present invention is following:
(1) earphone state-detection, continue to consult Fig. 2:
12 management of earphone administration module also detect the earphone state; When earphone inserts mobile communication equipment, can produce a hardware interrupts, in the hardware circuit can through a hardware limb as: the GPIO angle is detected earphone and is inserted state; When earphone inserts; Produce high level on the angle on this hardware pin, when earphone is extracted, produce low level on this PIN angle; When on detecting the PIN angle, producing the level variation, promptly produced hardware interrupts.Have no progeny during baseband chip 121 receives, judge the type of interrupting.When finding is the insertion interrupt signal of earphone; Then call the relevant treatment function of hardware interrupts; Notice earphone administration module 12 earphones insert in the Interrupt Process function, and the variable (boolean current_headset_on) that will write down the earphone state is changed to " TRUE "; When earphone is extracted from mobile communication equipment; Also can produce a hardware interrupts, baseband chip 121 is had no progeny in receiving, judges the type of interrupting; Discovery is the interrupt signal of extracting of earphone; Then call the relevant treatment function of hardware interrupts, notice earphone administration module 12 earphones are extracted in the Interrupt Process function that earphone is extracted, and the variable that will write down the earphone state is changed to " FALSE ".
When the earphone state changes; As when earphone inserts mobile communication equipment; Earphone administration module 12 notice volume control modules 11 carry out the differentiation and the setting of volume type, and promptly when earphone inserted, notice volume control module 11 switched to " headset mode " with current volume type; When earphone was extracted, notice volume control module 11 switched to " non-headset mode " with current volume type.
(2) control of volume type:
Volume setting module 10 comprises the setting option of a plurality of volumes; In the setting option of volume, there is different audio types to need volume setting on the tradition mobile communication equipment, comprises: the tinkle of bells, alarm clock, multimedia etc.; These volumes are stored in the file system of mobile communication equipment with the structure mode; After volume setting, this volume structure can be stored in the middle of the corresponding position of the file system of mobile communication equipment, to guarantee the preserving value that the user is provided with after mobile communication equipment cuts out.Simultaneously, during audio plays, use these volumes for ease; The system of mobile communication equipment can read the volume structure in the internal memory when opening initialization, and assignment is given a structure variable (struct audio_volum_info Audio_Level); In the use of mobile communication equipment; After the user reset volume, this structure variable also can upgrade in time, with reach with the user be provided with preserve consistent.
This volume structure is in order to reach the independence of earpiece volume setting and other broadcast modes; And be added in the file system of mobile communication equipment; What preserve in this volume structure is the volume value corresponding to earphone; Be different audio types, like the tinkle of bells, alarm clock, multimedia, the volume of when headset mode, playing.Like this, two volume structures of preserving volume values will be arranged in this document system, one is the volume value corresponding to non-earphone, like speaker volume, i.e. and " non-headset mode " volume, another is the volume value corresponding to earphone, i.e. " headset mode " volume.When earphone is inserted on the mobile communication equipment, use earpiece volume, when earphone is not inserted on the mobile communication equipment, use non-earpiece volume, thereby accomplished the separation that the volume type is provided with preservation.
In the volume control module in order to distinguish this two kinds of volume types of service; Use an enumeration type variable to indicate current volume classification (ENUM_AUDIO_TYPE current_aduio_type); This variate-value upgrades when the earphone state changes, and promptly the earphone module is after earphone inserts mobile phone, and notice volume control module 11 these variate-values are set to earpiece volume; After the earphone module detected earphone and extracts, notice volume control module 11 these variablees were set to non-earpiece volume.
Mobile communication equipment can read current volume value in the structure variable (struct audio_volum_info Audio_Level) corresponding in the internal memory when starting from the file system of mobile communication equipment, use when the broadcast sound volume with convenient.During mobile communication equipment opening initialization volume variable; At first judge the earphone state; Promptly obtain the state of current earphone through the earphone state variable (boolean current_headset_on) in the earphone administration module 12; If the earphone state is to insert mobile communication equipment; (ENUM_AUDIO_TYPE current_aduio_type) is changed to " headset mode " with the current volume type, and reads earpiece volume value corresponding in the file system, and the earpiece volume value is composed in the volume structure (struct audio_volum_info Audio_Level); If the earphone state is not insert mobile communication equipment; (ENUM_AUDIO_TYPE current_aduio_type) is changed to " non-headset mode " with the current volume type; And read non-earpiece volume value corresponding in the file system, and non-earpiece volume value is composed in the structure (struct audio_volum_info Audio_Level) to volume.Like this, after mobile communication equipment starts, the volume status that is shown in the setting option just with the current earphone state consistency: when earphone was being inserted, what user interface showed in the setting option was the volume of the different audio types of headset mode; When not having earphone to insert, what shown in the setting option user interface is the volume of the different audio types of non-headset mode; And when mobile communication equipment plays sound at needs, employed volume value also with the earphone state consistency, such as: when earphone inserted, the broadcast sound volume value was an earpiece volume; When not having earphone to insert, the volume value of broadcast is non-earpiece volume (like a speaker volume).
Volume structure under the above-mentioned headset mode is defined as first group of volume, and the volume structure under the non-headset mode is defined as second group of volume.
In another embodiment of the present invention; Volume setting module 10 comprises first memory cell (figure does not show) and second memory cell (figure does not show); Volume control unit 11 also comprises first link (figure does not show) and second link (figure does not show), and first memory cell connects first link, and second memory cell connects second link; First memory cell is used to store first group of volume, and second memory cell is used to store second group of volume.
Volume control module 11 comprises the 3rd memory cell (figure does not show), and the 3rd memory cell is used to store earpiece volume, perhaps is used to store non-earpiece volume.
In embodiments of the present invention, first group of volume in the time of can storing headset mode through increasing first, second memory cell, and increase by the 3rd memory cell; When detecting headset mode, the storage earpiece volume is when detecting non-headset mode; Store non-earpiece volume, convenient storage.
Consult Fig. 3, Fig. 3 is the flow chart of method for controlling volume first embodiment of mobile communication equipment of the present invention.This control method comprises the steps:
Step S1, dissimilar volumes was first group of volume when headset mode was set, the volume when non-headset mode is set is second group of volume.
Step S2 detects mobile communication equipment and is that to be in headset mode also be non-headset mode.
Step S3, when detecting headset mode, the volume that application program is set is first group of volume under the headset mode, when detecting non-headset mode, the volume that application program is set is second group of volume of non-headset mode.
In embodiments of the present invention; The volume of different audio types is first group of volume when headset mode is set, and the volume of different audio types is second group of volume when non-headset mode is set, and is first group of volume under the headset mode with the volume setting of application program when detecting headset mode; When detecting non-headset mode; The volume that application program is set is second group of volume of non-headset mode, can under different playing environments, realize best audio, protection hearing.
In another execution mode of the present invention, in above-mentioned steps S1, comprising: store first group of volume and store said second group of volume.
In another execution mode of the present invention, in above-mentioned steps S3, comprising: detect audio types, and earpiece volume is set or non-earpiece volume is set according to audio types.
Concrete: when detecting mobile communication equipment and be in headset mode; And when the frequency type of the current broadcast of sound is the tinkle of bells; It is earpiece volume that first ringing volume is set, and when perhaps current audio plays type was alarm clock, it was earpiece volume that the first alarm clock volume is set; When perhaps current audio plays type was multimedia, it was earpiece volume that the first multimedia volume is set; When detecting mobile communication equipment and be in non-headset mode; When current audio plays type is the tinkle of bells; It is non-earpiece volume that second ringing volume is set, and when perhaps current audio plays type was alarm clock, it was non-earpiece volume that the second alarm clock volume is set; When perhaps current audio plays type was multimedia, it was non-earpiece volume that the second multimedia volume is set.
Generally speaking, when headset mode or non-headset mode, the current audio plays type of acquiescence is a tinkle of bells.Certainly, the default audio type can be set on demand.
In another execution mode of the present invention, detecting audio types, and earpiece volume is set or is being provided with after the step of non-earpiece volume according to audio types, comprising: the storage earpiece volume, perhaps store non-earpiece volume.
Consult Fig. 4 and Fig. 5, Fig. 4 is the first pass figure of method for controlling volume first embodiment of mobile communication equipment of the present invention, and Fig. 5 is second flow chart of method for controlling volume first embodiment of mobile communication equipment of the present invention.
In the use of mobile communication equipment, when the earphone state changes, insert earphone like mobile communication equipment; The earphone administration module obtains the earphone state; And the earphone state variable of correspondence is changed to " TRUE ", simultaneously, the notice volume control module upgrades the volume type.After volume control module learns that the earphone state changes; (ENUM_AUDIO_TYPE current_aduio_type) is changed to " headset mode " with current volume type; And in the volume setting item update displayed and volume value variable; Promptly read the value that earpiece volume corresponding in the file system is preserved; Earpiece volume value with reading is composed to volume variable (struct audio_volum_info Audio_Level), and refreshes the state that shows about volume in the setting option, uses new volume value to show.Like this, the volume value in the setting option is adjusted into the earpiece volume value automatically, i.e. the volume value state of user interface demonstration is the earpiece volume state, and simultaneously, when mobile communication equipment played sound at needs, the volume value that is used also was adjusted into earpiece volume; When earphone when mobile communication equipment is extracted, the earphone administration module has obtained the earphone state, and the earphone state variable of correspondence is changed to " FALSE ", simultaneously, the notice volume control module upgrades the volume type.After volume control module learns that the earphone state changes; (ENUM_AUDIO_TYPE current_aduio_type) is changed to " non-headset mode " with current volume type; And in the volume setting module update displayed and upgrade the volume value variable; Promptly read the value that earpiece volume corresponding in the file system is preserved; Earpiece volume value with reading is composed to volume variable (struct audio_volum_info Audio_Level), and refreshes the state that shows about volume in the volume setting module, uses new volume value to show.Like this, the volume value in the volume setting module is adjusted into non-earpiece volume automatically, i.e. the volume value state of user interface demonstration is non-earpiece volume state, and simultaneously, when mobile communication equipment played sound at needs, the volume value that is used also was adjusted into non-earpiece volume.
Through of the detection of headset detection module to earphone; And after finding that the earphone state changes; The notice volume control module carries out the switching of volume type; Thereby the demonstration of volume and mobile communication equipment use in the assurance mobile communication equipment volume variate-value and presently used equipment have kept unanimity like the state of earphone, loud speaker etc.
Consult Fig. 6, Fig. 6 is the 3rd flow chart of method for controlling volume first embodiment of mobile communication equipment of the present invention.
The user is when regulating volume; No matter be to regulate or directly regulate button and regulate through volume through the volume setting module; Volume control module at first then obtains the audio types of current adjustment; Like alarm clock, the tinkle of bells, multimedia, if adjust through the user interface in the volume setting module, user interface has corresponding setting option corresponding to the different audio type in the volume setting module; If regulating button through volume regulates; Then according to the current type that plays sound; If there is not sound playing, then be to regulate ringing volume under the default situations, then the action that is provided with the user is converted into volume value; As when the user increases volume through button; The every button of user once just adds a grade point (as being added to 60% from 50%), the demonstration that refreshes volume in the volume setting module according to new volume value with value corresponding in the current volume structure variable; And new volume value is saved in according to current volume type (ENUM_AUDIO_TYPE current_aduio_type) in the volume structure of the correspondence in the file system of mobile communication equipment, promptly upgraded the volume settings of the type.
Consult Fig. 7, Fig. 7 is the 4th flow chart of method for controlling volume first embodiment of mobile communication equipment of the present invention.
At first, obtain the analog value in the system sound volume structure, as when broadcasting the incoming ring tone music, obtain incoming ring tone volume value in the volume structure according to the current type that plays sound; Then, according to the current volume type, in corresponding apparatus, play sound with the volume value that obtains.
In the foregoing description, the volume structure under the headset mode is defined as first group of volume, and the volume structure under the non-headset mode is defined as second group of volume.
Earphone in the foregoing description refers generally to wired earphone, certainly, wireless headset, for example bluetooth earphone also is suitable for the method for the embodiment of the invention, gives unnecessary details no longer one by one here.
More than be merely embodiments of the invention; Be not so limit claim of the present invention; Every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to be done; Or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (10)

1. a mobile communication equipment is characterized in that, comprising:
Volume setting module, volume control module and earphone administration module;
Said volume setting module connects said volume control module, and the volume of different audio types is first group of volume when being used to headset mode is set, and the volume of different audio types is second group of volume when non-headset mode is set;
Said earphone administration module connects said volume control module, is used to detect headset mode or non-headset mode;
Said volume control module; Be used for when detecting said headset mode; The volume that application program is set is first group of volume under the said headset mode, and when detecting said non-headset mode, the volume that application program is set is second group of volume of non-headset mode.
2. equipment according to claim 1 is characterized in that,
Said earphone administration module comprises baseband chip, earphone chip, first resistance, second resistance, the 3rd resistance, the 4th resistance, first electric capacity and second electric capacity;
Said baseband chip comprises first port, second port, the 3rd port and baseband chip output;
Said first port connects an end of said first resistance, and said second port connects an end of said second resistance, and said the 3rd port connects an end of said the 3rd resistance;
Said earphone chip comprises L channel port and R channel port;
The other end of said first resistance connects said L channel port, and the other end of said second resistance connects an end of said first electric capacity, and the other end of said the 3rd resistance connects an end of said second electric capacity;
The other end of said first electric capacity connects said L channel port, and the other end of said second electric capacity connects said R channel port;
Connect first reference voltage end between said second resistance and said first electric capacity, connect second reference voltage end between said the 3rd resistance and said second electric capacity;
Said the 4th resistance one end connects said L channel port, and the other end connects the 3rd reference voltage end;
Said volume control module comprises the volume control module input, and said baseband chip output connects said volume control module input.
3. equipment according to claim 1 is characterized in that,
Said audio types comprises the tinkle of bells, alarm clock and multimedia at least;
Said first group of volume comprises first ringing volume, the first alarm clock volume and the first multimedia volume at least;
Said second group of volume comprises second ringing volume, the second alarm clock volume and the second multimedia volume at least.
4. equipment according to claim 1; It is characterized in that said volume setting module comprises first memory cell and second memory cell, said volume control module also comprises first link and second link; Said first memory cell connects said first link; Said second memory cell connects second link, and said first memory cell is used to store said first group of volume, and said second memory cell is used to store said second group of volume.
5. equipment according to claim 4 is characterized in that said volume control module also is used for; Detect said audio types, and earpiece volume is set or non-earpiece volume is set according to said audio types, concrete: during headset mode; When said audio types is the tinkle of bells; It is earpiece volume that first ringing volume is set, and when perhaps said audio types was alarm clock, it was earpiece volume that the first alarm clock volume is set; When perhaps said audio types was multimedia, it was earpiece volume that the first multimedia volume is set; During non-headset mode, when said audio types was the tinkle of bells, it was non-earpiece volume that second ringing volume is set; When perhaps said audio types is alarm clock; It is non-earpiece volume that the second alarm clock volume is set, and when perhaps said audio types was multimedia, it was non-earpiece volume that the second multimedia volume is set.
6. equipment according to claim 4 is characterized in that said volume control module comprises the 3rd memory cell, and said the 3rd memory cell is used to store said earpiece volume, perhaps is used to store said non-earpiece volume.
7. the method for controlling volume of a mobile communication equipment is characterized in that, comprises the steps:
Dissimilar volumes was first group of volume when headset mode was set, and the volume when non-headset mode is set is second group of volume;
Detect mobile communication equipment and be that to be in headset mode also be non-headset mode;
When detecting said headset mode, the volume that application program is set is first group of volume under the said headset mode, and when detecting said non-headset mode, the volume that application program is set is second group of volume of non-headset mode.
8. method according to claim 7; It is characterized in that; Said when headset mode is set dissimilar volumes be first group of volume, the volume when non-headset mode is set is in the step of second group of volume, comprising: store said first group of volume and store said second group of volume.
9. method according to claim 8 is characterized in that, when said basis detects said headset mode; The volume that application program is set is first group of volume under the said headset mode, and when detecting said non-headset mode, the volume that application program is set is in the step of second group of volume of non-headset mode; Comprise: detect said audio types, and earpiece volume is set or non-earpiece volume is set according to said audio types, concrete: during headset mode; When said audio types is the tinkle of bells; It is earpiece volume that first ringing volume is set, and when perhaps said audio types was alarm clock, it was earpiece volume that the first alarm clock volume is set; When perhaps said audio types was multimedia, it was earpiece volume that the first multimedia volume is set; During non-headset mode, when said audio types was the tinkle of bells, it was non-earpiece volume that second ringing volume is set; When perhaps said audio types is alarm clock; It is non-earpiece volume that the second alarm clock volume is set, and when perhaps said audio types was multimedia, it was non-earpiece volume that the second multimedia volume is set.
10. method according to claim 9; It is characterized in that,, and earpiece volume is set or is provided with after the step of non-earpiece volume according to said audio types in the said audio types of said detection; Comprise: store said earpiece volume, perhaps store said non-earpiece volume.
CN201110178332.5A 2011-06-29 2011-06-29 Mobile communication equipment and volume control method thereof Active CN102325216B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110178332.5A CN102325216B (en) 2011-06-29 2011-06-29 Mobile communication equipment and volume control method thereof
PCT/CN2012/076335 WO2013000354A1 (en) 2011-06-29 2012-05-31 Mobile communication device and volume control method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110178332.5A CN102325216B (en) 2011-06-29 2011-06-29 Mobile communication equipment and volume control method thereof

Publications (2)

Publication Number Publication Date
CN102325216A true CN102325216A (en) 2012-01-18
CN102325216B CN102325216B (en) 2015-07-15

Family

ID=45452884

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110178332.5A Active CN102325216B (en) 2011-06-29 2011-06-29 Mobile communication equipment and volume control method thereof

Country Status (2)

Country Link
CN (1) CN102325216B (en)
WO (1) WO2013000354A1 (en)

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102623041A (en) * 2012-04-05 2012-08-01 福兴达科技实业(深圳)有限公司 Music player and method for automatically adjusting audio output of music player
WO2013000354A1 (en) * 2011-06-29 2013-01-03 惠州Tcl移动通信有限公司 Mobile communication device and volume control method therefor
CN102915751A (en) * 2012-09-26 2013-02-06 广东欧珀移动通信有限公司 Method for automatically regulating sound volume and terminal equipment thereof
CN103106060A (en) * 2013-02-04 2013-05-15 苏州三星电子电脑有限公司 Computer volume adjustment method
CN103377674A (en) * 2012-04-16 2013-10-30 富泰华工业(深圳)有限公司 Audio player and control method thereof
CN103544958A (en) * 2013-11-04 2014-01-29 深圳Tcl新技术有限公司 Method and device for controlling voice-frequency howling during switching of voice-frequency output
CN103813235A (en) * 2012-11-13 2014-05-21 联想(北京)有限公司 Information processing method and device
CN103986813A (en) * 2014-05-26 2014-08-13 深圳市中兴移动通信有限公司 Volume setting method and mobile terminal
CN104009724A (en) * 2014-05-15 2014-08-27 广东欧珀移动通信有限公司 Blue-ray player and volume control method and device thereof
CN104581515A (en) * 2013-10-15 2015-04-29 联想(北京)有限公司 Audio playing device and method as well as mobile terminal
CN105099383A (en) * 2014-05-12 2015-11-25 联想(北京)有限公司 Information processing method and electronic equipment
CN105430569A (en) * 2015-12-31 2016-03-23 宇龙计算机通信科技(深圳)有限公司 Playing method, playing device and terminal
CN105787027A (en) * 2016-02-24 2016-07-20 广东欧珀移动通信有限公司 Audio file playing method and terminal
CN105828231A (en) * 2016-03-31 2016-08-03 乐视控股(北京)有限公司 Earphone volume control method and apparatus, and terminal device
CN105827849A (en) * 2016-04-28 2016-08-03 维沃移动通信有限公司 Method for adjusting sound effect and mobile terminal
CN106027809A (en) * 2016-07-27 2016-10-12 维沃移动通信有限公司 Volume adjusting method and mobile terminal
CN106060261A (en) * 2016-06-22 2016-10-26 努比亚技术有限公司 Audio playing device and method
CN106131302A (en) * 2016-06-15 2016-11-16 乐视控股(北京)有限公司 Audio play control method
CN106303830A (en) * 2016-09-12 2017-01-04 北京小米移动软件有限公司 Volume adjusting method and device
CN106331356A (en) * 2016-08-29 2017-01-11 广东欧珀移动通信有限公司 Volume control method and terminal
CN106454644A (en) * 2016-09-30 2017-02-22 北京小米移动软件有限公司 Audio playing method and device
CN106817495A (en) * 2017-02-21 2017-06-09 广东欧珀移动通信有限公司 Mobile terminal message processing method, device and mobile terminal
CN106953972A (en) * 2017-03-15 2017-07-14 上海青橙实业有限公司 Mobile terminal and the method and system for adjusting audio file broadcast sound volume
CN107147767A (en) * 2017-06-30 2017-09-08 广东欧珀移动通信有限公司 In Call control method, device, storage medium and terminal
CN107231473A (en) * 2017-05-23 2017-10-03 努比亚技术有限公司 A kind of audio output regulation and control method, equipment and computer-readable recording medium
CN109032729A (en) * 2018-07-04 2018-12-18 Oppo(重庆)智能科技有限公司 Mobile terminal and its method for preventing the page from refreshing automatically, storage medium
CN109068205A (en) * 2018-06-05 2018-12-21 四川斐讯信息技术有限公司 A method of it is controllable using the time using time controllable earphone and earphone
CN109168100A (en) * 2018-10-09 2019-01-08 歌尔股份有限公司 A kind of adjusting method of earphone and earpiece volume
CN109361969A (en) * 2018-10-29 2019-02-19 歌尔科技有限公司 A kind of audio frequency apparatus and its volume adjusting method, device, equipment, medium
CN109375894A (en) * 2018-11-29 2019-02-22 努比亚技术有限公司 Earpiece volume based reminding method, device, mobile terminal and readable storage medium storing program for executing
CN111107226A (en) * 2019-12-27 2020-05-05 珠海市魅族科技有限公司 Volume control method applied to mobile terminal
CN111510784A (en) * 2020-03-23 2020-08-07 宇龙计算机通信科技(深圳)有限公司 Video switching method and device, storage medium and terminal
CN113411707A (en) * 2021-06-17 2021-09-17 歌尔智能科技有限公司 Auxiliary listening earphone, control method, device and system thereof, and readable medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617546A (en) * 2003-11-14 2005-05-18 乐金电子(中国)研究开发中心有限公司 Tune volume regulating device and method for mobile communication terminal
CN2726214Y (en) * 2004-06-10 2005-09-14 瑞轩科技股份有限公司 Sound player with volume control module
US20070026844A1 (en) * 2005-06-01 2007-02-01 Casio Hitachi Mobile Communications Co., Ltd. Sound outputting apparatus and sound outputting method
CN101569093A (en) * 2006-12-21 2009-10-28 摩托罗拉公司 Dynamically learning a user's response via user-preferred audio settings in response to different noise environments
CN101610440A (en) * 2008-06-19 2009-12-23 鸿富锦精密工业(深圳)有限公司 Electronic installation
CN101917659A (en) * 2010-07-23 2010-12-15 惠州Tcl移动通信有限公司 Detection device, method and mobile terminal of earphone circuit

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080247570A1 (en) * 2007-04-03 2008-10-09 Giga-Byte Technology Co., Ltd. Sound output device with earphone mode and speaker mode
CN102325216B (en) * 2011-06-29 2015-07-15 惠州Tcl移动通信有限公司 Mobile communication equipment and volume control method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617546A (en) * 2003-11-14 2005-05-18 乐金电子(中国)研究开发中心有限公司 Tune volume regulating device and method for mobile communication terminal
CN2726214Y (en) * 2004-06-10 2005-09-14 瑞轩科技股份有限公司 Sound player with volume control module
US20070026844A1 (en) * 2005-06-01 2007-02-01 Casio Hitachi Mobile Communications Co., Ltd. Sound outputting apparatus and sound outputting method
CN101569093A (en) * 2006-12-21 2009-10-28 摩托罗拉公司 Dynamically learning a user's response via user-preferred audio settings in response to different noise environments
CN101610440A (en) * 2008-06-19 2009-12-23 鸿富锦精密工业(深圳)有限公司 Electronic installation
CN101917659A (en) * 2010-07-23 2010-12-15 惠州Tcl移动通信有限公司 Detection device, method and mobile terminal of earphone circuit

Cited By (42)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013000354A1 (en) * 2011-06-29 2013-01-03 惠州Tcl移动通信有限公司 Mobile communication device and volume control method therefor
CN102623041A (en) * 2012-04-05 2012-08-01 福兴达科技实业(深圳)有限公司 Music player and method for automatically adjusting audio output of music player
CN103377674B (en) * 2012-04-16 2017-09-19 富泰华工业(深圳)有限公司 Audio playing apparatus and its control method
CN103377674A (en) * 2012-04-16 2013-10-30 富泰华工业(深圳)有限公司 Audio player and control method thereof
CN102915751A (en) * 2012-09-26 2013-02-06 广东欧珀移动通信有限公司 Method for automatically regulating sound volume and terminal equipment thereof
CN103813235B (en) * 2012-11-13 2018-04-27 联想(北京)有限公司 A kind of method and device of information processing
CN103813235A (en) * 2012-11-13 2014-05-21 联想(北京)有限公司 Information processing method and device
CN103106060A (en) * 2013-02-04 2013-05-15 苏州三星电子电脑有限公司 Computer volume adjustment method
CN104581515A (en) * 2013-10-15 2015-04-29 联想(北京)有限公司 Audio playing device and method as well as mobile terminal
CN104581515B (en) * 2013-10-15 2018-12-18 联想(北京)有限公司 A kind of audio playing apparatus, method and mobile terminal
CN103544958A (en) * 2013-11-04 2014-01-29 深圳Tcl新技术有限公司 Method and device for controlling voice-frequency howling during switching of voice-frequency output
CN105099383A (en) * 2014-05-12 2015-11-25 联想(北京)有限公司 Information processing method and electronic equipment
CN105099383B (en) * 2014-05-12 2018-06-26 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN104009724A (en) * 2014-05-15 2014-08-27 广东欧珀移动通信有限公司 Blue-ray player and volume control method and device thereof
CN104009724B (en) * 2014-05-15 2017-08-29 广东欧珀移动通信有限公司 Blu-ray player and its method for controlling volume and device
CN103986813A (en) * 2014-05-26 2014-08-13 深圳市中兴移动通信有限公司 Volume setting method and mobile terminal
CN105430569A (en) * 2015-12-31 2016-03-23 宇龙计算机通信科技(深圳)有限公司 Playing method, playing device and terminal
CN105787027A (en) * 2016-02-24 2016-07-20 广东欧珀移动通信有限公司 Audio file playing method and terminal
CN105828231A (en) * 2016-03-31 2016-08-03 乐视控股(北京)有限公司 Earphone volume control method and apparatus, and terminal device
CN105827849A (en) * 2016-04-28 2016-08-03 维沃移动通信有限公司 Method for adjusting sound effect and mobile terminal
CN106131302A (en) * 2016-06-15 2016-11-16 乐视控股(北京)有限公司 Audio play control method
CN106060261A (en) * 2016-06-22 2016-10-26 努比亚技术有限公司 Audio playing device and method
CN106027809B (en) * 2016-07-27 2019-08-20 维沃移动通信有限公司 A kind of adjusting method and mobile terminal of volume
CN106027809A (en) * 2016-07-27 2016-10-12 维沃移动通信有限公司 Volume adjusting method and mobile terminal
CN106331356A (en) * 2016-08-29 2017-01-11 广东欧珀移动通信有限公司 Volume control method and terminal
CN106303830A (en) * 2016-09-12 2017-01-04 北京小米移动软件有限公司 Volume adjusting method and device
CN106454644A (en) * 2016-09-30 2017-02-22 北京小米移动软件有限公司 Audio playing method and device
CN106817495B (en) * 2017-02-21 2019-07-23 Oppo广东移动通信有限公司 Mobile terminal message processing method, device and mobile terminal
CN106817495A (en) * 2017-02-21 2017-06-09 广东欧珀移动通信有限公司 Mobile terminal message processing method, device and mobile terminal
CN106953972A (en) * 2017-03-15 2017-07-14 上海青橙实业有限公司 Mobile terminal and the method and system for adjusting audio file broadcast sound volume
CN106953972B (en) * 2017-03-15 2020-02-18 上海青橙实业有限公司 Mobile terminal and method and system for adjusting playing volume of audio file
CN107231473A (en) * 2017-05-23 2017-10-03 努比亚技术有限公司 A kind of audio output regulation and control method, equipment and computer-readable recording medium
CN107231473B (en) * 2017-05-23 2020-02-18 盐城睿泰数字科技有限公司 Audio output regulation and control method, equipment and computer readable storage medium
CN107147767A (en) * 2017-06-30 2017-09-08 广东欧珀移动通信有限公司 In Call control method, device, storage medium and terminal
CN109068205A (en) * 2018-06-05 2018-12-21 四川斐讯信息技术有限公司 A method of it is controllable using the time using time controllable earphone and earphone
CN109032729A (en) * 2018-07-04 2018-12-18 Oppo(重庆)智能科技有限公司 Mobile terminal and its method for preventing the page from refreshing automatically, storage medium
CN109168100A (en) * 2018-10-09 2019-01-08 歌尔股份有限公司 A kind of adjusting method of earphone and earpiece volume
CN109361969A (en) * 2018-10-29 2019-02-19 歌尔科技有限公司 A kind of audio frequency apparatus and its volume adjusting method, device, equipment, medium
CN109375894A (en) * 2018-11-29 2019-02-22 努比亚技术有限公司 Earpiece volume based reminding method, device, mobile terminal and readable storage medium storing program for executing
CN111107226A (en) * 2019-12-27 2020-05-05 珠海市魅族科技有限公司 Volume control method applied to mobile terminal
CN111510784A (en) * 2020-03-23 2020-08-07 宇龙计算机通信科技(深圳)有限公司 Video switching method and device, storage medium and terminal
CN113411707A (en) * 2021-06-17 2021-09-17 歌尔智能科技有限公司 Auxiliary listening earphone, control method, device and system thereof, and readable medium

Also Published As

Publication number Publication date
CN102325216B (en) 2015-07-15
WO2013000354A1 (en) 2013-01-03

Similar Documents

Publication Publication Date Title
CN102325216B (en) Mobile communication equipment and volume control method thereof
KR101567362B1 (en) Method and apparatus for ouputing audio signal in portable terminal
US20120294454A1 (en) Mobile terminal and earphone identifying method
US20100104119A1 (en) Audio output device
CN103078997A (en) Method and system for setting volume of mobile terminal and mobile terminal
CN1909625A (en) Volume self-regulation television device and its control method
CN101226766A (en) Audio play device automatically adjusting play parameter
CN209055941U (en) Docking station with audio output
CN102915751A (en) Method for automatically regulating sound volume and terminal equipment thereof
WO2013043415A1 (en) Auto-configuring audio output for audio performance and fault detection
US8243977B2 (en) Media player system, media player, and earphone
CN102143262A (en) Electronic device and method for switching audio input channel thereof
WO2017045453A1 (en) Monitoring method and device based on earphone
CN101938546A (en) Earphone microphone detection method based on mobile phone and mobile phone
CN103118191A (en) Using control method and mobile terminal for iPhone wire control earphone
CN101645300A (en) Multimedia shared mobile terminal supporting double-interface
KR20070025167A (en) Audio volume control apparatus and method for mobile communication device
CN102938819A (en) Mobile terminal music control system and method
CN104581515B (en) A kind of audio playing apparatus, method and mobile terminal
CN105142072B (en) A kind of audio devices and audio frequency playing method of external player
US8073482B2 (en) Mobile phone with optional audio output function
KR20050046452A (en) Audio volume control apparatus and method for mobile communication device
KR20070022442A (en) Mobile phone had a function of blocking the Pop-Up Noise when an ear phone connected with the mobile phone
CN201898602U (en) Passive sound box interface of mobile phone
CN103813228A (en) Earphones and activation method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant