CN107508978A - volume adjusting method, device, storage medium and terminal device - Google Patents
volume adjusting method, device, storage medium and terminal device Download PDFInfo
- Publication number
- CN107508978A CN107508978A CN201710710419.XA CN201710710419A CN107508978A CN 107508978 A CN107508978 A CN 107508978A CN 201710710419 A CN201710710419 A CN 201710710419A CN 107508978 A CN107508978 A CN 107508978A
- Authority
- CN
- China
- Prior art keywords
- terminal device
- volume adjusting
- information
- volume
- environmental form
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000007613 environmental effect Effects 0.000 claims abstract description 49
- 230000015654 memory Effects 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 7
- 230000002093 peripheral effect Effects 0.000 description 9
- 238000012545 processing Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 210000005036 nerve Anatomy 0.000 description 1
- 210000002569 neuron Anatomy 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M19/00—Current supply arrangements for telephone systems
- H04M19/02—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
- H04M19/04—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/60—Substation equipment, e.g. for use by subscribers including speech amplifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72484—User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Environmental & Geological Engineering (AREA)
- Telephone Function (AREA)
Abstract
The embodiments of the invention provide a kind of volume adjusting method, device, storage medium and terminal device, this method includes:Obtain the signal intensity of the location information in terminal device, the environmental form according to residing for the signal intensity determines the terminal device;The volume adjusting information according to corresponding to determining the environmental form and the default regulation table of storage;The volume of the terminal device is adjusted according to the volume adjusting information.The advantage of the invention is that improving the volume adjusting efficiency of terminal device, the power consumption of terminal device is reduced.
Description
Technical field
The present embodiments relate to computer realm, more particularly to a kind of volume adjusting method, device, storage medium and end
End equipment.
Background technology
With the development of mobile network, terminal device is gradually popularized in the life of people and opened, most common of which terminal
Equipment is exactly smart mobile phone, in the prior art, the volume of smart mobile phone is adjusted generally by the physical button on mobile phone, or
Mobile phone volume is adjusted by mobile phone screen control button;And such volume adjusting mode underaction is, it is necessary to further perfect.
The content of the invention
The embodiment of the present invention provides a kind of volume adjusting method, device, storage medium and terminal device, improves terminal and sets
Standby volume adjusting efficiency, reduce the power consumption of terminal device.
In a first aspect, the embodiments of the invention provide a kind of volume adjusting method, including:
The signal intensity of the location information in terminal device is obtained, the terminal device institute is determined according to the signal intensity
The environmental form at place;
The volume adjusting information according to corresponding to determining the environmental form and the default regulation table of storage;
The volume of the terminal device is adjusted according to the volume adjusting information.
Second aspect, the embodiments of the invention provide a kind of volume adjustment device, including:
Environmental form determining module, for obtaining the signal intensity of the location information in terminal device, according to the signal
Intensity determines the environmental form residing for the terminal device;
Volume adjusting determining module, for the volume according to corresponding to the environmental form and the determination of the default regulation table of storage
Adjust information;
Adjustment module, for the volume of the terminal device to be adjusted according to the volume adjusting information.
The third aspect, the embodiments of the invention provide a kind of computer-readable recording medium, is stored thereon with computer journey
Sequence, volume adjusting method as described in the present embodiment of the invention is realized when the program is executed by processor.
Fourth aspect, the embodiments of the invention provide a kind of terminal device, including memory, processor and it is stored in storage
And can be in the computer program of processor operation on device, it is characterised in that real during computer program described in the computing device
Now volume adjusting method as described in the present embodiment of the invention.
A kind of volume adjusting method provided in the embodiment of the present invention, by the letter for obtaining the locating module in terminal device
Number intensity judges environmental form that the terminal device is presently in, is controlled according to environmental form and the default regulation table of storage
The volume of system regulation terminal device.By using above-mentioned technical proposal, the volume adjusting efficiency of terminal device is improved, is reduced
The power consumption of terminal device.
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 the schematic flow sheet of another volume adjusting method provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram one of location information 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 is the schematic diagram two of location information provided in an embodiment of the present invention;
Fig. 6 is the schematic flow sheet of another volume adjusting method provided in an embodiment of the present invention;
Fig. 7 is the schematic flow sheet of another volume adjusting method provided in an embodiment of the present invention;
Fig. 8 is a kind of structured flowchart of volume adjustment device provided in an embodiment of the present invention;
Fig. 9 is a kind of structural representation of terminal device provided in an embodiment of the present invention.
Embodiment
Further illustrate technical scheme below in conjunction with the accompanying drawings and by embodiment.It is appreciated that
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 illustrating
, 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..
The volume adjusting function of existing smart mobile phone is more passive, typically need user adjust manually volume by
Key, the volume of smart mobile phone could be adjusted.For example, the volume of smart mobile phone can typically be adjusted when user is in open air
Compare high, and user generally requires heighten mobile phone volume indoors;If user forgets to heighten the volume of smart mobile phone,
Interior, loud noise is brought as mobile phone sounds in library or meeting room volume crosses conference.It is provided in an embodiment of the present invention
Volume adjusting method can solve the problems, such as that above-mentioned volume control is more passive well.
Fig. 1 is the schematic flow sheet that the present invention is a kind of volume adjusting method that embodiment provides, and this method can be by sound
Amount control device performs, and wherein the device can be realized by software and/or hardware, can typically be integrated in terminal device.Such as
Shown in Fig. 1, this method includes:
Step 101, the signal intensity of the location information in terminal device is obtained, the end is determined according to the signal intensity
Environmental form residing for end equipment.
Wherein, the location information in terminal device can be but not limited to the gps signal of the GPS module in mobile phone.Shielding
The more place of thing is covered, when such as indoor, the signal intensity of the gps signal of mobile phone is relative to be weakened, and in the place such as room of spaciousness
When outer, the signal intensity of gps signal is relative to be strengthened.User may determine that by the signal intensity of the gps signal in mobile phone
It is in indoor or outdoor;The environmental form includes indoor and outdoors.
Alternatively, as shown in Fig. 2 step 101 can be implemented by following manner:
Step 101a, obtain the signal intensity of the location information in terminal device;
Step 101b, geographical location information is obtained according to the map datum of the location information and the terminal device;
Step 101c, the environmental form under current environment is determined according to the signal intensity and geographical location information.
Wherein, the map datum of terminal device can be that mobile phone is obtained by the map application interface wherein installed, for example,
Mobile phone map application, high moral map and Baidu map etc.., can be to terminal device by gps signal and map datum
Position positioned, determine the geographical location information of terminal device;Geographical location information includes:Gymnasium, residential quarters, write
Word building, library and road etc..As shown in figure 3, the position of terminal device navigates to A points, A points are located in gymnasium.
If user is held on the seat that mobile phone is located in a corner in gymnasium, nearby screen compares at this seat
It is more, cause the signal intensity of the gps signal of the mobile phone of the user relatively weak, and the geographical position due to being obtained by positioning is believed
Breath is included in gymnasium;Then may determine that the environmental form residing for the mobile phone of user is open air.
It is located at if user holds mobile phone on a balcony of office building, the signal intensity of the gps signal of the mobile phone on balcony
It is relatively strong, and the geographical location information due to being obtained by positioning is included in office building, then may determine that the hand of user
Environmental form residing for machine is indoor.
It should be noted that step 101a and step 101b implementation order not limited to this, step 101b can also be in step
Implement before rapid 101a.
Step 102, the volume adjusting information according to corresponding to determining the environmental form and the default regulation table of storage.
The default regulation table of storage includes the relation mapping table of environmental form and volume adjusting information;For example, environmental form
To be indoor, indoors user need not be too big to the demand of the volume of terminal device, so corresponding volume adjusting information is tune
Whole is 5 (volume range of terminal device is 0-10), and volume is adjusted to the volume of a median, can meet user indoors
To the demand of volume.Again as shown in figure 3, its environmental form is open air, user is positioned at gymnasium, gymnasium due to noise compared with
More, perception step-down of the user to sound comparatively can be bigger to the volume demand of terminal device, so corresponding volume adjusting
For information to adjust to 10, user can also hear the sound of mobile phone out of doors.
Alternatively, as shown in figure 4, also including before step 102:
Step 1020, according to the location information and the map datum, obtain the road conditions for the road for meeting preparatory condition
Information, and the road is to the vertical range of the location information.
Wherein, preparatory condition can be but not limited to be less than the first distance apart from the vertical range to location information;For example,
When first distance is 200 meters, the road for meeting preparatory condition is apart from road of the vertical range of the location information less than 200 meters
Road;Because if anchor point is more than 200 meters apart from the vertical range of road, influence of the noise to anchor point on road can neglect
Slightly.As shown in figure 5, when anchor point is B points, vertical range of the B points apart from First Avenue and Second Avenue is all higher than 200 meters,
So when anchor point is B points, the road of preparatory condition is not met.When anchor point is C points, C points are apart from First Avenue
200 meters are respectively less than with the vertical range of Second Avenue, so First Avenue and Second Avenue meet preparatory condition.
The traffic information of road includes unimpeded, common and congestion;As shown in figure 5, the traffic information of the eastern section of First Avenue
To be common, the traffic information of the northern section of Second Avenue is congestion, and anchor point C to First Avenue eastern section vertical range is 20 meters,
Vertical range apart from the northern section of Second Avenue is 30 meters.
Accordingly, step 102 is implemented by following manner:
Determined according to the default regulation table of the traffic information, the vertical range, the environmental form and storage corresponding
Volume adjusting information.
Wherein, table 1 is the local content of the default regulation table of storage, and the eastern section of First Avenue as shown in Figure 5 is positioning
Point C southern side road, the northern section of Second Avenue are anchor point C west side road, corresponding table 1 can determine corresponding to volume adjusting
Information is regulation to 7.
Table 1
It should be noted that the east side road shown in table 1, southern side road, west side road and north side road are not limited to,
It can be changed according to the surrounding road construction of positional information, such as southeast side line road, northwest side line road, southwestern side line road and east
North side road etc..
Alternatively, as shown in fig. 6, also including before step 102:
Step 1021, relative elevation height is determined according to the location information and the map datum.
Gps signal generally comprises the height above sea level of its measurement, and the height above sea level is usually using certain sea level as base
Measured by directrix, and the height above sea level in each area/city is also different, so needing to determine further according to the map datum
The relative elevation height of anchor point.For example, the height above sea level measured in gps signal is 100 meters, and the city where anchor point is
The a certain region in a certain city, the mean sea level in the region is 5 meters, it may be determined that relative elevation is highly 95 meters.
Accordingly, step 102 is implemented by following manner:
According to the relative elevation height, traffic information, the vertical range, the environmental form and the default tune of storage
Save volume adjusting information corresponding to table determination.
Wherein, because the story height where user is also different for the size of noise, for some high-storeys
Residential quarters, if there is highway around it, the floor below 20 meters, because noise closely is only received, and due to
Trees are blocked, and its noise is smaller relative to more than 20 meters of floor;Due to the decay of sound, it makes an uproar more than 70 meters of floor
Sound is relatively also smaller;It is caused among the three-dimensional propagation of noise and 20 meters to 70 meters of floor is due to no shelter
Noise positioned at 30 meters -70 meters of floor is relatively large;So as shown in table 2, in the part for the default regulation table of storage
Hold, if anchor point C relative elevation highly be 30 meters to 70 meters between, its volume adjusting regulation information be adjust to 8;If
More than less than 30 meters, or 70 meters, then its relative volume adjusting information is to adjust to 7.In this way, can be according to relative elevation height
Degree obtains a more reasonably volume adjusting information.
Table 2
Step 103, the volume of the terminal device is adjusted according to the volume adjusting information.
Wherein, alternatively, the mode volume of the terminal device being adjusted includes:
Mode one, the first predetermined adjustment in the volume adjusting information are to the current volume of the terminal device
Value increase and/or reduction;Or
Mode two, the second default tune that the current volume value of the terminal device is arranged in the volume adjusting information
Section value;Or
Mode three, the volume regulation coefficient in the volume adjusting information are to the current volume value of the terminal device
Increase and/or reduction.
Wherein, for example, the volume range of terminal device is 0-10, the first predetermined adjustment in volume adjusting information is 3,
Attribute is adjusted as increase, the current volume value of terminal device is 5, then after executive mode one, the volume value of terminal device will
It is adjusted to 8.Correspondingly, if the first predetermined adjustment in volume adjusting information is 3, regulation attribute then performs to reduce
After mode one, the volume value of terminal device will be adjusted to 2.
And for example, the second predetermined adjustment in volume adjusting information is 7, and the current volume value of terminal device is 5;Then perform
After mode two, the volume value of terminal device will be adjusted directly to 7.
For another example, the volume regulation coefficient in volume adjusting information is 1.2, and the current volume value of terminal device is 5, then performs
After mode three, the volume value of terminal device will be adjusted to 6 (5*1.2);If the volume adjustment system in volume adjusting information
Number is 0.8, and the current volume value of terminal device is 5, then after executive mode three, the volume value of terminal device will be adjusted to 4
(5*0.8)。
Wherein, alternatively, when the current volume value of the terminal device is not equal to second predetermined adjustment, by institute
The current volume value for stating terminal device is arranged to the second predetermined adjustment in the volume adjusting information.
Alternatively, as shown in fig. 7, step 103 can also be implemented by following manner:
Step 103a, the noise figure under current environment is determined by the sound transducer of the terminal device;
The noise figure is specially the sound decibel value in environment, such as the noise figure of general office is 50 decibels, street
The noise figure in road is 30 decibels.
Step 103b, the noise figure is multiplied by corresponding preset ratio coefficient, then summed with the volume adjusting information
Obtain the second volume adjusting information;
For example, 0-20 decibels are imperceptible sound;20-40 decibels are quiet, the sound softly prattled on;
40-30 decibels are the sound that general room is talked;30-30 decibels are sound that is noisy and damaging nerve;30-90 decibels are very
Noisy, nerve cell is destroyed.Noise figure in 0-40 decibels is that will not have an impact to user for the sense of hearing of mobile phone volume,
40-30 decibels have minimal effect to the sense of hearing of user, and 30-30 decibels are to be affected greatly to the sense of hearing of user, 30-90 points
Bei Zehui causes very big influence to the sense of hearing of user.
As shown in table 3, preset ratio coefficient is 0 corresponding to the noise figure of 0-40 decibels;The noise figure of 40-30 decibels is corresponding
Preset ratio coefficient be that the sense of hearing of 0.006 couple of user has minimal effect, preset ratio system corresponding to the noise figure of 30-30 decibels
Number is 0.012;Preset ratio coefficient is 0.02 corresponding to the noise figure of 30-90 decibels.According to the difference of noise figure, by noise figure
Preset ratio multiplication corresponding with its, then sum with volume adjusting information to obtain the second volume adjusting information.
Table 3
Noise figure/decibel | Preset ratio coefficient |
0-40 | 0 |
40-30 | 0.006 |
30-30 | 0.012 |
30-90 | 0.02 |
For example, the first predetermined adjustment in volume adjusting information is 3, regulation attribute is increase, terminal device it is current
Volume value is 5;Noise figure under current environment is 50, and corresponding preset ratio coefficient is 0.006, then is multiplied by the noise figure
Preset ratio coefficient, then summed with the first predetermined adjustment in the volume adjusting information:50*0.006+3=3.3 obtain
Second volume adjusting information is increase 3.3, and after adjustment, the volume value of terminal device is 8.3.
And for example, the second predetermined adjustment in volume adjusting information is 7, and the current volume value of terminal device is 5;Then by institute
State noise figure and be multiplied by preset ratio coefficient, then summed with the second predetermined adjustment in the volume adjusting information:50*0.006+
7=7.3;After adjustment, the volume value of terminal device is 7.3.
Step 103c, the volume of the terminal device is adjusted according to the second volume adjusting information.
Specific regulation process is referred to associated description above.
If Fig. 8 is a kind of structured flowchart of volume adjustment device provided in an embodiment of the present invention, the device can be by software
And/or hardware is realized, is typically integrated in terminal device, as shown in figure 8, the device includes:
Environmental form determining module 201, for obtaining the signal intensity of the location information in terminal device, according to the letter
Number intensity determines the environmental form residing for the terminal device;
Volume adjusting determining module 202, corresponding to being determined according to the environmental form and the default regulation table of storage
Volume adjusting information;
Adjustment module 203, for the volume of the terminal device to be adjusted according to the volume adjusting information.
The volume adjustment device provided in the embodiment of the present invention is strong by the signal for obtaining the locating module in terminal device
Spend to judge environmental form that the terminal device is presently in, adjusted according to environmental form and the default regulation table of storage to control
Save the volume of terminal device.By using above-mentioned technical proposal, the volume adjusting efficiency of terminal device is improved, reduces terminal
The power consumption of equipment.
Alternatively, environmental form determining module is additionally operable to:
Before the environmental form under current environment is determined according to the signal intensity, according to the location information and described
The map datum of terminal device obtains geographical location information;
Environmental form determining module is specifically used for:
Environmental form according to residing for the signal intensity and geographical location information determine the terminal device.
Alternatively, volume adjusting determining module is additionally operable to:It is true in the default regulation table according to the environmental form and storage
Before volume adjusting information corresponding to fixed, according to the location information and the map datum, the road for meeting preparatory condition is obtained
The traffic information on road, and the road is to the vertical range of the location information;
Volume adjusting determining module is specifically used for:
Determined according to the default regulation table of the traffic information, the vertical range, the environmental form and storage corresponding
Volume adjusting information.
Alternatively, volume adjusting determining module is additionally operable to:It is true in the default regulation table according to the environmental form and storage
Before volume adjusting information corresponding to fixed, relative elevation height is determined according to the location information and the map datum;
Volume adjusting determining module is specifically used for:
According to the relative elevation height, traffic information, the vertical range, the environmental form and the default tune of storage
Save volume adjusting information corresponding to table determination.
Alternatively, adjustment module is specifically used for:
Noise figure under current environment is determined by the sound transducer of the terminal device, the noise figure is multiplied by
Two proportionality coefficients, and the second regulation information is determined according to the volume adjusting information;
The volume of the terminal device is adjusted according to the described second regulation information.
Alternatively, adjustment module is specifically used for:
The first predetermined adjustment in the volume adjusting information increases the current volume value of the terminal device
And/or reduce;Or
The current volume value of the terminal device is arranged to the second predetermined adjustment in the volume adjusting information;Or
The current volume value increase to the terminal device of volume regulation coefficient in the volume adjusting information and/
Or reduce.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap
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 and 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 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 (such as 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 operation 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.
The embodiments of the invention provide a kind of terminal device, sound provided in an embodiment of the present invention can be integrated in the terminal device
Quantity regulating device.Fig. 7 is a kind of structural representation of terminal device provided in an embodiment of the present invention.As shown in fig. 7, the terminal is set
It is standby to include:Housing (not shown), touch-screen (not shown), touch key-press (not shown), memory
301st, central processing unit (Central Processing Unit, CPU) 302 (also known as processor, hereinafter referred to as CPU), circuit board
(not shown) and power circuit (not shown).The circuit board is placed in the interior volume that the housing surrounds;Institute
State CPU302 and the memory 301 is arranged on the circuit board;The power circuit, for for each of the terminal device
Individual circuit or device power supply;The memory 301, for storing executable program code;The CPU302 passes through described in reading
The executable program code stored in memory 301 runs computer program corresponding with the executable program code, with
Realize following steps:
The signal intensity of the location information in terminal device is obtained, the terminal device institute is determined according to the signal intensity
The environmental form at place;
The volume adjusting information according to corresponding to determining the environmental form and the default regulation table of storage;
The volume of the terminal device is adjusted according to the volume adjusting information.
The terminal device also includes:Peripheral Interface 303, RF (Radio Frequency, radio frequency) circuit 305, audio-frequency electric
Road 306, loudspeaker 311, power management chip 308, input/output (I/O) subsystem 309, touch-screen 312, other input/controls
Control equipment 310 and outside port 304, these parts are communicated by one or more communication bus or signal wire 307.
It should be understood that graphic terminal 300 is only an example of terminal device, and terminal device 300
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 are realized in the combination of hardware and software.
Below with regard to the present embodiment provide the terminal device for volume adjusting be described in detail, the terminal device with
Exemplified by mobile phone.
Memory 301, the memory 301 can be accessed by CPU302, Peripheral Interface 303 etc., and the memory 301 can
Including high-speed random access memory, can also include nonvolatile memory, 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 CPU302 and deposited by Peripheral Interface 303, the Peripheral Interface 303
Reservoir 301.
I/O subsystems 309, the I/O subsystems 309 can be by the input/output peripherals in equipment, such as touch-screen 312
With other input/control devicess 310, Peripheral Interface 303 is connected to.I/O subsystems 309 can include the He of display controller 3091
For controlling one or more input controllers 3092 of other input/control devicess 310.Wherein, one or more input controls
Device 3092 processed receives electric signal from other input/control devicess 310 or sends electric signal to other input/control devicess 310,
Other input/control devicess 310 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour
Vertical pole, click on roller.What deserves to be explained is input controller 3092 can with it is following any one be connected:Keyboard, infrared port,
The instruction equipment of USB interface and such as mouse.
Touch-screen 312, the touch-screen 312 are the input interface and output interface between subscriber terminal equipment and user,
Visual output display can be included into figure, text, icon, video etc. to user, visual output.
Display controller 3091 in I/O subsystems 309 receives electric signal from touch-screen 312 or sent out to touch-screen 312
Electric signals.Touch-screen 312 detects the contact on touch-screen, and the contact detected is converted to and shown by display controller 3091
The interaction of user interface object on touch-screen 312, that is, realize man-machine interaction, the user interface being shown on touch-screen 312
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 not show the touch sensitive surface visually exported, or the extension of the touch sensitive surface formed by touch-screen.
RF circuits 305, it is mainly used in establishing the communication of mobile phone and wireless network (i.e. network side), realizes mobile phone and wireless network
The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 305 receive and send RF letters
Number, RF signals are also referred to as electromagnetic signal, and RF circuits 305 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 305 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 identify mould
Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 306, it is mainly used in receiving voice data from Peripheral Interface 303, the voice data is converted into telecommunications
Number, and the electric signal is sent to loudspeaker 311.
Loudspeaker 311, for the voice signal for receiving mobile phone from wireless network by RF circuits 305, it is reduced to sound
And play the sound to user.
Power management chip 308, the hardware for being connected by CPU302, I/O subsystem and Peripheral Interface are powered
And power management.
Terminal device provided in an embodiment of the present invention, the volume adjusting efficiency of terminal device can be improved, reduces end
The power consumption of end equipment.
Any implementation of the executable present invention of volume adjustment device, storage medium and terminal device provided in above-described embodiment
The volume adjusting method that example is provided, possess and perform the 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.
Pay attention to, 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 various obvious changes,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention
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)
- A kind of 1. volume adjusting method, it is characterised in that including:The signal intensity of the location information in terminal device is obtained, according to residing for the signal intensity determines the terminal device Environmental form;The volume adjusting information according to corresponding to determining the environmental form and the default regulation table of storage;The volume of the terminal device is adjusted according to the volume adjusting information.
- 2. the method as described in claim 1, it is characterised in that the environment in the case where determining current environment according to the signal intensity Before type, in addition to:Geographical location information is obtained according to the map datum of the location information and the terminal device;Accordingly, determine that the environmental form under current environment includes according to the signal intensity:Environmental form according to residing for the signal intensity and geographical location information determine the terminal device.
- 3. method as claimed in claim 2, it is characterised in that true in the default regulation table according to the environmental form and storage Before volume adjusting information corresponding to fixed, in addition to:According to the location information and the map datum, acquisition meets the traffic information of the road of preparatory condition, and described Vertical range of the road to the location information;Accordingly, the volume adjusting information according to corresponding to determining the environmental form and the default regulation table of storage includes:The sound according to corresponding to determining the default regulation table of the traffic information, the vertical range, the environmental form and storage Amount regulation information.
- 4. method as claimed in claim 3, it is characterised in that true in the default regulation table according to the environmental form and storage Before volume adjusting information corresponding to fixed, in addition to:Relative elevation height is determined according to the location information and the map datum;Accordingly, the volume adjusting information according to corresponding to determining the environmental form and the default regulation table of storage includes:According to the relative elevation height, traffic information, the vertical range, the environmental form and the default regulation table of storage It is determined that corresponding volume adjusting information.
- 5. the method as described in claim 1, it is characterised in that the sound according to the volume adjusting information to the terminal device Amount be adjusted including:Noise figure under current environment is determined by the sound transducer of the terminal device, the noise figure is multiplied by the second ratio Example coefficient, and the second regulation information is determined according to the volume adjusting information;The volume of the terminal device is adjusted according to the described second regulation information.
- 6. the method as described in claim 1, it is characterised in that the sound according to the volume adjusting information to the terminal device Amount be adjusted including:The current volume value increase to the terminal device of the first predetermined adjustment in the volume adjusting information and/or Reduce;OrThe current volume value of the terminal device is arranged to the second predetermined adjustment in the volume adjusting information;OrVolume regulation coefficient in the volume adjusting information increases and/or subtracted to the current volume value of the terminal device It is small.
- A kind of 7. volume adjustment device, it is characterised in that including:Environmental form determining module, for obtaining the signal intensity of the location information in terminal device, according to the signal intensity Determine the environmental form residing for the terminal device;Volume adjusting determining module, for the volume adjusting according to corresponding to the environmental form and the determination of the default regulation table of storage Information;Adjustment module, for the volume of the terminal device to be adjusted according to the volume adjusting information.
- 8. device as claimed in claim 7, it is characterised in that the volume adjusting determining module is specifically used for:According to the location information and the map datum, acquisition meets the traffic information of the road of preparatory condition, the road To the vertical range of the location information, and determine relative elevation height;According to the relative elevation height, traffic information, the vertical range, the environmental form and the default regulation table of storage It is determined that corresponding 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 any one of claim 1-6 is realized during row.
- 10. a kind of terminal device, it is characterised in that including memory, processor and storage are on a memory and can be in processor The computer program of operation, it is characterised in that realize that claim 1-6 such as appoints described in the computing device during computer program Volume adjusting method described in one.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710710419.XA CN107508978B (en) | 2017-08-18 | 2017-08-18 | Volume adjusting method and device, storage medium and terminal equipment |
PCT/CN2018/099655 WO2019033983A1 (en) | 2017-08-18 | 2018-08-09 | Sound volume adjustment method and apparatus, storage medium, and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710710419.XA CN107508978B (en) | 2017-08-18 | 2017-08-18 | Volume adjusting method and device, storage medium and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107508978A true CN107508978A (en) | 2017-12-22 |
CN107508978B CN107508978B (en) | 2020-06-09 |
Family
ID=60691941
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710710419.XA Expired - Fee Related CN107508978B (en) | 2017-08-18 | 2017-08-18 | Volume adjusting method and device, storage medium and terminal equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107508978B (en) |
WO (1) | WO2019033983A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109151993A (en) * | 2018-07-31 | 2019-01-04 | 深圳大图科创技术开发有限公司 | A kind of intelligent mobile terminal |
WO2019033983A1 (en) * | 2017-08-18 | 2019-02-21 | Oppo广东移动通信有限公司 | Sound volume adjustment method and apparatus, storage medium, and terminal device |
US10771277B1 (en) * | 2019-06-14 | 2020-09-08 | Rovi Guides, Inc. | Automatic device volume adjustment based on learned volume preferences |
CN113932800A (en) * | 2021-11-03 | 2022-01-14 | 维沃移动通信有限公司 | Navigation method and device thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010041281A (en) * | 2008-08-04 | 2010-02-18 | Yupiteru Corp | Vehicle warning device |
CN103179251A (en) * | 2011-12-22 | 2013-06-26 | 三星电子株式会社 | Apparatus and method for adjusting volume in a portable terminal |
CN105827797A (en) * | 2015-07-29 | 2016-08-03 | 维沃移动通信有限公司 | Method for adjusting volume of electronic device and electronic device |
CN105975241A (en) * | 2016-04-22 | 2016-09-28 | 北京小米移动软件有限公司 | Volume regulation method and device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070131097A1 (en) * | 2005-12-06 | 2007-06-14 | Wei Lu | Method and system for regulating music based on the location of a device |
CN105205955B (en) * | 2015-09-25 | 2018-07-31 | 小米科技有限责任公司 | A kind of method and apparatus sending out standby signal |
CN106713621A (en) * | 2016-11-29 | 2017-05-24 | 努比亚技术有限公司 | Voice adjustment device and method |
CN107508978B (en) * | 2017-08-18 | 2020-06-09 | Oppo广东移动通信有限公司 | Volume adjusting method and device, storage medium and terminal equipment |
-
2017
- 2017-08-18 CN CN201710710419.XA patent/CN107508978B/en not_active Expired - Fee Related
-
2018
- 2018-08-09 WO PCT/CN2018/099655 patent/WO2019033983A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010041281A (en) * | 2008-08-04 | 2010-02-18 | Yupiteru Corp | Vehicle warning device |
CN103179251A (en) * | 2011-12-22 | 2013-06-26 | 三星电子株式会社 | Apparatus and method for adjusting volume in a portable terminal |
CN105827797A (en) * | 2015-07-29 | 2016-08-03 | 维沃移动通信有限公司 | Method for adjusting volume of electronic device and electronic device |
CN105975241A (en) * | 2016-04-22 | 2016-09-28 | 北京小米移动软件有限公司 | Volume regulation method and device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019033983A1 (en) * | 2017-08-18 | 2019-02-21 | Oppo广东移动通信有限公司 | Sound volume adjustment method and apparatus, storage medium, and terminal device |
CN109151993A (en) * | 2018-07-31 | 2019-01-04 | 深圳大图科创技术开发有限公司 | A kind of intelligent mobile terminal |
US10771277B1 (en) * | 2019-06-14 | 2020-09-08 | Rovi Guides, Inc. | Automatic device volume adjustment based on learned volume preferences |
US10887126B1 (en) | 2019-06-14 | 2021-01-05 | Rovi Guides, Inc. | Automatic device volume adjustment based on learned volume preferences |
US11489692B2 (en) | 2019-06-14 | 2022-11-01 | Rovi Guides, Inc. | Automatic device volume adjustment based on learned volume preferences |
US11831461B2 (en) | 2019-06-14 | 2023-11-28 | Rovi Guides, Inc. | Automatic device volume adjustment based on learned volume preferences |
CN113932800A (en) * | 2021-11-03 | 2022-01-14 | 维沃移动通信有限公司 | Navigation method and device thereof |
Also Published As
Publication number | Publication date |
---|---|
CN107508978B (en) | 2020-06-09 |
WO2019033983A1 (en) | 2019-02-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107508978A (en) | volume adjusting method, device, storage medium and terminal device | |
US11251763B2 (en) | Audio signal adjustment method, storage medium, and terminal | |
CN107040660A (en) | Control method, device and the mobile terminal of mobile terminal playing volume | |
CN107622281A (en) | Image classification method, device, storage medium and mobile terminal | |
CN106791067B (en) | Call volume adjusting method and device and mobile terminal | |
CN102904990A (en) | Adjustable mobile telephone settings based on environmental conditions | |
CN110364153A (en) | A kind of distributed sound control method, system, computer equipment and storage medium | |
CN110784880A (en) | Antenna weight optimization method, terminal and readable storage medium | |
CN104954555A (en) | Volume adjusting method and system | |
CN103546617A (en) | Voice adjusting method and terminal | |
CN107371102B (en) | Audio playing volume control method and device, storage medium and mobile terminal | |
CN108076429A (en) | Localization method, device, storage medium and mobile terminal | |
CN107508983B (en) | Volume adjusting method and device, storage medium and terminal equipment | |
CN107404753B (en) | Volume adjusting method, device, terminal and storage medium | |
CN108449506A (en) | Voice communication data processing method, device, storage medium and mobile terminal | |
CN108449502A (en) | Voice communication data processing method, device, storage medium and mobile terminal | |
CN107040661A (en) | Control method, device and the mobile terminal of mobile terminal playing volume | |
CN107145327A (en) | A kind of audio frequency playing method, device and smart machine | |
CN107493380A (en) | volume adjusting method, device, storage medium and terminal device | |
CN108566706A (en) | flash lamp control method, device, terminal device and storage medium | |
CN107508979A (en) | volume adjusting method, device, terminal and storage medium | |
CN108449497A (en) | Voice communication data processing method, device, storage medium and mobile terminal | |
CN107508986A (en) | volume adjusting method, device, storage medium and terminal device | |
CN108513003A (en) | Desktop icons method of adjustment, device, terminal device and storage medium | |
CN108449492A (en) | Voice communication data processing method, device, storage medium and mobile terminal |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200609 |
|
CF01 | Termination of patent right due to non-payment of annual fee |