CN102801845B - Automatically reduce method and the mobile terminal of volume - Google Patents

Automatically reduce method and the mobile terminal of volume Download PDF

Info

Publication number
CN102801845B
CN102801845B CN201210264788.8A CN201210264788A CN102801845B CN 102801845 B CN102801845 B CN 102801845B CN 201210264788 A CN201210264788 A CN 201210264788A CN 102801845 B CN102801845 B CN 102801845B
Authority
CN
China
Prior art keywords
parameter
mobile terminal
module
threshold value
volume
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
CN201210264788.8A
Other languages
Chinese (zh)
Other versions
CN102801845A (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.)
Huaqin Technology Co Ltd
Original Assignee
Huaqin Telecom Technology 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 Huaqin Telecom Technology Co Ltd filed Critical Huaqin Telecom Technology Co Ltd
Priority to CN201210264788.8A priority Critical patent/CN102801845B/en
Publication of CN102801845A publication Critical patent/CN102801845A/en
Application granted granted Critical
Publication of CN102801845B publication Critical patent/CN102801845B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a kind of method and mobile terminal of automatic reduction volume, wherein method comprises that S1 obtains the current positional information of mobile terminal; S2 judges whether the current location of mobile terminal reaches operative norm, as reaches operative norm, performs step S3; S3 carries out the operation that reduces volume. The method of automatic reduction volume provided by the present invention and mobile terminal, can carry out automatic regulating volume according to the residing position of user, avoids user in dangerous section, as crossing, near doorway, parking lot time, causes danger, thereby ensure user's life, healthy and safe.

Description

Automatically reduce method and the mobile terminal of volume
Technical field
The present invention relates to electronic communication technology, relate in particular to mobile terminal and automatically reduce the method for volume and move eventuallyEnd.
Background technology
Along with the development of the communication technology, existing mobile terminal, except providing basic call function, also providesVarious abundant amusement functions, such as music, video etc., a lot of people be all accustomed to walking whileWear earphone and listen to the music or see video, but produce a very large problem with this, when people's notice completeWhile full attraction by the sense of hearing and vision, often can be because the environment around not noticing produces in the time going across the roadUnexpected. If there is a kind of mobile terminal, can carry out automatic regulating volume according to the residing position of user, avoid userIn dangerous section, as crossing, near doorway, parking lot time, cause danger, thereby ensure user's life, healthSafety.
Summary of the invention
The object of this invention is to provide a kind of method and mobile terminal of automatic reduction volume.
Mobile terminal provided by the present invention reduces the method for volume automatically, comprising: S1 obtains mobile terminal and works asFront positional information; S2 judges whether the current location of mobile terminal reaches operative norm, carries out mark as reachedStandard, performs step S3; S3 carries out the operation that reduces volume.
The mobile terminal of the method that realizes above-mentioned automatic reduction volume provided by the present invention, comprising: locating module,For obtaining the current positional information of mobile terminal; Monitoring module, for the current location that judges mobile terminal isThe no operative norm that reaches, as reach operative norm, perform step S3; Executive Module, for controlling executionReduce the operation of volume.
The method of automatic reduction volume provided by the present invention and mobile terminal, can come according to the residing position of userAutomatic regulating volume, avoids user in dangerous section, as crossing, near doorway, parking lot time, causes danger,Thereby ensure user's life, healthy and safe.
Brief description of the drawings
The mobile terminal that Fig. 1 provides for embodiment mono-reduces the schematic flow sheet of the method for volume automatically.
Detailed description of the invention
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, real below in conjunction with the present inventionExecute the accompanying drawing in example, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, instituteThe embodiment describing is the present invention's part embodiment, instead of whole embodiment. Based on the reality in the present inventionExecute example, those of ordinary skill in the art are not making the every other enforcement obtaining under creative work prerequisiteExample, all belongs to the scope of protection of the invention.
Embodiment mono-
As shown in Figure 1, the present embodiment provides a kind of mobile terminal automatically to reduce the method for volume, comprising:
S1 obtains the current positional information of mobile terminal;
S2 judges whether the current location of mobile terminal reaches operative norm, as reaches operative norm, carries outStep S3;
S3 carries out the operation that reduces volume.
Described S1 obtains the current positional information of mobile terminal for utilizing global positioning system (GPS, GlobalPositioningSystem) obtain and transfer the current absolute position parameter of terminal. Described absolute position parameter isRefer to longitude and latitude value.
In described S2, judge that whether the current location of mobile terminal reaches the step of operative norm, comprising:
S21 reads the absolute position parameter of the target of setting. Described target refers to that user need to carry out in its vicinityReduce the position of volume operation, as positions such as crossroad, school doorway and Entrances. Described targetAbsolute position parameter refer to longitude and the latitude value of this position.
S22, according to the absolute position parameter of the current absolute position parameter of described handover terminal and target, calculatesThe current location of mobile terminal and the distance parameter of target and relative bearing parameter; Those skilled in the art can manageSeparate, described according to the absolute position parameter of the current absolute position parameter of described handover terminal and target, calculateThe step of the current location of mobile terminal and the distance parameter of target and relative bearing parameter is art technology public affairsKnow technological means, no longer repeat here;
S23 compares the first distance parameter threshold value of described distance parameter and setting, when described distance parameterWhile being less than or equal to described the first distance parameter threshold value, carry out S24; It will be understood by those skilled in the art thatWhether described the first distance parameter threshold value is carried out and is reduced the operation of volume for controlling described mobile terminal, and described theOne distance parameter threshold value can be set according to user's demand, and the present embodiment is by described the first distance parameter thresholdValue is set as 5 meters, in the time that the distance between described mobile terminal and target is less than or equal to 5 meters, moves like thisMoving terminal is carried out the operation that reduces volume, prevents that user from causing not to be noted dangerous situation because volume is excessive.
S24 compares described relative bearing parameter and orientation threshold value, when described relative bearing parameter with described inWhen orientation threshold value is consistent, carry out S3.
The operation that described execution reduces volume comprises:
S311 reads the ratio of the reduction volume of setting; As 20%, 50% or 100%;
S312 regulates the volume of mobile terminal output according to described ratio. As be reduced to current volume20%, 50% or 100%. Like this, can be according to user's demand difference, reduction mobile terminal is in various degree defeatedGo out volume, for user provides multiple choices, design more flexible.
The operation that described execution reduces volume can also comprise:
S321 reads the level of sound volume parameter of setting;
S322 regulates the volume of mobile terminal output according to described level of sound volume parameter. Those skilled in the art canTo understand, described level of sound volume parameter is corresponding with the volume power output of the audio parts of setting, according to theseVolume decrease is low to moderate corresponding power output by level parameter, thereby realize the order that reduces volume according to user's request.
Further, also comprise the steps:
The second distance parameter threshold of described distance parameter and setting is compared, when described distance parameter is less thanWhen described second distance parameter threshold, regulate sample frequency. It will be understood by those skilled in the art that described secondDistance parameter threshold value is used for controlling described mobile terminal and which sample frequency carries out monitoring according to. The present embodiment willDescribed second distance parameter threshold is set as 100 meters, and the first sample frequency is set as to 30 seconds/time, described in inciting somebody to actionThe second sample frequency is set as being greater than the value of 30 seconds/time. Like this, the distance between described mobile terminal and targetWhen being greater than or equal to 100 meters, described mobile terminal is according to frequency monitoring mobile terminal and the order of 30 seconds/timeTarget distance, more power saving; In the time that the distance between described mobile terminal and target is less than 100 meters, described inMobile terminal will increase sample frequency, monitor more frequently the distance of mobile terminal and target, thus more andTime reduction volume, prevent dangerous generation.
Embodiment bis-
The method that above-described embodiment one provides, needs the developer of user or mobile terminal in mobile terminalThe longitude of target setting and latitude value, this is not very convenient for user and developer, the present embodimentTwo utilize the mode of third party's map software of arranging in mobile terminal, by the current longitude of mobile terminal andLatitude value is mapped as the station-keeping data taking the data of this third party's map as comparable data. Like this, just canNo matter directly utilize the data in this map to carry out target setting location parameter, be for user or for exploit personMember will be more convenient.
The mobile terminal that the present embodiment two provides reduces the method for volume automatically, comprising:
S1 obtains the current positional information of mobile terminal;
S2 judges whether the current location of mobile terminal reaches operative norm, as reaches operative norm, carries outStep S3;
S3 carries out the operation that reduces volume.
Described S1 obtains the current positional information of mobile terminal and comprises:
S11 utilizes global positioning system (GPS, GlobalPositioningSystem) to obtain handover terminal oughtFront absolute position parameter. Described absolute position parameter refers to longitude and latitude value.
S12, according to the built-in map datum of mobile terminal and described absolute position parameter, calculates described eventually mobileThe relative position parameter of the current location of end in this map datum. Described in it will be understood by those skilled in the art thatThe relative position parameter of the current location that calculates described mobile terminal in this map datum is known in this fieldTechnological means, no longer repeats here.
In described S2, judge that whether the current location of mobile terminal reaches the step of operative norm, comprising:
The relative position parameter of the target that S21 reads setting in described map datum. Described target refers to userNeed to carry out in its vicinity the position that reduces volume operation, as crossroad, school doorway and EntranceDeng position. The relative position parameter of described target can directly be set by user in described map, sets like thisThe operation of target is just more convenient and directly perceived, has increased the practicality of the method, provides more just to userProfit.
S22, according to the relative position parameter of the current relative position parameter of described handover terminal and target, calculatesThe current location of mobile terminal and the distance parameter of target and relative bearing parameter; Those skilled in the art can manageSeparate, described according to the absolute position parameter of the current absolute position parameter of described handover terminal and target, calculateThe step of the current location of mobile terminal and the distance parameter of target and relative bearing parameter is art technology public affairsKnow technological means, no longer repeat here;
S23 compares the first distance parameter threshold value of described distance parameter and setting, when described distance parameterWhile being less than or equal to described the first distance parameter threshold value, carry out S24; It will be understood by those skilled in the art thatWhether described the first distance parameter threshold value carries out the operation that reduces volume, described distance for controlling described mobile terminalCan set according to user's demand from parameter threshold, the present embodiment by described distance parameter Threshold is5 meters, in the time that the distance between described mobile terminal and target is less than or equal to 5 meters, mobile terminal is held like thisRow reduces the operation of volume, prevents that user from causing not to be noted dangerous situation because volume is excessive.
S24 compares described relative bearing parameter and orientation threshold value, when described relative bearing parameter with described inWhen orientation threshold value is consistent, carry out S3.
The operation that described execution reduces volume comprises:
S311 reads the ratio of the reduction volume of setting; As 20%, 50% or 100%;
S312 regulates the volume of mobile terminal output according to described ratio. As be reduced to current volume20%, 50% or 100%. Like this, can be according to user's demand difference, reduction mobile terminal is in various degree defeatedGo out volume, for user provides multiple choices, design more flexible.
The operation that described execution reduces volume can also comprise:
S321 reads the level of sound volume parameter of setting;
S322 regulates the volume of mobile terminal output according to described level of sound volume parameter. Those skilled in the art canTo understand, described level of sound volume parameter is corresponding with the volume power output of the audio parts of setting, according to theseVolume decrease is low to moderate corresponding power output by level parameter, thereby realize the order that reduces volume according to user's request.
Further, also comprise the steps:
The second distance parameter threshold of described distance parameter and setting is compared, when described distance parameter is less thanWhen described second distance parameter threshold, regulate sample frequency. It will be understood by those skilled in the art that described secondDistance parameter threshold value is used for controlling described mobile terminal and which sample frequency carries out monitoring according to. The present embodiment willDescribed second distance parameter threshold is set as 100 meters, and the first sample frequency is set as to 30 seconds/time, described in inciting somebody to actionThe second sample frequency is set as being greater than the value of 30 seconds/time. Like this, the distance between described mobile terminal and targetWhen being greater than or equal to 100 meters, described mobile terminal is according to frequency monitoring mobile terminal and the order of 30 seconds/timeTarget distance, more power saving; In the time that the distance between described mobile terminal and target is less than 100 meters, described inMobile terminal will increase sample frequency, monitor more frequently the distance of mobile terminal and target, thus more andTime reduction volume, prevent dangerous generation.
Embodiment tri-
Corresponding with above-described embodiment one, this enforcement three provides and realizes moving of method that above-described embodiment one providesMoving terminal, comprises
Locating module, for obtaining the current positional information of mobile terminal;
Whether monitoring module, reach operative norm for the current location that judges mobile terminal;
Executive Module, reaches operative norm for the current location that is mobile terminal when the judged result of monitoring moduleTime, control and carry out the operation that reduces volume.
Described locating module can adopt global positioning system (GPS, GlobalPositioningSystem), fromAnd the current absolute position parameter of acquisition mobile terminal. Described absolute position parameter refers to longitude and latitude value.
Described monitoring module comprises:
The first memory module, for storing the absolute position parameter of target; Described target refers to that user need to be at itNear the position that reduces volume operation of carrying out, as positions such as crossroad, school doorway and Entrances.The absolute position parameter of described target refers to longitude and the latitude value of this position.
The second memory module, for storing the current absolute position parameter of described mobile terminal;
Computing module, for read respectively the first memory module target absolute position parameter and second storageCurrent absolute position parameter in module, carries out computing according to described two parameters, obtains current location and targetDistance parameter and relative bearing parameter; It will be understood by those skilled in the art that described according to described mobile terminalCurrent absolute position parameter and the absolute position parameter of target, calculate current location and the target of mobile terminalDistance parameter and the step of relative bearing parameter be art technology known technology means, no longer go to live in the household of one's in-laws on getting married hereState;
First threshold comparison module, for establishing in described distance parameter that computing module is calculated and this moduleThe first fixed distance parameter threshold value compares, when described distance parameter is less than or equal to described the first distance ginsengWhen number threshold value, to described orientation threshold value comparison module transmitted signal; Described in it will be understood by those skilled in the art thatWhether the first distance parameter threshold value carries out the operation that reduces volume, described the first distance for controlling described mobile terminalCan set according to user's demand from parameter threshold, the present embodiment is established described the first distance parameter threshold valueBe decided to be 5 meters, in the time that the distance between described mobile terminal and target is less than or equal to 5 meters, eventually mobile like thisEnd is carried out the operation that reduces volume, prevents that user from causing not to be noted dangerous situation because volume is excessive.
Orientation threshold value comparison module, for when receiving after the signal that described first threshold comparison module sends, by instituteState the relative bearing parameter that computing module calculates and the orientation threshold value arranging in it compares, when described phaseWhen consistent with described orientation threshold value to direction parameter, to described Executive Module transmitted signal.
Described Executive Module comprises:
The 3rd memory module, for storing the ratio of reduction volume of setting; As 20%, 50% or 100%;
Control module, for receiving signal that described orientation threshold value comparison module sends and according to described reduction volumeRate regulation volume power output; As be reduced to 20%, 50% or 100% of current volume. Like this, can rootAccording to user's demand difference, reduction mobile terminal output volume in various degree, for user provides multiple choices,Design more flexible.
Described Executive Module also can comprise:
The 3rd memory module, for storing the level of sound volume parameter of setting and corresponding volume power output thereofValue;
Control module, for receiving signal that described orientation threshold value comparison module sends and according to described level of sound volumeParameter regulates the volume of mobile terminal output. It will be understood by those skilled in the art that described level of sound volume parameter withThe volume power output of the audio parts of setting is corresponding, volume decrease is low to moderate defeated accordingly according to this class parameterGo out power, thereby realize the object that reduces volume according to user's request.
Further, also comprise:
Second Threshold comparison module, for comparing described distance parameter and the second distance parameter threshold of setting, and according to clock module described in comparative result control send the frequency of interrupt signal. Those skilled in the art canWith understand, in the time that described distance parameter is less than described second distance parameter threshold, control described clock module according toThe second sample frequency sends interrupt signal; When described distance parameter is greater than or equal to described the first distance parameter thresholdWhen value, control described clock module and send interrupt signal according to the firstth sample frequency.
Clock module, for sending interrupt signal according to sample frequency to described computing module, ensures described computingModule is carried out work according to sample frequency;
It will be understood by those skilled in the art that described second distance parameter threshold for control described mobile terminal byWhich sample frequency to carry out monitoring according to. Described second distance parameter threshold is set as 100 meters by the present embodiment,The first sample frequency is set as to 30 seconds/time, described the second sample frequency is set as being greater than the value of 30 seconds/time.Like this, in the time that the distance between described mobile terminal and target is greater than or equal to 100 meters, described mobile terminalAccording to the frequency monitoring mobile terminals of 30 seconds/time and the distance of target, more power saving; When described mobile terminalAnd when the distance between target is less than 100 meters, described mobile terminal will increase sample frequency, prison more frequentlyThe distance of control mobile terminal and target, thus volume reduced more timely, prevent dangerous generation.
Embodiment tetra-
Corresponding with above-described embodiment two, this enforcement three provides and realizes moving of method that above-described embodiment two providesMoving terminal, comprises
Locating module, for obtaining the current positional information of mobile terminal;
Whether monitoring module, reach operative norm for the current location that judges mobile terminal;
Executive Module, reaches operative norm for the current location that is mobile terminal when the judged result of monitoring moduleTime, control and carry out the operation that reduces volume.
Described locating module comprises:
Global positioning system (GPS, GlobalPositioningSystem), thus it is current to obtain mobile terminalAbsolute position parameter. Described absolute position parameter refers to longitude and latitude value.
Ground module, for the current location of calculating described mobile terminal in mobile terminal storing map dataRelative position parameter. Described in it will be understood by those skilled in the art that, calculate the current location of described mobile terminalRelative position parameter in this map datum is techniques well known means, no longer repeats here.
Described monitoring module comprises:
The first memory module, for storing the relative position parameter of target; Described target refers to that user need to be at itNear the position that reduces volume operation of carrying out, as positions such as crossroad, school doorway and Entrances.The relative position parameter of described target can directly be set by user in described map, the behaviour of target setting like thisIt is just more convenient and directly perceived to do, and has increased the practicality of the method, provides more facility to user.
The second memory module, for storing the current relative position parameter of described mobile terminal;
Computing module, for read respectively the first memory module target relative position parameter and second storageCurrent relative position parameter in module, carries out computing according to described two parameters, obtains current location and targetDistance parameter and relative bearing parameter; It will be understood by those skilled in the art that described according to described mobile terminalCurrent absolute position parameter and the absolute position parameter of target, calculate current location and the target of mobile terminalDistance parameter and the step of relative bearing parameter be art technology known technology means, no longer go to live in the household of one's in-laws on getting married hereState;
First threshold comparison module, for establishing in described distance parameter that computing module is calculated and this moduleThe first fixed distance parameter threshold value compares, when described distance parameter is less than or equal to described the first distance ginsengWhen number threshold value, to described orientation threshold value comparison module transmitted signal; Described in it will be understood by those skilled in the art thatWhether the first distance parameter threshold value carries out the operation that reduces volume, described the first distance for controlling described mobile terminalCan set according to user's demand from parameter threshold, the present embodiment is established described the first distance parameter threshold valueBe decided to be 5 meters, in the time that the distance between described mobile terminal and target is less than or equal to 5 meters, eventually mobile like thisEnd is carried out the operation that reduces volume, prevents that user from causing not to be noted dangerous situation because volume is excessive.
Orientation threshold value comparison module, for when receiving after the signal that described first threshold comparison module sends, by instituteState the relative bearing parameter that computing module calculates and the orientation threshold value arranging in it compares, when described phaseWhen consistent with described orientation threshold value to direction parameter, to described Executive Module transmitted signal.
Described Executive Module comprises:
The 3rd memory module, for storing the ratio of reduction volume of setting; As 20%, 50% or 100%;
Control module, for receiving signal that described orientation threshold value comparison module sends and according to described reduction volumeRate regulation volume power output; As be reduced to 20%, 50% or 100% of current volume. Like this, can rootAccording to user's demand difference, reduction mobile terminal output volume in various degree, for user provides multiple choices,Design more flexible.
Described Executive Module also can comprise:
The 3rd memory module, for storing the level of sound volume parameter of setting and corresponding volume power output thereofValue;
Control module, for receiving signal that described orientation threshold value comparison module sends and according to described level of sound volumeParameter regulates the volume of mobile terminal output. It will be understood by those skilled in the art that described level of sound volume parameter withThe volume power output of the audio parts of setting is corresponding, volume decrease is low to moderate defeated accordingly according to this class parameterGo out power, thereby realize the object that reduces volume according to user's request.
Further, also comprise:
Second Threshold comparison module, for comparing described distance parameter and the second distance parameter threshold of setting, and according to clock module described in comparative result control send the frequency of interrupt signal; Those skilled in the art canWith understand, in the time that described distance parameter is less than described second distance parameter threshold, control described clock module according toThe second sample frequency sends interrupt signal; When described distance parameter is greater than or equal to described second distance parameter thresholdWhen value, control described clock module and send interrupt signal according to the first sample frequency.
Clock module, for sending interrupt signal according to sample frequency to described computing module. Ensure described computingModule is carried out work according to sample frequency.
It will be understood by those skilled in the art that described second distance parameter threshold for control described mobile terminal byWhich sample frequency to carry out monitoring according to. The present embodiment is 100 meters by described the first distance parameter Threshold,The first sample frequency is set as to 30 seconds/time, described the second sample frequency is set as being greater than the value of 30 seconds/time.Like this, in the time that the distance between described mobile terminal and target is greater than or equal to 100 meters, described mobile terminalAccording to the frequency monitoring mobile terminals of 30 seconds/time and the distance of target, more power saving. When described mobile terminalAnd when the distance between target is less than 100 meters, described mobile terminal will increase sample frequency, prison more frequentlyThe distance of control mobile terminal and target, thus volume reduced more timely, prevent dangerous generation.
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit;Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art should manageSeparate: its technical scheme that still can record aforementioned each embodiment is modified, or to part skill whereinArt feature is equal to replacement; And these amendments or replacement do not make the essence of appropriate technical solution depart from thisInvent the spirit and scope of each embodiment technical scheme.

Claims (10)

1. mobile terminal reduces a method for volume automatically, comprising:
S1 obtains the current positional information of mobile terminal;
S2 judges whether the current location of mobile terminal reaches operative norm, as reaches operative norm, carries outStep S3;
S3 carries out the operation that reduces volume;
It is characterized in that, described S1 obtains the current positional information of mobile terminal and is:
Utilize global positioning system to obtain and transfer the current absolute position parameter of terminal;
The step whether current location that judges mobile terminal in described S2 reaches operative norm comprises:
S21 reads the absolute position parameter of the target of setting;
S22, according to the absolute position parameter of the current absolute position parameter of described handover terminal and target, calculatesThe current location of mobile terminal and the distance parameter of target and relative bearing parameter;
S23 compares the first distance parameter threshold value of described distance parameter and setting, when described distance parameterWhile being less than or equal to described the first distance parameter threshold value, carry out S24;
S24 compares described relative bearing parameter and orientation threshold value, when described relative bearing parameter with described inWhen orientation threshold value is consistent, carry out S3.
2. mobile terminal reduces a method for volume automatically, comprising:
S1 obtains the current positional information of mobile terminal;
S2 judges whether the current location of mobile terminal reaches operative norm, as reaches operative norm, carries outStep S3;
S3 carries out the operation that reduces volume;
It is characterized in that,
The step that described S1 obtains the current positional information of mobile terminal comprises:
S11 utilizes global positioning system to obtain and transfers the current absolute position parameter of terminal;
S12, according to the built-in map datum of mobile terminal and described absolute position parameter, calculates described eventually mobileThe relative position parameter of the current location of end in this map datum;
The step whether current location that judges mobile terminal in described S2 reaches operative norm comprises:
The relative position parameter of the target that S21 reads setting in described map datum;
S22, according to the relative position parameter of the current relative position parameter of described handover terminal and target, calculatesThe current location of mobile terminal and the distance parameter of target and relative bearing parameter;
S23 compares the first distance parameter threshold value of described distance parameter and setting, when described distance parameterWhile being less than or equal to described the first distance parameter threshold value, carry out S24;
S24 compares described relative bearing parameter and orientation threshold value, when described relative bearing parameter with described inWhen orientation threshold value is consistent, carry out S3.
3. method as claimed in claim 1 or 2, is characterized in that, described execution reduces the operation bag of volumeDraw together:
S311 reads the ratio of the reduction volume of setting;
S312 regulates the volume of mobile terminal output according to described ratio.
4. method as claimed in claim 1 or 2, is characterized in that, described execution reduces the operation of volumeComprise:
S321 reads the level of sound volume parameter of setting;
S322 regulates the volume of mobile terminal output according to described level of sound volume parameter.
5. method as claimed in claim 1 or 2, is characterized in that, also comprises:
The second distance parameter threshold of described distance parameter and setting is compared, when described distance parameter is less thanWhen described second distance parameter threshold, regulate sample frequency.
6. a mobile terminal, comprising:
Locating module, for obtaining the current positional information of mobile terminal;
Whether monitoring module, reach operative norm for the current location that judges mobile terminal;
Executive Module, reaches operative norm for the current location that is mobile terminal when the judged result of monitoring moduleTime, control and carry out the operation that reduces volume;
It is characterized in that, described locating module is:
Global positioning system, for obtaining the current absolute position parameter of mobile terminal;
Described monitoring module comprises:
The first memory module, for storing the absolute position parameter of target;
The second memory module, for storing the current absolute position parameter of described mobile terminal;
Computing module, for read respectively the first memory module target absolute position parameter and second storageCurrent absolute position parameter in module, carries out computing according to described two parameters, obtains current location and targetDistance parameter and relative bearing parameter;
First threshold comparison module, for establishing in described distance parameter that computing module is calculated and this moduleThe first fixed distance parameter threshold value compares, when described distance parameter is less than or equal to described the first distance ginsengWhen number threshold value, to described orientation threshold value comparison module transmitted signal;
Orientation threshold value comparison module, for when receiving after the signal that described first threshold comparison module sends, by instituteState the relative bearing parameter that computing module calculates and the orientation threshold value arranging in it compares, when described phaseWhen consistent with described orientation threshold value to direction parameter, to described Executive Module transmitted signal.
7. a mobile terminal, comprising:
Locating module, for obtaining the current positional information of mobile terminal;
Whether monitoring module, reach operative norm for the current location that judges mobile terminal;
Executive Module, reaches operative norm for the current location that is mobile terminal when the judged result of monitoring moduleTime, control and carry out the operation that reduces volume;
It is characterized in that,
Described locating module comprises:
Global positioning system, thereby for obtaining the current absolute position parameter of mobile terminal;
Ground module, for the current location of calculating described mobile terminal in mobile terminal storing map dataRelative position parameter;
Described monitoring module comprises:
The first memory module, for storing the relative position parameter of target;
The second memory module, for storing the current relative position parameter of described mobile terminal;
Computing module, for read respectively the first memory module target relative position parameter and second storageCurrent relative position parameter in module, carries out computing according to described two parameters, obtains current location and targetDistance parameter and relative bearing parameter;
First threshold comparison module, for establishing in described distance parameter that computing module is calculated and this moduleThe first fixed distance parameter threshold value compares, when described distance parameter is less than or equal to described the first distance ginsengWhen number threshold value, to described orientation threshold value comparison module transmitted signal;
Orientation threshold value comparison module, for when receiving after the signal that described first threshold comparison module sends, by instituteState the relative bearing parameter that computing module calculates and the orientation threshold value arranging in it compares, when described phaseWhen consistent with described orientation threshold value to direction parameter, to described Executive Module transmitted signal.
8. the mobile terminal as described in claim 6 or 7, is characterized in that, described Executive Module comprises:
The 3rd memory module, for storing the ratio of reduction volume of setting;
Control module, for receiving signal that described orientation threshold value comparison module sends and according to described reduction volumeRate regulation volume power output.
9. the mobile terminal as described in claim 6 or 7, is characterized in that: described Executive Module comprises:
The 3rd memory module, for storing the level of sound volume parameter of setting and corresponding volume power output thereofValue;
Control module, for receiving signal that described orientation threshold value comparison module sends and according to described level of sound volumeParameter regulates the volume of mobile terminal output.
10. the mobile terminal as described in claim 6 or 7, is characterized in that, also comprises:
Second Threshold comparison module, for comparing described distance parameter and the second distance parameter threshold of setting, and according to comparative result control clock module send the frequency of interrupt signal;
Clock module, for sending interrupt signal according to sample frequency to described computing module.
CN201210264788.8A 2012-07-30 2012-07-30 Automatically reduce method and the mobile terminal of volume Active CN102801845B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210264788.8A CN102801845B (en) 2012-07-30 2012-07-30 Automatically reduce method and the mobile terminal of volume

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210264788.8A CN102801845B (en) 2012-07-30 2012-07-30 Automatically reduce method and the mobile terminal of volume

Publications (2)

Publication Number Publication Date
CN102801845A CN102801845A (en) 2012-11-28
CN102801845B true CN102801845B (en) 2016-05-04

Family

ID=47200804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210264788.8A Active CN102801845B (en) 2012-07-30 2012-07-30 Automatically reduce method and the mobile terminal of volume

Country Status (1)

Country Link
CN (1) CN102801845B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888579B (en) * 2012-12-21 2017-05-03 中国移动通信集团广西有限公司 Method and device for adjusting beep volume of mobile terminal, and mobile terminal
CN104796805A (en) * 2014-01-21 2015-07-22 深圳富泰宏精密工业有限公司 Portable electronic device and earphone control system
TWI617201B (en) * 2014-01-21 2018-03-01 富智康(香港)有限公司 Portion electronic device and earphone controlling system thereof
CN105530563A (en) * 2014-09-28 2016-04-27 小米科技有限责任公司 Method and device for volume control
US10372234B2 (en) * 2017-05-09 2019-08-06 Lenovo (Singapore) Pte Ltd Calculating a social zone distance

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150821A (en) * 2007-10-29 2008-03-26 深圳华为通信技术有限公司 Method for switching scenario mode of mobile communication terminal and mobile communication terminal
US9065928B2 (en) * 2009-05-26 2015-06-23 Apple Inc. Space and time based device customization
CN102377861A (en) * 2010-08-10 2012-03-14 沈阳新邮通信设备有限公司 Mobile terminal and method capable of automatically switching contextual models

Also Published As

Publication number Publication date
CN102801845A (en) 2012-11-28

Similar Documents

Publication Publication Date Title
CN102801845B (en) Automatically reduce method and the mobile terminal of volume
US8793520B2 (en) Power management of electronic devices based on charging location
CN205301552U (en) Electronic equipment and mixed magnetometer sensor external member
CN105864951B (en) A kind of air conditioning control method and air-conditioning
CN102387468B (en) Power-saving method and device for mobile terminal
EP3004914A1 (en) Fine grain position data collection
CN104601642A (en) Real-time road condition sharing method, device and system
US20180033420A1 (en) Method and apparatus for controlling earphone noise reduction
US10966049B2 (en) Systems and methods to collect location data by using a dynamic geofencing methodology
CN112601115B (en) Volume adjusting method of intelligent television, storage medium and intelligent television
CN108012239A (en) A kind of method, storage medium and smart machine for obtaining positioning
CN104539782A (en) Event promoting method and device
US20180279220A1 (en) Power saving tracking system and power saving method for using the same
CN104019824A (en) Driving recorder, intelligent movable equipment and navigation method
CN201837397U (en) Intelligent navigation system based on Bluetooth technology
CN204206180U (en) Physical distribution apparatus capable of circulation
CN103982985A (en) Air conditioner running parameter adjustment method and system
CN103259925B (en) Method, device and mobile terminal for setting contact photo
CN105786150A (en) Information processing method and electronic device
CN204578787U (en) A kind of geographical position tape deck for mobile terminal
CN105050045A (en) Terminal state control method and terminal
KR102406268B1 (en) An electronic device providing location information and control method
CN103337182A (en) Flow induced traffic light
CN107734453B (en) Positioning method, positioning device and terminal
CN105813182A (en) Low-power-consumption positioning method and low-power-consumption positioning device

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
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: 201203 Shanghai city Pudong New Area Zhangjiang Keyuan Road No. 399 Building No. 1

Patentee after: HUAQIN TELECOM TECHNOLOGY Co.,Ltd.

Address before: 201203 Shanghai city Pudong New Area Zhangjiang Keyuan Road No. 399 Building No. 1

Patentee before: SHANGHAI HUAQIN TELECOM TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 201203 Building 1, 399 Zhangyuan Road, Zhangjiang, Pudong New Area, Shanghai

Patentee after: Huaqin Technology Co.,Ltd.

Address before: 201203 Building 1, 399 Zhangyuan Road, Zhangjiang, Pudong New Area, Shanghai

Patentee before: Huaqin Technology Co.,Ltd.

Address after: 201203 Building 1, 399 Zhangyuan Road, Zhangjiang, Pudong New Area, Shanghai

Patentee after: Huaqin Technology Co.,Ltd.

Address before: 201203 Building 1, 399 Zhangyuan Road, Zhangjiang, Pudong New Area, Shanghai

Patentee before: HUAQIN TELECOM TECHNOLOGY Co.,Ltd.