CN105099383B - A kind of information processing method and electronic equipment - Google Patents
A kind of information processing method and electronic equipment Download PDFInfo
- Publication number
- CN105099383B CN105099383B CN201410198001.1A CN201410198001A CN105099383B CN 105099383 B CN105099383 B CN 105099383B CN 201410198001 A CN201410198001 A CN 201410198001A CN 105099383 B CN105099383 B CN 105099383B
- Authority
- CN
- China
- Prior art keywords
- volume value
- default
- electronic equipment
- current output
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Circuit For Audible Band Transducer (AREA)
Abstract
This application provides a kind of information processing method and electronic equipments; to solve earpiece volume of the existing technology it is larger in the case of; the technical issues of being unable to suitably protecting user's sense of hearing; it realizes when volume is larger, the technique effect of audio is exported to be less than the first initial volume value of the first default volume value.The method includes:Judge whether the first default volume value is more than the first volume threshold, obtain the first judging result;When first judging result shows that the first default volume value is more than first volume threshold, the current output volume value is determined as the first initial volume value, wherein, the first initial volume value is less than the first default volume value.
Description
Technical field
The present invention relates to electronic technology field more particularly to a kind of information processing methods and electronic equipment.
Background technology
With the continuous development of science and technology, electronic technology has also obtained development at full speed, and the type of electronic product is also got over
Come more, people have also enjoyed the various facilities that development in science and technology is brought.Present people can be set by various types of electronics
It is standby, enjoy the comfortable life brought with development in science and technology.The appearance of music, video and sound photo is even more to enrich our work
Make and live.
In some cases, such as office or library, when user needs to listen to music or watch video, in order not to shadow
Other people are rung, generally requires the sound that user can select to be inserted into earphone on an electronic device that electronic equipment is listened to export.
But present inventor during technical solution, has found the above-mentioned prior art extremely in the embodiment of the present invention is realized
It has the following technical problems less:
Electronic equipment exports output default volume when audio by earphone, is earphone in preceding primary extraction
Volume.When user is in this insertion earphone, can audio be exported with default volume immediately after insertion, then assuming that writing from memory at this time
Recognize that volume is very big, and user shifts to an earlier date and does not know about the size cases of volume, can thus cause the powerful of user's sense of hearing suddenly
Pressure, body and experience for user can all impact.So the larger situation of earpiece volume exists in the prior art
Under, it is impossible to the technical issues of suitably protecting user's sense of hearing.
Invention content
This application provides a kind of information processing method and electronic equipment, to solve earpiece volume of the existing technology
In the case of larger, it is impossible to the technical issues of suitably protecting user's sense of hearing, realize when volume is larger, to be less than the first acquiescence
First initial volume value of volume value exports the technique effect of audio.
On the one hand, this application provides a kind of information processing method, using an electronic equipment, when the electronic equipment connects
One audio output device, and when the current output volume value of the audio output apparatus is the first default volume value, the side
Method includes:
Judge whether the first default volume value is more than the first volume threshold, obtain the first judging result;
When first judging result shows that the first default volume value is more than first volume threshold, institute is determined
Current output volume value is stated as the first initial volume value, wherein, the first initial volume value is less than first default volume
Value.
Optionally, judge whether the first default volume value is more than the first volume threshold described, obtain first and judge
As a result before, the method further includes:
Judge whether the electronic equipment runs the first application, obtain the second judging result;
When second judging result is no, step is performed:Judge whether the first default volume value is more than first
Volume threshold obtains the first judging result.
Optionally, judge whether the electronic equipment runs the first application described, after obtaining the second judging result, institute
The method of stating further includes:
When second judging result is when being, determines that the current output volume value is the first default volume value;
Wherein, when first application is once disconnects before the electronic equipment and the audio output device, institute
State the application of electronic equipment operation.
Optionally, showing that the first default volume value is more than first volume threshold when first judging result
When, determine the current output volume value for after the first initial volume value, the method further includes:
The current output volume value is increased with First Speed, so that the current output volume value is after first time period
It is turned up from the first initial volume value to the first default volume value.
Optionally, it is described that the current output volume value is increased with First Speed, so that the current output volume value exists
It is turned up to the first default volume value, specifically includes from the first initial volume value after first time period:
During the current output volume value is increased with the First Speed, detect whether to be useful for working as described
Preceding output volume value is adjusted to the first adjustment operation of the first volume value different from the first default volume value, obtains first
Testing result;
When first testing result for when being, obtain first volume value and the first default volume value with it is described
First relationship of current volume value;
When first relationship shows that first volume value is equal to or more than the first default volume value, institute is responded
The first adjustment operation is stated, the current output volume value is adjusted to the first default volume value.
Optionally, when first relationship shows that first volume value is more than the first default volume value, in institute
The response the first adjustment operation is stated, it is described after the current output volume value is adjusted to the first default volume value
Method further includes:
The current output volume value is adjusted, so that the current output volume value increases from the first default volume value
To first volume value.
Optionally, described when first testing result is when being, obtains first volume value, first acquiescence
After first relationship of volume value and the current volume value, the method further includes:
Show that first volume value is less than the first default volume value and more than described first in first relationship
During initial volume value, the first adjustment operation is responded, the current output volume value is adjusted to first volume value.
Optionally, described when first testing result is when being, obtains first volume value, first acquiescence
After first relationship of volume value and the current volume value, the method further includes:
It, will be described current defeated when first relationship shows that first volume value is less than the first initial volume value
Go out volume value and be reduced to first volume value.
On the other hand, present invention also provides a kind of electronic equipment, when the electronic equipment connects an audio output device,
And when the current output volume value of the audio output apparatus is the first default volume value, the electronic equipment further includes:
First judging unit for judging whether the first default volume value is more than the first volume threshold, obtains first
Judging result;
Processing unit shows that the first default volume value is more than first volume for working as first judging result
During threshold value, the current output volume value is determined as the first initial volume value, wherein, the first initial volume value is less than described
First default volume value.
Optionally, the electronic equipment further includes:
First judging unit for judging whether the first default volume value is more than the first volume threshold described, obtains
Before obtaining the first judging result, judge whether the electronic equipment runs the first application, obtain the second judging result;
When second judging result is no, step is performed:Judge whether the first default volume value is more than first
Volume threshold obtains the first judging result.
Optionally, the processing unit, is additionally operable to:
Judge whether the electronic equipment runs the first application described, after obtaining the second judging result, when described the
Two judging results is when being, determine that the current output volume value is the first default volume value;
Wherein, when first application is once disconnects before the electronic equipment and the audio output device, institute
State the application of electronic equipment operation.
Optionally, the processing unit is additionally operable to:
When first judging result shows that the first default volume value is more than first volume threshold, determine
After the current output volume value is the first initial volume value, the current output volume value is increased with First Speed, so that
The current output volume value is turned up from the first initial volume value to the first default volume value after first time period.
Optionally, the processing unit further includes:
During the current output volume value is increased with the First Speed, detect whether to be useful for working as described
Preceding output volume value is adjusted to the first adjustment operation of the first volume value different from the first default volume value, obtains first
Testing result;
When first testing result for when being, obtain first volume value and the first default volume value with it is described
First relationship of current volume value;
When first relationship shows that first volume value is equal to or more than the first default volume value, institute is responded
The first adjustment operation is stated, the current output volume value is adjusted to the first default volume value.
Optionally, the electronic equipment further includes:
Adjustment unit, for showing that first volume value is more than the first default volume value in first relationship
When, in response the first adjustment operation, by the current output volume value be adjusted to the first default volume value it
Afterwards, the current output volume value is adjusted, so that the current output volume value increases to institute from the first default volume value
State the first volume value.
Optionally, the adjustment unit is additionally operable to:
Described when first testing result is when being, obtains first volume value, the first default volume value
After the first relationship of the current volume value, it is silent to show that first volume value is less than described first in first relationship
When recognizing volume value and being more than the first initial volume value, the first adjustment operation is responded, by the current output volume value
It adjusts to first volume value.
Optionally, the adjustment unit is additionally operable to:
Described when first testing result is when being, obtains first volume value, the first default volume value
After the first relationship of the current volume value, at the beginning of first relationship shows that first volume value is less than described first
During beginning volume value, the current output volume value is reduced to first volume value.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
1st, in the technical solution of the application, first determine whether the first default volume value is more than the first volume threshold
Value obtains the first judging result, when first judging result shows that the first default volume value is more than first volume
During threshold value, the current output volume value is determined as the first initial volume value, wherein, the first initial volume value is less than described
First default volume value, solve earpiece volume of the existing technology it is larger in the case of, it is impossible to suitably protecting user's sense of hearing
The technical issues of, it realizes when the first default volume value is more than the first volume threshold, to be less than the of the first default volume value
One initial volume value exports audio, with the technique effect of suitably protecting user's sense of hearing.
Description of the drawings
Fig. 1 is the information processing method flow chart in the embodiment of the present application one;
Fig. 2 is the electronic devices structure schematic diagram in the embodiment of the present application two.
Specific embodiment
This application provides a kind of information processing method and electronic equipment, to solve earpiece volume of the existing technology
In the case of larger, it is impossible to the technical issues of suitably protecting user's sense of hearing, realize when volume is larger, to be less than the first acquiescence
First initial volume value of volume value exports the technique effect of audio.
In order to solve the above-mentioned technical problem, the technical solution general thought that the application provides is as follows:
Judge whether the first default volume value is more than the first volume threshold, obtain the first judging result;
When first judging result shows that the first default volume value is more than first volume threshold, institute is determined
Current output volume value is stated as the first initial volume value, wherein, the first initial volume value is less than first default volume
Value.
In the technical solution of the application, first determine whether the first default volume value is more than the first volume threshold,
The first judging result is obtained, when first judging result shows that the first default volume value is more than first volume threshold
When, the current output volume value is determined as the first initial volume value, wherein, the first initial volume value is less than described first
Default volume value, solve earpiece volume of the existing technology it is larger in the case of, it is impossible to the skill of suitably protecting user's sense of hearing
Art problem is realized when the first default volume value is more than the first volume threshold, to be less than at the beginning of the first of the first default volume value
Beginning volume value exports audio, with the technique effect of suitably protecting user's sense of hearing.
Technical solution of the present invention is described in detail below by attached drawing and specific embodiment, it should be understood that the application
Specific features in embodiment and embodiment are to the detailed description of technical scheme rather than to present techniques
The restriction of scheme, in the absence of conflict, the technical characteristic in the embodiment of the present application and embodiment can be combined with each other.
In the embodiment of the present application, a kind of information processing method and electronic equipment are provided, in specific implementation, electronics is set
Standby can be smart mobile phone or laptop either desktop computer, as long as audio output unit can be connected, such as
Earphone or speaker, specifically, in the embodiment of the present application, will not be restricted.It in the following description, will be with smart mobile phone
For, the information processing method in the embodiment of the present application and electronic equipment are described in detail.
Embodiment one:
Before the information processing method of the embodiment of the present application is introduced, first by the electronics of the method for the embodiment of the present application application
The basic structure of equipment makes a presentation, and please refers to Fig.2, and the electronic equipment in the embodiment of the present application includes:
First judging unit 1 for judging whether the first default volume value is more than the first volume threshold, obtains first
Judging result;
Processing unit 2 shows that the first default volume value is more than first sound for working as first judging result
When measuring threshold value, the current output volume value is determined as the first initial volume value, wherein, the first initial volume value is less than institute
State the first default volume value.
In the following, please referring to Fig.1, information processing method provided by the embodiments of the present application is as follows:
S1:Judge whether the first default volume value is more than the first volume threshold, obtain the first judging result.
Specifically, in the embodiment of the present application, before execution step S1, it is also necessary to perform:
Judge whether the electronic equipment runs the first application, obtain the second judging result.
Specifically, the first default value of audio output device is output device and sound when electronic equipment disconnects
Amount.It is exactly audio output device next time that is, the volume when audio output device and electronic equipment disconnect
The first default volume when being connected with electronic equipment.When electronic equipment and audio output device are in not-connected status
It waits, user can not change the first default volume value for the adjusting of volume of electronic device.
Further, when the first application is once disconnects before electronic equipment and audio output device, electronic equipment operation
Application.That is, when the first application is that once connection disconnects before audio output device and electronic equipment, transported in electronic equipment
The first capable application.Such as once song is listened with earphone, then the first application is exactly music player, once will before user before user
Speaker connect viewing video with electronic equipment, then the first application is exactly video player etc..
When this electronic equipment is connected with audio output device, judge whether electronic equipment runs the first application, such as
Judge whether electronic equipment runs music player or video player, obtain the second judging result.When the second judging result is
Electronic equipment and audio output device and this connection electronic equipment and audio output are once disconnected when being, that is, before user
Identical first is run during device, in electronic equipment in application, so illustrating that user may continue with identical volume audition
Pleasure sees video, then the current volume for controlling audio output device is the first default volume value.It is primary before namely to disconnect
Volume during connection exports audio.
If the first judging result is no, step S1 is performed.
Since the first default volume value is possible to larger, then in order to avoid after audio output unit is connected, to user
The sense of hearing causes moment excessive impact, in the embodiment of the present application, when electronic equipment is connected with output device, needs judgement
Whether one default volume value is more than the first volume threshold.
Specifically, the first volume threshold can be that user oneself is set before audio output device is connected, such as with
Family is -30dB or -35dB by digital keys or the first volume threshold of virtual digit key-press input, can also select to be set by electronics
The standby selection automatically provided, the selection -35dB such as in -30dB and -35dB;First volume threshold can also be in electronic equipment
Default setting, such as -30dB or -35dB, the application those of skill in the art can be selected according to actual needs, and the application is not
Make specific limitation.
Several specific examples are set forth below to illustrate the process of the first judging result of acquisition, during specific implementation, packet
It includes but is not limited to following example.
(1) it is -30dB to assume the first volume threshold, and the first default volume value at this time is 0dB, then the first default volume
Value is more than the first volume threshold, therefore the first judging result is yes.
(2) it is -30dB to assume the first volume threshold, and the first default volume value at this time is -30dB, then the first acquiescence sound
Magnitude is equal to the first volume threshold, therefore the first judging result is no.
(3) it is -40dB to assume the first volume threshold, and the first default volume value at this time is -8dB, then the first acquiescence sound
Magnitude is more than the first volume threshold, therefore the first judging result is yes.
Step S2 is performed below.
S2:When first judging result shows that the first default volume value is more than first volume threshold, really
The fixed current output volume value is the first initial volume value.
When first shows that the first default volume value is more than the first volume threshold, that is, the first default volume value is larger
When, in order to avoid after audio output unit is connected, moment excessive impact being caused to user's sense of hearing, in the embodiment of the present application
In, current output volume value is determined as the first initial volume value.
Specifically, the first initial volume value can be that user oneself is set before audio output device is connected, such as
User is -30dB or -35dB by digital keys or the first initial volume of virtual digit key-press input value, can also be selected by electricity
The selection that sub- equipment automatically provides, the selection -35dB such as in -30dB and -35dB;First initial volume value can also be that electronics is set
Default setting in standby, such as -30dB or -35dB.
Further, the first initial volume value and the first volume threshold can also be equal, such as set the first initial volume value and
First volume threshold is -30dB or -33dB etc., and the application those of skill in the art can be selected according to actual needs,
The application does not limit specifically.In such manner, it is possible to export audio with smaller volume, can suitably protecting user listen
Feel.
Certainly, it after user's auditory adaptation current volume value, can also voluntarily be adjusted according to the needs and custom of oneself
Current volume value.
It is further included after the embodiment of the present application, step S2:
The current output volume value is increased with First Speed, so that the current output volume value is after first time period
It is turned up from the first initial volume value to the first default volume value.
In the embodiment of the present application, in order to the sense of hearing of suitably protecting user, in audio output device and electronic equipment
After connection, audio is exported with the first initial volume first, current output volume value is then increased with First Speed, in this way can be allowed
There are one buffering courses for the sense of hearing of user.
Specifically, in the embodiment of the present application, First Speed can be user before audio output device is connected oneself
Setting, such as user is every millisecond of 0.01dB or every millisecond by digital keys or virtual digit key-press input First Speed
0.02dB can also select the selection automatically provided by electronic equipment, such as in every millisecond of 0.0112dB and every millisecond of 0.032dB
Select every millisecond of 0.0112dB;First Speed can also be the default setting in electronic equipment, such as every millisecond of 0.01dB or every millis
Second 0.015dB, the application those of skill in the art can be selected according to actual needs, and the application does not limit specifically.
Several specific examples are set forth below to illustrate above-mentioned process, during specific implementation, including but not limited under
The example in face.
(1) it is -50dB to assume the first initial volume value, and the first default value is -20dB, and First Speed is every millisecond
0.01dB, then by after 3 seconds, the current volume of audio output device can just be adjusted to the first default volume at the first time
.
(2) it is -50dB to assume the first initial volume value, and the first default value is -10dB, and First Speed is every millisecond
0.01dB, then by after 4 seconds, the current volume of audio output device can just be adjusted to the first default volume at the first time
.
(3) it is -50dB to assume the first initial volume value, and the first default value is 0dB, and First Speed is every millisecond of 0.02dB,
So by after 2.5 seconds, the current volume of audio output device can just be adjusted to the first default volume at the first time.
Next, during the adjustment of current volume value, user may adjust the size of output volume immediately, then
In the embodiment of the present application, it further includes:
During the current output volume value is increased with the First Speed, detect whether to be useful for working as described
Preceding output volume value is adjusted to the first adjustment operation of the first volume value different from the first default volume value, obtains first
Testing result;
When first testing result for when being, obtain first volume value and the first default volume value with it is described
First relationship of current volume value;
When first relationship shows that first volume value is equal to or more than the first default volume value, institute is responded
The first adjustment operation is stated, the current output volume value is adjusted to the first default volume value.
Specifically, in the embodiment of the present application, the first adjustment operation of user can be empty by physical button or touch-control
Intend button to realize, as long as electronic equipment detects that user has the adjustment operation for current volume value, then the second detection knot
Fruit is just yes.
Since user needs current volume value being adjusted to the first acquiescence from the first initial volume value with First Speed
During volume, then, it is operated in response to the first adjustment of user, in the embodiment of the present application, it is necessary to obtain the first sound
First relationship of magnitude and the first default volume and current volume value, that is, to obtain the first volume value, the first default volume
And the magnitude relationship of current volume value three.In the embodiment of the present application, specially:
When first relationship shows that first volume value is equal to or more than the first default volume value, institute is responded
The first adjustment operation is stated, the current output volume value is adjusted to the first default volume value;
The current output volume value is adjusted, so that the current output volume value increases from the first default volume value
To first volume value;
Show that first volume value is less than the first default volume value and more than described first in first relationship
During initial volume value, the first adjustment operation is responded, the current output volume value is adjusted to first volume value;
It, will be described current defeated when first relationship shows that first volume value is less than the first initial volume value
Go out volume value and be reduced to first volume value.
Specifically, in the embodiment of the present application, when the first volume value is more than or equal to the first default volume value, electronics is set
It is standby current volume value to be adjusted by the first default volume value with First Speed, it then proceedes to adjust to the first volume value.When first
Volume value is less than the first default value, but is greater than the first initial volume value, then electronic equipment will adjust current volume value
To the first volume value.When the first volume value is less than the first initial volume value, then electronic equipment is exactly directly by current volume
Value is adjusted to the first volume value.In the following, several specific examples will be enumerated to illustrate.
(1) with every millisecond of 0.01dB of First Speed, current volume value is adjusted to the mistake of the first default volume value -20dB
Cheng Zhong detects that user adjusts current volume value to the first volume value -15dB, then current volume value is adjusted to -
After 20dB, electronic equipment will adjust current volume value increases to -15dB from -20dB.
(2) with every millisecond of 0.01dB of First Speed, current volume value is adjusted from the first initial volume value -30dB to
During one default volume value -20dB, detect that user adjusts current volume value to first when -25dB is adjusted to
The first adjustment operation of volume value -27dB, then electronic equipment will directly adjust current volume value to -27dB;If detection
To be the first volume value be -23dB, then current volume value will be adjusted to -23dB with First Speed.
(3) with every millisecond of 0.01dB of First Speed, current volume value is adjusted from the first initial volume value -30dB to first
During default volume value -20dB, detect that user adjusts current volume value to the first volume value -35dB, then electronics
Equipment will adjust current volume value -35dB.
Embodiment two:
It please refers to Fig.2, in the embodiment of the present application, when the electronic equipment connects an audio output device, and described
When the current output volume value of audio output apparatus is the first default volume value, the electronic equipment further includes:
First judging unit 1 for judging whether the first default volume value is more than the first volume threshold, obtains first
Judging result;
Processing unit 2 shows that the first default volume value is more than first sound for working as first judging result
When measuring threshold value, the current output volume value is determined as the first initial volume value, wherein, the first initial volume value is less than institute
State the first default volume value.
Further, electronic equipment further includes:
First judging unit for judging whether the first default volume value is more than the first volume threshold described, obtains
Before obtaining the first judging result, judge whether the electronic equipment runs the first application, obtain the second judging result;
When second judging result is no, step is performed:Judge whether the first default volume value is more than first
Volume threshold obtains the first judging result.
Processing unit 2, is additionally operable to:
Judge whether the electronic equipment runs the first application described, after obtaining the second judging result, when described the
Two judging results is when being, determine that the current output volume value is the first default volume value;
Wherein, when first application is once disconnects before the electronic equipment and the audio output device, institute
State the application of electronic equipment operation.
Processing unit 2 is additionally operable to:
When first judging result shows that the first default volume value is more than first volume threshold, determine
After the current output volume value is the first initial volume value, the current output volume value is increased with First Speed, so that
The current output volume value is turned up from the first initial volume value to the first default volume value after first time period.
Processing unit 2 is additionally operable to:
During the current output volume value is increased with the First Speed, detect whether to be useful for working as described
Preceding output volume value is adjusted to the first adjustment operation of the first volume value different from the first default volume value, obtains first
Testing result;
When first testing result for when being, obtain first volume value and the first default volume value with it is described
First relationship of current volume value;
When first relationship shows that first volume value is equal to or more than the first default volume value, institute is responded
The first adjustment operation is stated, the current output volume value is adjusted to the first default volume value.
Further, the electronic equipment further includes:
Adjustment unit, for showing that first volume value is more than the first default volume value in first relationship
When, in response the first adjustment operation, by the current output volume value be adjusted to the first default volume value it
Afterwards, the current output volume value is adjusted, so that the current output volume value increases to institute from the first default volume value
State the first volume value.
Adjustment unit is additionally operable to:
Described when first testing result is when being, obtains first volume value, the first default volume value
After the first relationship of the current volume value, it is silent to show that first volume value is less than described first in first relationship
When recognizing volume value and being more than the first initial volume value, the first adjustment operation is responded, by the current output volume value
It adjusts to first volume value.
Adjustment unit is additionally operable to:
Described when first testing result is when being, obtains first volume value, the first default volume value
After the first relationship of the current volume value, at the beginning of first relationship shows that first volume value is less than described first
During beginning volume value, the current output volume value is reduced to first volume value.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the present invention
Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the present invention
The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real
The device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or
The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Specifically, the corresponding computer program instructions of two kinds of information processing methods in the embodiment of the present application can be deposited
Storage is on the storage mediums such as CD, hard disk, USB flash disk, when computer corresponding with the first information processing method in storage medium
Program instruction is read or is performed by an electronic equipment, includes the following steps:
Judge whether the first default volume value is more than the first volume threshold, obtain the first judging result;
When first judging result shows that the first default volume value is more than first volume threshold, institute is determined
Current output volume value is stated as the first initial volume value, wherein, the first initial volume value is less than first default volume
Value.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step
Suddenly:Judge whether the first default volume value is more than the first volume threshold, be performed before obtaining the first judging result, in quilt
Include the following steps during execution:
Judge whether the electronic equipment runs the first application, obtain the second judging result;
When second judging result is no, step is performed:Judge whether the first default volume value is more than first
Volume threshold obtains the first judging result.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step
Suddenly:Judge whether the electronic equipment runs the first application, obtain the second judging result and be performed later, include when executed
Following steps:
When second judging result is when being, determines that the current output volume value is the first default volume value;
Wherein, when first application is once disconnects before the electronic equipment and the audio output device, institute
State the application of electronic equipment operation.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step
Suddenly:When first judging result shows that the first default volume value is more than first volume threshold, described work as is determined
Preceding output volume value includes the following steps when executed to be performed after the first initial volume value:
The current output volume value is increased with First Speed, so that the current output volume value is after first time period
It is turned up from the first initial volume value to the first default volume value.
Optionally, what is stored in the storage medium increases the current output volume value with step with First Speed, with
The current output volume value is made to be turned up after first time period from the first initial volume value to first default volume
Value, corresponding computer instruction specifically comprise the following steps during specific be performed:
During the current output volume value is increased with the First Speed, detect whether to be useful for working as described
Preceding output volume value is adjusted to the first adjustment operation of the first volume value different from the first default volume value, obtains first
Testing result;
When first testing result for when being, obtain first volume value and the first default volume value with it is described
First relationship of current volume value;
When first relationship shows that first volume value is equal to or more than the first default volume value, institute is responded
The first adjustment operation is stated, the current output volume value is adjusted to the first default volume value.
Optionally, it is described when first relationship shows that first volume value is more than the first default volume value
Other computer instruction is also stored in storage medium, these computer instructions with step:The response described first
The current output volume value is adjusted to be performed after the first default volume value, be wrapped when executed by adjustment operation
Include following steps:
The current output volume value is adjusted, so that the current output volume value increases from the first default volume value
To first volume value.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step
Suddenly:When first testing result is when being, obtains first volume value, the first default volume value and the current sound
It is performed after first relationship of magnitude, includes the following steps when executed:
Show that first volume value is less than the first default volume value and more than described first in first relationship
During initial volume value, the first adjustment operation is responded, the current output volume value is adjusted to first volume value.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step
Suddenly:When first testing result is when being, obtains first volume value, the first default volume value and the current sound
It is performed after first relationship of magnitude, includes the following steps when executed:
It, will be described current defeated when first relationship shows that first volume value is less than the first initial volume value
Go out volume value and be reduced to first volume value.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (16)
1. a kind of information processing method, using an electronic equipment, when the electronic equipment connects an audio output device, and in institute
When the current output volume value for stating audio output device is the first default volume value, the method includes:
Judge whether the first default volume value is more than the first volume threshold, obtain the first judging result;Wherein described first
Default volume value is the audio output device and the volume when electronic equipment disconnects;
When first judging result shows that the first default volume value is more than first volume threshold, described work as is determined
Preceding output volume value is the first initial volume value, wherein, the first initial volume value is less than the first default volume value.
2. the method as described in claim 1, which is characterized in that judge whether the first default volume value is more than the described
One volume threshold, before obtaining the first judging result, the method further includes:
Judge whether the electronic equipment runs the first application, obtain the second judging result;
When second judging result is no, step is performed:Judge whether the first default volume value is more than the first volume
Threshold value obtains the first judging result.
3. method as claimed in claim 2, which is characterized in that judge whether the electronic equipment runs first and answer described
With after obtaining the second judging result, the method further includes:
When second judging result is when being, determines that the current output volume value is the first default volume value;
Wherein, when first application is once disconnects before the electronic equipment and the audio output device, the electricity
The application of sub- equipment operation.
4. method as claimed in claim 2, which is characterized in that showing the first acquiescence sound when first judging result
When magnitude is more than first volume threshold, it is the side after the first initial volume value to determine the current output volume value
Method further includes:
The current output volume value is increased with First Speed so that the current output volume value after first time period from institute
The first initial volume value is stated to be turned up to the first default volume value.
5. method as claimed in claim 4, which is characterized in that it is described that the current output volume value is increased with First Speed,
So that the current output volume value is turned up from the first initial volume value to the described first acquiescence sound after first time period
Magnitude specifically includes:
During the current output volume value is increased with the First Speed, detecting whether to be useful for will be described current defeated
Go out volume value to adjust to the first adjustment operation of the first volume value different from the first default volume value, obtain the first detection
As a result;
When first testing result for when being, obtain first volume value and the first default volume value with it is described current
First relationship of volume value;
When first relationship shows that first volume value is equal to or more than the first default volume value, response described the
One adjustment operation, the first default volume value is adjusted to by the current output volume value.
6. method as claimed in claim 5, which is characterized in that show that first volume value is more than institute in first relationship
When stating the first default volume value, in the response the first adjustment operation, the current output volume value is adjusted to described
After first default volume value, the method further includes:
The current output volume value is adjusted, so that the current output volume value increases to institute from the first default volume value
State the first volume value.
7. method as claimed in claim 5, which is characterized in that described when first testing result is when being, obtains institute
After the first relationship for stating the first volume value, the first default volume value and the current volume value, the method further includes:
Show that first volume value is initial less than the first default volume value and more than described first in first relationship
During volume value, the first adjustment operation is responded, the current output volume value is adjusted to first volume value.
8. method as claimed in claim 5, which is characterized in that described when first testing result is when being, obtains institute
After the first relationship for stating the first volume value, the first default volume value and the current volume value, the method further includes:
When first relationship shows that first volume value is less than the first initial volume value, by the current output sound
Magnitude is reduced to first volume value.
9. a kind of electronic equipment, when the electronic equipment connects an audio output device, and working as in the audio output device
When preceding output volume value is the first default volume value, the electronic equipment further includes:
First judging unit for judging whether the first default volume value is more than the first volume threshold, obtains first and judges
As a result;Wherein described first default volume value is the audio output device and the volume when electronic equipment disconnects;
Processing unit shows that the first default volume value is more than first volume threshold for working as first judging result
When, the current output volume value is determined as the first initial volume value, wherein, the first initial volume value is less than described first
Default volume value.
10. electronic equipment as claimed in claim 9, which is characterized in that the electronic equipment further includes:
First judging unit for judging whether the first default volume value is more than the first volume threshold described, obtains the
Before one judging result, judge whether the electronic equipment runs the first application, obtain the second judging result;
When second judging result is no, step is performed:Judge whether the first default volume value is more than the first volume
Threshold value obtains the first judging result.
11. electronic equipment as claimed in claim 10, which is characterized in that the processing unit is additionally operable to:
Judge whether the electronic equipment runs the first application described, after obtaining the second judging result, sentence when described second
Disconnected result is when being, determines that the current output volume value is the first default volume value;
Wherein, when first application is once disconnects before the electronic equipment and the audio output device, the electricity
The application of sub- equipment operation.
12. electronic equipment as claimed in claim 10, which is characterized in that the processing unit is additionally operable to:
When first judging result shows that the first default volume value is more than first volume threshold, determine described
Current output volume value is after the first initial volume value, increases the current output volume value, so that described with First Speed
Current output volume value is turned up from the first initial volume value to the first default volume value after first time period.
13. electronic equipment as claimed in claim 12, which is characterized in that the processing unit is additionally operable to:
During the current output volume value is increased with the First Speed, detecting whether to be useful for will be described current defeated
Go out volume value to adjust to the first adjustment operation of the first volume value different from the first default volume value, obtain the first detection
As a result;
When first testing result for when being, obtain first volume value and the first default volume value with it is described current
First relationship of volume value;
When first relationship shows that first volume value is equal to or more than the first default volume value, response described the
One adjustment operation, the first default volume value is adjusted to by the current output volume value.
14. electronic equipment as claimed in claim 13, which is characterized in that the electronic equipment further includes:
Adjustment unit, for first relationship show first volume value be more than the first default volume value when,
The response the first adjustment operation, after the current output volume value is adjusted to the first default volume value, is adjusted
The whole current output volume value, so that the current output volume value increases to described first from the first default volume value
Volume value.
15. electronic equipment as claimed in claim 14, which is characterized in that the adjustment unit is additionally operable to:
Described when first testing result is when being, obtains first volume value, the first default volume value and institute
After the first relationship for stating current volume value, show that first volume value is less than the described first acquiescence sound in first relationship
Magnitude and during more than the first initial volume value, responds the first adjustment operation, the current output volume value is adjusted
To first volume value.
16. electronic equipment as claimed in claim 15, which is characterized in that the adjustment unit is additionally operable to:
Described when first testing result is when being, obtains first volume value, the first default volume value and institute
After the first relationship for stating current volume value, show that first volume value is less than the described first initial sound in first relationship
During magnitude, the current output volume value is reduced to first volume value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410198001.1A CN105099383B (en) | 2014-05-12 | 2014-05-12 | A kind of information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410198001.1A CN105099383B (en) | 2014-05-12 | 2014-05-12 | A kind of information processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105099383A CN105099383A (en) | 2015-11-25 |
CN105099383B true CN105099383B (en) | 2018-06-26 |
Family
ID=54579111
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410198001.1A Active CN105099383B (en) | 2014-05-12 | 2014-05-12 | A kind of information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105099383B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105872180A (en) * | 2016-03-28 | 2016-08-17 | 乐视控股(北京)有限公司 | Method and device for adjusting volume of terminal device |
CN106528042A (en) * | 2016-11-22 | 2017-03-22 | 上海与德信息技术有限公司 | Volume control method and device based on earphone playing |
CN106878862B (en) * | 2016-12-29 | 2021-01-05 | 惠州华阳通用电子有限公司 | Vehicle-mounted information system volume control method and device |
CN112104950B (en) * | 2020-09-16 | 2021-12-28 | 海信视像科技股份有限公司 | Volume control method and display device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101060724A (en) * | 2007-04-25 | 2007-10-24 | 比特联创电子(北京)有限公司 | A method for avoiding the hearing injury of audio equipment and electro-acoustic device made through this method |
CN102325216A (en) * | 2011-06-29 | 2012-01-18 | 惠州Tcl移动通信有限公司 | Mobile communication equipment and volume control method thereof |
CN102915751A (en) * | 2012-09-26 | 2013-02-06 | 广东欧珀移动通信有限公司 | Method for automatically regulating sound volume and terminal equipment thereof |
CN103873974A (en) * | 2014-03-05 | 2014-06-18 | 宇龙计算机通信科技(深圳)有限公司 | Method for protecting hearing of human ears, earphone and mobile terminal |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8654993B2 (en) * | 2005-12-07 | 2014-02-18 | Apple Inc. | Portable audio device providing automated control of audio volume parameters for hearing protection |
US20090076636A1 (en) * | 2007-09-13 | 2009-03-19 | Bionica Corporation | Method of enhancing sound for hearing impaired individuals |
-
2014
- 2014-05-12 CN CN201410198001.1A patent/CN105099383B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101060724A (en) * | 2007-04-25 | 2007-10-24 | 比特联创电子(北京)有限公司 | A method for avoiding the hearing injury of audio equipment and electro-acoustic device made through this method |
CN102325216A (en) * | 2011-06-29 | 2012-01-18 | 惠州Tcl移动通信有限公司 | Mobile communication equipment and volume control method thereof |
CN102915751A (en) * | 2012-09-26 | 2013-02-06 | 广东欧珀移动通信有限公司 | Method for automatically regulating sound volume and terminal equipment thereof |
CN103873974A (en) * | 2014-03-05 | 2014-06-18 | 宇龙计算机通信科技(深圳)有限公司 | Method for protecting hearing of human ears, earphone and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105099383A (en) | 2015-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2502128B1 (en) | Dynamic interpretation of user input in a portable electronic device | |
CN105630586B (en) | Information processing method and electronic equipment | |
CN105099383B (en) | A kind of information processing method and electronic equipment | |
WO2017032030A1 (en) | Volume adjusting method and user terminal | |
CN106775563A (en) | The method and device of volume adjusting | |
CN106997283B (en) | Information processing method and electronic equipment | |
CN108521521A (en) | volume adjusting method, mobile terminal and computer readable storage medium | |
US8320586B2 (en) | System and method for reducing volume spike in an electronic device | |
CN109982231B (en) | Information processing method, device and storage medium | |
US9986362B2 (en) | Information processing method and electronic device | |
CN106303816B (en) | Information control method and electronic equipment | |
WO2017032012A1 (en) | Volume adjusting method and user terminal | |
CN103929692B (en) | Audio information processing method and electronic equipment | |
WO2015113347A1 (en) | Application screen-splitting method, intelligent terminal, and storage medium | |
KR101855725B1 (en) | Audio Outputting Control Method and Electronic Device supporting the same | |
KR101520799B1 (en) | Earphone apparatus capable of outputting sound source optimized about hearing character of an individual | |
TWI539837B (en) | Audio player and control method thereof | |
KR101520800B1 (en) | Earphone apparatus having hearing character protecting function of an individual | |
CN103700381A (en) | Terminal playback management system and method | |
EP4369723A2 (en) | Video playback method, and device | |
CN106331356B (en) | Volume control method and terminal | |
CN106954138A (en) | A kind of information processing method and electronic equipment | |
CN103945305A (en) | Information processing method and electronic equipment | |
CN106792182A (en) | Video playback method, mobile terminal and audio output apparatus | |
CN107678728A (en) | Audio data processing method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |