CN107302638A - A kind of volume adjusting method, device, storage medium and mobile terminal - Google Patents

A kind of volume adjusting method, device, storage medium and mobile terminal Download PDF

Info

Publication number
CN107302638A
CN107302638A CN201710710413.2A CN201710710413A CN107302638A CN 107302638 A CN107302638 A CN 107302638A CN 201710710413 A CN201710710413 A CN 201710710413A CN 107302638 A CN107302638 A CN 107302638A
Authority
CN
China
Prior art keywords
volume
information
user
volume adjusting
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710710413.2A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710710413.2A priority Critical patent/CN107302638A/en
Publication of CN107302638A publication Critical patent/CN107302638A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location

Abstract

The embodiment of the invention discloses a kind of volume adjusting method, device, storage medium and mobile terminal.This method includes:The positional information that user is currently located is obtained by the locating module of mobile terminal;According to the positional information and map datum corresponding with the positional information, the volume adjusting information of user's present position is determined;The volume value current to the mobile terminal according to the volume adjusting information is adjusted.The volume adjusting method that the embodiment of the present invention is provided, it is possible to achieve the effect of mobile terminal loudness is automatically adjusted according to user's request.

Description

A kind of volume adjusting method, device, storage medium and mobile terminal
Technical field
The present embodiments relate to computer realm, more particularly to a kind of volume adjusting method, device, storage medium and shifting Dynamic terminal.
Background technology
At present, the function of mobile terminal is enriched increasingly, also more and more intelligent, various sound playout software (such as music and people The softwares such as sound reading) arise at the historic moment.User is during using mobile terminal because the difference of self-demand is, it is necessary to mobile whole The volume at end is adjusted, but existing volume adjusting mode existing defects are, it is necessary to improve.
The content of the invention
The embodiment of the present invention provides a kind of volume adjusting method, device, storage medium and mobile terminal, can optimize movement The volume adjusting mode of terminal.
In a first aspect, the embodiments of the invention provide a kind of volume adjusting method, this method includes:
The positional information that user is currently located is obtained by the locating module of mobile terminal;
According to the positional information and map datum corresponding with the positional information, user's present position is determined Volume adjusting information;
The volume value current to the mobile terminal according to the volume adjusting information is adjusted.
Second aspect, the embodiments of the invention provide a kind of volume adjustment device, the device includes:
Position information acquisition module, the position letter that user is currently located is obtained for the locating module by mobile terminal Breath;
Volume adjusting information determination module, for according to the positional information and map corresponding with the positional information Data, determine the volume adjusting information of user's present position;
Volume adjusting module, is adjusted for the volume value current to the mobile terminal according to the volume adjusting information Section.
The third aspect, the embodiments of the invention provide a kind of computer-readable recording medium, is stored thereon with computer journey Sequence, realizes volume adjusting method as described in the present embodiment of the invention when the program is executed by processor.
Fourth aspect, the embodiments of the invention provide a kind of mobile terminal, including memory, processor and is stored in storage On device and the computer program that can be run in processor, realized described in the computing device during computer program as the present invention is real Apply the volume adjusting method described in example.
The volume adjusting scheme provided in the embodiment of the present invention, the current institute of user is obtained by the locating module of mobile terminal Positional information, and the map datum according to corresponding to the positional information and positional information determines active user position Volume adjusting information, then the volume value of mobile terminal is adjusted according to the volume adjusting information.Institute of the embodiment of the present invention The technical scheme of offer, it is possible to achieve the effect of mobile terminal loudness is automatically adjusted according to user's request.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet of volume adjusting method provided in an embodiment of the present invention;
Fig. 2 is a kind of customer location positioning schematic diagram provided in an embodiment of the present invention;
Fig. 3 is another customer location positioning schematic diagram provided in an embodiment of the present invention;
Fig. 4 is the schematic flow sheet of another volume adjusting method provided in an embodiment of the present invention;
Fig. 5 a are the schematic diagram of the linear regulative mode of volume provided in an embodiment of the present invention;
Fig. 5 b are a kind of schematic diagram of volume Nonlinear Adjustment mode provided in an embodiment of the present invention;
Fig. 5 c are a kind of schematic diagram of volume Nonlinear Adjustment mode provided in an embodiment of the present invention;
Fig. 5 d are a kind of schematic diagram of volume Nonlinear Adjustment mode provided in an embodiment of the present invention;
Fig. 6 is a kind of structured flowchart of volume adjustment device provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of mobile terminal provided in an embodiment of the present invention.
Embodiment
Further illustrate technical scheme below in conjunction with the accompanying drawings and by embodiment.It may be appreciated It is that specific embodiment described herein is used only for explaining the present invention, rather than limitation of the invention.Further need exist for explanation , for the ease of description, part related to the present invention rather than entire infrastructure are illustrate only in accompanying drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.Although each step is described as the processing of order, many of which by flow chart Step can be implemented concurrently, concomitantly or simultaneously.In addition, the order of each step can be rearranged.When its operation The processing can be terminated during completion, it is also possible to the additional step being not included in accompanying drawing.The processing can be with Corresponding to method, function, code, subroutine, subprogram etc..
Fig. 1 is a kind of schematic flow sheet of volume adjusting method provided in an embodiment of the present invention, and this method can be by this hair The volume adjustment device that bright embodiment is provided is performed, and wherein the device can be realized by software and/or hardware, can be typically integrated in In mobile terminal.As shown in figure 1, this method includes:
S101, the positional information being currently located by the locating module acquisition user of mobile terminal.
Exemplary, the mobile terminal in the embodiment of the present invention may include mobile phone, tablet personal computer and personal digital assistant Equipment etc. sound-playing function is provided with.
Wherein, the locating module of mobile terminal can obtain the positional information that user is currently located, and the locating module can be with It is GPS (Global Positioning System, global positioning system) locating module or triones navigation system etc. Other locating modules, are not construed as limiting to this embodiment of the present invention.In the present embodiment, it is preferred that can be obtained with prefixed time interval The positional information that user is currently located, the positional information that a user is currently located is obtained such as every 10 seconds or every 20 seconds. The prefixed time interval can be default setting after mobile terminal dispatches from the factory, and can also voluntarily be set according to the use habit of user, The function can also be closed after user selects.So set and be advantageous in that and be adapted to user's request, and can be with interval The mode that preset time obtains the positional information of user reaches the effect for saving the energy.
The positional information of user can be the scene according to where fixed position determines user, can include static bit confidence Breath and dynamic location information, e.g., within 1 minute, the positional information of acquisition user 5 times altogether.Exemplary, Fig. 2 is the present invention A kind of customer location positioning schematic diagram that embodiment is provided.As shown in Fig. 2 mesh column distance 1 and mesh row distance 2 may each be 5 meters, in one minute, obtain the position positioning 3 of 5 users.Wherein, the position positioning 3 obtained every time is all adjoining.Such as Fig. 2 Shown, the distance of the position positioning of 5 acquisitions is no more than 10 meters, in such a case, it is possible to determine that user is in non-athletic The positional information under non-athletic state is referred to as static position information in state, the present embodiment.Fig. 3 provides for the embodiment of the present invention Another customer location positioning schematic diagram.As shown in figure 3, mesh column distance 1 and mesh row distance 2 may each be 5 meters, one In minute, the position positioning 3 of 5 users is obtained.Wherein, the position positioning obtained every time is 3 all separated by a distance, and along certain One direction dynamic mobile, it is determined that user is kept in motion, in the present embodiment, the positional information under motion state is referred to as moving State positional information.
Can be that mobile terminal gets being currently located for user by locating module for the acquisition of customer position information Sent after positional information after issuing the instruction for obtaining customer position information to server or server, mobile terminal root The positional information of user is obtained according to the instruction of server.
S102, according to the positional information and map datum corresponding with the positional information, determine the current institute of user Volume adjusting information in position.
Wherein, map datum can be with cartographic information and can it is corresponding with the positional information on data message. Such as the positional information that active user positions, correspond on map datum, be probably office building, bar and bookstore etc. herein, go back It is probably park, hill path and playground etc..
The volume adjusting information of user's present position is determined, wherein, volume adjusting information can be a target sound Information is measured, such as according to the environment of user current location, it is determined that suitable level of sound volume can be 6 grades herein, then level of sound volume A target volume is used as 6 grades.Volume adjusting information can also be a kind of regulation grade, such as determine that user has interior to move to Outdoor, then can increase two grades by the volume of mobile terminal accordingly, such as original level of sound volume indoors is 3 grades, then Two grades can be increased to 5 grades, such as original level of sound volume indoors is 4 grades, then can increase two grades to 6 grades.
According to the positional information and map datum corresponding with the positional information, user's present position is determined Volume adjusting information, can more comprehensively consider the environmental volume of user position, and then to the volume of mobile terminal Make corresponding regulation.With reference to above-mentioned example, if as shown in Fig. 2 user position is in office building all the time, can be by Level of sound volume is adjusted to 3 grades, if user position is in park all the time, can be by level of sound volume regulation to 6 grades.So Just can be after the positional information of user be obtained, in conjunction with map datum so that the result of volume adjusting is better able to adapt to In the demand of user, Consumer's Experience is improved.With reference to above-mentioned example, if as shown in figure 3, user is in playground, sandy beach and public affairs Garden etc., then can determine that user is in running state, then can accordingly increase volume or adjust to a certain target sound value.But If being that user is on highway, need to be to be in running state in driving or by bus state to sentence to user It is disconnected, have a variety of with reference to the mode that map datum is judged, can such as combine map datum, it is on highway to judge active user Pavement on be in the traffic route on highway, if on pavement, then it is assumed that user is running state, such as Fruit is in traffic route, then to may be considered driving or by bus state.In the embodiment of the present invention, it can also count according to the map According to whether the highway location where determining active user is in traffic congestion state, if it is, and the positional information of user is shown When user is still in quick motion state, then it may determine that user is in running state.
With reference to above-mentioned example, it may be determined that user is in which kind of position and which kind of state, and the position according to residing for user Put and determine volume adjusting information with state, can so effectively improve and accurately determine for what user's request judged, improve user's Experience.
What deserves to be explained is, the volume value and volume adjusting being previously mentioned in the embodiment of the present invention can be that user utilizes shifting The system sound volume of volume or mobile terminal during dynamic terminal progress playback of media files, including prompt tone volume, alarm clock Volume etc., the embodiment of the present invention is not construed as limiting to this.
Step 103, the volume value current to the mobile terminal according to the volume adjusting information are adjusted.
Wherein, the volume adjusting information can be tune up or turn down mobile terminal current volume value or It is consistent with current volume value, that is, give tacit consent to current volume value and meet user's request, then need not do any regulation operation.
What deserves to be explained is, the volume value and volume adjusting being previously mentioned in the embodiment of the present invention can be that user utilizes shifting The system sound volume of volume or mobile terminal when dynamic terminal carries out playback of media files, including prompt tone volume and noisy Clock volume, can also be In Call and earpiece volume etc., and the embodiment of the present invention is not construed as limiting to this.
The volume adjusting method provided in the embodiment of the present invention, the current institute of user is obtained by the locating module of mobile terminal Positional information, and the map datum according to corresponding to the positional information and positional information determines active user position Volume adjusting information, then the volume value of mobile terminal is adjusted according to the volume adjusting information.Institute of the embodiment of the present invention The technical scheme of offer, it is possible to achieve the effect of mobile terminal loudness is automatically adjusted according to user's request.
Fig. 4 is the schematic flow sheet of another volume adjusting method provided in an embodiment of the present invention, in above-mentioned technical proposal On the basis of, further optimization has been carried out to the volume adjusting method.
As shown in figure 4, the volume adjusting method includes:
S401, the change in location information being currently located by the locating module acquisition user of mobile terminal.
Wherein, the change in location information is obtained according to the different positional informations obtained in prefixed time interval.
In such as above-mentioned example of the embodiment of the present invention in Fig. 2 and Fig. 3, position positioning 3 can be just change in location information A part, change in location information can also include temporal information, and the fortune of user can be thus learnt in the change information of position Dynamic speed, so as to provide foundation in which kind of state and follow-up determination volume adjusting information for user.
S402, according to the change in location information, determine the current motion state of user.
Wherein, the motion state includes:Inactive state, the first preset state, the second preset state and the 3rd default State.
The inactive state, the first preset state, the second preset state and the 3rd preset state can be according to user Movement velocity come determining or by peripheral hardware obtain the biological characteristic of user and determine, e.g., obtain the heart of user Rate, determines which kind of state user is currently at further according to the heart rate and map datum of user.Root is preferably in the present embodiment According to change in location information, the current motion state of user is determined, wherein, during inactive state can be change in location information per minute Distance be less than 15 meters when.First preset state can be low-speed motion state, and such as user is walking, take a walk etc., second presets Motion state can be high-speed motion state, such as run, ride, and the 3rd motion state can be carrying bus, drive vapour The state of car equivalent-load vehicle.Every kind of motion state can correspond to the distance range in different change in location information.
S403, according to the motion state and the corresponding map datum of the positional information, determine user position Volume adjusting reference information.
Because under every kind of state, user is different for the volume demand of mobile terminal, in conjunction with the position where current state Put and map datum, can thus provide the user one as far as possible suitable level of sound volume carry out music etc. broadcasting or The reminding sound volume of person's information etc..
For example, being similarly under running state, run and in highway side running user to level of sound volume in park Demand is different.So in the state of difference, with reference to map datum, can more accurately provide the user to be adapted to and work as Volume adjusting information under preceding environment and current state.
S404, the volume value current to the mobile terminal according to the volume adjusting information are adjusted.
There is provided include change in location information in the positional information on the basis of above-mentioned technical proposal for the technical program When, carry out the preferred embodiment of volume adjusting, it is possible to achieve the volume adjusting of terminal is more accurately moved for user Effect.
On the basis of above-mentioned technical proposal, it is preferred that according to the change in location information, determine the current kinetic of user State, including:Location updating sensitivity is obtained, the location updating sensitivity includes predeterminated position and updates sensitivity and adjustment position Put renewal sensitivity;Updated in current location under sensitivity, determine the change in location information of user;Believed according to the change in location Breath, determines the current motion state of user.
Wherein, location updating sensitivity can be the speed of updating location information, update once within such as every 20 seconds, then position is more New sensitivity is relatively low, and such as every five seconds for example updates once, then location updating sensitivity is higher.In the present embodiment, location updating sensitivity can To update sensitivity and adjustment position renewal sensitivity including predeterminated position, wherein, it can move that predeterminated position, which updates sensitivity, What dynamic terminal had just been set when dispatching from the factory, it can be by GUI (Graphical User that adjustment position, which updates sensitivity, Interface, graphic user interface) provide the user one set window set manually by user.In current location more Under new sensitivity, the change in location information of user is determined;According to the change in location information, the current kinetic shape of user is determined State.
On the basis of above-mentioned each technical scheme, present embodiments providing one kind can select location updating sensitive for user The technical scheme of degree.In the technical program, user can update sensitivity according to the manual set location of demand of oneself.So It can meet and adjust the user that response speed requires different for volume, while relatively low location updating can also be set in user During sensitivity, mobile terminal can save the energy.Avoid because energy resource consumption is too fast, the stand-by time of influence mobile terminal, and shadow Ring use of the user to mobile terminal.
On the basis of above-mentioned each technical scheme, it is preferred that according to the positional information and with the positional information pair The map datum answered, determining the volume adjusting information of user's present position includes:According to the positional information, the position The corresponding map datum of information and volume adjusting reference information determine the volume adjusting information of user's present position;Its In, the volume adjusting reference information includes:The target sound of active user position is determined according to ambient noise volume information Measure, the target volume of active user position is determined according to ambient noise spectrum information and recommends information volume true according to position Determine at least one of target volume of active user position.
Wherein, volume adjusting reference information can be that, as one of the reference information for determining volume adjusting information, it can be with It is with the information that the time is different and changes.
Volume adjusting reference information can determine the target sound of active user position according to ambient noise volume information Amount, such as ambient noise present is bigger, then target volume determined by volume adjusting reference information is higher.As ambient noise present is got over Small, then target volume determined by volume adjusting reference information is lower.
Volume adjusting reference information can also determine the target of active user position according to ambient noise spectrum information Volume, such as ambient noise present frequency spectrum are higher in the sound accounting of low-frequency range, then target determined by volume adjusting reference information Volume is lower.Such as ambient noise present frequency spectrum is higher in the sound accounting of high band, then determined by volume adjusting reference information Target volume is higher.Wherein, low-frequency range can be 20-400Hz, and high band can be 400-20000Hz.
Volume adjusting reference information can also determine the target of active user position according to position recommendation information volume Volume.Position recommends information volume carry out the assessment of location circumstances sound according to present position, and according to assessment As a result the target volume of user position is determined.Wherein, recommend information volume to can contemplate the factors such as current time, specifically may be used To be presented as:Such as in a certain position, 6:The target volume of determination when 00 with same position 12:00 target volume determined Differ.
What deserves to be explained is, the embodiment of the present invention can use above-mentioned one or more kinds of modes, wherein, obtain current The noise ration and noise spectrum of environment can be the sound that ambient noise present is obtained by using the microphone of mobile terminal After tablet section, the sound clip is handled and analyzed obtained data, naturally it is also possible to take other modes, the present invention is real Example is applied to be not construed as limiting this.
The technical program is on the basis of above-mentioned each technical scheme, it is determined that during volume adjusting information, adding This factor of volume adjusting reference information.The benefit so set can be by the consideration for volume adjusting reference information, Under comprehensive analysis current environment, it is determined that more accurate volume adjusting information, can be such that the level of sound volume after regulation more meets User's request, improves the experience of user.
On the basis of above-mentioned each technical scheme, it is preferred that the mobile terminal is worked as according to the volume adjusting information Preceding volume value be adjusted including:Judge the difference of current volume and the target volume;According to the difference, it is determined that with it is pre- If the volume adjusting mode corresponding to difference rank;Wherein, the volume adjusting mode includes linear regulation mode and non-linear Regulative mode;It is adjusted using the volume adjusting mode volume value current to the mobile terminal.
In the technical program, the target volume of volume adjusting will be determined as a kind of preferred embodiment of volume adjusting.Its In, preset difference value rank can be the rank of some volume-level difference, exemplary, can be 3 grades, then in difference rank Less than or equal to 3 grades as low difference rank, high difference rank is used as more than 3 grades in difference rank.Wherein, linear regulation mode can In the way of being gradually to increase or reduce over time, Nonlinear Adjustment mode can be after nonlinear change Adjusted by original volume to the mode of target volume.
On the basis of above-mentioned technical proposal, it is preferred that according to the difference, it is determined that with corresponding to preset difference value rank Volume adjusting mode, including:When the difference is less than the preset difference value rank, using the linear regulation mode to volume It is adjusted;When the difference is not less than the preset difference value rank, volume is carried out using the Nonlinear Adjustment mode Regulation.
The technical program determines volume on the basis of above-mentioned technical proposal there is provided a kind of size according to the difference The scheme of regulative mode, can directly be adjusted to target volume when the difference is smaller using linear regulation mode, and work as institute State difference it is larger when, then adjusted to target volume using Nonlinear Adjustment mode.The benefit so set is can be according to difference With the magnitude relationship of preset difference value rank, determine the concrete mode of volume adjusting, can highlight difference it is larger when volume adjusting Nonlinear Adjustment process, more attracts the notice of user and improves the comfort level that volume is automatically adjusted.
On the basis of above-mentioned each technical scheme, it is preferred that the Nonlinear Adjustment mode includes:Concave function be incremented by/is passed Subtract mode, convex function incremented/decremented mode, and first increase subtract afterwards again gradually increase/first subtract the mode for increasing be gradually reduced again afterwards.
Fig. 5 a are the schematic diagram of the linear regulative mode of volume provided in an embodiment of the present invention, as shown in Figure 5 a, wherein horizontal sit Mark can be the time, and ordinate can be level of sound volume, when current volume level 10 and the target volume grade 20 of mobile terminal Between difference it is smaller, during less than or equal to preset difference value rank, then using linear regulation mode, so in current volume level 10 It is adjusted with target volume grade 20 by the way of linear regulation 30.
Fig. 5 b are a kind of schematic diagram of volume Nonlinear Adjustment mode provided in an embodiment of the present invention, as shown in Figure 5 b, its Middle abscissa can be the time, and ordinate can be level of sound volume, when the current volume level 10 and target volume of mobile terminal Difference between grade 20 is larger, during more than preset difference value rank, then using Nonlinear Adjustment mode.Wherein, there is current sound Measure grade 10 and be more than target volume grade 20 and current volume level 10 less than 20 two kinds of situations of target volume grade.In Fig. 5 b In show volume adjusting carried out in concave function incremented/decremented mode.
Fig. 5 c are a kind of schematic diagram of volume Nonlinear Adjustment mode provided in an embodiment of the present invention, as shown in Figure 5 c, its Middle abscissa can be the time, and ordinate can be level of sound volume, when the current volume level 10 and target volume of mobile terminal Difference between grade 20 is larger, during more than preset difference value rank, then using Nonlinear Adjustment mode.Wherein, there is current sound Measure grade 10 and be more than target volume grade 20 and current volume level 10 less than 20 two kinds of situations of target volume grade.In Fig. 5 c In show volume adjusting carried out in convex function incremented/decremented mode.
Fig. 5 d are a kind of schematic diagram of volume Nonlinear Adjustment mode provided in an embodiment of the present invention, as fig 5d, its Middle abscissa can be the time, and ordinate can be level of sound volume, when the current volume level 10 and target volume of mobile terminal Difference between grade 20 is larger, during more than preset difference value rank, then using Nonlinear Adjustment mode.Wherein, there is current sound Measure grade 10 and be more than target volume grade 20 and current volume level 10 less than 20 two kinds of situations of target volume grade.In Fig. 5 d In show by first increase subtract afterwards gradually increase/first subtract again increase afterwards be gradually reduced again in the way of carry out volume adjusting.
There is provided a kind of tool of linearity and non-linearity volume adjusting on the basis of above-mentioned each technical scheme for the technical program Body mode, wherein, linear regulation mode only gives a kind of situation that target volume is more than current volume, small for target volume It is equal to the situation of current volume in the situation and target volume of current volume, is applicable, simply target volume is equal to current sound The effect that the situation of amount can be embodied is without being adjusted.
The above-mentioned technical scheme that Nonlinear Adjustment is carried out for level of sound volume, it is possible to achieve for the gearshift adjustment of volume, It can not only make to carry out volume adjusting according to the demand of user, the attention of user can also be attracted during volume adjusting, And allow user to experience the enjoyment that volume adjusting is brought.
Fig. 6 is a kind of structured flowchart of volume adjustment device provided in an embodiment of the present invention, the device can by software and/or Hardware is realized, is typically integrated in mobile terminal, can be adjusted by performing volume adjusting method come the volume to mobile terminal Section.As shown in fig. 6, the device includes:
Position information acquisition module 601, the position that user is currently located is obtained for the locating module by mobile terminal Information;
Volume adjusting information determination module 602, for according to the positional information and corresponding with the positional information Map datum, determines the volume adjusting information of user's present position;
Volume adjusting module 603, enters for the volume value current to the mobile terminal according to the volume adjusting information Row regulation.
Volume adjustment device provided in an embodiment of the present invention, obtains user by the locating module of mobile terminal and is currently located Positional information, and the map datum according to corresponding to the positional information and positional information determines active user position Volume adjusting information, then the volume value of mobile terminal is adjusted according to the volume adjusting information.The embodiment of the present invention is carried The technical scheme of confession, it is possible to achieve the effect of mobile terminal loudness is automatically adjusted according to user's request.
On the basis of above-mentioned technical proposal, it is preferred that the positional information includes change in location information, the position becomes Change information to obtain according to the different positional informations obtained in prefixed time interval;
Accordingly, the volume adjusting information determination module 602 includes:
Motion state determining unit, for according to the change in location information, determining the current motion state of user;Its In, the motion state includes:Inactive state, the first preset state, the second preset state and the 3rd preset state;
First volume adjusting information determination unit, for according to the motion state and the corresponding map of the positional information Data, determine the volume adjusting information of user position.
On the basis of above-mentioned technical proposal, it is preferred that the motion state determining unit includes:
Location updating sensitivity obtains subelement, for obtaining location updating sensitivity, the location updating sensitivity bag Include predeterminated position and update sensitivity and adjustment position renewal sensitivity;
Change in location information determination subelement, for being updated in current location under sensitivity, determines the change in location of user Information;
Motion state determination subelement, for according to the change in location information, determining the current motion state of user.
On the basis of above-mentioned technical proposal, it is preferred that the volume adjusting information determination module includes:
Second volume adjusting information determination unit, for according to the positional information, the corresponding map of the positional information Data and volume adjusting reference information determine the volume adjusting information of user's present position;
Wherein, the volume adjusting reference information includes:Determine that active user institute is in place according to ambient noise volume information The target volume put, the target volume of active user position is determined according to ambient noise spectrum information and recommended according to position Information volume determines at least one of target volume of active user position.
On the basis of above-mentioned technical proposal, it is preferred that the volume adjusting module 603 includes:
Dif ference judgment unit, the difference for judging current volume and the target volume;
Volume adjusting mode determining unit, for according to the difference, it is determined that with the volume corresponding to preset difference value rank Regulative mode;Wherein, the volume adjusting mode includes linear regulation mode and Nonlinear Adjustment mode;
Sound volume regulation unit, for being adjusted using the volume adjusting mode volume value current to the mobile terminal Section.
On the basis of above-mentioned technical proposal, it is preferred that the volume adjusting mode determining unit includes:
First volume adjusting mode determination subelement, for when the difference is less than the preset difference value rank, using Volume is adjusted the linear regulation mode;
Second volume adjusting mode determination subelement, for when the difference is not less than the preset difference value rank, adopting Volume is adjusted with the Nonlinear Adjustment mode.
On the basis of above-mentioned technical proposal, it is preferred that the Nonlinear Adjustment mode includes:
Concave function incremented/decremented mode, convex function incremented/decremented mode, and after first increasing and subtracting gradually increase/first subtract again afterwards Increase the mode being gradually reduced again.
The said goods can perform the method that any embodiment of the present invention is provided, and possess the corresponding functional module of execution method And beneficial effect.
The embodiment of the present invention also provides a kind of storage medium for including computer executable instructions, and the computer can perform Instruction is used to perform a kind of volume adjusting method when being performed by computer processor, and this method includes:
The positional information that user is currently located is obtained by the locating module of mobile terminal;
According to the positional information and map datum corresponding with the positional information, user's present position is determined Volume adjusting information;
The volume value current to the mobile terminal according to the volume adjusting information is adjusted.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to bag Include:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetizing mediums (such as hard disk or optical storage);Memory component of register or other similar types etc..Storage medium can also include other The memory of type or its combination.In addition, storage medium can be located at program in the first computer system being wherein performed, Or can be located in different second computer systems, second computer system is connected to the by network (such as internet) One computer system.Second computer system can provide programmed instruction to be used to perform to the first computer." storage is situated between term Matter " can include may reside within diverse location two of (such as in the different computer systems by network connection) or More storage mediums.Storage medium can store the programmed instruction that can be performed by one or more processors and (for example implement For computer program).
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present invention is provided, its computer The volume adjusting method that executable instruction is not limited to the described above, can also carry out the volume that any embodiment of the present invention is provided Associative operation in adjusting method.
, can integrated sound provided in an embodiment of the present invention in the mobile terminal the embodiments of the invention provide a kind of mobile terminal Quantity regulating device.Fig. 7 is a kind of structural representation of mobile terminal provided in an embodiment of the present invention.As shown in fig. 7, the movement is whole End can include:Memory 701, central processing unit (Central Processing Unit, CPU) 702 (also known as processor, with Lower abbreviation CPU), circuit board (not shown) and power circuit (not shown).The circuit board is placed in the housing The interior volume surrounded;The CPU702 and the memory 701 are arranged on the circuit board;The power circuit, is used for Powered for each circuit or device of the mobile terminal;The memory 701, for storing executable program code;It is described CPU702 is run and the executable program code pair by reading the executable program code stored in the memory 701 The computer program answered, to realize following steps:
The positional information that user is currently located is obtained by the locating module of mobile terminal;
According to the positional information and map datum corresponding with the positional information, user's present position is determined Volume adjusting information;
The volume value current to the mobile terminal according to the volume adjusting information is adjusted.
The mobile terminal also includes:Peripheral Interface 703, RF (Radio Frequency, radio frequency) circuit 705, audio-frequency electric Road 706, loudspeaker 711, power management chip 708, input/output (I/O) subsystem 709, touch-screen 712, other input/controls Control equipment 710 and outside port 704, these parts are communicated by one or more communication bus or signal wire 707.
It should be understood that diagram mobile terminal 700 is only an example of mobile terminal, and mobile terminal 700 Can have than more or less parts shown in figure, can combine two or more parts, or can be with Configured with different parts.Various parts shown in figure can be including one or more signal transactings and/or special Hardware, software including integrated circuit or realization in the combination of hardware and software.
Below with regard to the present embodiment provide the mobile terminal for volume adjusting be described in detail, the mobile terminal with Exemplified by mobile phone.
Memory 701, the memory 701 can be accessed by CPU702, Peripheral Interface 703 etc., and the memory 701 can With including high-speed random access memory, nonvolatile memory can also be included, such as one or more disk memories, Flush memory device or other volatile solid-state parts.
The input of equipment and output peripheral hardware can be connected to CPU702 and deposited by Peripheral Interface 703, the Peripheral Interface 703 Reservoir 701.
I/O subsystems 709, the I/O subsystems 709 can be by the input/output peripheral in equipment, such as touch-screen 712 With other input/control devicess 710, Peripheral Interface 703 is connected to.I/O subsystems 709 can include the He of display controller 7091 One or more input controllers 7092 for controlling other input/control devicess 710.Wherein, one or more input controls Device 7092 processed receives electric signal from other input/control devicess 710 or sends electric signal to other input/control devicess 710, Other input/control devicess 710 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole, click roller.What deserves to be explained is, input controller 7092 can with it is following any one be connected:Keyboard, infrared port, The instruction equipment of USB interface and such as mouse.
Touch-screen 712, the touch-screen 712 is the input interface and output interface between customer mobile terminal and user, By visual output display to user, visual output can include figure, text, icon, video etc..
Display controller 7091 in I/O subsystems 709 receives electric signal from touch-screen 712 or sent out to touch-screen 712 Electric signals.The contact detected is converted to and shown by the contact on the detection touch-screen of touch-screen 712, display controller 7091 The interaction of user interface object on touch-screen 712, that is, realize man-machine interaction, is shown in the user interface on touch-screen 712 Icon that object can be the icon of running game, be networked to corresponding network etc..What deserves to be explained is, equipment can also include light Mouse, light mouse is the extension for not showing the touch sensitive surface visually exported, or the touch sensitive surface formed by touch-screen.
RF circuits 705, are mainly used in setting up the communication of mobile phone and wireless network (i.e. network side), realize mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email.Specifically, RF circuits 705 receive and send RF letters Number, RF signals are also referred to as electromagnetic signal, and RF circuits 705 convert electrical signals to electromagnetic signal or electromagnetic signal is converted into telecommunications Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuits 705 can include being used to perform The known circuit of these functions, it includes but is not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one Individual or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user's mark mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 706, is mainly used in receiving voice data from Peripheral Interface 703, the voice data is converted into telecommunications Number, and the electric signal is sent to loudspeaker 711.
Loudspeaker 711, for the voice signal for receiving mobile phone from wireless network by RF circuits 705, is reduced to sound And play the sound to user.
Power management chip 708, the hardware for being connected by CPU702, I/O subsystem and Peripheral Interface is powered And power management.
Mobile terminal provided in an embodiment of the present invention, it is possible to achieve mobile terminal loudness is automatically adjusted according to user's request Effect.
Any implementation of the executable present invention of volume adjustment device, storage medium and mobile terminal provided in above-described embodiment The volume adjusting method that example is provided, possesses the execution corresponding functional module of this method and beneficial effect.Not in above-described embodiment In detailed description ins and outs, reference can be made to the volume adjusting method that any embodiment of the present invention is provided.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art it is various it is obvious change, Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. a kind of volume adjusting method, it is characterised in that including:
The positional information that user is currently located is obtained by the locating module of mobile terminal;
According to the positional information and map datum corresponding with the positional information, the sound of user's present position is determined Amount regulation information;
The volume value current to the mobile terminal according to the volume adjusting information is adjusted.
2. volume adjusting method according to claim 1, it is characterised in that the positional information is believed including change in location Breath, the change in location information is obtained according to the different positional informations obtained in prefixed time interval;
Accordingly, according to the positional information and map datum corresponding with the positional information, determine that user is currently located The volume adjusting information of position, including:
According to the change in location information, the current motion state of user is determined;Wherein, the motion state includes:Static shape State, the first preset state, the second preset state and the 3rd preset state;
According to the motion state and the corresponding map datum of the positional information, the volume adjusting ginseng of user position is determined Examine information.
3. method according to claim 2, it is characterised in that according to the change in location information, determines that user's is current Motion state, including:
Location updating sensitivity is obtained, the location updating sensitivity includes predeterminated position and updates sensitivity and adjustment position renewal Sensitivity;
Updated in current location under sensitivity, determine the change in location information of user;
According to the change in location information, the current motion state of user is determined.
4. according to the method described in claim 1, it is characterised in that according to the positional information and with the positional information pair The map datum answered, determining the volume adjusting information of user's present position includes:
Determine that user works as according to the positional information, the corresponding map datum of the positional information and volume adjusting reference information The volume adjusting information of preceding position;
Wherein, the volume adjusting reference information includes:Active user position is determined according to ambient noise volume information Target volume, the target volume for determining according to ambient noise spectrum information active user position and volume is recommended according to position Information determines at least one of target volume of active user position.
5. the method according to any one of claim 1-4, it is characterised in that according to the volume adjusting information to described The current volume value of mobile terminal be adjusted including:
Judge the difference of current volume and the target volume;
According to the difference, it is determined that with the volume adjusting mode corresponding to preset difference value rank;Wherein, the volume adjusting mode Including linear regulation mode and Nonlinear Adjustment mode;
It is adjusted using the volume adjusting mode volume value current to the mobile terminal.
6. method according to claim 5, it is characterised in that according to the difference, it is determined that right with preset difference value rank institute The volume adjusting mode answered, including:
When the difference is less than the preset difference value rank, volume is adjusted using the linear regulation mode;
When the difference is not less than the preset difference value rank, volume is adjusted using the Nonlinear Adjustment mode.
7. method according to claim 6, it is characterised in that the Nonlinear Adjustment mode includes:
Concave function incremented/decremented mode, convex function incremented/decremented mode, and first increase to subtract gradually increase/first to subtract again afterwards and increase afterwards again The mode being gradually reduced.
8. a kind of volume adjustment device, it is characterised in that including:
Position information acquisition module, the positional information that user is currently located is obtained for the locating module by mobile terminal;
Volume adjusting information determination module, for according to the positional information and map number corresponding with the positional information According to determining the volume adjusting information of user's present position;
Volume adjusting module, is adjusted for the volume value current to the mobile terminal according to the volume adjusting information.
9. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is held by processor The volume adjusting method as described in any in claim 1-7 is realized during row.
10. a kind of mobile terminal, including memory, processor and storage on a memory and can processor operation computer Program, it is characterised in that realize the sound as described in any in claim 1-7 described in the computing device during computer program Amount adjustment method.
CN201710710413.2A 2017-08-18 2017-08-18 A kind of volume adjusting method, device, storage medium and mobile terminal Pending CN107302638A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710710413.2A CN107302638A (en) 2017-08-18 2017-08-18 A kind of volume adjusting method, device, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710710413.2A CN107302638A (en) 2017-08-18 2017-08-18 A kind of volume adjusting method, device, storage medium and mobile terminal

Publications (1)

Publication Number Publication Date
CN107302638A true CN107302638A (en) 2017-10-27

Family

ID=60132239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710710413.2A Pending CN107302638A (en) 2017-08-18 2017-08-18 A kind of volume adjusting method, device, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN107302638A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108089838A (en) * 2018-01-10 2018-05-29 上海展扬通信技术有限公司 Volume adjusting method, mobile terminal and storage medium under screen lock state
CN109640317A (en) * 2018-12-28 2019-04-16 惠州Tcl移动通信有限公司 A kind of method of automatic regulating volume, terminal, communication system and storage medium
CN109830116A (en) * 2018-12-15 2019-05-31 深圳壹账通智能科技有限公司 Information cuing method, device and relevant device based on image recognition
CN109842725A (en) * 2019-01-25 2019-06-04 努比亚技术有限公司 A kind of method for controlling volume of mobile terminal, mobile terminal and storage medium
CN110719545A (en) * 2019-09-12 2020-01-21 连尚(新昌)网络科技有限公司 Audio playing device and method for playing audio
CN111064843A (en) * 2018-10-16 2020-04-24 奇酷互联网络科技(深圳)有限公司 Method for adjusting call volume applied to terminal, terminal and storage device
CN111316621A (en) * 2017-11-09 2020-06-19 深圳传音通讯有限公司 Method and device for adjusting ring volume of intelligent equipment
CN112235459A (en) * 2020-09-30 2021-01-15 咪咕音乐有限公司 Volume adjustment method, electronic device, and computer-readable storage medium
CN112689173A (en) * 2020-12-23 2021-04-20 海信视像科技股份有限公司 Display device and volume control method
CN112771889A (en) * 2018-10-27 2021-05-07 深圳市欢太科技有限公司 Audio channel replacing method and related equipment
CN113055785A (en) * 2021-03-29 2021-06-29 珠海格力电器股份有限公司 Volume adjusting method, system and device
CN114629990A (en) * 2022-01-24 2022-06-14 武汉小码联城科技有限公司 Playing state adjusting method and device, storage medium and mobile terminal
WO2022206825A1 (en) * 2021-03-31 2022-10-06 华为技术有限公司 Method and system for adjusting volume, and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040039765A (en) * 2002-11-04 2004-05-12 주식회사 팬택 Apparatus and Method for Offering Volume Control Reference Value of Mobile Communication Terminal
CN103546618A (en) * 2013-10-25 2014-01-29 深圳Tcl新技术有限公司 Volume adjustment method and device for terminal
WO2015013446A1 (en) * 2013-07-23 2015-01-29 Motorola Mobility Llc Method and device for loudness level determination
CN106302956A (en) * 2015-05-22 2017-01-04 商文明 Method and the mobile terminal of sound setting is reminded according to place Intelligent adjustment mobile terminal
CN106331294A (en) * 2015-06-30 2017-01-11 上海卓易科技股份有限公司 Mobile terminal used for movement, and volume self adjusting method thereof
CN106572228A (en) * 2016-11-01 2017-04-19 乐视控股(北京)有限公司 Volume adjusting method, volume adjusting device and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040039765A (en) * 2002-11-04 2004-05-12 주식회사 팬택 Apparatus and Method for Offering Volume Control Reference Value of Mobile Communication Terminal
WO2015013446A1 (en) * 2013-07-23 2015-01-29 Motorola Mobility Llc Method and device for loudness level determination
CN103546618A (en) * 2013-10-25 2014-01-29 深圳Tcl新技术有限公司 Volume adjustment method and device for terminal
CN106302956A (en) * 2015-05-22 2017-01-04 商文明 Method and the mobile terminal of sound setting is reminded according to place Intelligent adjustment mobile terminal
CN106331294A (en) * 2015-06-30 2017-01-11 上海卓易科技股份有限公司 Mobile terminal used for movement, and volume self adjusting method thereof
CN106572228A (en) * 2016-11-01 2017-04-19 乐视控股(北京)有限公司 Volume adjusting method, volume adjusting device and mobile terminal

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111316621A (en) * 2017-11-09 2020-06-19 深圳传音通讯有限公司 Method and device for adjusting ring volume of intelligent equipment
CN108089838A (en) * 2018-01-10 2018-05-29 上海展扬通信技术有限公司 Volume adjusting method, mobile terminal and storage medium under screen lock state
CN111064843A (en) * 2018-10-16 2020-04-24 奇酷互联网络科技(深圳)有限公司 Method for adjusting call volume applied to terminal, terminal and storage device
CN112771889A (en) * 2018-10-27 2021-05-07 深圳市欢太科技有限公司 Audio channel replacing method and related equipment
CN109830116A (en) * 2018-12-15 2019-05-31 深圳壹账通智能科技有限公司 Information cuing method, device and relevant device based on image recognition
CN109640317A (en) * 2018-12-28 2019-04-16 惠州Tcl移动通信有限公司 A kind of method of automatic regulating volume, terminal, communication system and storage medium
CN109842725A (en) * 2019-01-25 2019-06-04 努比亚技术有限公司 A kind of method for controlling volume of mobile terminal, mobile terminal and storage medium
CN110719545A (en) * 2019-09-12 2020-01-21 连尚(新昌)网络科技有限公司 Audio playing device and method for playing audio
CN112235459A (en) * 2020-09-30 2021-01-15 咪咕音乐有限公司 Volume adjustment method, electronic device, and computer-readable storage medium
CN112689173A (en) * 2020-12-23 2021-04-20 海信视像科技股份有限公司 Display device and volume control method
CN113055785A (en) * 2021-03-29 2021-06-29 珠海格力电器股份有限公司 Volume adjusting method, system and device
WO2022206825A1 (en) * 2021-03-31 2022-10-06 华为技术有限公司 Method and system for adjusting volume, and electronic device
CN114629990A (en) * 2022-01-24 2022-06-14 武汉小码联城科技有限公司 Playing state adjusting method and device, storage medium and mobile terminal

Similar Documents

Publication Publication Date Title
CN107302638A (en) A kind of volume adjusting method, device, storage medium and mobile terminal
US10331399B2 (en) Smart audio playback when connecting to an audio output system
CN102006550B (en) Power saving system and method for mobile computing device
CN108169775B (en) Control method and device based on positioning module, storage medium and mobile terminal
CN109247070B (en) Proactive actions on mobile devices using uniquely identifiable and unmarked locations
CN108055642B (en) Control method and device of positioning module, storage medium and mobile terminal
US20130078976A1 (en) Adjustable mobile phone settings based on environmental conditions
CN106471463A (en) Specify for the device that audio input monitors
CN103428361A (en) Operating Geographic Location Systems
WO2014038323A1 (en) Information processing device, information processing method, and program
CN103038817A (en) Acoustic model adaptation using geographic information
CN108076429A (en) Localization method, device, storage medium and mobile terminal
CN108074009B (en) Motion route generation method and device, mobile terminal and server
CN105955700A (en) Sound effect adjusting method and user terminal
US20070060353A1 (en) Program, information storage medium, and game device
CN108168569A (en) Air navigation aid, device, storage medium, mobile terminal and onboard system
CN104285427A (en) Configuring a terminal device according to a context determined by correlating different data sources
CN108076507A (en) Positioning method control method, device, storage medium and mobile terminal
CN108168570A (en) Control method, device, storage medium and the mobile terminal of locating module
CN108831508A (en) Voice activity detection method, device and equipment
CN107885816A (en) Method, apparatus, storage medium and the terminal device that music is recommended
CN108540815A (en) Multimedia content playback method, apparatus and system
CN107995367B (en) Arrival reminding method and device, storage medium and mobile terminal
CN107526569B (en) A kind of volume adjusting method, device, storage medium and mobile terminal
CN108012237A (en) Position control method, device, storage medium and terminal device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171027