CN107155001A - A kind of method and terminal of setting terminal volume - Google Patents

A kind of method and terminal of setting terminal volume Download PDF

Info

Publication number
CN107155001A
CN107155001A CN201710273087.3A CN201710273087A CN107155001A CN 107155001 A CN107155001 A CN 107155001A CN 201710273087 A CN201710273087 A CN 201710273087A CN 107155001 A CN107155001 A CN 107155001A
Authority
CN
China
Prior art keywords
volume
level
default
sound volume
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201710273087.3A
Other languages
Chinese (zh)
Inventor
辛将
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201710273087.3A priority Critical patent/CN107155001A/en
Publication of CN107155001A publication Critical patent/CN107155001A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of method and terminal of setting terminal volume, wherein, methods described includes:The max volume value of terminal is obtained, and multiple default level of sound volume are set according to the max volume value;Under default test pattern, the multiple default level of sound volume each self-corresponding decibel value and working current value are obtained;Target volume grade is determined according to the multiple default level of sound volume each self-corresponding decibel value and working current value;The target volume grade is set to the level of sound volume of system default.The embodiment of the present invention can take into account volume and power problemses determine suitable default volume.

Description

A kind of method and terminal of setting terminal volume
Technical field
The present invention relates to electronic technology field, more particularly to a kind of method and terminal of setting terminal volume.
Background technology
Mobile terminal (for example, smart mobile phone, tablet personal computer etc.) is typically provided with volume of an acquiescence etc. when dispatching from the factory Level.Mobile terminal is carried out in normal work, and when being not detected by volume adjusting instruction with the corresponding volume of the level of sound volume of acquiescence Play.For example, volume key correspondence 16 level of sound volume of control of mobile terminal, the level of sound volume of its factory default for 12 or Other level of sound volume.
Because the power consumption of mobile terminal can change with the change of the volume of mobile terminal, and in the prior art, The level of sound volume of acquiescence is determined generally according to volume, will not pay close attention to the power consumption of mobile terminal, and mobile terminal is to give tacit consent to Level of sound volume corresponding volume when playing audio file or video file, it is impossible to take into account broadcasting for volume and mobile terminal The power consumption that playback frequency file or video are consumed, may result in causes power consumption more because power consumption is too big, and then reduces standby Time.
The content of the invention
The embodiment of the present invention provides a kind of method and terminal of setting terminal volume, can take into account volume and power problemses It is determined that suitable default volume.
In a first aspect, the embodiments of the invention provide a kind of method for setting terminal volume, this method includes:
The max volume value of terminal is obtained, and multiple default level of sound volume are set according to the max volume value;
Under default test pattern, the multiple default level of sound volume each self-corresponding decibel value and operating current are obtained Value;
Target volume etc. is determined according to the multiple default level of sound volume each self-corresponding decibel value and working current value Level;
The target volume grade is set to the level of sound volume of system default.
On the other hand, the embodiments of the invention provide a kind of terminal, the terminal includes:
First setting unit, the max volume value for obtaining terminal, and set multiple pre- according to the max volume value If level of sound volume;
Acquiring unit, under default test pattern, obtaining the multiple default each self-corresponding decibel of level of sound volume Value and working current value;
Determining unit, for true according to the multiple default level of sound volume each self-corresponding decibel value and working current value Set the goal level of sound volume;
Second setting unit, the level of sound volume for the target volume grade to be set to system default.
The embodiment of the present invention sets multiple default by obtaining the max volume value of terminal according to the max volume value Level of sound volume;Under default test pattern, the multiple default each self-corresponding decibel value of level of sound volume and work electricity are obtained Flow valuve;Target volume grade is determined according to the multiple default level of sound volume each self-corresponding decibel value and working current value; The target volume grade is set to the level of sound volume of system default.Terminal is each self-corresponding according to multiple default level of sound volume Decibel value and working current value, set the level of sound volume of system default, can take into account volume and playing audio signal is disappeared The power consumption of consumption, it is to avoid cause power consumption more because the corresponding power consumption of playing audio signal is too big, and then reduce the feelings of stand-by time Condition, increases the endurance of end cell.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached Figure.
Fig. 1 is a kind of schematic flow diagram of the method for setting terminal volume provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow diagram of the method for setting terminal volume that another embodiment of the present invention is provided;
Fig. 3 is the schematic diagram of the first curve provided in an embodiment of the present invention and the second curve;
Fig. 4 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention;
Fig. 5 is a kind of terminal schematic block diagram that another embodiment of the present invention is provided;
Fig. 6 is a kind of terminal schematic block diagram that yet another embodiment of the invention is provided.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" be indicated Described feature, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, it is whole Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, " one " and "the" are intended to include plural form.
It will be further appreciated that, the term "and/or" used in description of the invention and appended claims is Refer to any combinations of one or more of the associated item listed and be possible to combination, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface The mobile phone, laptop computer or tablet PC of (for example, touch-screen display and/or touch pad) etc it is other just Portable device.It is to be further understood that in certain embodiments, the equipment not portable communication device, but with touching Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application Program, telephony application, videoconference application, email application, instant messaging applications, exercise Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use such as touch sensitive surface at least one is public Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table The corresponding information shown in the one or more functions and terminal in face.So, the public physical structure of terminal is (for example, touch Sensing surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
Fig. 1 is referred to, Fig. 1 is a kind of schematic flow diagram of the method for setting terminal volume provided in an embodiment of the present invention. The executive agent that the method for terminal volume is set in the present embodiment is terminal.Terminal can be mobile eventually for mobile phone, tablet personal computer etc. End.The method of setting terminal volume as shown in Figure 1 may include following steps:
S101:The max volume value of terminal is obtained, and multiple default level of sound volume are set according to the max volume value.
Terminal in normal work, and detect be currently needed for set terminal default volume when, obtain terminal supported most Big volume value, multiple default level of sound volume are set according to the max volume value.
Wherein, the predetermined registration operation of user's triggering terminal setting default volume is being detected, or is detecting setting default volume Instruction when, be identified as being currently needed for setting terminal default volume.Detect user's triggering terminal and the default of default volume is set Operation can detect user by setting interface to open the function of " setting terminal default volume " or detecting use Family manipulates physical button for setting terminal default volume etc..
Influence terminal volume factor it is very many, terminal volume generally with terminal horn size, loudspeaker type And relevant, the difference of loudspeaker used in terminal such as horn material, the max volume value that terminal is supported is also different.Terminal is hard Part software once designs shaping, and its max volume value supported also immobilizes.
For example, the max volume value 160db that terminal hardware is supported, terminal sets 16 level of sound volume, the first level of sound volume For [0,10], the second level of sound volume is [11,20], and the 3rd level of sound volume is [21,30], and the 4th level of sound volume is [31,40], the Five level of sound volume are [41,50], and the 6th level of sound volume is [51,60], and subtonic amount grade is [61,70], the 8th level of sound volume For [71,80], the 9th level of sound volume is [81,90], and the tenth level of sound volume is [91,100], the 11st level of sound volume for [101, 110], twelfth amount grade is [111,120], and the 13rd level of sound volume is [121,130], and the 14th level of sound volume is [131,140], the 15th level of sound volume is [141,150], and the 16th level of sound volume is [151,160].
The number of default level of sound volume can be configured according to actual conditions, be not limited herein.
S102:Under default test pattern, the multiple default each self-corresponding decibel value of level of sound volume and work are obtained Make current value.
Terminal is under default test pattern, playing audio signal, each default level of sound volume is tested respectively each self-corresponding Decibel value and working current value.
Terminal can test each corresponding decibel value of volume value and working current value in each default level of sound volume, and Each default volume etc. is calculated according to each corresponding decibel value of volume value in each default level of sound volume and working current value The corresponding average decibel value of level and average operating current value.
The each corresponding decibel value of volume value and working current value can be real-time decibel value and work in real time The corresponding average decibel value of each volume value and average operating current value in current value or preset time period.
S103:Target sound is determined according to the multiple default level of sound volume each self-corresponding decibel value and working current value Measure grade.
Terminal comprehensive analysis multiple default level of sound volume each self-corresponding decibel values and working current value, and therefrom determine Target volume grade, wherein, the corresponding decibel value of target volume grade meets default volume requirement, and target volume grade is corresponding Operating current also meets default current requirements.
For example, the corresponding decibel value of target volume grade is more than or equal to default decibel threshold, and target volume grade pair The working current value answered is less than or equal to predetermined current threshold.Now, it is corresponding point of target volume grade to preset volume requirement Shellfish value is more than or equal to default decibel threshold, default current requirements be the corresponding working current value of target volume grade be less than or Equal to predetermined current threshold, but this is not limited to, default volume requirement and predetermined current can be specifically set according to actual conditions It is required that.Such as, in other embodiments, it can also be that the corresponding decibel of two neighboring default level of sound volume increases to preset volume requirement Amount is more than or equal to default decibel delta threshold, and default current requirements can also be corresponding for two neighboring default level of sound volume Operating current increment is more than or equal to predetermined current delta threshold.
S104:The target volume grade is set to the level of sound volume of system default.
Terminal it is determined that during target volume grade, target volume grade to be set to the level of sound volume of system default so that Obtain terminal and play audio file or video file, and when being not detected by volume adjusting instruction, with the level of sound volume of system default Corresponding volume value playing audio signal.
Such scheme, terminal obtains the max volume value of terminal, and sets multiple default sounds according to the max volume value Measure grade;Under default test pattern, the multiple default level of sound volume each self-corresponding decibel value and operating current are obtained Value;Target volume grade is determined according to the multiple default level of sound volume each self-corresponding decibel value and working current value;Will The target volume grade is set to the level of sound volume of system default.Terminal is according to multiple default each self-corresponding point of level of sound volume Shellfish value and working current value, set the level of sound volume of system default, can take into account volume and playing audio signal is consumed Power consumption, it is to avoid cause power consumption more because the corresponding power consumption of playing audio signal is too big, and then reduce the situation of stand-by time, Increase the endurance of end cell.
Fig. 2 is referred to, Fig. 2 is a kind of exemplary flow of the method for setting terminal volume that another embodiment of the present invention is provided Figure.The executive agent that the method for terminal volume is set in the present embodiment is terminal.Terminal can be mobile for mobile phone, tablet personal computer etc. Terminal.The method of setting terminal volume as shown in Figure 2 may include following steps:
S201:The max volume value of terminal is obtained, and multiple default level of sound volume are set according to the max volume value.
S201 in the present embodiment is identical with the S101 in a upper embodiment, specifically refers to S101 in an embodiment Associated description, is not repeated herein.
S202:Offline mode is opened, radio function is disabled, and opens silent mode, is preset so that the terminal is in Test pattern.
Terminal, which opens offline mode, is used to disable call function and disabling by data traffic function of surfing the Net, for eliminating Call function and the electric current consumed by data traffic function of surfing the Net are each self-corresponding to testing multiple default level of sound volume The influence of operating current.
Terminal opens silent mode, for eliminating terminal vibrations or the electric current that is consumed of jingle bell to testing multiple default volumes The influence of each self-corresponding operating current of grade.
Terminal disables radio function, each to testing multiple default level of sound volume for eliminating the electric current that wireless networking consumed The influence of self-corresponding operating current.
It is understood that S201 and S202 order in no particular order, can be performed simultaneously.
S203:Under default test pattern, the multiple default each self-corresponding decibel value of level of sound volume and work are obtained Make current value.
Terminal is under default test pattern, playing audio signal, each default level of sound volume is tested respectively each self-corresponding Decibel value and working current value.
Terminal can test each corresponding decibel value of volume value and working current value in each default level of sound volume, and Each default volume etc. is calculated according to each corresponding decibel value of volume value in each default level of sound volume and working current value The corresponding average decibel value of level and average operating current value.
The each corresponding decibel value of volume value and working current value can be real-time decibel value and work in real time The corresponding average decibel value of each volume value and average operating current value in current value or preset time period.
Further, S203 can include:Under default test pattern, pass through default player plays preset audio text Part;If the terminal is in screen state of going out, each self-corresponding decibel value of the multiple default level of sound volume and work are obtained Current value.
To reduce measurement error, terminal uses same player plays fixed-audio (same audio signal or same audio File), and level of sound volume each self-corresponding decibel value and working current value are each preset in acquisition under screen state of going out.
Terminal can go out screen preset time (for example, go out screen 2 minutes after, system operating current tends towards stability) after, obtain Each preset average decibel value and average operating current value of the level of sound volume in preset time period.
Preset time period can be 5 minutes, but be not limited to this, can specifically be configured according to actual needs, herein not It is limited.
Terminal obtains multiple default level of sound volume each self-corresponding decibel values and working current value in screen state of going out, and is used for Influence of the electric current that elimination electricity display screen is consumed to the multiple default each self-corresponding operating currents of level of sound volume of test.
S204:Target sound is determined according to the multiple default level of sound volume each self-corresponding decibel value and working current value Measure grade.
Terminal comprehensive analysis multiple default level of sound volume each self-corresponding decibel values and working current value, and therefrom determine Target volume grade, wherein, the corresponding decibel value of target volume grade meets default volume requirement, and target volume grade is corresponding Operating current also meets default current requirements.
For example, the corresponding decibel value of target volume grade is more than or equal to default decibel threshold, and target volume grade pair The working current value answered is less than or equal to predetermined current threshold.Now, it is corresponding point of target volume grade to preset volume requirement Shellfish value is more than or equal to default decibel threshold, default current requirements be the corresponding working current value of target volume grade be less than or Equal to predetermined current threshold, but this is not limited to, default volume requirement and predetermined current can be specifically set according to actual conditions It is required that.Such as, in other embodiments, it can also be that the corresponding decibel of two neighboring default level of sound volume increases to preset volume requirement Amount is more than or equal to default decibel delta threshold, and default current requirements can also be corresponding for two neighboring default level of sound volume Operating current increment is more than or equal to predetermined current delta threshold.
Further, S204 may comprise steps of:
S2041:According to the multiple default level of sound volume each self-corresponding decibel value and working current value, calculate adjacent The corresponding decibel value increment of two default level of sound volume and working current value increment;
S2042:The target volume grade is determined according to the decibel value increment and the working current value increment.
Wherein, terminal is it is determined that the corresponding decibel value increment of two neighboring default level of sound volume is more than or equal to default decibel Delta threshold, and the corresponding working current value increment of the two neighboring default level of sound volume is more than or equal to predetermined current increment threshold During value, relatively low default level of sound volume is identified as target volume grade in two neighboring default level of sound volume.Decibel delta threshold Can be 2.5db, predetermined current delta threshold can be 30mA, but be not limited to this, can specifically be set according to actual conditions Put, be not limited herein.
It is assumed that the number of default level of sound volume is 16,16 default each self-corresponding decibel values of level of sound volume and work Current value is as shown in the table:
Default level of sound volume Decibel value (db) Current value (mA)
1 62.6 60.2
2 72.3 63.2
3 75.3 64.3
4 77.8 66
5 80.4 65
6 82.5 70.5
7 85.2 77.5
8 88.3 80.6
9 91.3 86.7
10 94.6 99.9
11 97 125.8
12 99.8 174
13 101.3 280.6
14 101.3 280.9
15 101.9 283.6
16 102.5 287.7
As seen from the above table, the first default level of sound volume presets the corresponding first decibel value increment of level of sound volume with second and is 9.7 (72.3-62.6), the first working current value increment is 3 (63.2-60.2);
Second default level of sound volume the second decibel value increment corresponding with the 3rd default level of sound volume is 3 (75.3-72.3), Second working current value increment is 1.1 (64.3-63.2);
3rd default level of sound volume three decibels value increment corresponding with the 4th default level of sound volume is 2.5 (77.8- 75.3), the 3rd working current value increment is 1.7 (66-64.3);
4th default level of sound volume the 4th decibel value increment corresponding with the 5th default level of sound volume is 2.6 (80.4- 77.8), the 4th working current value increment is -1 (65-66);
5th default level of sound volume the 5th decibel value increment corresponding with the 6th default level of sound volume is 2.1 (82.5- 80.4), the 5th working current value increment is 5.5 (70.5-65);
6th default level of sound volume the 6th decibel value increment corresponding with the 7th default level of sound volume is 2.7 (85.2- 82.5), the 6th working current value increment is 7 (77.5-70.5);
7th default level of sound volume the 7th decibel value increment corresponding with the 8th default level of sound volume is 3.1 (88.3- 85.2), the 7th working current value increment is 3.1 (80.6-77.5);
8th default level of sound volume the 8th decibel value increment corresponding with the 9th default level of sound volume is 3 (91.3-88.3), 8th working current value increment is 4.1 (86.7-80.6);
9th default level of sound volume the 9th decibel value increment corresponding with the tenth default level of sound volume is 3.3 (94.6- 91.3), the first working current value increment is 13.2 (99.9-86.7);
Tenth default level of sound volume the tenth decibel value increment corresponding with the 11st default level of sound volume is 2.4 (97- 94.6), the tenth working current value increment is 24.9 (125.8-99.9);
11st default level of sound volume the 11st decibel value increment corresponding with the 12nd default level of sound volume is 2.8 (99.8-97), the 11st working current value increment is 49.1 (174.9-125.8);
12nd default level of sound volume the 12nd decibel value increment corresponding with the 13rd default level of sound volume is 0.5 (101.3-99.8), the 12nd working current value increment is 105.7 (280.6-174.9);
13rd default level of sound volume the tenth three decibels value increment corresponding with the 14th default level of sound volume is 0 (101.3-101.3), the 13rd working current value increment is 0.3 (280.9-280.6);
14th default level of sound volume the 14th decibel value increment corresponding with the 15th default level of sound volume is 0.6 (101.9-101.3), the 14th working current value increment is 2.7 (283.6-280.9);
15th default level of sound volume the 15th decibel value increment corresponding with the 16th default level of sound volume is 0.6 (102.5-101.9), the 15th working current value increment is 4.1 (287.7-283.6).
Because the 11st default level of sound volume the 11st decibel value increment corresponding with the 12nd default level of sound volume is 2.8 (99.8-97), more than decibel delta threshold 2.5db, the 11st working current value increment is that 49.1 (174.9-125.8) are more than in advance If current increment threshold value 30mA;Therefore, the 11st default level of sound volume is identified as target volume grade by terminal.
Further, S204 may comprise steps of:
S2043:First curve is drawn according to the multiple default each self-corresponding decibel value of level of sound volume;
S2044:Second curve is drawn according to the multiple default each self-corresponding working current value of level of sound volume;
S2045:The mesh is determined according to the variation tendency of the variation tendency of first curve and second curve Mark level of sound volume.
Also referring to Fig. 3, Fig. 3 is the schematic diagram of the first curve provided in an embodiment of the present invention and the second curve, such as Shown in Fig. 3, terminal draws default level of sound volume-decibel value according to multiple default each self-corresponding decibel values of level of sound volume in upper table Corresponding first curve, and default volume is drawn according to multiple default each self-corresponding working current values of level of sound volume in upper table Corresponding second curve of grade-working current value.The variation tendency of the curve of terminal analysis first and the change of the second curve become Gesture, wherein, after the intersection, the first curvilinear motion is smaller to tend towards stability for the first curve and the second curve;And the second curve is with After one curve intersection, the second curvilinear motion is larger, and in default level of sound volume 10, default level of sound volume 11, default volume etc. Operating current change between level 12 is very greatly.Because decibel value changes do not work electricity between default level of sound volume 10,11,12 Rheologyization is big, therefore the default level of sound volume 11 of selection is used as target volume grade.
S205:The target volume grade is set to the level of sound volume of system default.
Terminal it is determined that during target volume grade, target volume grade to be set to the level of sound volume of system default so that Obtain terminal and play audio file or video file, and when being not detected by volume adjusting instruction, with the level of sound volume of system default Corresponding volume value playing audio signal.
Such scheme, terminal obtains the max volume value of terminal, and sets multiple default sounds according to the max volume value Measure grade;Under default test pattern, the multiple default level of sound volume each self-corresponding decibel value and operating current are obtained Value;Target volume grade is determined according to the multiple default level of sound volume each self-corresponding decibel value and working current value;Will The target volume grade is set to the level of sound volume of system default.Terminal is according to multiple default each self-corresponding point of level of sound volume Shellfish value and working current value, set the level of sound volume of system default, can take into account volume and playing audio signal is consumed Power consumption, it is to avoid cause power consumption more because the corresponding power consumption of playing audio signal is too big, and then reduce the situation of stand-by time, Increase the endurance of end cell.
Terminal opens offline mode, disables radio function, and opens silent mode, is preset by default player plays Audio file, and in screen state of going out, multiple default level of sound volume each self-corresponding decibel values and working current value are obtained, can Reduce the error of collecting work current value, improve the degree of accuracy of collecting work current value.
Referring to Fig. 4, Fig. 4 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention.Terminal can be mobile phone, put down The mobile terminals such as plate computer, but this is not limited to, it can also be other-end, not be limited herein.The terminal bag of the present embodiment The each unit included is used to perform each step in the corresponding embodiments of Fig. 1, specifically refers to the corresponding embodiments of Fig. 1 and Fig. 1 In associated description, do not repeat herein.The terminal 400 of the present embodiment includes:First setting unit 410, acquiring unit 420, really Order member 430 and the second setting unit 440.
First setting unit 410 is used for the max volume value for obtaining terminal, and sets multiple according to the max volume value Default level of sound volume.
Acquiring unit 420 is used under default test pattern, obtains the multiple default each self-corresponding point of level of sound volume Shellfish value and working current value.
Determining unit 430 is used for according to the multiple default level of sound volume each self-corresponding decibel value and working current value Determine target volume grade.
Second setting unit 440 is used for the level of sound volume that the target volume grade is set to system default.
Such scheme, terminal obtains the max volume value of terminal, and sets multiple default sounds according to the max volume value Measure grade;Under default test pattern, the multiple default level of sound volume each self-corresponding decibel value and operating current are obtained Value;Target volume grade is determined according to the multiple default level of sound volume each self-corresponding decibel value and working current value;Will The target volume grade is set to the level of sound volume of system default.Terminal is according to multiple default each self-corresponding point of level of sound volume Shellfish value and working current value, set the level of sound volume of system default, can take into account volume and playing audio signal is consumed Power consumption, it is to avoid cause power consumption more because the corresponding power consumption of playing audio signal is too big, and then reduce the situation of stand-by time, Increase the endurance of end cell.
Referring to Fig. 5, Fig. 5 is a kind of schematic block diagram for terminal that another embodiment of the present invention is provided.Terminal can be hand The mobile terminals such as machine, tablet personal computer, but this is not limited to, it can also be other-end, not be limited herein.The end of the present embodiment Hold each unit included to be used to perform each step in the corresponding embodiments of Fig. 2, specifically refer to the corresponding realities of Fig. 2 and Fig. 2 The associated description in example is applied, is not repeated herein.The terminal 500 of the present embodiment includes:First setting unit 510, preset mode are set Put unit 520, acquiring unit 530, the setting unit 550 of determining unit 540 and second.Wherein it is determined that unit 540 includes calculating The determining unit 542 of unit 541 and first, or determining unit 540 include the first drawing unit 543, the second drawing unit 544 And second determining unit 545.
First setting unit 510 is used for the max volume value for obtaining terminal, and sets multiple according to the max volume value Default level of sound volume.
Preset mode setting unit 520 is used to open offline mode, disables radio function, and opens silent mode, with The terminal is set to be in the default test pattern.
Acquiring unit 530 is used under default test pattern, obtains the multiple default each self-corresponding point of level of sound volume Shellfish value and working current value.
Further, acquiring unit 530 is specifically under default test pattern, sound is preset by default player plays Frequency file;And if obtaining each self-corresponding point of the multiple default level of sound volume in screen state of going out for the terminal Shellfish value and working current value.
Determining unit 540 is used for according to the multiple default level of sound volume each self-corresponding decibel value and working current value Determine target volume grade.
Further, when determining unit 540 includes computing unit 541 and the first determining unit 542,
Computing unit 541 is used for according to the multiple default level of sound volume each self-corresponding decibel value and operating current Value, calculates the corresponding decibel value increment of two neighboring default level of sound volume and working current value increment;
First determining unit 542 is used to determine the mesh according to the decibel value increment and the working current value increment Mark level of sound volume.
Further, determined when determining unit 540 includes the first drawing unit 543, the second drawing unit 544 and second During unit 545,
First drawing unit 543 is used to draw the first song according to the multiple default each self-corresponding decibel value of level of sound volume Line;
Second drawing unit 544 is used to draw the according to each self-corresponding working current value of the multiple default level of sound volume Two curves;
Second determining unit 545 is used to be become according to the variation tendency of first curve and the change of second curve Gesture determines the target volume grade.
Second setting unit 550 is used for the level of sound volume that the target volume grade is set to system default.
Such scheme, terminal obtains the max volume value of terminal, and sets multiple default sounds according to the max volume value Measure grade;Under default test pattern, the multiple default level of sound volume each self-corresponding decibel value and operating current are obtained Value;Target volume grade is determined according to the multiple default level of sound volume each self-corresponding decibel value and working current value;Will The target volume grade is set to the level of sound volume of system default.Terminal is according to multiple default each self-corresponding point of level of sound volume Shellfish value and working current value, set the level of sound volume of system default, can take into account volume and playing audio signal is consumed Power consumption, it is to avoid cause power consumption more because the corresponding power consumption of playing audio signal is too big, and then reduce the situation of stand-by time, Increase the endurance of end cell.
Terminal opens offline mode, disables radio function, and opens silent mode, is preset by default player plays Audio file, and in screen state of going out, multiple default level of sound volume each self-corresponding decibel values and working current value are obtained, can Reduce the error of collecting work current value, improve the degree of accuracy of collecting work current value.
Referring to Fig. 6, Fig. 6 is a kind of terminal schematic block diagram that yet another embodiment of the invention is provided.This reality as shown in Figure 6 The terminal 600 applied in example can include:One or more processors 610;One or more input equipments 620, it is one or more Output equipment 630 and memory 640.Above-mentioned processor 610, input equipment 620, output equipment 630 and memory 640 are by total Line 650 is connected.
Memory 640 is instructed for storage program.
The programmed instruction that processor 610 is used to be stored according to memory 640 performs following operate:
Processor 610 is used for the max volume value for obtaining terminal, and sets multiple default sounds according to the max volume value Measure grade;
Processor 610 is additionally operable under default test pattern, obtains the multiple default each self-corresponding point of level of sound volume Shellfish value and working current value;
Processor 610 is additionally operable to according to the multiple default level of sound volume each self-corresponding decibel value and working current value Determine target volume grade;
Processor 610 is additionally operable to the target volume grade being set to the level of sound volume of system default.
Alternatively, processor 610 is additionally operable to according to the multiple default each self-corresponding decibel value of level of sound volume and work Current value, calculates the corresponding decibel value increment of two neighboring default level of sound volume and working current value increment;And for root The target volume grade is determined according to the decibel value increment and the working current value increment.
Alternatively, processor 610 is additionally operable to:The is drawn according to each self-corresponding decibel value of the multiple default level of sound volume One curve;For drawing the second curve according to the multiple default each self-corresponding working current value of level of sound volume;And be used for The target volume grade is determined according to the variation tendency of the variation tendency of first curve and second curve.
Alternatively, processor 610 is additionally operable to:Offline mode is opened, radio function is disabled, and opens silent mode, with The terminal is set to be in the default test pattern.
Alternatively, processor 610 is specifically under default test pattern, passing through default player plays preset audio text Part;If the terminal is in screen state of going out, each self-corresponding decibel value of the multiple default level of sound volume and work are obtained Current value.
Such scheme, terminal obtains the max volume value of terminal, and sets multiple default sounds according to the max volume value Measure grade;Under default test pattern, the multiple default level of sound volume each self-corresponding decibel value and operating current are obtained Value;Target volume grade is determined according to the multiple default level of sound volume each self-corresponding decibel value and working current value;Will The target volume grade is set to the level of sound volume of system default.Terminal is according to multiple default each self-corresponding point of level of sound volume Shellfish value and working current value, set the level of sound volume of system default, can take into account volume and playing audio signal is consumed Power consumption, it is to avoid cause power consumption more because the corresponding power consumption of playing audio signal is too big, and then reduce the situation of stand-by time, Increase the endurance of end cell.
Terminal opens offline mode, disables radio function, and opens silent mode, is preset by default player plays Audio file, and in screen state of going out, multiple default level of sound volume each self-corresponding decibel values and working current value are obtained, can Reduce the error of collecting work current value, improve the degree of accuracy of collecting work current value.
It should be appreciated that in embodiments of the present invention, alleged processor 610 can be CPU (Central Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 620 can include Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and fingerprint Directional information), microphone etc., output equipment 630 can include display (LCD etc.), loudspeaker etc..
The memory 640 can include read-only storage and random access memory, and to processor 610 provide instruction and Data.The a part of of memory 640 can also include nonvolatile RAM.For example, memory 640 can also be deposited Store up the information of device type.
In the specific implementation, processor 610, input equipment 620, the output equipment 630 described in the embodiment of the present invention can Perform the reality described in the first embodiment and second embodiment of the method provided in an embodiment of the present invention that terminal volume is set Existing mode, also can perform the implementation of the terminal described by the embodiment of the present invention, will not be repeated here.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This A little functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specially Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that, for convenience of description and succinctly, the end of foregoing description End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
, can be by it in several embodiments provided herein, it should be understood that disclosed terminal and method Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed phase Coupling or direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit Connection or electricity, mechanical or other forms are connected.
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.
Unit in terminal of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially The part contributed in other words to prior art, or all or part of the technical scheme can be in the form of software product Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection domain be defined.

Claims (10)

1. a kind of method that terminal volume is set, it is characterised in that methods described includes:
The max volume value of terminal is obtained, and multiple default level of sound volume are set according to the max volume value;
Under default test pattern, the multiple default level of sound volume each self-corresponding decibel value and working current value are obtained;
Target volume grade is determined according to the multiple default level of sound volume each self-corresponding decibel value and working current value;
The target volume grade is set to the level of sound volume of system default.
2. according to the method described in claim 1, it is characterised in that described each to be corresponded to according to the multiple default level of sound volume Decibel value and working current value determine target volume grade, including:
According to the multiple default level of sound volume each self-corresponding decibel value and working current value, two neighboring default sound is calculated Measure the corresponding decibel value increment of grade and working current value increment;
The target volume grade is determined according to the decibel value increment and the working current value increment.
3. according to the method described in claim 1, it is characterised in that described each to be corresponded to according to the multiple default level of sound volume Decibel value and working current value determine target volume grade, including:
First curve is drawn according to the multiple default each self-corresponding decibel value of level of sound volume;
Second curve is drawn according to the multiple default each self-corresponding working current value of level of sound volume;
The target volume grade is determined according to the variation tendency of the variation tendency of first curve and second curve.
4. the method according to any one of claims 1 to 3, it is characterised in that methods described also includes:
Offline mode is opened, radio function is disabled, and opens silent mode, so that the terminal is in the default test mould Formula.
5. method according to claim 4, it is characterised in that described under default test pattern, is obtained the multiple pre- If level of sound volume each self-corresponding decibel value and working current value, including:
Under default test pattern, by presetting player plays preset audio file;
If the terminal is in screen state of going out, each self-corresponding decibel value of the multiple default level of sound volume and work are obtained Current value.
6. a kind of terminal, it is characterised in that the terminal includes:
First setting unit, the max volume value for obtaining terminal, and multiple default sounds are set according to the max volume value Measure grade;
Acquiring unit, under default test pattern, obtain the multiple default each self-corresponding decibel value of level of sound volume with And working current value;
Determining unit, for determining mesh according to the multiple default level of sound volume each self-corresponding decibel value and working current value Mark level of sound volume;
Second setting unit, the level of sound volume for the target volume grade to be set to system default.
7. terminal according to claim 6, it is characterised in that the determining unit includes:
Computing unit, for according to the multiple default level of sound volume each self-corresponding decibel value and working current value, calculating The corresponding decibel value increment of two neighboring default level of sound volume and working current value increment;
First determining unit, for determining the target volume according to the decibel value increment and the working current value increment Grade.
8. terminal according to claim 6, it is characterised in that the determining unit includes:
First drawing unit, for drawing the first curve according to the multiple default each self-corresponding decibel value of level of sound volume;
Second drawing unit, it is bent for drawing second according to the multiple default each self-corresponding working current value of level of sound volume Line;
Second determining unit, is determined for the variation tendency according to first curve and the variation tendency of second curve The target volume grade.
9. the terminal according to any one of claim 6 to 8, it is characterised in that the terminal also includes:
Preset mode setting unit, for opening offline mode, disables radio function, and opens silent mode, so that described Terminal is in the default test pattern.
10. terminal according to claim 9, it is characterised in that the acquiring unit specifically for:In default test pattern Under, by presetting player plays preset audio file;If the terminal is in screen state of going out, the multiple default sound is obtained Measure grade each self-corresponding decibel value and working current value.
CN201710273087.3A 2017-04-24 2017-04-24 A kind of method and terminal of setting terminal volume Withdrawn CN107155001A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710273087.3A CN107155001A (en) 2017-04-24 2017-04-24 A kind of method and terminal of setting terminal volume

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710273087.3A CN107155001A (en) 2017-04-24 2017-04-24 A kind of method and terminal of setting terminal volume

Publications (1)

Publication Number Publication Date
CN107155001A true CN107155001A (en) 2017-09-12

Family

ID=59792958

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710273087.3A Withdrawn CN107155001A (en) 2017-04-24 2017-04-24 A kind of method and terminal of setting terminal volume

Country Status (1)

Country Link
CN (1) CN107155001A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108681813A (en) * 2018-05-09 2018-10-19 平安普惠企业管理有限公司 A kind of blacklist processing method and terminal device
CN109067955A (en) * 2018-07-26 2018-12-21 上海与德通讯技术有限公司 The calibration method and terminal of level of sound volume and loudness
CN113741855A (en) * 2020-05-27 2021-12-03 青岛海信移动通信技术股份有限公司 Audio playing method and terminal
CN114615373A (en) * 2018-10-15 2022-06-10 华为技术有限公司 Parameter adjustment method and terminal for audio service

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102307326A (en) * 2011-05-05 2012-01-04 四川长虹电器股份有限公司 Method for balancing volume output difference
CN102905028A (en) * 2012-10-15 2013-01-30 深圳市中兴移动通信有限公司 Mobile terminal prompt information regulating method and corresponding mobile terminal
CN104065788A (en) * 2014-06-30 2014-09-24 深圳市中兴移动通信有限公司 Volume adjusting method and mobile terminal
CN105592195A (en) * 2016-01-20 2016-05-18 努比亚技术有限公司 Volume adaptive adjusting method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102307326A (en) * 2011-05-05 2012-01-04 四川长虹电器股份有限公司 Method for balancing volume output difference
CN102905028A (en) * 2012-10-15 2013-01-30 深圳市中兴移动通信有限公司 Mobile terminal prompt information regulating method and corresponding mobile terminal
CN104065788A (en) * 2014-06-30 2014-09-24 深圳市中兴移动通信有限公司 Volume adjusting method and mobile terminal
CN105592195A (en) * 2016-01-20 2016-05-18 努比亚技术有限公司 Volume adaptive adjusting method and apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108681813A (en) * 2018-05-09 2018-10-19 平安普惠企业管理有限公司 A kind of blacklist processing method and terminal device
CN109067955A (en) * 2018-07-26 2018-12-21 上海与德通讯技术有限公司 The calibration method and terminal of level of sound volume and loudness
CN114615373A (en) * 2018-10-15 2022-06-10 华为技术有限公司 Parameter adjustment method and terminal for audio service
US11689655B2 (en) 2018-10-15 2023-06-27 Huawei Technologies Co., Ltd. Method for adjusting parameter of audio service and terminal
CN113741855A (en) * 2020-05-27 2021-12-03 青岛海信移动通信技术股份有限公司 Audio playing method and terminal
CN113741855B (en) * 2020-05-27 2023-10-31 青岛海信移动通信技术有限公司 Audio playing method and terminal

Similar Documents

Publication Publication Date Title
CN107155001A (en) A kind of method and terminal of setting terminal volume
CN105872253B (en) Live broadcast sound processing method and mobile terminal
CN106027809B (en) A kind of adjusting method and mobile terminal of volume
CN107623776A (en) A kind of method for controlling volume, system and mobile terminal
CN105955700A (en) Sound effect adjusting method and user terminal
CN108170500A (en) Download progress method for refreshing, terminal device and computer readable storage medium
CN106791109A (en) A kind of sound prompting method and mobile terminal
CN107885479A (en) A kind of method for regulation of sound volume, terminal device and computer-readable medium
CN105094808B (en) A kind of control device and method
CN102710838A (en) Volume regulation method and device as well as electronic equipment
CN108174031A (en) A kind of volume adjusting method, terminal device and computer readable storage medium
CN107483731A (en) Control method, device and the storage medium and mobile terminal of audio broadcast sound volume
CN101795323A (en) Electronic alarm operation method, electronic alarm and mobile communication terminal
CN106210266B (en) A kind of acoustic signal processing method and audio signal processor
CN107911544A (en) The method for controlling volume and device of a kind of mobile terminal
CN107122156A (en) A kind of method for controlling volume and terminal
CN105916074A (en) Play control method for multimedia and terminal
CN105120063A (en) Volume prompting method of input voice and electronic device
CN106971704A (en) A kind of audio-frequency processing method and mobile terminal
CN107613146A (en) A kind of method for regulation of sound volume, device and mobile terminal
CN106598535A (en) Volume adjustment method and apparatus
CN107463350A (en) A kind of footmark method of adjustment and terminal
CN106534514A (en) Incoming call processing method and terminal
CN107404753A (en) Volume adjusting method, device, terminal and storage medium
CN105895126A (en) Method and apparatus for indicating and controlling playing audio/audio and video data

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20170912

WW01 Invention patent application withdrawn after publication