CN109885275B - Audio regulation and control method, equipment and computer readable storage medium - Google Patents

Audio regulation and control method, equipment and computer readable storage medium Download PDF

Info

Publication number
CN109885275B
CN109885275B CN201910112150.4A CN201910112150A CN109885275B CN 109885275 B CN109885275 B CN 109885275B CN 201910112150 A CN201910112150 A CN 201910112150A CN 109885275 B CN109885275 B CN 109885275B
Authority
CN
China
Prior art keywords
audio
audio parameter
parameter
screen
parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910112150.4A
Other languages
Chinese (zh)
Other versions
CN109885275A (en
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.)
Hangzhou Newsources Electronics Co ltd
Original Assignee
Hangzhou Newsources Electronics 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 Hangzhou Newsources Electronics Co ltd filed Critical Hangzhou Newsources Electronics Co ltd
Priority to CN201910112150.4A priority Critical patent/CN109885275B/en
Publication of CN109885275A publication Critical patent/CN109885275A/en
Application granted granted Critical
Publication of CN109885275B publication Critical patent/CN109885275B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Telephone Function (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention discloses an audio regulation and control method, equipment and a computer readable storage medium, wherein the method comprises the following steps: monitoring the running environment of the application program in a preset learning period; then, collecting an audio regulation and control instruction in the operating environment, and associating the adjusted audio parameter with the operating environment; then, counting the audio parameters to generate at least three audio parameters corresponding to the operating environment, wherein the three audio parameters comprise a highest-frequency audio parameter, a last-adopted audio parameter and an audio parameter of a historical mean value; and finally, in a use period, if the difference value of every two of the three audio parameters is within a preset range, adjusting the current volume according to any one of the three audio parameters. The method and the device realize a humanized audio adjusting scheme, so that the user can adaptively adjust parameters such as volume and the like according to the current operating environment in various operating environments, the user operation is simplified, and the user experience is improved.

Description

Audio regulation and control method, equipment and computer readable storage medium
Technical Field
The present invention relates to the field of mobile communications, and in particular, to an audio control method, device and computer-readable storage medium.
Background
In the prior art, with the rapid development of intelligent terminal devices, intelligent terminal devices with dual screens or multiple screens are also more and more common, for example, under the current trend of dual-screen mobile phones, the front screen and the rear screen correspond to different applications and use scenes, and the applications on the mobile phone are more and more, but no matter the mobile phone works in the front screen mode or the rear screen mode, the control on the volume of the mobile phone is single, so that a user needs to readjust the volume when switching between the front screen and the rear screen and switching between the applications. For example, when a user answers a call, the volume is adjusted to the maximum, when the user opens a game by using the first screen, the volume does not need to be adjusted to the maximum volume, and when the user watches a video by using the first screen, the volume needs to be adjusted to the maximum volume; when the user uses the second screen to watch the video, the appropriate volume needs to be readjusted, so that in the existing multi-screen equipment, when the user switches the screen to switch the application, the volume needs to be readjusted for many times, the operation is complex, the use is inconvenient, and the user experience is poor.
Disclosure of Invention
In order to solve the technical defects in the prior art, the invention provides an audio frequency regulation and control method, which comprises the following steps:
monitoring the running environment of the application program in a preset learning period;
collecting an audio regulation and control instruction in the operating environment, and associating the adjusted audio parameter with the operating environment;
counting the audio parameters to generate at least three audio parameters corresponding to the operating environment, wherein the three audio parameters comprise a highest-frequency audio parameter, a last-adopted audio parameter and an audio parameter of a historical mean value;
and in a use period, extracting a highest-frequency audio parameter, a previously adopted audio parameter and a history mean value audio parameter corresponding to the application program according to the running environment of the application program, and if the difference value of every two of the three audio parameters is within a preset range, adjusting the current volume according to any one of the three audio parameters.
Optionally, monitoring the running environment of the application program in a preset learning period includes:
monitoring a running environment of the application layer in the learning period, wherein the running environment comprises a running screen which at least comprises a first screen and a second screen;
and collecting the functional scenes in the operating environment, and establishing a first corresponding relation between the functional scenes and the operating screen.
Optionally, the acquiring an audio regulation and control instruction in the operating environment, and associating the adjusted audio parameter with the operating environment includes:
collecting an audio regulation and control instruction in the operating environment;
obtaining the audio parameters according to the audio regulation and control instruction;
and establishing a second corresponding relation among the audio parameters, the functional scenes and the running screen.
Optionally, the counting the audio parameters and generating at least three audio parameters corresponding to the operating environment, where the three audio parameters include an audio parameter with the highest frequency, an audio parameter used last time, and an audio parameter of a historical average, includes:
counting and analyzing the audio parameters;
acquiring audio parameters of the highest frequency, audio parameters adopted last time and audio parameters of historical mean values in the learning period;
and respectively determining second corresponding relations related to the three audio parameters.
Optionally, in the usage period, extracting, according to the operating environment of the application program, a highest-frequency audio parameter corresponding to the application program, an audio parameter used last time, and an audio parameter of a history mean value, and if a pairwise difference of the three audio parameters is within a preset range, adjusting a current volume according to any one of the three audio parameters, including:
detecting the operating environment during the use period;
determining the three audio parameters according to the operating environment, the first corresponding relation and the second corresponding relation;
and if the difference value between the audio parameter with the highest frequency and the audio parameter adopted last time is within a preset range, and the difference values between the audio parameter with the historical mean value and the audio parameter with the highest frequency and the audio parameter adopted last time are not within the preset range, adjusting the current volume according to the audio parameter adopted last time.
The invention also provides an audio conditioning device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the computer program realizes that:
monitoring the running environment of the application program in a preset learning period;
collecting an audio regulation and control instruction in the operating environment, and associating the adjusted audio parameter with the operating environment;
counting the audio parameters to generate at least three audio parameters corresponding to the operating environment, wherein the three audio parameters comprise a highest-frequency audio parameter, a last-adopted audio parameter and an audio parameter of a historical mean value;
and in a use period, extracting the audio parameter with the highest frequency, the audio parameter adopted last time and the audio parameter of the historical average value corresponding to the application program according to the running environment of the application program, and if the pairwise difference value of the three audio parameters is within a preset range, adjusting the current volume according to any one of the three audio parameters.
Optionally, the computer program when executed by the processor implements:
monitoring a running environment of the application layer in the learning period, wherein the running environment comprises a running screen which at least comprises a first screen and a second screen;
and collecting the functional scenes in the operating environment, and establishing a first corresponding relation between the functional scenes and the operating screen.
Optionally, the computer program when executed by the processor implements:
collecting an audio regulation and control instruction in the operating environment;
obtaining the audio parameters according to the audio regulation and control instruction;
and establishing a second corresponding relation among the audio parameters, the functional scenes and the running screen.
Optionally, the computer program when executed by the processor implements:
counting and analyzing the audio parameters;
acquiring audio parameters of the highest frequency, audio parameters adopted last time and audio parameters of historical mean values in the learning period;
respectively determining second corresponding relations related to the three audio parameters;
detecting the operating environment during the use period;
determining the three audio parameters according to the operating environment, the first corresponding relation and the second corresponding relation;
and if the difference value between the audio parameter with the highest frequency and the audio parameter adopted last time is within a preset range, and the difference values between the audio parameter with the historical mean value and the audio parameter with the highest frequency and the audio parameter adopted last time are not within the preset range, adjusting the current volume according to the audio parameter adopted last time.
The invention also proposes a computer-readable storage medium having stored thereon an audio conditioning program which, when executed by a processor, implements the steps of the audio conditioning method as defined in any one of the preceding claims.
By implementing the audio regulation and control method, the device and the computer readable storage medium, the running environment of the application program is monitored in a preset learning period; then, collecting an audio regulation and control instruction in the operating environment, and associating the adjusted audio parameter with the operating environment; then, counting the audio parameters to generate at least three audio parameters corresponding to the operating environment, wherein the three audio parameters comprise a highest-frequency audio parameter, a last-adopted audio parameter and an audio parameter of a historical mean value; and finally, in a use period, extracting the audio parameter with the highest frequency, the audio parameter adopted last time and the audio parameter of the historical average value corresponding to the application program according to the running environment of the application program, and if the pairwise difference value of the three audio parameters is within a preset range, adjusting the current volume according to any one of the three audio parameters. The method and the device realize a humanized audio adjusting scheme, so that the user can adaptively adjust parameters such as volume and the like according to the current operating environment in various operating environments, the user operation is simplified, and the user experience is improved.
Drawings
The invention will be further described with reference to the following drawings and examples, in which:
fig. 1 is a schematic diagram of a hardware structure of a mobile terminal according to the present invention;
fig. 2 is a communication network system architecture diagram provided by an embodiment of the present invention;
FIG. 3 is a flow chart of a first embodiment of the audio conditioning method of the present invention;
FIG. 4 is a flow chart of a second embodiment of the audio conditioning method of the present invention;
FIG. 5 is a flow chart of a third embodiment of the audio conditioning method of the present invention;
FIG. 6 is a flow chart of a fourth embodiment of the audio conditioning method of the present invention;
fig. 7 is a flowchart of a fifth embodiment of the audio control method according to the present invention.
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.
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 terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the mobile terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, without limitation.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, etc. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node for processing signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide some registers to manage functions such as home location register (not shown) and holds some user-specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address allocation and other functions for UE201, PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for policy and charging enforcement function (not shown).
IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the hardware structure of the mobile terminal and the communication network system, the embodiments of the method of the invention are provided.
Example one
FIG. 3 is a flowchart illustrating a first exemplary embodiment of an audio control method according to the present invention. A method of audio conditioning, the method comprising:
s1, monitoring the running environment of the application program in a preset learning period;
s2, collecting an audio regulation and control instruction under the operation environment, and associating the adjusted audio parameter with the operation environment;
s3, counting the audio parameters, and generating at least three audio parameters corresponding to the operating environment, wherein the three audio parameters comprise a highest-frequency audio parameter, a last-adopted audio parameter and an audio parameter of a history mean value;
and S4, in a using period, extracting the audio parameter with the highest frequency, the audio parameter adopted last time and the audio parameter with the historical average value corresponding to the application program according to the operating environment of the application program, and if the pairwise difference value of the three audio parameters is within a preset range, adjusting the current volume according to any one of the three audio parameters.
In this embodiment, first, in a preset learning period, the operating environment of the application program is monitored; then, collecting an audio regulation and control instruction in the operating environment, and associating the adjusted audio parameter with the operating environment; then, counting the audio parameters to generate at least three audio parameters corresponding to the operating environment, wherein the three audio parameters comprise a highest-frequency audio parameter, a last-adopted audio parameter and an audio parameter of a historical mean value; and finally, in a use period, extracting a highest-frequency audio parameter, a previously adopted audio parameter and an audio parameter of a historical mean value corresponding to the application program according to the running environment of the application program, and if the difference value of every two of the three audio parameters is within a preset range, adjusting the current volume according to any one of the three audio parameters.
Specifically, in this embodiment, first, the running environment of the application program is monitored in a preset learning period. It can be understood that, in order to adaptively assist the user in adjusting the volume of the terminal device, the embodiment monitors the running environment of the application and the volume setting parameter in each running environment by setting a learning period of a period of time, where the running environment of the application includes, but is not limited to, a function module in the application, the time the application is in a running state, the location of the application in the running state, the device operation before the application is in the running state, and the like. In this embodiment, the learning cycle is an initial period for learning the volume adjustment mode of the user, and the volume adjustment mode of the user is continuously learned in a normal use cycle after the learning cycle.
Specifically, in this embodiment, an audio regulation instruction in the operating environment is collected, and the adjusted audio parameter is associated with the operating environment. In this embodiment, the type of the audio control instruction includes volume control, for example, volume increase or volume decrease, and also includes sound quality control, for example, adjusting an audio balance value, and the like, and the generation manner of the audio control instruction includes generation triggered by a physical key of the terminal device, for example, generation triggered by a volume increase key or a volume decrease key, or generation triggered by at least one pressure-sensitive area of the terminal device, for example, generation of a corresponding volume value by a pressure value of a preset area, or generation generated by gesture operation acquired by the terminal device, for example, generation of a volume increase or volume decrease instruction by a sliding operation of a screen interface. In this embodiment, the adjusted audio parameter is associated with an operating environment of an application program, for example, when a certain application program is in an operating environment for browsing a dynamic page, the audio parameter in the browsing process is associated, or a control instruction for the audio parameter in the browsing process is associated, for example, when a certain application program is started in an office and starts to play a streaming media video shorter than a preset time period, the audio parameter in the playing process is associated, or the control instruction for the audio parameter in the playing process is associated.
Specifically, the audio parameters are counted to generate at least three audio parameters corresponding to the operating environment, where the three audio parameters include a highest-frequency audio parameter, a last-used audio parameter, and an audio parameter of a history mean value. The audio parameter with the highest frequency is determined in two ways, that is, a plurality of volume values within a period of time are counted, a value with the highest frequency of occurrence in the volume values is extracted as the audio parameter with the highest frequency of the embodiment, and a plurality of volume values within a period of time are counted, and an average value of values with the first few digits of frequency of occurrence in the volume values is extracted as the audio parameter with the highest frequency of the embodiment. Similarly, the audio parameter used in the previous time and the audio parameter of the history mean value in this embodiment may also be determined in the above two manners.
Specifically, in a use period, extracting a highest-frequency audio parameter, a previously adopted audio parameter and a history mean audio parameter corresponding to the application program according to the running environment of the application program, and if a pairwise difference value of the three audio parameters is within a preset range, adjusting the current volume according to any one of the three audio parameters. And determining one or more volume adjustment schemes or one or more tone quality adjustment schemes according to the pairwise difference of the three audio parameters. For example, if the difference between every two of the three audio parameters is not large, the current volume is adjusted according to any one of the three audio parameters, or the current volume is adjusted according to the average value of the three audio parameters.
The method has the advantages that the running environment of the application program is monitored in the preset learning period; then, collecting an audio regulation and control instruction in the operating environment, and associating the adjusted audio parameter with the operating environment; then, counting the audio parameters to generate at least three audio parameters corresponding to the operating environment, wherein the three audio parameters comprise a highest-frequency audio parameter, a last-adopted audio parameter and an audio parameter of a historical mean value; and finally, in a use period, extracting the audio parameter with the highest frequency, the audio parameter adopted last time and the audio parameter of the historical average value corresponding to the application program according to the running environment of the application program, and if the pairwise difference value of the three audio parameters is within a preset range, adjusting the current volume according to any one of the three audio parameters. The method and the device realize a humanized audio adjusting scheme, so that the user can adaptively adjust parameters such as volume and the like according to the current operating environment in various operating environments, simplify the user operation and improve the user experience.
Example two
Fig. 4 is a flowchart of a second embodiment of an audio control method according to the present invention, where based on the foregoing embodiment, the monitoring an operating environment of an application program in a preset learning period includes:
s11, monitoring the running environment of the application layer in the learning period, wherein the running environment comprises a running screen, and the running screen at least comprises a first screen and a second screen;
s12, collecting the function scenes in the running environment, and establishing a first corresponding relation between the function scenes and the running screen.
In this embodiment, first, in the learning period, monitoring an execution environment of the application layer, where the execution environment includes an execution screen, and the execution screen includes at least a first screen and a second screen; then, collecting the function scenes in the operating environment, and establishing a first corresponding relation between the function scenes and the operating screen.
Specifically, in this embodiment, first, the running environment of the application program is monitored in a preset learning period. It can be understood that, in order to adaptively assist the user in adjusting the volume of the terminal device, the embodiment monitors the running environment of the application and the volume setting parameter in each running environment by setting a learning period of a period of time, where the running environment of the application includes, but is not limited to, a function module in the application, the time the application is in a running state, the location of the application in the running state, the device operation before the application is in the running state, and the like. In this embodiment, the learning period is an initial period for learning the volume adjustment mode of the user, and the volume adjustment mode of the user is continuously learned in a normal use period after the learning period.
Optionally, a screen on which the application runs is determined first, for example, the application runs on the first screen or the second screen, and then, an operating environment of the application in the screen is determined;
optionally, first determining a screen on which the application runs, for example, the application runs on the first screen or the second screen, and then determining a running environment of the application in the screen, where the running environment further includes a running environment of another screen not occupied by the application;
optionally, collecting a functional scene in the operating environment, and establishing a first corresponding relationship between the functional scene and the operating screen;
optionally, the first corresponding relationship is stored in the terminal device, or the first corresponding relationship is stored in association with the application program.
The method has the advantages that the running environment of the application layer is monitored in the learning period, wherein the running environment comprises a running screen, and the running screen at least comprises a first screen and a second screen; then, collecting the function scenes in the running environment, and establishing a first corresponding relation between the function scenes and the running screen. The method and the device realize a more humanized audio adjusting scheme, so that the user can adaptively adjust parameters such as volume and the like according to the current operating environment in various operating environments, the user operation is simplified, and the user experience is improved.
EXAMPLE III
Fig. 5 is a flowchart of a third embodiment of an audio regulation method according to the present invention, where based on the above embodiments, the acquiring an audio regulation instruction in the operating environment and associating an adjusted audio parameter with the operating environment includes:
s21, collecting an audio regulation and control instruction in the operating environment;
s22, obtaining the audio parameters according to the audio regulation and control instruction;
s23, establishing a second corresponding relation among the audio parameters, the functional scenes and the running screen.
In this embodiment, first, an audio regulation and control instruction in the operating environment is collected; then, obtaining the audio parameters according to the audio regulation and control instruction; and finally, establishing a second corresponding relation among the audio parameters, the functional scenes and the running screen.
Specifically, in this embodiment, an audio regulation instruction in the operating environment is collected, and the adjusted audio parameter is associated with the operating environment. In this embodiment, the type of the audio control instruction includes volume control, for example, volume increase or volume decrease, and also includes sound quality control, for example, adjusting an audio balance value, and the like, and the generation manner of the audio control instruction includes generation triggered by a physical key of the terminal device, for example, generation triggered by a volume increase key or a volume decrease key, or generation triggered by at least one pressure-sensitive area of the terminal device, for example, generation of a corresponding volume value by a pressure value of a preset area, or generation generated by gesture operation acquired by the terminal device, for example, generation of a volume increase or volume decrease instruction by a sliding operation of a screen interface. In this embodiment, the adjusted audio parameter is associated with an operating environment of an application program, for example, when a certain application program is in an operating environment for browsing a dynamic page, the audio parameter in the browsing process is associated, or a control instruction for the audio parameter in the browsing process is associated, for example, when a certain application program is started in an office and starts to play a streaming media video shorter than a preset time period, the audio parameter in the playing process is associated, or the control instruction for the audio parameter in the playing process is associated.
Optionally, a second corresponding relationship between the audio parameter, the functional scene, and the running screen is established;
optionally, the second corresponding relationship is stored in the terminal device, or the second corresponding relationship is stored in association with the application program;
optionally, the multiple application programs have the same or similar functional scenes across the multiple application programs, and serve as the second correspondence reference factor of this embodiment, for example, the multiple application programs in the terminal device have a function of playing the streaming short video, and therefore, when the streaming short video of the multiple application programs is run on the second screen of the terminal device, the same associated audio parameter is adopted.
The method has the advantages that the audio regulation and control instruction under the operating environment is acquired; then, obtaining the audio parameters according to the audio regulation and control instruction; and finally, establishing a second corresponding relation among the audio parameters, the functional scenes and the running screen. The method and the device realize a more humanized audio adjusting scheme, so that the user can adaptively adjust parameters such as volume and the like according to the current operating environment in various operating environments, the user operation is simplified, and the user experience is improved.
Example four
Fig. 6 is a flowchart of a fourth embodiment of the audio control method according to the present invention, and based on the above embodiments, the audio parameters are counted to generate at least three audio parameters corresponding to the operating environment, where the three audio parameters include a highest-frequency audio parameter, a last-used audio parameter, and an audio parameter of a history mean value, and the method includes:
s31, counting and analyzing the audio parameters;
s32, acquiring the audio parameter with the highest frequency in the learning period, the audio parameter adopted at the previous time and the audio parameter of a history mean value;
and S33, respectively determining second corresponding relations related to the three audio parameters.
In this embodiment, first, the audio parameters are counted and analyzed; then, acquiring the audio parameter with the highest frequency in the learning period, the audio parameter adopted in the previous time and the audio parameter of the history mean value; finally, second corresponding relations related to the three audio parameters are respectively determined.
Specifically, the audio parameters are counted to generate at least three audio parameters corresponding to the operating environment, where the three audio parameters include an audio parameter with the highest frequency, an audio parameter used last time, and an audio parameter of a history mean value. The audio parameter with the highest frequency is determined in two ways, that is, a plurality of volume values within a period of time are counted, a value with the highest occurrence frequency in the volume values is extracted as the audio parameter with the highest frequency in the embodiment, and a plurality of volume values within a period of time are counted, and an average value of values with the first occurrence frequencies in the volume values is extracted as the audio parameter with the highest frequency in the embodiment. Similarly, the audio parameter used in the previous time and the audio parameter of the history mean value in this embodiment may also be determined in the above two manners.
Optionally, a unique second corresponding relationship is determined for each operating environment of each application program respectively;
optionally, the unique second corresponding relationship is determined for a plurality of applications respectively having the same or similar operating environments.
The embodiment has the advantages that the audio parameters are counted and analyzed; then, acquiring the audio parameter with the highest frequency in the learning period, the audio parameter adopted in the previous time and the audio parameter of the history mean value; finally, second corresponding relations related to the three audio parameters are respectively determined. The method and the device realize a more humanized audio adjusting scheme, so that the user can adaptively adjust parameters such as volume and the like according to the current operating environment in various operating environments, the user operation is simplified, and the user experience is improved.
EXAMPLE five
Fig. 7 is a flowchart of a fifth embodiment of the audio control method, where based on the above embodiments, in the usage period, the extracting, according to the operating environment of the application program, a highest-frequency audio parameter corresponding to the application program, an audio parameter used in the previous time, and an audio parameter of a history mean value, and if a pairwise difference between the three audio parameters is within a preset range, adjusting a current volume according to any one of the three audio parameters includes:
s41, detecting the operation environment in the use period;
s42, determining the three audio parameters according to the operating environment, the first corresponding relation and the second corresponding relation;
s43, if the difference value between the audio parameter with the highest frequency and the audio parameter adopted last time is within a preset range, and the difference value between the audio parameter with the historical mean value and the audio parameter with the highest frequency and the difference value between the audio parameter adopted last time are not within the preset range, adjusting the current volume according to the audio parameter adopted last time.
In this embodiment, first, in the use period, the operating environment is detected; then, determining the three audio parameters according to the operating environment, the first corresponding relation and the second corresponding relation; and finally, if the difference value between the audio parameter with the highest frequency and the audio parameter adopted last time is within a preset range, and the difference values between the audio parameter with the historical mean value, the audio parameter with the highest frequency and the audio parameter adopted last time are not within the preset range, adjusting the current volume according to the audio parameter adopted last time.
Specifically, in a use period, extracting a highest-frequency audio parameter, a previously adopted audio parameter and a history mean audio parameter corresponding to the application program according to the running environment of the application program, and if a pairwise difference value of the three audio parameters is within a preset range, adjusting the current volume according to any one of the three audio parameters. And determining one or more volume adjustment schemes or one or more tone quality adjustment schemes according to the pairwise difference conditions of the three audio parameters. For example, if the difference between every two of the three audio parameters is not large, the current volume is adjusted according to any one of the three audio parameters, or the current volume is adjusted according to the average value of the three audio parameters.
Optionally, if the difference between the audio parameter with the highest frequency, the audio parameter used last time, and the audio parameter with the historical mean value is not within the preset range, the current volume is adjusted according to the audio parameter with the historical mean value.
The method has the advantages that the operation environment is detected in the service cycle; then, determining the three audio parameters according to the operating environment, the first corresponding relation and the second corresponding relation; and finally, if the difference value between the audio parameter with the highest frequency and the audio parameter adopted last time is within a preset range, and the difference values between the audio parameter with the historical mean value, the audio parameter with the highest frequency and the audio parameter adopted last time are not within the preset range, adjusting the current volume according to the audio parameter adopted last time. The method and the device realize a more humanized audio adjusting scheme, so that the user can adaptively adjust parameters such as volume and the like according to the current operating environment in various operating environments, the user operation is simplified, and the user experience is improved.
EXAMPLE six
Based on the foregoing embodiments, the present invention further provides an audio conditioning device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the computer program when executed by the processor implements:
monitoring the running environment of an application program in a preset learning period;
collecting an audio regulation and control instruction in the operating environment, and associating the adjusted audio parameter with the operating environment;
counting the audio parameters, and generating at least three audio parameters corresponding to the operating environment, wherein the three audio parameters comprise a highest-frequency audio parameter, a last-adopted audio parameter and an audio parameter of a historical mean value;
and in a use period, extracting a highest-frequency audio parameter, a previously adopted audio parameter and a history mean value audio parameter corresponding to the application program according to the running environment of the application program, and if the difference value of every two of the three audio parameters is within a preset range, adjusting the current volume according to any one of the three audio parameters.
In this embodiment, first, in a preset learning period, the operating environment of the application program is monitored; then, collecting an audio regulation and control instruction in the operating environment, and associating the adjusted audio parameter with the operating environment; then, counting the audio parameters to generate at least three audio parameters corresponding to the operating environment, wherein the three audio parameters comprise a highest-frequency audio parameter, a last-adopted audio parameter and an audio parameter of a historical mean value; and finally, in a use period, extracting a highest-frequency audio parameter, a previously adopted audio parameter and an audio parameter of a historical mean value corresponding to the application program according to the running environment of the application program, and if the difference value of every two of the three audio parameters is within a preset range, adjusting the current volume according to any one of the three audio parameters.
Specifically, in this embodiment, first, the running environment of the application program is monitored in a preset learning period. It can be understood that, in order to adaptively assist the user in adjusting the volume of the terminal device, the embodiment monitors the running environment of the application and the volume setting parameter in each running environment by setting a learning period of a period of time, where the running environment of the application includes, but is not limited to, a function module in the application, the time the application is in a running state, the location of the application in the running state, the device operation before the application is in the running state, and the like. In this embodiment, the learning period is an initial period for learning the volume adjustment mode of the user, and the volume adjustment mode of the user is continuously learned in a normal use period after the learning period.
Specifically, in this embodiment, an audio regulation instruction in the operating environment is collected, and the adjusted audio parameter is associated with the operating environment. In this embodiment, the type of the audio control instruction includes volume control, for example, volume increase or volume decrease, and also includes sound quality control, for example, adjusting an audio balance value, and the like, and the generation manner of the audio control instruction includes generation triggered by a physical key of the terminal device, for example, generation triggered by a volume increase key or a volume decrease key, or generation triggered by at least one pressure-sensitive area of the terminal device, for example, generation of a corresponding volume value by a pressure value of a preset area, or generation generated by gesture operation acquired by the terminal device, for example, generation of a volume increase or volume decrease instruction by a sliding operation of a screen interface. In this embodiment, the adjusted audio parameter is associated with an operating environment of an application program, for example, when an application program is in an operating environment for browsing a dynamic page, the audio parameter in the browsing process is associated, or a control instruction for the audio parameter in the browsing process is associated, and for example, when an application program is started in an office and starts to play a streaming video that is shorter than a preset time period, the audio parameter in the playing process is associated, or the control instruction for the audio parameter in the playing process is associated.
Specifically, the audio parameters are counted to generate at least three audio parameters corresponding to the operating environment, where the three audio parameters include a highest-frequency audio parameter, a last-used audio parameter, and an audio parameter of a history mean value. The audio parameter with the highest frequency is determined in two ways, that is, a plurality of volume values within a period of time are counted, a value with the highest frequency of occurrence in the volume values is extracted as the audio parameter with the highest frequency of the embodiment, and a plurality of volume values within a period of time are counted, and an average value of values with the first few digits of frequency of occurrence in the volume values is extracted as the audio parameter with the highest frequency of the embodiment. Similarly, the audio parameter used in the previous time and the audio parameter of the history average value in this embodiment may also be determined in the above two manners.
Specifically, in a use period, extracting a highest-frequency audio parameter, a previously-adopted audio parameter and a history mean value audio parameter corresponding to the application program according to the running environment of the application program, and if the difference value of every two of the three audio parameters is within a preset range, adjusting the current volume according to any one of the three audio parameters. And determining one or more volume adjustment schemes or one or more tone quality adjustment schemes according to the pairwise difference conditions of the three audio parameters. For example, if the difference between every two of the three audio parameters is not large, the current volume is adjusted according to any one of the three audio parameters, or the current volume is adjusted according to the average value of the three audio parameters.
The method has the advantages that the running environment of the application program is monitored in the preset learning period; then, collecting an audio regulation and control instruction in the operating environment, and associating the adjusted audio parameter with the operating environment; then, counting the audio parameters to generate at least three audio parameters corresponding to the operating environment, wherein the three audio parameters comprise the audio parameter with the highest frequency, the audio parameter adopted last time and the audio parameter of the historical mean value; and finally, in a use period, extracting a highest-frequency audio parameter, a previously adopted audio parameter and an audio parameter of a historical mean value corresponding to the application program according to the running environment of the application program, and if the difference value of every two of the three audio parameters is within a preset range, adjusting the current volume according to any one of the three audio parameters. The method and the device realize a humanized audio adjusting scheme, so that the user can adaptively adjust parameters such as volume and the like according to the current operating environment in various operating environments, simplify the user operation and improve the user experience.
EXAMPLE seven
Based on the above embodiments, the computer program when executed by the processor implements:
monitoring a running environment of the application layer in the learning period, wherein the running environment comprises a running screen which at least comprises a first screen and a second screen;
and collecting the functional scenes in the operating environment, and establishing a first corresponding relation between the functional scenes and the operating screen.
In this embodiment, first, in the learning period, monitoring an operating environment of the application layer, where the operating environment includes an operating screen, and the operating screen includes at least a first screen and a second screen; then, collecting the function scenes in the running environment, and establishing a first corresponding relation between the function scenes and the running screen.
Specifically, in this embodiment, first, the running environment of the application program is monitored in a preset learning period. It can be understood that, in order to adaptively assist the user in adjusting the volume of the terminal device, the embodiment monitors the running environment of the application and the volume setting parameter in each running environment by setting a learning period of a period of time, where the running environment of the application includes, but is not limited to, a function module in the application, the time the application is in a running state, the location of the application in the running state, the device operation before the application is in the running state, and the like. In this embodiment, the learning cycle is an initial period for learning the volume adjustment mode of the user, and the volume adjustment mode of the user is continuously learned in a normal use cycle after the learning cycle.
Optionally, a screen on which the application runs is determined first, for example, the application runs on the first screen or the second screen, and then, a running environment of the application in the screen is determined;
optionally, first, a screen on which the application runs is determined, for example, the application runs on the first screen or the second screen, and then, an execution environment of the application in the screen is determined, where the execution environment further includes an execution environment of another screen that is not occupied by the application;
optionally, collecting a functional scene in the operating environment, and establishing a first corresponding relationship between the functional scene and the operating screen;
optionally, the first corresponding relationship is stored in the terminal device, or the first corresponding relationship is stored in association with the application program.
The method has the advantages that the running environment of the application layer is monitored in the learning period, wherein the running environment comprises a running screen, and the running screen at least comprises a first screen and a second screen; then, collecting the function scenes in the running environment, and establishing a first corresponding relation between the function scenes and the running screen. The method and the device realize a more humanized audio adjusting scheme, so that the user can adaptively adjust parameters such as volume and the like according to the current operating environment in various operating environments, the user operation is simplified, and the user experience is improved.
Example eight
Based on the above embodiments, the computer program when executed by the processor implements:
collecting an audio regulation and control instruction in the operating environment;
obtaining the audio parameters according to the audio regulation and control instruction;
and establishing a second corresponding relation among the audio parameters, the functional scenes and the running screen.
In this embodiment, first, an audio regulation and control instruction in the operating environment is collected; then, obtaining the audio parameters according to the audio regulation and control instruction; and finally, establishing a second corresponding relation among the audio parameters, the functional scenes and the running screen.
Specifically, in this embodiment, an audio regulation instruction in the operating environment is collected, and the adjusted audio parameter is associated with the operating environment. In this embodiment, the type of the audio control instruction includes volume control, for example, increasing the volume or decreasing the volume, and also includes sound quality control, for example, adjusting an audio balance value, and the like, and the audio control instruction is generated by triggering a physical key of the terminal device, for example, by triggering a volume increase key or a volume decrease key, or by triggering at least one pressure-sensitive area of the terminal device, for example, by generating a corresponding volume value from a pressure value in a preset area, or by generating a gesture operation acquired by the terminal device, for example, by generating a volume increase instruction or a volume decrease instruction through a sliding operation of a screen interface. In this embodiment, the adjusted audio parameter is associated with an operating environment of an application program, for example, when an application program is in an operating environment for browsing a dynamic page, the audio parameter in the browsing process is associated, or a control instruction for the audio parameter in the browsing process is associated, and for example, when an application program is started in an office and starts to play a streaming video that is shorter than a preset time period, the audio parameter in the playing process is associated, or the control instruction for the audio parameter in the playing process is associated.
Optionally, a second corresponding relationship among the audio parameter, the functional scene, and the operation screen is established;
optionally, the second corresponding relationship is stored in the terminal device, or the second corresponding relationship is stored in association with the application program;
optionally, the multiple applications have the same or similar functional scenes across the multiple applications, and serve as the second corresponding relation reference factor of this embodiment, for example, the multiple applications in the terminal device have a function of playing the streaming short video, so that when the streaming short video of the multiple applications is run on the second screen of the terminal device, the same associated audio parameter is used.
The method has the advantages that the audio regulation and control instruction under the operating environment is acquired; then, obtaining the audio parameters according to the audio regulation and control instruction; and finally, establishing a second corresponding relation among the audio parameters, the functional scenes and the running screen. The method and the device realize a more humanized audio adjusting scheme, so that the user can adaptively adjust parameters such as volume and the like according to the current operating environment in various operating environments, the user operation is simplified, and the user experience is improved.
Example nine
Based on the above embodiments, the computer program when executed by the processor implements:
counting and analyzing the audio parameters;
acquiring the audio parameter with the highest frequency in the learning period, the audio parameter adopted last time and the audio parameter of the history mean value;
respectively determining second corresponding relations related to the three audio parameters;
detecting the operating environment during the use period;
determining the three audio parameters according to the operating environment, the first corresponding relation and the second corresponding relation;
and if the difference value between the audio parameter with the highest frequency and the audio parameter adopted last time is within a preset range, and the difference values between the audio parameter with the historical mean value, the audio parameter with the highest frequency and the audio parameter adopted last time are not within the preset range, adjusting the current volume according to the audio parameter adopted last time.
In this embodiment, first, the audio parameters are counted and analyzed; then, acquiring audio parameters of the highest frequency, the audio parameters adopted last time and the audio parameters of the historical mean value in the learning period; finally, second corresponding relations related to the three audio parameters are respectively determined.
Specifically, the audio parameters are counted to generate at least three audio parameters corresponding to the operating environment, where the three audio parameters include an audio parameter with the highest frequency, an audio parameter used last time, and an audio parameter of a history mean value. The audio parameter with the highest frequency is determined in two ways, that is, a plurality of volume values within a period of time are counted, a value with the highest frequency of occurrence in the volume values is extracted as the audio parameter with the highest frequency of the embodiment, and a plurality of volume values within a period of time are counted, and an average value of values with the first few digits of frequency of occurrence in the volume values is extracted as the audio parameter with the highest frequency of the embodiment. Similarly, the audio parameter used in the previous time and the audio parameter of the history average value in this embodiment may also be determined in the above two manners.
Optionally, a unique second corresponding relationship is determined for each operating environment of each application program respectively;
optionally, the unique second corresponding relationship is determined for a plurality of applications respectively having the same or similar operating environments.
Specifically, in a use period, extracting a highest-frequency audio parameter, a previously adopted audio parameter and a history mean audio parameter corresponding to the application program according to the running environment of the application program, and if a pairwise difference value of the three audio parameters is within a preset range, adjusting the current volume according to any one of the three audio parameters. And determining one or more volume adjustment schemes or one or more tone quality adjustment schemes according to the pairwise difference conditions of the three audio parameters. For example, if the difference between every two of the three audio parameters is not large, the current volume is adjusted according to any one of the three audio parameters, or the current volume is adjusted according to the average value of the three audio parameters.
Optionally, if the difference between the audio parameter with the highest frequency, the audio parameter used last time, and the audio parameter with the historical mean value is not within the preset range, the current volume is adjusted according to the audio parameter with the historical mean value.
The method has the advantages that the operation environment is detected in the service cycle; then, determining the three audio parameters according to the operating environment, the first corresponding relation and the second corresponding relation; and finally, if the difference value between the audio parameter with the highest frequency and the audio parameter adopted last time is within a preset range, and the difference values between the audio parameter with the historical mean value, the audio parameter with the highest frequency and the audio parameter adopted last time are not within the preset range, adjusting the current volume according to the audio parameter adopted last time. The method and the device realize a more humanized audio adjusting scheme, so that the user can adaptively adjust parameters such as volume and the like according to the current operating environment in various operating environments, the user operation is simplified, and the user experience is improved.
Example ten
Based on the foregoing embodiment, the present invention further provides a computer-readable storage medium, where an audio regulation program is stored, and when the audio regulation program is executed by a processor, the steps of the audio regulation method as described in any one of the foregoing embodiments are implemented.
By implementing the audio regulation and control method, the device and the computer readable storage medium, the running environment of the application program is monitored in a preset learning period; then, collecting an audio regulation and control instruction in the operating environment, and associating the adjusted audio parameter with the operating environment; then, counting the audio parameters to generate at least three audio parameters corresponding to the operating environment, wherein the three audio parameters comprise a highest-frequency audio parameter, a last-adopted audio parameter and an audio parameter of a historical mean value; and finally, in a use period, extracting a highest-frequency audio parameter, a previously adopted audio parameter and an audio parameter of a historical mean value corresponding to the application program according to the running environment of the application program, and if the difference value of every two of the three audio parameters is within a preset range, adjusting the current volume according to any one of the three audio parameters. The method and the device realize a humanized audio adjusting scheme, so that the user can adaptively adjust parameters such as volume and the like according to the current operating environment in various operating environments, the user operation is simplified, and the user experience is improved.
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 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 like elements in a process, method, article, or apparatus 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 solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as 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.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. An audio conditioning method, the method comprising:
monitoring the running environment of the application program in a preset learning period;
acquiring an audio regulation and control instruction in the operating environment, and associating the adjusted audio parameter with the operating environment;
counting the audio parameters, and generating at least three audio parameters corresponding to the operating environment, wherein the three audio parameters comprise a highest-frequency audio parameter, a last-adopted audio parameter and an audio parameter of a historical mean value;
in a use period, extracting the audio parameter with the highest frequency, the audio parameter adopted last time and the audio parameter of a historical mean value corresponding to the application program according to the running environment of the application program;
if the difference value of every two of the three audio parameters is within a preset range, adjusting the current volume according to any one of the three audio parameters;
if the difference value between the audio parameter with the highest frequency and the audio parameter adopted last time is within the preset range, and the difference values between the audio parameter with the historical mean value, the audio parameter with the highest frequency and the audio parameter adopted last time are not within the preset range, adjusting the current volume according to the audio parameter adopted last time;
if the difference value of the audio parameter with the highest frequency, the audio parameter adopted last time and the audio parameter with the historical mean value is not within the preset range, adjusting the current volume according to the audio parameter with the historical mean value;
in a preset learning period, monitoring the running environment of the application program, including: monitoring an operating environment of the application program in the learning period, wherein the operating environment comprises an operating screen which at least comprises a first screen and a second screen; collecting a function scene under the operation environment, and establishing a first corresponding relation between the function scene and the operation screen;
determining that the application program runs on the first screen or the second screen, and determining a running environment of the application program in a screen of the first screen or the second screen; or determining that the application program runs on the first screen or the second screen, and determining the running environment of the other screen which is not occupied by the application program.
2. The audio conditioning method according to claim 1, wherein the acquiring the audio conditioning instruction under the operating environment and associating the adjusted audio parameter with the operating environment comprises:
collecting an audio regulation and control instruction in the operating environment;
obtaining the audio parameters according to the audio regulation and control instruction;
and establishing a second corresponding relation among the audio parameters, the functional scenes and the running screen.
3. The audio conditioning method according to claim 2, wherein the counting the audio parameters generates at least three audio parameters corresponding to the operating environment, wherein the three audio parameters include a highest frequency audio parameter, a last audio parameter and a history mean audio parameter, and comprises:
counting and analyzing the audio parameters;
acquiring the audio parameter with the highest frequency in the learning period, the audio parameter adopted last time and the audio parameter of the history mean value;
and respectively determining second corresponding relations related to the three audio parameters.
4. The audio control method according to claim 3, wherein in the usage period, extracting a highest-frequency audio parameter, a previously-used audio parameter, and an audio parameter of a history mean value corresponding to the application program according to an operating environment of the application program, and if a difference between two of the three audio parameters is within a preset range, adjusting a current volume according to any one of the three audio parameters includes:
detecting the operating environment during the use period;
and determining the three audio parameters according to the operating environment, the first corresponding relation and the second corresponding relation.
5. An audio conditioning apparatus, characterized in that the apparatus comprises a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program realizing, when executed by the processor:
monitoring the running environment of the application program in a preset learning period;
acquiring an audio regulation and control instruction in the operating environment, and associating the adjusted audio parameter with the operating environment;
counting the audio parameters to generate at least three audio parameters corresponding to the operating environment, wherein the three audio parameters comprise a highest-frequency audio parameter, a last-adopted audio parameter and an audio parameter of a historical mean value;
in a use period, extracting a highest-frequency audio parameter, a previously adopted audio parameter and a history mean value audio parameter corresponding to the application program according to the running environment of the application program, and if the difference value of every two of the three audio parameters is within a preset range, adjusting the current volume according to any one of the three audio parameters;
if the difference value between the audio parameter with the highest frequency and the audio parameter adopted last time is within the preset range, and the difference values between the audio parameter with the historical mean value, the audio parameter with the highest frequency and the audio parameter adopted last time are not within the preset range, adjusting the current volume according to the audio parameter adopted last time;
if the difference value of the audio parameter with the highest frequency, the audio parameter adopted last time and the audio parameter with the historical mean value is not within the preset range, adjusting the current volume according to the audio parameter with the historical mean value;
in the preset learning period, monitoring the running environment of the application program includes: monitoring an operating environment of the application program in the learning period, wherein the operating environment comprises an operating screen which at least comprises a first screen and a second screen; collecting a function scene under the operation environment, and establishing a first corresponding relation between the function scene and the operation screen;
determining that the application program runs on the first screen or the second screen, and determining a running environment of the application program in a screen of the first screen or the second screen; or determining that the application program runs on the first screen or the second screen, and determining the running environment of the other screen which is not occupied by the application program.
6. The audio conditioning apparatus according to claim 5, wherein the computer program when executed by the processor implements:
collecting an audio regulation and control instruction in the operating environment;
obtaining the audio parameters according to the audio regulation and control instruction;
and establishing a second corresponding relation among the audio parameters, the functional scenes and the running screen.
7. The audio conditioning apparatus according to claim 6, characterized in that the computer program when executed by the processor implements:
counting and analyzing the audio parameters;
acquiring the audio parameter with the highest frequency in the learning period, the audio parameter adopted last time and the audio parameter of the history mean value;
respectively determining second corresponding relations related to the three audio parameters;
detecting the operating environment during the use period;
and determining the three audio parameters according to the operating environment, the first corresponding relation and the second corresponding relation.
8. A computer-readable storage medium, having stored thereon an audio conditioning program, which when executed by a processor, performs the steps of the audio conditioning method of any of claims 1 to 4.
CN201910112150.4A 2019-02-13 2019-02-13 Audio regulation and control method, equipment and computer readable storage medium Active CN109885275B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910112150.4A CN109885275B (en) 2019-02-13 2019-02-13 Audio regulation and control method, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910112150.4A CN109885275B (en) 2019-02-13 2019-02-13 Audio regulation and control method, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109885275A CN109885275A (en) 2019-06-14
CN109885275B true CN109885275B (en) 2022-08-19

Family

ID=66928055

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910112150.4A Active CN109885275B (en) 2019-02-13 2019-02-13 Audio regulation and control method, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109885275B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111767000B (en) * 2020-06-24 2023-09-01 瑞声科技(新加坡)有限公司 Method, device, equipment and storage medium for inhibiting vibration of electronic equipment shell

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103617797A (en) * 2013-12-09 2014-03-05 腾讯科技(深圳)有限公司 Voice processing method and device
CN104427075A (en) * 2013-08-26 2015-03-18 深圳富泰宏精密工业有限公司 Volume adjusting system and method
CN107249082A (en) * 2017-06-30 2017-10-13 广东欧珀移动通信有限公司 Method for controlling volume, device, storage medium and electronic equipment
CN108008931A (en) * 2017-12-25 2018-05-08 珠海格力电器股份有限公司 A kind of method and device for adjusting volume

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4005293B2 (en) * 2000-02-29 2007-11-07 インターナショナル・ビジネス・マシーンズ・コーポレーション Computer, control method therefor, recording medium, and transmission medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104427075A (en) * 2013-08-26 2015-03-18 深圳富泰宏精密工业有限公司 Volume adjusting system and method
CN103617797A (en) * 2013-12-09 2014-03-05 腾讯科技(深圳)有限公司 Voice processing method and device
CN107249082A (en) * 2017-06-30 2017-10-13 广东欧珀移动通信有限公司 Method for controlling volume, device, storage medium and electronic equipment
CN108008931A (en) * 2017-12-25 2018-05-08 珠海格力电器股份有限公司 A kind of method and device for adjusting volume

Also Published As

Publication number Publication date
CN109885275A (en) 2019-06-14

Similar Documents

Publication Publication Date Title
CN108572764B (en) Character input control method and device and computer readable storage medium
CN111708503B (en) Screen projection control method, device and computer readable storage medium
CN107295270B (en) Image brightness value determination method and device, terminal and computer-readable storage medium
CN108881635B (en) Screen brightness adjusting method, mobile terminal and computer readable storage medium
CN110007816B (en) Display area determining method, terminal and computer readable storage medium
CN108984063B (en) Desktop interaction regulation and control method and device and computer readable storage medium
CN108600489B (en) Earphone, calibration method of loudspeaker, mobile terminal and readable storage medium
CN110278481B (en) Picture-in-picture implementation method, terminal and computer readable storage medium
CN109491577B (en) Holding interaction method and device and computer readable storage medium
CN112437472B (en) Network switching method, equipment and computer readable storage medium
CN111381762A (en) Double-screen switching method and device and computer readable storage medium
CN107688497B (en) Memory regulation and control method, equipment and computer readable storage medium
CN112612372A (en) Touch event regulation and control method and device and computer readable storage medium
CN109683796B (en) Interaction control method, equipment and computer readable storage medium
CN112102780A (en) Display frame rate regulation and control method, device and computer readable storage medium
CN109561221B (en) Call control method, device and computer readable storage medium
CN109710168B (en) Screen touch method and device and computer readable storage medium
CN111970738A (en) Network switching control method, equipment and computer readable storage medium
CN111443818A (en) Screen brightness regulation and control method and device and computer readable storage medium
CN109885275B (en) Audio regulation and control method, equipment and computer readable storage medium
CN107743204B (en) Exposure processing method, terminal, and computer-readable storage medium
CN112667339B (en) Screen refresh rate setting method, terminal and computer readable medium
CN113535024A (en) Multi-window volume control method, equipment and computer readable storage medium
CN114307136A (en) Game screen-throwing power consumption control method and device and computer readable storage medium
CN109710149B (en) Interactive display method, equipment and computer 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
TA01 Transfer of patent application right

Effective date of registration: 20220803

Address after: 311113 Anxi Industrial Zone, Liangzhu street, Yuhang District, Hangzhou City, Zhejiang Province

Applicant after: Hangzhou Newsources Electronics Co.,Ltd.

Address before: 518000 6-8 / F, 10-11 / F, 6 / F, 6-10 / F, C zone, Han's innovation building, No. 9018, Beihuan Avenue, high tech Zone, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant