Automatically adjust the method for electronic installation volume[technical field]
The relevant a kind of method of adjusting the electronic installation volume of the present invention, and particularly according to electronic installation whether the method that the GPS application program is adjusted the automatic adjustment electronic installation volume of its volume automatically of carrying out is arranged relevant for a kind of.
[background technology]
Global positioning system (Global Positioning System is called for short GPS) is time-consuming 20 years of U.S. Department of Defense, and cost surpasses the 12000000000 dollars of accurate satellite navigation of cover location plans that began to develop in 1973.Began emission from 1978, and in location, formal round-the-clock three-dimensional space of in October, 1993.The exploitation of gps system supports the military needs of going up on aviation and the aircraft to develop, therefore during on earth any of the user of GPS,, if no landform or build the thing facility and cover, the neither influence that is subjected to weather, and can receive the signal of 4~8 satellites and located.
And in today that GPS popularizes day by day, people like carrying the electronic installation with GPS when tourism, but when the user carries out GPS application program in the electronic installation onboard, often need position that bigger report sound informs that the user is present or the crossing geography information of turning or the like forwardly.Therefore, after the user started the GPS application program, the user got the volume of manual adjustment electronic installation, and after finishing using, then again its volume is turned down.So, when carrying out or all get the volume of manual adjustment electronic installation after carrying out,, all be a puzzlement for having much to do or forgetful user at every turn.
[summary of the invention]
Purpose of the present invention is exactly in the method that a kind of automatic adjustment electronic installation volume is provided, and it is for automatically its volume is adjusted to maximum when carrying out the GPS application program, so that the user can hear bigger report sound.
A further object of the present invention provides a kind of method of automatic adjustment electronic installation volume, and whether it has the GPS of execution application program to adjust its volume automatically according to electronic installation, so the user does not need the volume of manual adjustment electronic installation.
The present invention proposes a kind of method of automatic adjustment electronic installation volume, and the method is included in after electronic installation is activated, and judges whether audio is unlocked.Secondly, when judgement learns that audio has been unlocked, then read the volume default value.Then, judge according to the volume default value whether the volume adjustment mechanism of output element is unlocked.And when judgement learns that volume adjustment mechanism has been unlocked, judge then whether electronic installation has the GPS of execution application program.Then, when judgement learns that electronic installation has the GPS of execution application program, then present volume scale is adjusted according to the volume default value.At last, adjust magnification ratio after the adjustment of sound effect circuit of output element according to the volume default value.
Described according to preferred embodiment of the present invention, the step whether above-mentioned volume adjustment mechanism of judging output element is unlocked comprises whether the volume adjustment mechanism of judging loudspeaker or earphone is unlocked.
Described according to preferred embodiment of the present invention, above-mentioned volume default value comprises the volume adjustment mechanism of adjusting back volume scale, adjusting the back magnification ratio, whether open loudspeaker or earphone.
Described according to preferred embodiment of the present invention, the method for adjusting the electronic installation volume automatically more comprises after judgement learns that electronic installation has the GPS of execution application program, promptly stores present volume scale.
The present invention reintroduces a kind of method of automatic adjustment electronic installation volume, comprises at first for electronic installation is activated, next judges whether audio is unlocked.When judgement learns that audio has been unlocked, then read the volume default value.Then, judge according to the volume default value whether the volume adjustment mechanism of output element is unlocked.Then, when judgement learns that volume adjustment mechanism has been unlocked, judge then whether electronic installation has the GPS of execution application program.And when judgement learns that electronic installation has the GPS of execution application program, then store present volume scale, and according to the volume default value present volume scale is adjusted.Then, adjust magnification ratio after the adjustment of sound effect circuit of this output element according to the volume default value.After beginning to carry out the GPS application program, do not judge interruptedly whether the GPS application program stops to carry out.At last, when judgement learns that the GPS application program stops to carry out, then read and sound effect circuit is adjusted according to stored present volume scale.
The present invention is adjusted to maximum with its volume automatically because of adopting when electronic installation is carried out the GPS application program, therefore the user does not need the volume of manual adjustment electronic installation, and electronic installation then is adjusted to its volume the volume of carrying out before the GPS application program automatically when stopping to carry out the GPS application program.
For making purpose of the present invention, structural feature and function thereof are had further understanding, conjunction with figs. is described in detail as follows now:
[description of drawings]
Fig. 1 illustrates the flow chart of steps according to the method for a kind of automatic adjustment electronic installation volume of a preferred embodiment of the present invention.
Fig. 2 illustrates the another kind of flow chart of steps of adjusting the method for electronic installation volume automatically according to a preferred embodiment of the present invention.
[embodiment]
Please refer to Fig. 1, it illustrates the flow chart of steps according to the method for a kind of automatic adjustment electronic installation volume of a preferred embodiment of the present invention.Wherein, as be familiar with this skill person and can know easily, this electronic installation can be personal digital assistant (Personal Digital Assistant is called for short PDA), notebook computer or any device with navigation feature, but all not as limit.
This method of automatically adjusting the electronic installation volume is for after electronic installation is activated, the audio of promptly judging electronic installation whether be unlocked (s102).Wherein, electronic installation may for example be the function with quiet (audio is closed), non-quiet (audio is activated), therefore when judgement learns that audio has been unlocked, then for example be to the storage element of electronic installation, to read the volume default value (s104) that sets when user or electronic installation dispatch from the factory.And when judgement learns that audio is not unlocked, then finish the steps flow chart of the method.
After reading the volume default value, electronic installation is then judged the volume adjustment mechanism of output element whether be unlocked (s106) according to the volume default value.In the present embodiment, output element can for example be the built-in or external loudspeaker of electronic installation, and external earphone, the volume whether the volume default value then comprises volume scale after the electronic installation adjustment, adjust the back magnification ratio, open loudspeaker or earphone is adjusted mechanism or the like.
When judgement learns that volume adjustment mechanism has been unlocked, judge then then whether electronic installation has the GPS application program (s108) of execution.And when learning that in judgement volume adjustment mechanism is not unlocked, then finish the steps flow chart of the method.
Please continue with reference to Fig. 1, when judgement learns that electronic installation has the GPS of execution application program, then store employed present volume scale (s110) now.Then, according to the volume default value present volume scale is adjusted (s112).And in order to allow the user can clearlyer hear the report sound of electronic installation, present embodiment is also adjusted magnification ratio (s114) after the adjustment of sound effect circuit of output element according to the volume default value.
In preferred embodiment of the present invention, the volume default value can for example be to comprise the volume adjustment mechanism of adjusting back volume scale, adjusting the back magnification ratio, whether will open loudspeaker or earphone.
Please follow with reference to Fig. 2, it illustrates the another kind of flow chart of steps of adjusting the method for electronic installation volume automatically according to a preferred embodiment of the present invention.In the present embodiment, this method of adjusting the electronic installation volume automatically is for being activated back (s202) at electronic installation, the audio of promptly judging electronic installation whether be unlocked (s204).When judgement learns that audio has been unlocked, then for example be to the storage element of electronic installation, to read the volume default value (s204) that sets when user or electronic installation dispatch from the factory.And when judgement learns that audio is not unlocked, then finish the steps flow chart of the method.
After reading the volume default value, electronic installation is then judged the volume adjustment mechanism of output element whether be unlocked (s206) according to the volume default value.In the present embodiment, output element can for example be the built-in or external loudspeaker of electronic installation, and external earphone, the volume whether the volume default value then comprises volume scale after the electronic installation adjustment, adjust the back magnification ratio, open loudspeaker or earphone is adjusted mechanism or the like.
When judgement learns that volume adjustment mechanism has been unlocked, judge then then whether electronic installation has the GPS application program (s208) of execution.And when learning that in judgement volume adjustment mechanism is not unlocked, then finish the steps flow chart of the method.
In the present embodiment, learning electronic installation when judgement has when carrying out the GPS application program, and being about to that present volume scale is stored to for example is in the storage element of electronic installation, and according to the volume default value present volume scale is adjusted (s210).Secondly, promptly adjust magnification ratio (s212) after the adjustment of sound effect circuit of output element according to the volume default value.
After having adjusted the volume of electronic installation automatically, also be electronic installation and just carrying out during the GPS application program, electronic installation will not judge interruptedly whether the GPS application program has stopped carrying out (s214).And in when judgement learns that the GPS application program has stopped carrying out, then read and according to stored present volume scale sound effect circuit is adjusted, the magnification ratio that also is about to sound effect circuit is adjusted into as present volume scale stored among the step s210 or the value (s216) that the user sets in the volume default value.
In preferred embodiment of the present invention, as be familiar with this skill person and can know easily, sound effect circuit can be a sound effect integrated circuit, but not as limit.
In sum, method in automatic adjustment electronic installation volume of the present invention can be adjusted to maximum with its volume automatically when electronic installation is carried out the GPS application program, therefore the user does not need the volume of manual adjustment electronic installation, and electronic installation then is adjusted to its volume the volume of carrying out before the GPS application program automatically when stopping to carry out the GPS application program.