CN111552452A - Method, apparatus and storage medium for matching audio output parameters - Google Patents

Method, apparatus and storage medium for matching audio output parameters Download PDF

Info

Publication number
CN111552452A
CN111552452A CN202010337396.4A CN202010337396A CN111552452A CN 111552452 A CN111552452 A CN 111552452A CN 202010337396 A CN202010337396 A CN 202010337396A CN 111552452 A CN111552452 A CN 111552452A
Authority
CN
China
Prior art keywords
audio output
information
output parameters
application
preset
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
CN202010337396.4A
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 Microphone Holdings Co Ltd
Shenzhen Transsion Holdings Co Ltd
Original Assignee
Shenzhen Microphone Holdings 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 Microphone Holdings Co Ltd filed Critical Shenzhen Microphone Holdings Co Ltd
Priority to CN202010337396.4A priority Critical patent/CN111552452A/en
Publication of CN111552452A publication Critical patent/CN111552452A/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 invention discloses a method, equipment and a storage medium for matching audio output parameters, wherein the method comprises the following steps: when audio output is detected, acquiring application information and/or terminal information for outputting the audio; determining corresponding audio output parameters according to the application information and/or the terminal information; and outputting the audio according to the audio output parameter. According to the invention, the audio output parameters are determined according to the application information and/or the terminal information and are not determined according to the module sensitive to volume response, so that the power consumption of the system is saved; in addition, because there are various ways of determining the audio output parameters, the audio output parameters are obtained in one of the various ways in actual use, so that the method and the device can quickly determine the audio output parameters and realize the beneficial effect of low delay of sound effect adjustment; in addition, the invention determines the audio output parameters according to the application information and/or the terminal information and outputs the audio, thereby avoiding frequently changing the sound effect mode and ensuring the stability of the output sound effect.

Description

Method, apparatus and storage medium for matching audio output parameters
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a method, an apparatus, and a storage medium for matching audio output parameters.
Background
With the rapid development of electronic technology, people are slowly beginning to learn to enjoy life, and for fans in scenes such as music, video, games, etc., they pay particular attention to the quality of audio output and the sound effect of audio output. The existing sound effect adjusting method is to adjust the sound effect according to the current playing volume, and for the method, a module sensitive to volume response needs to be arranged in a system, and the existence of the module can increase the power consumption of the system; moreover, when the sound effect is adjusted, numerous sound effect modes need to be traversed, so that long time is consumed, and the delay of sound effect adjustment is high; in addition, when the user continuously performs volume adjustment, the output sound may affect the output sound stability due to frequent changes of the sound mode.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a method, equipment and a storage medium for matching audio output parameters, and aims to solve the technical problems that the system power consumption is high, the consumed time is long, and the stability of output sound effect is influenced due to frequent change of a sound effect mode in the prior art when sound effect adjustment is carried out.
In order to achieve the above object, an embodiment of the present invention provides a method for matching audio output parameters, where the method for matching audio output parameters includes:
s1, when audio output is detected, acquiring application information and/or terminal information for outputting the audio;
s2, determining corresponding audio output parameters according to the application information and/or the terminal information;
and S3, outputting the audio according to the audio output parameters.
Preferably, the terminal information includes at least one of:
scene information, state information, environmental information.
Preferably, the step S2 further includes at least one of:
determining corresponding audio output parameters according to the scene information and/or the state information;
determining corresponding audio output parameters according to the scene information and/or the environment information;
determining corresponding audio output parameters according to the state information and/or the environment information;
and determining corresponding audio output parameters according to the scene information and/or the state information and/or the environment information.
Preferably, at least one of the following is also included:
determining corresponding audio output parameters according to the running mode corresponding to the current scene information of the terminal;
determining corresponding audio output parameters according to preset state information met by the current state information of the terminal;
and determining corresponding audio output parameters according to preset environment information met by the current environment information of the terminal.
Preferably, the scene information includes at least one of:
a game mode, a power saving mode, a conference mode, an outdoor mode, an earphone mode, a play-out mode, a driving mode, and a voice mode.
Preferably, the status information includes at least one of:
motion information, time information, location information.
Preferably, the environment information includes at least one of:
ambient brightness, ambient sound.
Preferably, the step S2 further includes:
determining a corresponding application name and/or application type based on the application information;
determining corresponding audio output parameters based on the application name and/or the application type.
Preferably, the step of determining the corresponding audio output parameter based on the application name and/or the application type further comprises at least one of:
determining corresponding audio output parameters according to an application white list corresponding to the application name;
and determining corresponding audio output parameters according to the preset type corresponding to the application type.
Preferably, the step S1 further includes:
judging whether the terminal information meets a first preset condition or not;
if yes, executing the step S2; and/or the presence of a gas in the gas,
and if not, outputting the audio and/or outputting prompt information according to the default audio output parameters.
Preferably, the first preset condition comprises at least one of:
the terminal is in a preset operation mode;
the terminal meets at least one of the following state conditions: the method comprises the following steps of (1) conforming to a preset motion state, being in a preset time period and being in a preset position range;
the environment of the terminal meets at least one of the following conditions: the environment brightness does not meet the preset brightness requirement, and the environment sound does not meet the preset sound requirement.
Preferably, the step S1 further includes:
judging whether the application information meets a second preset condition or not;
if yes, executing the step S2; and/or the presence of a gas in the gas,
and if not, outputting the audio and/or outputting prompt information according to the default audio output parameters.
Preferably, the second preset condition comprises at least one of:
is a preset application;
is of a preset type.
Preferably, at least one of the following is included:
the preset application comprises at least one of the following: white list application, black list application and self-defined application;
the preset type comprises at least one of the following types: video and audio type, game type, social type, entertainment type and custom type.
Preferably, before the step of S3, the method further includes:
acquiring speaker information for outputting the audio;
and determining corresponding audio output parameters according to the loudspeaker information.
Preferably, the speaker information includes at least one of: number of speakers, speaker type;
the step of determining the corresponding audio output parameter according to the speaker information further includes:
determining corresponding audio output parameters according to the number of the loudspeakers; and/or the presence of a gas in the gas,
and determining corresponding audio output parameters according to the loudspeaker types.
Preferably, the audio output parameters include at least one of:
sound effect, sound effect channel, dynamic effect, rhythm, timbre, volume, surround sound.
Preferably, the step of S3 includes:
and optimizing the audio according to the audio output parameters, and outputting the optimized audio.
To achieve the above object, the present invention further provides an apparatus for matching audio output parameters, which includes a memory, a processor, and a program for matching audio output parameters stored in the memory and executable on the processor, wherein the program for matching audio output parameters implements the steps of the method for matching audio output parameters described above when executed by the processor.
Further, to achieve the above object, the present invention also provides a storage medium, wherein the storage medium stores a program for matching audio output parameters, and the program for matching audio output parameters implements the steps of the method for matching audio output parameters when executed by a processor.
The embodiment of the invention provides a method, equipment and a storage medium for matching audio output parameters, wherein the method comprises the following steps: when audio output is detected, acquiring application information and/or terminal information for outputting the audio; determining corresponding audio output parameters according to the application information and/or the terminal information; and outputting the audio according to the audio output parameter. According to the invention, the audio output parameters are determined according to the application information and/or the terminal information and are not determined according to the module sensitive to volume response, so that the power consumption of the system is saved; in addition, because there are various ways of determining the audio output parameters, the audio output parameters are obtained in one of the various ways in actual use, so that the method and the device can quickly determine the audio output parameters and realize the beneficial effect of low delay of sound effect adjustment; in addition, the invention determines the audio output parameters according to the application information and/or the terminal information and outputs the audio, thereby avoiding frequently changing the sound effect mode and ensuring the stability of the output sound effect.
Drawings
FIG. 1 is a schematic diagram of an apparatus for matching audio output parameters in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a method for matching audio output parameters according to the present invention;
FIGS. 3 and 4 are schematic flow charts of a second embodiment of a method for matching audio output parameters according to the present invention;
FIG. 5 is a flowchart illustrating a method for matching audio output parameters according to a third embodiment of the present invention;
FIG. 6 is a flowchart illustrating a fourth embodiment of a method for matching audio output parameters according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the invention provides a method, equipment and a storage medium for matching audio output parameters, wherein the method comprises the following steps: when audio output is detected, acquiring application information and/or terminal information for outputting the audio; determining corresponding audio output parameters according to the application information and/or the terminal information; and outputting the audio according to the audio output parameter. According to the invention, the audio output parameters are determined according to the application information and/or the terminal information and are not determined according to the module sensitive to volume response, so that the power consumption of the system is saved; in addition, because there are various ways of determining the audio output parameters, the audio output parameters are obtained in one of the various ways in actual use, so that the method and the device can quickly determine the audio output parameters and realize the beneficial effect of low delay of sound effect adjustment; in addition, the invention determines the audio output parameters according to the application information and/or the terminal information and outputs the audio, thereby avoiding frequently changing the sound effect mode and ensuring the stability of the output sound effect.
As shown in fig. 1, fig. 1 is a schematic structural diagram of an apparatus for matching audio output parameters of a hardware operating environment according to an embodiment of the present invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The device matched with the audio output parameters in the embodiment of the invention can be a PC, and can also be terminal equipment such as a tablet personal computer, a portable computer and the like.
As shown in fig. 1, the apparatus for matching audio output parameters may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration of the apparatus shown in fig. 1 to match audio output parameters does not constitute a limitation of the apparatus and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a program matching audio output parameters.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call a program stored in the memory 1005 that matches audio output parameters and perform the following operations:
s1, when audio output is detected, acquiring application information and/or terminal information for outputting the audio;
s2, determining corresponding audio output parameters according to the application information and/or the terminal information;
and S3, outputting the audio according to the audio output parameters.
Further, the terminal information includes at least one of:
scene information, state information, environmental information.
Further, the step S2 further includes at least one of the following steps:
determining corresponding audio output parameters according to the scene information and/or the state information;
determining corresponding audio output parameters according to the scene information and/or the environment information;
determining corresponding audio output parameters according to the state information and/or the environment information;
and determining corresponding audio output parameters according to the scene information and/or the state information and/or the environment information.
Further, at least one of the following is also included:
determining corresponding audio output parameters according to the running mode corresponding to the current scene information of the terminal;
determining corresponding audio output parameters according to preset state information met by the current state information of the terminal;
and determining corresponding audio output parameters according to preset environment information met by the current environment information of the terminal.
Further, the scene information includes at least one of:
a game mode, a power saving mode, a conference mode, an outdoor mode, an earphone mode, a play-out mode, a driving mode, and a voice mode.
Further, the status information includes at least one of:
motion information, time information, location information.
Further, the environment information includes at least one of:
ambient brightness, ambient sound.
Further, the step S2 further includes:
determining a corresponding application name and/or application type based on the application information;
determining corresponding audio output parameters based on the application name and/or the application type.
Further, the step of determining the corresponding audio output parameter based on the application name and/or the application type further comprises at least one of:
determining corresponding audio output parameters according to an application white list corresponding to the application name;
and determining corresponding audio output parameters according to the preset type corresponding to the application type.
Further, the step S1 further includes:
judging whether the terminal information meets a first preset condition or not;
if yes, executing the step S2; and/or the presence of a gas in the gas,
and if not, outputting the audio and/or outputting prompt information according to the default audio output parameters.
Further, the first preset condition includes at least one of:
the terminal is in a preset operation mode;
the terminal meets at least one of the following state conditions: the method comprises the following steps of (1) conforming to a preset motion state, being in a preset time period and being in a preset position range;
the environment of the terminal meets at least one of the following conditions: the environment brightness does not meet the preset brightness requirement, and the environment sound does not meet the preset sound requirement.
Further, the step S1 further includes:
judging whether the application information meets a second preset condition or not;
if yes, executing the step S2; and/or the presence of a gas in the gas,
and if not, outputting the audio and/or outputting prompt information according to the default audio output parameters.
Further, the second preset condition includes at least one of:
is a preset application;
is of a preset type.
Further, at least one of the following is included:
the preset application comprises at least one of the following: white list application, black list application and self-defined application;
the preset type comprises at least one of the following types: video and audio type, game type, social type, entertainment type and custom type.
Further, before the step of S3, the processor 1001 may be configured to call a program stored in the memory 1005 for matching audio output parameters, and perform the following operations:
acquiring speaker information for outputting the audio;
and determining corresponding audio output parameters according to the loudspeaker information.
Further, the speaker information includes at least one of: number of speakers, speaker type;
the step of determining the corresponding audio output parameter according to the speaker information further includes:
determining corresponding audio output parameters according to the number of the loudspeakers; and/or the presence of a gas in the gas,
and determining corresponding audio output parameters according to the loudspeaker types.
Further, the audio output parameters include at least one of:
sound effect, sound effect channel, dynamic effect, rhythm, timbre, volume, surround sound.
Further, the step of S3 includes:
and optimizing the audio according to the audio output parameters, and outputting the optimized audio.
The specific implementation of the apparatus for matching audio output parameters in the present application is substantially the same as the embodiments of the method for matching audio output parameters, and is not described herein again.
For a better understanding of the above technical solutions, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
Referring to fig. 2, a flowchart of a method for matching audio output parameters according to a first embodiment of the present invention is shown. In this embodiment, the method for matching audio output parameters includes the following steps:
step S1, when audio output is detected, acquiring application information and/or terminal information for outputting the audio;
the method for matching audio output parameters in this embodiment is applied to a server, and the server is in communication connection with a terminal for audio output in this embodiment, where the terminal may be a smart phone, a tablet computer, a computer, and the like, and the terminal at least includes a speaker and multiple applications. Further, the server can monitor the application in the terminal to detect whether the application sends out the audio output request, so that the application audio output request can be responded in time. Furthermore, an application white list used for providing priority processing for the application is further arranged in the server, and the purpose of setting the application white list is to quickly determine audio output parameters through a priority processing mechanism provided by the application white list, reduce the determination time of the audio output parameters and reduce the delay of sound effect adjustment. Further, when the server detects audio output, application information for audio output application and/or terminal information for audio output are acquired, so as to further determine corresponding audio output parameters according to the application information and/or the terminal information.
Further, the terminal information includes at least one of:
scene information, state information, environmental information.
Further, the scene information includes at least one of:
a game mode, a power saving mode, a conference mode, an outdoor mode, an earphone mode, a play-out mode, a driving mode, and a voice mode.
Further, the status information includes at least one of:
motion information, time information, location information.
Further, the environment information includes at least one of:
ambient brightness, ambient sound.
Further, the terminal information acquired by the server may be: the scene information representing that the terminal is in different scene types, the state information representing the current different states of the terminal, the environment information representing the current environment of the terminal and the like. The scene information includes a plurality of kinds, including a game mode for reducing external interference when playing a game, a power saving mode for reducing power consumption of the terminal, a conference mode for reducing external interference when conducting a conference, an outdoor mode for adapting to an outdoor environment, an earphone mode for enhancing auditory perception when wearing earphones, a play-out mode for adapting to a play-out environment of the terminal, a driving mode for reducing interference when driving a vehicle, and a voice mode for adapting to a voice environment, and the scene information acquired by the server may be one of the modes or a combination of the modes. The state information may be motion information for representing a motion state of the terminal, time information for displaying a time of the terminal, position information for representing a position of the terminal, or a combination of the above state information. The environment information may represent the ambient brightness of the current ambient light intensity of the terminal, may represent the ambient sound of the current ambient volume of the terminal, or may be a combination of the ambient brightness and the ambient sound. For example: when a user drives a vehicle, the terminal information acquired by the server is a driving mode; when the user runs with the earphone, the terminal information acquired by the server is earphone mode and motion information.
Step S2, determining corresponding audio output parameters according to the application information and/or the terminal information;
further, the server determines the corresponding audio output parameters according to the application information or the terminal information, or the application information and the terminal information in combination with the terminal speaker information. The application information is information which is obtained by the server when audio output is detected, is applied to the application package name corresponding to the audio output and contains the application name according to the application package name. Specifically, the server may determine a corresponding audio output parameter according to a preset application and/or a preset type in the application information; and determining corresponding audio output parameters according to one or more combinations of scene information, state information and environment information in the terminal information.
And step S3, outputting the audio according to the audio output parameter.
Further, after the server determines the audio output parameters, the server optimizes the audio according to the audio output parameters, and calls a loudspeaker on the terminal to output the optimized audio, so that better music quality and spatial experience are provided for the user. The audio output parameter may be one of a sound effect, a sound effect channel, a dynamic effect, a rhythm, a tone, a volume, and a surround sound, or one of a plurality of combinations of a sound effect, a sound effect channel, a dynamic effect, a rhythm, a tone, a volume, and a surround sound.
Further, the audio output parameters include at least one of:
sound effect, sound effect channel, dynamic effect, rhythm, timbre, volume, surround sound.
Further, there are various audio output parameters, including sound effects for enhancing sound effects, sound channels and surround sounds for enhancing spatial sense of sound, motion effects for enhancing motion effects in audio, rhythm for enhancing rhythm sense of audio, timbre for distinguishing sound characteristics emitted by different objects, and volume for adjusting the volume of audio sound. The audio output parameter in this embodiment may be one of the above multiple audio output parameters, or may be a combination of multiple audio output parameters.
Further, the step of S3 includes:
and optimizing the audio according to the audio output parameters, and outputting the optimized audio.
Further, after determining the audio output parameters corresponding to the application information and/or the terminal information, the server optimizes the audio to be output by the application and/or the terminal according to the audio output parameters, and outputs the optimized audio through a loudspeaker of the terminal. For example, when a user plays a game, the server determines audio output parameters according to parameters such as a sound effect, a dynamic effect and a surround sound corresponding to the game mode by acquiring the game mode in the terminal information, optimizes the sound effect, the dynamic effect and the surround sound of the output audio according to the audio output parameters, and improves the audio tone quality and the spatial impression of the user in the game.
The present embodiment provides a method, an apparatus, and a storage medium for matching audio output parameters, where the method includes: when audio output is detected, acquiring application information and/or terminal information for outputting the audio; determining corresponding audio output parameters according to the application information and/or the terminal information; and outputting the audio according to the audio output parameter. According to the invention, the audio output parameters are determined according to the application information and/or the terminal information and are not determined according to the module sensitive to volume response, so that the power consumption of the system is saved; in addition, because there are various ways of determining the audio output parameters, the audio output parameters are obtained in one of the various ways in actual use, so that the method and the device can quickly determine the audio output parameters and realize the beneficial effect of low delay of sound effect adjustment; in addition, the invention determines the audio output parameters according to the application information and/or the terminal information and outputs the audio, thereby avoiding frequently changing the sound effect mode and ensuring the stability of the output sound effect.
Further, referring to fig. 3 and 4, a second embodiment of the method for matching audio output parameters according to the present invention is provided based on the first embodiment of the method for matching audio output parameters according to the present invention, wherein in the second embodiment, the step S1 further includes:
step S11, judging whether the terminal information meets a first preset condition;
step S12, if yes, executing the step S2; and/or the presence of a gas in the gas,
and step S13, if not, outputting the audio and/or outputting prompt information according to the default audio output parameters.
Further, the first preset condition includes at least one of:
the terminal is in a preset operation mode;
the terminal meets at least one of the following state conditions: the method comprises the following steps of (1) conforming to a preset motion state, being in a preset time period and being in a preset position range;
the environment of the terminal meets at least one of the following conditions: the environment brightness does not meet the preset brightness requirement, and the environment sound does not meet the preset sound requirement.
Further, the server detects the acquired terminal information and determines whether the terminal information meets a first preset condition, wherein the first preset condition comprises a plurality of types and can be a preset operation mode for the terminal; the state condition can be one or more of combination of state meeting the preset motion state, state within the preset time period and state within the preset position range; the environment brightness in the environment can not meet one or the combination of the preset brightness requirement and the preset sound requirement, wherein the preset brightness requirement is a brightness value set by a user according to the requirement, and the preset sound requirement is a sound decibel value set by the user according to the requirement; and the operation mode can be one of the preset operation modes, the state conditions and the environment. Further, if the terminal information meets a first preset condition, the server determines a corresponding audio output parameter according to the terminal information; if the terminal information does not meet the first preset condition, the terminal cannot optimize the audio, and the audio is output according to the default audio output parameter in the terminal or prompt information of audio optimization failure is output or the prompt information of audio optimization failure is output while the audio is output according to the default audio output parameter. For example, when the user is in a rural area at night, since the ambient brightness does not meet the preset brightness requirement and the ambient sound does not meet the preset requirement, which indicates that the time may be at night and possibly break, the server adjusts the volume of the audio output to be low by determining the corresponding audio output parameter, so as to avoid disturbing other people to break. It is understood that there may be a case where a part of the terminal information satisfies the first preset condition and another part does not satisfy the first preset condition, and thus an extreme case occurs in which the server determines the audio output parameter based on the terminal information and outputs the audio and/or outputs the prompt information according to the default audio output parameter.
Further, the step S1 further includes:
step S14, determining whether the application information satisfies a second preset condition;
step S15, if yes, executing the step S2; and/or the presence of a gas in the gas,
and step S16, if not, outputting the audio and/or outputting prompt information according to the default audio output parameters.
Further, the second preset condition includes at least one of:
is a preset application;
is of a preset type.
Further, the preset application and/or preset type includes at least one of:
the preset application comprises at least one of the following: white list application, black list application and self-defined application;
the preset type comprises at least one of the following types: video and audio type, game type, social type, entertainment type and custom type.
Further, the server detects the obtained information of the application in the terminal, and determines whether the application information meets a second preset condition, wherein the second preset condition may be a preset application, a preset type, or a combination of the preset application and the preset type. Further, the preset application may be an application white list for providing a priority processing function for the application, an application black list for shielding the application from sending harassment information or illegally acquiring the right, or an application customized by the user according to the requirement; the preset type can be a video and audio type to which various audio and video players belong, a game type to which a game application belongs, a social type for processing social transactions, an entertainment type to which an application for entertainment belongs, or a custom type set by a user according to requirements. Further, if the server determines that the application information meets a second preset condition, the server determines a corresponding audio output parameter according to the application information; if the application information does not meet the first preset condition, the terminal cannot optimize the audio, and the audio is output according to the default audio output parameter in the terminal or prompt information of audio optimization failure is output or the prompt information of audio optimization failure is output while the audio is output according to the default audio output parameter. For example, when a user selects a music player in a white list to output audio, the server determines corresponding audio output parameters according to an application white list in a preset application and a video and audio type in a preset type, so as to preferentially optimize tone and tone quality of the audio and output the audio. It is understood that there may be a case where a part of the application information satisfies the second preset condition and another part does not satisfy the second preset condition, and thus an extreme case occurs in which the server determines the audio output parameter according to the application information and outputs the audio and/or outputs the prompt information according to the default audio output parameter.
In the embodiment, whether the terminal information meets the first preset condition and whether the application information meets the second preset condition is judged to determine whether to determine the corresponding audio output parameter according to the terminal information and/or the application information, so that the audio is optimally output. If the application information and/or the terminal information meet the preset conditions, the audio output parameters are rapidly and accurately determined according to one or a combination of multiple information in the application information and/or the terminal information, and the delay of sound effect adjustment is effectively reduced. If the application information and/or the terminal information do not meet the preset conditions, outputting the audio and/or outputting the prompt information according to the default audio output parameters, reducing the use of other modules, and reducing the power consumption of the terminal.
Further, referring to fig. 5, a third embodiment of the method for matching audio output parameters according to the present invention is proposed based on the first embodiment or the second embodiment of the method for matching audio output parameters according to the present invention, and in the third embodiment, the step S2 further includes at least one of the following steps:
determining corresponding audio output parameters according to the scene information and/or the state information;
determining corresponding audio output parameters according to the scene information and/or the environment information;
determining corresponding audio output parameters according to the state information and/or the environment information;
and determining corresponding audio output parameters according to the scene information and/or the state information and/or the environment information.
Further, at least one of the following is also included:
determining corresponding audio output parameters according to the running mode corresponding to the current scene information of the terminal;
determining corresponding audio output parameters according to preset state information met by the current state information of the terminal;
and determining corresponding audio output parameters according to preset environment information met by the current environment information of the terminal.
Further, the mode that the server determines the audio output parameter corresponding to the audio output according to the acquired application information and/or the terminal information may be to determine the audio output parameter according to one or more combinations of scene information, state information, and environment information of the terminal information, may be to determine the corresponding application name and/or application type according to the application information, and determine the corresponding audio output parameter according to the application name and/or application type. Specifically, determining the audio output parameter according to one or more combinations of the scene information, the state information, and the environment information of the terminal information may be determining the corresponding audio output parameter according to the scene information and/or the state information, determining the corresponding audio output parameter according to the scene information and/or the environment information, determining the corresponding sound effect output parameter according to the state information and/or the environment information, and determining the corresponding sound effect output parameter according to the scene information and/or the state information and/or the environment information. For example, when a user plays a game at night, the server determines corresponding audio output parameters according to the game mode in the scene information and/or the time information in the state information; when a user plays games in a noisy place, the server determines corresponding audio output parameters according to a game mode in the scene information and/or environmental sounds in the environmental information; when the user runs in the sports field, music is played, and the server determines corresponding audio output parameters according to the sports information in the state information and/or the environmental sound in the environmental information; when the user starts a power saving mode for saving electric quantity in a dark environment at night, and when the terminal receives a message, the server determines corresponding audio output parameters according to the power saving mode in the scene information and/or time information in the state information and/or environment brightness in the environment information.
Further, the server determines the corresponding audio output parameter according to the terminal information, and may also determine the corresponding audio output parameter according to an operation mode corresponding to the current scene information of the terminal, determine the corresponding audio output parameter according to the preset state information that is satisfied by the current state information of the terminal, and determine the corresponding audio output parameter according to the preset environment information that is satisfied by the current environment information of the terminal. For example: when a user is in a conference, the server determines corresponding audio output parameters according to a conference mode in the current scene information of the terminal so as to avoid the user from being interfered by other sounds in the conference; when the user moves, the server determines corresponding audio output parameters according to the motion information in the current scene information of the terminal, so that the user can hear the audio of the received information; when the user is in a noisy place, the server determines the corresponding audio output parameters according to the environmental sound in the current environmental information of the terminal, so that the condition that the user cannot hear prompt audio when the terminal receives the information due to overlarge external sound is avoided.
Further, the step S2 further includes:
step S21, determining the corresponding application name and/or application type based on the application information;
step S22, determining corresponding audio output parameters based on the application name and/or the application type.
Further, the step of determining the corresponding audio output parameter based on the application name and/or the application type further comprises at least one of:
determining corresponding audio output parameters according to an application white list corresponding to the application name;
and determining corresponding audio output parameters according to the preset type corresponding to the application type.
Further, an application white list for providing priority service for the application is set in the terminal. Further, the server determines the corresponding audio output parameter according to the terminal information, which may be a corresponding application name and/or application type determined according to the application information, and determines the audio output parameter corresponding to the audio output according to the application name and/or application type. The application name can be determined according to the application package name information by acquiring the application package name information of the application corresponding to the audio output, and the application name is one of multiple preset applications; the application type is one of a plurality of preset types. Further, the server can search the application white list according to the determined application name to determine whether the application name exists in the application white list, and if the application name exists in the application white list, the server determines the corresponding audio output parameter according to the application white list; the corresponding audio output parameters can also be determined according to the preset type if the application type is detected to be one of the preset types or not, and if the application type is one of the multiple preset types.
The embodiment determines the corresponding audio output parameters according to one or more combinations of the current scene information, the state information and the environment information of the terminal and/or according to the application information of the terminal, obtains the current actual requirements of the user for audio output according to the various information and the various application information contained in the terminal information, and determines the corresponding audio output parameters according to the actual requirements of the user, so that the audio output parameters can be adjusted appropriately according to the actual requirements of the user in time to meet the requirements of the user for audio.
Further, referring to fig. 6, based on the first embodiment, the second embodiment, or the third embodiment of the method for matching audio output parameters of the present application, a fourth embodiment of the method for matching audio output parameters of the present application is provided, where in the fourth embodiment, before the step of S3, the method further includes:
step S4, obtaining speaker information for outputting the audio;
and step S5, determining corresponding audio output parameters according to the loudspeaker information.
Further, the speaker information includes at least one of: number of speakers, speaker type;
the step of determining the corresponding audio output parameter according to the speaker information further includes:
step S51, determining corresponding audio output parameters according to the number of the loudspeakers; and/or the presence of a gas in the gas,
and step S52, determining corresponding audio output parameters according to the speaker type.
Further, a speaker for converting an electrical signal into an acoustic signal is provided in the terminal, and the speaker is used to output audio in the form of sound, and the number and type of the speakers in different terminals may be different, even in the same type of terminal, due to different models or different production times. Further, the server acquires speaker information on the terminal according to the acquired application information and/or the terminal information, determines an audio output parameter corresponding to the audio output by combining the number of speakers in the speaker information, and/or determines an audio output parameter corresponding to the audio output by combining the type of speakers in the speaker information. For example, when a user plays a 3D game on the internet, the terminal is in a game mode, and if the terminal has two speakers, the server determines the audio output parameter according to the game mode in combination with the two speakers, so that the audio optimized according to the audio output parameter can enhance the spatial sensation and the game tone quality of the user during playing the game.
According to the embodiment, the audio output parameters are rapidly determined by combining the terminal information and/or the application information with the loudspeaker information in the terminal, the time delay of sound effect adjustment is reduced, the audio output parameters are determined according to the loudspeaker arranged in the terminal, the use of other modules is reduced, and the power consumption of a terminal system is reduced.
The present application provides a storage medium, and the storage medium stores one or more programs, which can be executed by one or more processors for implementing the steps of any one of the methods for matching audio output parameters described above.
The specific implementation of the storage medium of the present application is substantially the same as the embodiments of the method for matching audio output parameters, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (20)

1. A method of matching audio output parameters, the method comprising the steps of:
s1, when audio output is detected, acquiring application information and/or terminal information for outputting the audio;
s2, determining corresponding audio output parameters according to the application information and/or the terminal information;
and S3, outputting the audio according to the audio output parameters.
2. The method of claim 1, wherein the terminal information comprises at least one of:
scene information, state information, environmental information.
3. The method of claim 2, wherein the step of S2 further comprises at least one of:
determining corresponding audio output parameters according to the scene information and/or the state information;
determining corresponding audio output parameters according to the scene information and/or the environment information;
determining corresponding audio output parameters according to the state information and/or the environment information;
and determining corresponding audio output parameters according to the scene information and/or the state information and/or the environment information.
4. The method of claim 2, further comprising at least one of:
determining corresponding audio output parameters according to the running mode corresponding to the current scene information of the terminal;
determining corresponding audio output parameters according to preset state information met by the current state information of the terminal;
and determining corresponding audio output parameters according to preset environment information met by the current environment information of the terminal.
5. The method of claim 2, wherein the scene information comprises at least one of:
a game mode, a power saving mode, a conference mode, an outdoor mode, an earphone mode, a play-out mode, a driving mode, and a voice mode.
6. The method of claim 2, wherein the status information comprises at least one of:
motion information, time information, location information.
7. The method of claim 2, wherein the environmental information comprises at least one of:
ambient brightness, ambient sound.
8. The method of claim 1, wherein the step of S2 further comprises:
determining a corresponding application name and/or application type based on the application information;
determining corresponding audio output parameters based on the application name and/or the application type.
9. The method of claim 8, wherein the step of determining corresponding audio output parameters based on the application name and/or the application type further comprises at least one of:
determining corresponding audio output parameters according to an application white list corresponding to the application name;
and determining corresponding audio output parameters according to the preset type corresponding to the application type.
10. The method according to any one of claims 1 to 9, wherein the step S1 further comprises:
judging whether the terminal information meets a first preset condition or not;
if yes, executing the step S2; and/or the presence of a gas in the gas,
and if not, outputting the audio and/or outputting prompt information according to the default audio output parameters.
11. The method of claim 10, wherein the first preset condition comprises at least one of:
the terminal is in a preset operation mode;
the terminal meets at least one of the following state conditions: the method comprises the following steps of (1) conforming to a preset motion state, being in a preset time period and being in a preset position range;
the environment of the terminal meets at least one of the following conditions: the environment brightness does not meet the preset brightness requirement, and the environment sound does not meet the preset sound requirement.
12. The method according to any one of claims 1 to 9, wherein the step S1 further comprises:
judging whether the application information meets a second preset condition or not;
if yes, executing the step S2; and/or the presence of a gas in the gas,
and if not, outputting the audio and/or outputting prompt information according to the default audio output parameters.
13. The method of claim 12, wherein the second preset condition comprises at least one of:
is a preset application;
is of a preset type.
14. The method of claim 13, comprising at least one of:
the preset application comprises at least one of the following: white list application, black list application and self-defined application;
the preset type comprises at least one of the following types: video and audio type, game type, social type, entertainment type and custom type.
15. The method according to any one of claims 1 to 9 or 11 or 13 to 14, wherein the step of S3 is preceded by the step of:
acquiring speaker information for outputting the audio;
and determining corresponding audio output parameters according to the loudspeaker information.
16. The method of claim 15, wherein the speaker information comprises at least one of: number of speakers, speaker type;
the step of determining the corresponding audio output parameter according to the speaker information further includes:
determining corresponding audio output parameters according to the number of the loudspeakers; and/or the presence of a gas in the gas,
and determining corresponding audio output parameters according to the loudspeaker types.
17. The method of any of claims 1-9 or 11 or 13-14 or 16, wherein the audio output parameters include at least one of:
sound effect, sound effect channel, dynamic effect, rhythm, timbre, volume, surround sound.
18. The method of claim 17, wherein the step of S3 includes:
and optimizing the audio according to the audio output parameters, and outputting the optimized audio.
19. An apparatus for matching audio output parameters, the apparatus comprising a memory, a processor and a program for matching audio output parameters stored on the memory and executable on the processor, the program for matching audio output parameters implementing the steps of the method for matching audio output parameters as claimed in any one of claims 1 to 18 when executed by the processor.
20. A storage medium, characterized in that the storage medium has stored thereon a program for matching audio output parameters, which program, when being executed by a processor, carries out the steps of the method for matching audio output parameters according to any one of claims 1-18.
CN202010337396.4A 2020-04-24 2020-04-24 Method, apparatus and storage medium for matching audio output parameters Pending CN111552452A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010337396.4A CN111552452A (en) 2020-04-24 2020-04-24 Method, apparatus and storage medium for matching audio output parameters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010337396.4A CN111552452A (en) 2020-04-24 2020-04-24 Method, apparatus and storage medium for matching audio output parameters

Publications (1)

Publication Number Publication Date
CN111552452A true CN111552452A (en) 2020-08-18

Family

ID=72003980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010337396.4A Pending CN111552452A (en) 2020-04-24 2020-04-24 Method, apparatus and storage medium for matching audio output parameters

Country Status (1)

Country Link
CN (1) CN111552452A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113660512A (en) * 2021-08-16 2021-11-16 广州博冠信息科技有限公司 Audio processing method, device, server and computer readable storage medium
WO2023193643A1 (en) * 2022-04-08 2023-10-12 海信视像科技股份有限公司 Display device, and processing method for display device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775562A (en) * 2016-12-09 2017-05-31 奇酷互联网络科技(深圳)有限公司 The method and device of audio frequency parameter treatment
CN107484081A (en) * 2017-07-27 2017-12-15 努比亚技术有限公司 A kind of method of adjustment of audio signal, device, terminal and computer-readable recording medium
CN108462895A (en) * 2017-02-21 2018-08-28 阿里巴巴集团控股有限公司 Sound effect treatment method, device and machine readable media
CN108536419A (en) * 2018-03-28 2018-09-14 努比亚技术有限公司 A kind of game volume control method, equipment and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775562A (en) * 2016-12-09 2017-05-31 奇酷互联网络科技(深圳)有限公司 The method and device of audio frequency parameter treatment
CN108462895A (en) * 2017-02-21 2018-08-28 阿里巴巴集团控股有限公司 Sound effect treatment method, device and machine readable media
CN107484081A (en) * 2017-07-27 2017-12-15 努比亚技术有限公司 A kind of method of adjustment of audio signal, device, terminal and computer-readable recording medium
CN108536419A (en) * 2018-03-28 2018-09-14 努比亚技术有限公司 A kind of game volume control method, equipment and computer readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113660512A (en) * 2021-08-16 2021-11-16 广州博冠信息科技有限公司 Audio processing method, device, server and computer readable storage medium
CN113660512B (en) * 2021-08-16 2024-03-12 广州博冠信息科技有限公司 Audio processing method, device, server and computer readable storage medium
WO2023193643A1 (en) * 2022-04-08 2023-10-12 海信视像科技股份有限公司 Display device, and processing method for display device

Similar Documents

Publication Publication Date Title
CN109445740B (en) Audio playing method and device, electronic equipment and storage medium
CN109388367B (en) Sound effect adjusting method and device, electronic equipment and storage medium
CN109284080B (en) Sound effect adjusting method and device, electronic equipment and storage medium
CN109165005B (en) Sound effect enhancement method and device, electronic equipment and storage medium
CN106302997B (en) Output control method, electronic equipment and system
CN110876180B (en) Power consumption processing method and device, electronic equipment and computer readable medium
WO2020048220A1 (en) Sound effect adjusting method and apparatus, electronic device, and storage medium
CN111083289B (en) Audio playing method and device, storage medium and mobile terminal
CN109107158B (en) Sound effect processing method and device, electronic equipment and computer readable storage medium
CN109271129B (en) Sound effect adjusting method and device, electronic equipment and storage medium
CN111552452A (en) Method, apparatus and storage medium for matching audio output parameters
JP2012075039A (en) Control apparatus and control method
CN108737648B (en) Music volume self-adaptive adjusting method, device, storage medium and terminal
US20210339132A1 (en) Method and System for Visual Display of Audio Cues in Video Games
WO2020048175A1 (en) Sound effect processing method, device, electronic device and storage medium
WO2023011370A1 (en) Audio playing method and apparatus
CN113660599B (en) Speaker control method and device, mobile terminal and storage medium
CN115022773A (en) Bluetooth device audio control method, device and storage medium
CN111324331A (en) Interactive message prompting method and device, electronic equipment and storage medium
CN113518284A (en) Audio processing method, wireless headset and computer readable storage medium
CN114420158A (en) Model training method and device, and target frequency response information determining method and device
KR101267059B1 (en) Apparatus and method for hearing ability protection in portable communication system
WO2021120247A1 (en) Hearing compensation method and device, and computer readable storage medium
CN107154263B (en) Sound processing method and device and electronic equipment
CN112532788A (en) Audio playing method, terminal and 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: 20200818