CN111258532A - Volume adaptive adjustment method and device, storage medium and electronic equipment - Google Patents

Volume adaptive adjustment method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN111258532A
CN111258532A CN202010102610.8A CN202010102610A CN111258532A CN 111258532 A CN111258532 A CN 111258532A CN 202010102610 A CN202010102610 A CN 202010102610A CN 111258532 A CN111258532 A CN 111258532A
Authority
CN
China
Prior art keywords
volume
volume value
electronic equipment
level
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.)
Pending
Application number
CN202010102610.8A
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.)
Xian Wingtech Electronic Technology Co Ltd
Original Assignee
Xian Wingtech Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Wingtech Electronic Technology Co Ltd filed Critical Xian Wingtech Electronic Technology Co Ltd
Priority to CN202010102610.8A priority Critical patent/CN111258532A/en
Publication of CN111258532A publication Critical patent/CN111258532A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The application provides a volume adaptive adjustment method, a volume adaptive adjustment device, a storage medium and electronic equipment. Firstly, when the electronic equipment is in a volume self-adaptive mode, acquiring a playing volume value under a current sound source; then, when the volume value exceeds the preset range, the system volume level of the electronic equipment is adjusted according to the volume value, so that the volume value is between the preset ranges, the volume value is kept between the preset ranges by adjusting the system volume level, the condition that the sound is suddenly changed is avoided, the embarrassment that the playing volume of the electronic equipment is suddenly changed too much is avoided, the hearing system of a user is protected, the experience of the user is improved, and the use comfort of the user is guaranteed.

Description

Volume adaptive adjustment method and device, storage medium and electronic equipment
Technical Field
The application relates to the field of software application, in particular to a volume self-adaptive adjusting method, a volume self-adaptive adjusting device, a storage medium and electronic equipment.
Background
With the development of the network society, more and more video/audio software is widely used. When watching video or using video/audio software, the situation that the sound source has different volume is often encountered. For example, when a user swipes a buffeting sound or a small video, the sound is often suddenly loud and loud, and the volume is often manually adjusted. In some situations, it may be inconvenient, for example, it may be embarrassing to suddenly brush a loud video in a quiet public environment, and it may be harmful to the hearing system to suddenly brush a loud video in a state of being plugged in.
Disclosure of Invention
An object of the present application is to provide a method and an apparatus for adaptive volume adjustment, a storage medium, and an electronic device, so as to solve the above problems.
In order to achieve the above purpose, the embodiments of the present application employ the following technical solutions:
in a first aspect, an embodiment of the present application provides a volume adaptive adjustment method, which is applied to an electronic device, and the method includes:
when the electronic equipment is in a volume self-adaptive mode, acquiring a playing volume value under a current sound source, wherein the volume self-adaptive mode represents a mode of automatically adjusting the volume value by the electronic equipment;
when the volume value exceeds a preset range, adjusting the system volume level of the electronic equipment according to the volume value so as to enable the volume value to be in the preset range.
In a second aspect, an embodiment of the present application provides a volume adaptive adjustment apparatus, which is applied to an electronic device, and the apparatus includes:
the volume acquisition unit is used for acquiring a playing volume value under a current sound source when the electronic equipment is in a volume self-adaptive mode, wherein the volume self-adaptive mode represents a mode of automatically adjusting the volume value by the electronic equipment;
and the processing unit is used for adjusting the system volume level of the electronic equipment according to the volume value when the volume value exceeds a preset range so as to enable the volume value to be in the preset range.
In a third aspect, the present application provides a storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method described above.
In a fourth aspect, an embodiment of the present application provides an electronic device, including: a processor and memory for storing one or more programs; the one or more programs, when executed by the processor, implement the methods described above.
Compared with the prior art, the volume adaptive adjustment method, the volume adaptive adjustment device, the storage medium and the electronic equipment provided by the embodiment of the application have the beneficial effects that: firstly, when the electronic equipment is in a volume self-adaptive mode, acquiring a playing volume value under a current sound source; then, when the volume value exceeds the preset range, the system volume level of the electronic equipment is adjusted according to the volume value, so that the volume value is between the preset ranges, the volume value is kept between the preset ranges by adjusting the system volume level, the condition that the sound is suddenly changed is avoided, the embarrassment that the playing volume of the electronic equipment is suddenly changed too much is avoided, the hearing system of a user is protected, the experience of the user is improved, and the use comfort of the user is guaranteed.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and it will be apparent to those skilled in the art that other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of a volume adaptive adjustment method according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating the substeps of S103 according to an embodiment of the present disclosure;
fig. 4 is a schematic view of another substep of S103 according to an embodiment of the present disclosure;
fig. 5 is another schematic flow chart of a volume adaptive adjustment method according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram illustrating the substeps of S102 according to an embodiment of the present disclosure;
fig. 7 is another schematic flow chart of a volume adaptive adjustment method according to an embodiment of the present disclosure;
fig. 8 is a schematic unit diagram of a volume adaptive adjustment apparatus according to an embodiment of the present application.
In the figure: 10-a processor; 11-a memory; 12-a bus; 13-a communication interface; 201-volume acquisition unit; 202-processing unit.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
In the description of the present application, it should be noted that the terms "upper", "lower", "inner", "outer", and the like indicate orientations or positional relationships based on orientations or positional relationships shown in the drawings or orientations or positional relationships conventionally found in use of products of the application, and are used only for convenience in describing the present application and for simplification of description, but do not indicate or imply that the referred devices or elements must have a specific orientation, be constructed in a specific orientation, and be operated, and thus should not be construed as limiting the present application.
In the description of the present application, it is also to be noted that, unless otherwise explicitly specified or limited, the terms "disposed" and "connected" are to be interpreted broadly, e.g., as being either fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
As networks evolve, more and more small video software and live platforms are used. When the electronic device is used to watch videos or video/audio software is used, if the volume difference between the sound sources of the front and rear videos/audios is large, the current playing volume of the electronic device will be large and small. At this time, the user is required to manually adjust the volume. In some situations, it may be inconvenient, for example, it may be embarrassing to suddenly brush a loud video in a quiet public environment, and it may be harmful to the hearing system to suddenly brush a loud video in a state of being plugged in.
In order to solve the above problem, an embodiment of the present application provides a volume adaptive adjustment method, which is applied to the electronic device shown in fig. 1. The electronic device can be a mobile phone, a tablet computer, a notebook computer or the like.
Please refer to fig. 1, a schematic structural diagram of an electronic device. The electronic device comprises a processor 10, a memory 11, a bus 12. The processor 10 and the memory 11 are connected by a bus 12, and the processor 10 is configured to execute an executable module, such as a computer program, stored in the memory 11.
The processor 10 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the volume adaptive adjustment method may be implemented by an integrated logic circuit of hardware in the processor 10 or instructions in the form of software. The Processor 10 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
The Memory 11 may comprise a high-speed Random Access Memory (RAM) and may further comprise a non-volatile Memory (non-volatile Memory), such as at least one disk Memory.
The bus 12 may be an ISA (Industry Standard architecture) bus, a PCI (peripheral component interconnect) bus, an EISA (extended Industry Standard architecture) bus, or the like. Only one bi-directional arrow is shown in fig. 1, but this does not indicate only one bus 12 or one type of bus 12.
The memory 11 is used for storing programs, such as programs corresponding to the volume adaptive adjusting device. The volume adaptive adjusting device includes at least one software function module which can be stored in the memory 11 in the form of software or firmware (firmware) or solidified in an Operating System (OS) of the electronic device. The processor 10, upon receiving the execution instruction, executes the program to implement the volume adaptive adjustment method.
Possibly, the electronic device provided by the embodiment of the present application further includes a communication interface 13. The communication interface 13 is connected to the processor 10 via a bus. The electronic device may communicatively interact with other external devices via the communication interface 13.
It should be understood that the structure shown in fig. 1 is merely a structural schematic diagram of a portion of an electronic device, which may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
The volume adaptive adjustment method provided in the embodiment of the present invention can be applied to, but is not limited to, the electronic device shown in fig. 1, and please refer to fig. 2:
s102, when the electronic equipment is in the volume self-adaptive mode, the playing volume value under the current sound source is obtained.
The volume adaptive mode represents a mode in which the electronic device automatically adjusts the volume value. After entering the adaptive mode, the volume adjusting key of the electronic device does not directly adjust the system volume level of the electronic device, that is, the playing volume of the electronic device is not directly adjusted, that is, the volume is changed only by the sound source change.
Possibly, the electronic device is equipped with an adaptation process corresponding to the adaptation mode. When the adaptation process is started, the electronic device enters an adaptation mode.
S103, when the volume value exceeds the preset range, the system volume level of the electronic equipment is adjusted according to the volume value, so that the volume value is within the preset range.
Specifically, when the volume value exceeds the preset range, in order to ensure the comfort of the user, the system volume level of the electronic device needs to be adjusted according to the volume value and the preset range. When the volume level of the system changes, the current playing volume value of the electronic equipment changes under the condition that the size of the sound source is not changed. By adjusting the volume level of the system, the volume value is kept between preset ranges, and the condition that the sound is suddenly large and suddenly small is avoided.
To sum up, in the volume adaptive adjustment method provided in the embodiment of the present application: firstly, when the electronic equipment is in a volume self-adaptive mode, acquiring a playing volume value under a current sound source; then, when the volume value exceeds the preset range, the system volume level of the electronic equipment is adjusted according to the volume value, so that the volume value is between the preset ranges, the volume value is kept between the preset ranges by adjusting the system volume level, the condition that the sound is suddenly changed is avoided, the embarrassment that the playing volume of the electronic equipment is suddenly changed too much is avoided, the hearing system of a user is protected, the experience of the user is improved, and the use comfort of the user is guaranteed.
In one possible implementation, after S103 is executed, S102 is executed back. The volume value of the current playing of the electronic equipment is monitored in real time and adjusted, so that the volume value of the current playing of the electronic equipment can be adjusted in time when the volume of the sound source changes, and the comfort level of a user is guaranteed.
On the basis of fig. 2, as for the content in S103, a possible implementation manner is further provided in the embodiment of the present application, please refer to fig. 3, where S103 includes:
s103-1, judging whether the volume value is larger than a preset upper limit threshold value. If yes, executing S103-2; if not, S103-5 is executed.
Specifically, when the volume value is greater than the preset upper threshold, indicating that the playback volume may be too large, S103-2 needs to be performed. Otherwise, S103-5 is executed.
For example, after the system volume level of the electronic device is set, the electronic device enters each room of some live broadcast software, the volume value played by the electronic device is different (because the volume value of each room sound source of the live broadcast software is different), and when the volume value of a room sound source in the live broadcast software is too large, the system volume level of the electronic device can be reduced, so that the sound value played by the electronic device is reduced, namely the volume value played at present is reduced, so as to avoid damaging the hearing system of the user.
S103-2, reducing the system volume level by one level.
Specifically, when the system volume level is lowered by one level, if the volume of the sound source is not changed, the sound value played by the electronic device becomes smaller, i.e., the currently played sound value becomes smaller.
S103-5, no adjustment is made.
In a possible implementation manner, when the volume value is greater than the preset upper threshold, the embodiment of the present application further provides a possible implementation manner, please refer to the following:
reducing the system volume level by one level;
repeatedly judging whether the volume value of the system after the volume level is reduced is larger than a preset upper threshold value or not;
if yes, the system volume level is continuously reduced by one level until the volume value is less than or equal to the preset upper threshold value.
And the volume value is continuously reduced step by step through cyclic judgment, so that the volume changes uniformly. The phenomenon that the volume change value is too large instantly and the user is not suitable is avoided, so that the user experience is improved, and the comfort level of the user is guaranteed.
In a possible implementation manner, after executing S103-2 or S103-5, returning to execute S102, so that the volume value currently played by the electronic device is kept between the preset ranges.
On the basis of fig. 2, as for the content in S103, a possible implementation manner is further provided in the embodiment of the present application, please refer to fig. 4, where S103 includes:
s103-3, judging whether the volume value is smaller than a preset lower limit threshold value. If yes, executing S103-4; if not, S103-5 is executed.
Specifically, when the volume value is smaller than the preset lower threshold, which indicates that the playback volume may be too small, the user may miss the corresponding audio content, and then S103-4 needs to be performed. Otherwise, S103-5 is executed.
For example, when a courseware is learned using certain software after a system volume level of the electronic device is set. The sound sources of different courseware have different volume, the volume value for playing the courseware A is possibly in accordance with the use habit of the user, and the volume value for playing the courseware B is too small. It may cause the audio content of the a courseware to be heard clearly under the current system volume level setting, while the audio content of the B courseware is blurred, thereby causing the user to miss the audio content corresponding to the B courseware. Therefore, when the class B is played, the system volume level of the electronic equipment can be improved, so that the sound value played by the electronic equipment is increased, namely the volume value played currently is increased, and the corresponding audio content is prevented from being missed.
S103-4, the system volume level is increased by one level.
Specifically, when the system volume level is raised by one level, if the volume of the sound source is not changed, the sound value played by the electronic device becomes larger, i.e. the currently played sound value becomes larger.
S103-5, no adjustment is made.
In a possible implementation manner, after executing S103-4 or S103-5, returning to execute S102, so that the volume value currently played by the electronic device is kept between the preset ranges.
On the basis of fig. 2, for the adjustment of the winning level of the system, a possible implementation manner is further provided in the embodiment of the present application, please refer to fig. 5, the method for adaptive volume adjustment further includes:
and S104, when the playing is finished, adjusting the system volume level to a default level.
Specifically, the end of play here indicates that the audio source has changed. For example, when the electronic device browses a video by using video software, when the browsed video changes, it indicates that the sound source changes, and at this time, the playing is ended; when the electronic equipment watches the live broadcast by using the live broadcast software, the sound source is shown to be changed when the electronic equipment enters different live broadcast rooms, and the playing is finished at the moment.
The default level may be specifically set by a user, and in the embodiment of the present application, the default level is not limited.
On the basis of fig. 2, as for the content in S102, a possible implementation manner is further provided in the embodiment of the present application, please refer to fig. 6, where S102 includes:
s102-1, when the electronic equipment is in the volume adaptive mode, the volume value of the audio decoder is read through the interface.
On the basis of fig. 2, regarding when to enter the volume adaptive adjustment mode, a possible implementation manner is further provided in the embodiment of the present application, please refer to fig. 7, the volume adaptive adjustment method further includes:
s101, when the self-adaptive instruction input by the user is obtained, the electronic equipment enters a volume self-adaptive mode.
In a possible implementation manner, after the electronic device enters the volume adaptive mode, a user may set the preset range, and set the upper threshold and/or the lower threshold through a volume adjustment key of the electronic device. For example, when the volume up key is pressed once, the upper threshold is increased by one level; when the volume-down key is pressed once, the lower threshold is lowered by one level. The upper threshold and the lower threshold are set in a cycle.
Of course, the user may also directly input the upper threshold and/or the lower threshold to determine the preset range thereof.
In a possible implementation, the electronic device is further provided with an adaptation list, and the adaptation mode is only applicable to the application software included in the adaptation list. Of course, the adaptation process described above may invoke the adaptation list.
For the system volume level, the embodiment of the present application further provides a possible setting manner, please refer to the following:
the user can set the system volume level through an adjusting instruction input by the man-machine interaction interface. Possibly, for different application software, the corresponding system volume level settings are different, so as to fit the use habits of the user for different application software, and improve the experience of the user.
Of course, the system volume level may also be the default volume level of the electronic device.
Referring to fig. 8, fig. 8 is a schematic diagram of a volume adaptive adjustment apparatus according to an embodiment of the present disclosure, and optionally, the volume adaptive adjustment apparatus is applied to the electronic device described above.
The volume self-adaptive adjusting device comprises: a volume acquisition unit 201 and a processing unit 202.
The volume obtaining unit 201 is configured to obtain a playing volume value under a current sound source when the electronic device is in a volume adaptive mode, where the volume adaptive mode represents a mode in which the electronic device automatically adjusts the volume value. Specifically, the volume acquisition unit 201 may execute S102 described above.
The processing unit 202 is configured to adjust a system volume level of the electronic device according to the volume value when the volume value exceeds a preset range, so that the volume value is within the preset range. Specifically, the processing unit 202 may execute S103 described above.
The processing unit 202 is specifically configured to determine whether the volume value is greater than a preset upper threshold; if yes, the system volume level is reduced by one level. Specifically, the processing unit 202 may perform S103-1, S103-2, and S103-5 described above.
The processing unit 202 is specifically configured to determine whether the volume value is smaller than a preset lower threshold; if yes, the system volume level is increased by one level. Specifically, the processing unit 202 may perform S103-3, S103-4, and S103-5 described above.
The processing unit 202 is also configured to adjust the system volume level to a default level when playback is finished. Specifically, the processing unit 202 may execute S104 described above.
The volume obtaining unit 201 is specifically configured to read a volume value of the audio decoder through the interface. Specifically, the volume acquisition unit 201 may execute S102-1 described above.
The processing unit 202 is further configured to enter a volume adaptation mode when obtaining an adaptation instruction input by a user. Specifically, the processing unit 202 may execute S101 described above.
It should be noted that, the volume adaptive adjustment apparatus provided in this embodiment may execute the method flows shown in the above method flow embodiments to achieve the corresponding technical effects. For the sake of brevity, the corresponding contents in the above embodiments may be referred to where not mentioned in this embodiment.
The embodiment of the invention also provides a storage medium, wherein the storage medium stores computer instructions and programs, and the computer instructions and the programs execute the volume adaptive adjusting method of the embodiment when being read and run. The storage medium may include memory, flash memory, registers, or a combination thereof, etc.
The following provides an electronic device, which may be a mobile phone, where the mobile phone includes the electronic device shown in fig. 1, and may implement the above-mentioned volume adaptive adjustment method; specifically, the electronic device includes: processor 10, memory 11, bus 12. The processor 10 may be a CPU. The memory 11 is used to store one or more programs, and when the one or more programs are executed by the processor 10, the volume adaptive adjustment method of the above-described embodiment is performed.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.

Claims (10)

1. A volume adaptive adjustment method is applied to electronic equipment, and is characterized by comprising the following steps:
when the electronic equipment is in a volume self-adaptive mode, acquiring a playing volume value under a current sound source, wherein the volume self-adaptive mode represents a mode of automatically adjusting the volume value by the electronic equipment;
when the volume value exceeds a preset range, adjusting the system volume level of the electronic equipment according to the volume value so as to enable the volume value to be in the preset range.
2. The method for adaptively adjusting the volume according to claim 1, wherein the step of adjusting the system volume level of the electronic device according to the volume value when the volume value exceeds a preset range comprises:
judging whether the volume value is larger than a preset upper threshold value or not;
and if so, reducing the system volume level by one level.
3. The method for adaptively adjusting the volume according to claim 1, wherein the step of adjusting the system volume level of the electronic device according to the volume value when the volume value exceeds a preset range further comprises:
judging whether the volume value is smaller than a preset lower threshold value or not;
and if so, increasing the system volume level by one level.
4. The method for adaptive volume adjustment according to claim 1, wherein the method further comprises:
when the playing is finished, the system volume level is adjusted to a default level.
5. The method for adaptively adjusting sound volume according to claim 1, wherein the step of obtaining the sound volume value of the playing under the current sound source comprises:
reading the volume value of an audio decoder through an interface.
6. The method for adaptively adjusting sound volume according to claim 1, wherein before obtaining the sound volume value of the playback under the current sound source, the method further comprises:
when the adaptive instruction input by the user is obtained, the electronic equipment enters a volume adaptive mode.
7. A volume adaptive adjusting device is applied to electronic equipment, and is characterized in that the device comprises:
the volume acquisition unit is used for acquiring a playing volume value under a current sound source when the electronic equipment is in a volume self-adaptive mode, wherein the volume self-adaptive mode represents a mode of automatically adjusting the volume value by the electronic equipment;
and the processing unit is used for adjusting the system volume level of the electronic equipment according to the volume value when the volume value exceeds a preset range so as to enable the volume value to be in the preset range.
8. The adaptive volume control device according to claim 7, wherein the processing unit is specifically configured to determine whether the volume value is greater than a preset upper threshold; and if so, reducing the system volume level by one level.
9. A storage medium on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-6.
10. An electronic device, comprising: a processor and memory for storing one or more programs; the one or more programs, when executed by the processor, implement the method of any of claims 1-6.
CN202010102610.8A 2020-02-19 2020-02-19 Volume adaptive adjustment method and device, storage medium and electronic equipment Pending CN111258532A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010102610.8A CN111258532A (en) 2020-02-19 2020-02-19 Volume adaptive adjustment method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010102610.8A CN111258532A (en) 2020-02-19 2020-02-19 Volume adaptive adjustment method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN111258532A true CN111258532A (en) 2020-06-09

Family

ID=70952900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010102610.8A Pending CN111258532A (en) 2020-02-19 2020-02-19 Volume adaptive adjustment method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111258532A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112185414A (en) * 2020-09-22 2021-01-05 苏州科达科技股份有限公司 Method and device for adjusting audio playing volume and storage medium
CN113849151A (en) * 2021-08-26 2021-12-28 明基智能科技(上海)有限公司 Audio device and volume adjusting method thereof
CN114185510A (en) * 2021-11-02 2022-03-15 深圳市冠旭电子股份有限公司 Sound box volume adjusting method and system, sound equipment and storage medium
CN114979357A (en) * 2021-02-19 2022-08-30 深圳市万普拉斯科技有限公司 Volume adjusting method and device, terminal equipment and readable storage medium
WO2023185589A1 (en) * 2022-03-28 2023-10-05 华为技术有限公司 Volume control method and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102892058A (en) * 2011-07-18 2013-01-23 中兴通讯股份有限公司 Method and device for automatically regulating volume
CN102982823A (en) * 2012-11-26 2013-03-20 中兴通讯股份有限公司 Method and device for adjusting volume automatically
KR101356483B1 (en) * 2006-11-23 2014-01-29 엘지전자 주식회사 Apparatus and Method for auto controlling audio volume of digital TV
CN104978166A (en) * 2015-06-30 2015-10-14 北京奇艺世纪科技有限公司 Volume adjusting method and device
CN105375896A (en) * 2014-08-29 2016-03-02 中兴通讯股份有限公司 Method for automatically adjusting volume and electronic equipment
CN105786442A (en) * 2016-03-01 2016-07-20 惠州Tcl移动通信有限公司 Volume control method and intelligent terminal
CN107566652A (en) * 2017-09-20 2018-01-09 惠州Tcl移动通信有限公司 A kind of method, mobile terminal and the storage medium of automatic regulating volume size
CN109996143A (en) * 2019-03-07 2019-07-09 上海蔚来汽车有限公司 Volume adjusting method, device, system and audio-frequence player device and vehicle

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101356483B1 (en) * 2006-11-23 2014-01-29 엘지전자 주식회사 Apparatus and Method for auto controlling audio volume of digital TV
CN102892058A (en) * 2011-07-18 2013-01-23 中兴通讯股份有限公司 Method and device for automatically regulating volume
CN102982823A (en) * 2012-11-26 2013-03-20 中兴通讯股份有限公司 Method and device for adjusting volume automatically
CN105375896A (en) * 2014-08-29 2016-03-02 中兴通讯股份有限公司 Method for automatically adjusting volume and electronic equipment
CN104978166A (en) * 2015-06-30 2015-10-14 北京奇艺世纪科技有限公司 Volume adjusting method and device
CN105786442A (en) * 2016-03-01 2016-07-20 惠州Tcl移动通信有限公司 Volume control method and intelligent terminal
CN107566652A (en) * 2017-09-20 2018-01-09 惠州Tcl移动通信有限公司 A kind of method, mobile terminal and the storage medium of automatic regulating volume size
CN109996143A (en) * 2019-03-07 2019-07-09 上海蔚来汽车有限公司 Volume adjusting method, device, system and audio-frequence player device and vehicle

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112185414A (en) * 2020-09-22 2021-01-05 苏州科达科技股份有限公司 Method and device for adjusting audio playing volume and storage medium
CN114979357A (en) * 2021-02-19 2022-08-30 深圳市万普拉斯科技有限公司 Volume adjusting method and device, terminal equipment and readable storage medium
CN113849151A (en) * 2021-08-26 2021-12-28 明基智能科技(上海)有限公司 Audio device and volume adjusting method thereof
CN114185510A (en) * 2021-11-02 2022-03-15 深圳市冠旭电子股份有限公司 Sound box volume adjusting method and system, sound equipment and storage medium
CN114185510B (en) * 2021-11-02 2023-10-20 深圳市冠旭电子股份有限公司 Sound box volume adjusting method and system, sound equipment and storage medium
WO2023185589A1 (en) * 2022-03-28 2023-10-05 华为技术有限公司 Volume control method and electronic device

Similar Documents

Publication Publication Date Title
CN111258532A (en) Volume adaptive adjustment method and device, storage medium and electronic equipment
RU2653355C2 (en) Volume adjustment method and apparatus and terminal
TWI574559B (en) Methods,apparatus, and computer program product for using user engagement to provide content presentation
RU2660830C2 (en) Method and device for information processing
CN110347367B (en) Volume adjusting method, terminal device, storage medium and electronic device
EP2892247A1 (en) An earplug for selectively providing sound to a user
US20140359685A1 (en) Video processing method, television dongle, control terminal, and system
US20060147059A1 (en) Smart volume adjusting method for a multi-media system
CN109167890B (en) Sound and picture synchronization method and device and display equipment
WO2016029688A1 (en) Automatic volume adjusting method and electronic device thereof
CN110677776B (en) Volume adjusting method and device, intelligent sound box and storage medium
CN104780259A (en) Automatic adjustment system and method for call voice quality
CN106973003B (en) Group message notification method, client, electronic device and server
CN108495177B (en) Audio frequency speed change processing method and device
CN108733341B (en) Voice interaction method and device
CN111586529A (en) Audio data processing method, device, terminal and computer readable storage medium
CN106375809B (en) Volume adjusting method and device and storage medium
CN107820122B (en) Video volume adjusting method, storage medium and mobile terminal
CN111107226A (en) Volume control method applied to mobile terminal
CN106919362B (en) Method and device for adjusting starting-up volume
CN116132869A (en) Earphone volume adjusting method, earphone and storage medium
JP6178570B2 (en) Apparatus and method for ending music reproduction in portable terminal
CN112291665B (en) Volume adjusting method, device and system of head-mounted display equipment and storage medium
KR100597669B1 (en) Mobile telecommunication terminal for playing multimedia contents and method thereof
CN111818413B (en) Microphone gain adjustment method, related device and readable storage medium

Legal Events

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

Application publication date: 20200609