CN111897508A - Audio control method, system, storage medium and device - Google Patents

Audio control method, system, storage medium and device Download PDF

Info

Publication number
CN111897508A
CN111897508A CN201910371507.0A CN201910371507A CN111897508A CN 111897508 A CN111897508 A CN 111897508A CN 201910371507 A CN201910371507 A CN 201910371507A CN 111897508 A CN111897508 A CN 111897508A
Authority
CN
China
Prior art keywords
audio
control module
independent
audio control
setting
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
CN201910371507.0A
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.)
Shanghai Qinggan Intelligent Technology Co Ltd
Original Assignee
Shanghai Qinggan Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Qinggan Intelligent Technology Co Ltd filed Critical Shanghai Qinggan Intelligent Technology Co Ltd
Priority to CN201910371507.0A priority Critical patent/CN111897508A/en
Publication of CN111897508A publication Critical patent/CN111897508A/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 provides an audio control method, which is applied to an electronic device and comprises the following steps: an independent audio control module is added to a single sound application software; a shielding control module is arranged between the independent audio control module and a system audio control module of the electronic equipment; the shielding control module can shield the system audio control module of the electronic equipment from interlocking control of the independent audio control module; and setting the audio value of the single sound application software on the independent audio control module, storing the audio value and outputting the audio value. The invention solves the problem that the audio setting on the electronic equipment in the prior art generally follows the simultaneous adjustment of the major application software, can not carry out independent different settings on a single minor application software and is not influenced by the settings of other major audio, and enables the single minor application software to carry out independent audio control and not to be influenced by the settings of other major audio.

Description

Audio control method, system, storage medium and device
Technical Field
More particularly, the present invention relates to an audio control method, system, storage medium and device.
Background
The control and adjustment of sound on electronic equipment are generally divided into conversation, ring, media, alarm clock, notification and the like, and are generally divided into a large category and separated control and adjustment, for example, when the media sound is adjusted to be off or maximum in a setting, other application software such as games and the like can be adjusted according to the setting, although each software has audio control operation, the software is generally influenced by the setting or other software.
In the process of real-life user use, some use scenes are the same type of application software, and there are different situations for the size and the switching requirement of audio, for example: media application A, the user's demand is always on and the audio is opened to the maximum state; media application B, the user's requirement is to set the audio to about half of the maximum, which in current settings on electronic devices will generally affect both media applications a and B if the audio is set to size or turned off.
Disclosure of Invention
In view of the above shortcomings of the prior art, the present invention provides an audio control method, system, storage medium and device, which are used to solve the technical problem in the prior art that the audio settings on an electronic device are generally adjusted simultaneously according to a large class of application software, so that independent and different settings cannot be performed on a single small class of application software, and are not affected by other large classes of audio settings.
To achieve the above and other related objects, the present invention provides an audio control method applied to an electronic device, the method comprising:
an independent audio control module is added to a single sound application software;
a shielding control module is arranged between the independent audio control module and a system audio control module of the electronic equipment; the shielding control module can shield the system audio control module of the electronic equipment from the interlocking control of the independent audio control module;
and setting the audio value of the single sound application software on the independent audio control module, storing the audio value and outputting the audio value.
In an embodiment of the invention, the independent audio control module includes an independent audio database.
In an embodiment of the invention, the shielding control module may further perform on-off control on interlocking control of the independent audio control module by a system audio control module of the electronic device.
In an embodiment of the present invention, an implementation process of the shielding control module performing on-off control on interlocking control of the system audio control module of the electronic device on the independent audio control module includes:
the shielding control module sends out whether to support the independent audio control message;
if so, carrying out independent audio setting;
if not, recording a system audio default value of the electronic equipment, and storing the system audio default value into an independent audio database.
In an embodiment of the present invention, an implementation process of the independent audio setting includes:
sending out an initial audio setting prompt;
acquiring an initial audio setting parameter value;
storing the initial audio setting parameter values to an independent audio database;
and outputting the initial audio setting parameter value stored in the independent audio database.
To achieve the above and other related objects, the present invention provides an audio control system, comprising:
the independent audio control module is used for carrying out independent audio control on single sound application software;
the shielding control module can shield the system audio control module of the electronic equipment from the interlocking control of the independent audio control module;
and the setting output module is used for setting the audio value of the single sound application software on the independent audio control module, storing the audio value and outputting the audio value.
In an embodiment of the present invention, an implementation process of the independent audio setting includes:
sending out an initial audio setting prompt;
acquiring an initial audio setting parameter value;
storing the initial audio setting parameter values to an independent audio database;
and outputting the initial audio setting parameter value stored in the independent audio database.
In an embodiment of the present invention, the shielding control module may further perform on-off control on the interlocking control of the independent audio control module by a system audio control module of the electronic device; one implementation of switch control includes:
the shielding control module sends out whether to support the independent audio control message;
if so, carrying out independent audio setting;
if not, recording a system audio default value of the electronic equipment, and storing the system audio default value into an independent audio database.
To achieve the above and other related objects, the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements an audio control method.
To achieve the above and other related objects, the present invention also provides an apparatus comprising: a processor and a memory, the memory for storing a computer program, the processor for executing the computer program stored by the memory to cause the apparatus to perform, for example, an audio control method.
As described above, the full inventive name of the present invention has the following advantageous effects:
the invention solves the problem that the audio setting on the electronic equipment in the prior art can generally follow the large-class application software to be adjusted simultaneously, can not carry out independent different settings on single small-class application software and can not be influenced by other large-class audio settings. And the independent audio control technology is creatively utilized on the basis of the existing audio control scheme, so that a single subclass of application software can independently control the audio and is not influenced by the setting of other major classes of audio.
Drawings
Fig. 1A is a schematic flow chart illustrating an implementation of an audio control method according to an embodiment of the present invention.
Fig. 1B is a schematic flow chart illustrating an implementation of the audio control method according to the embodiment of the invention.
Fig. 2 is a schematic structural diagram of an audio control system according to an embodiment of the invention.
Fig. 3 is a schematic structural diagram of an audio control apparatus according to an embodiment of the present invention.
Description of the element reference numerals
21 independent audio control module
22 shield control module
23 setting output module
30 device
31 processor
32 memory
S101 to S203
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
Referring to fig. 1A and 1B, the present invention provides an audio control method applied to an electronic device, the audio control method comprising the following steps:
s101, adding an independent audio control module 21 to a single sound application software. Specifically, the independent audio control module 21 includes an independent audio database.
S102, arranging a shielding control module 22 between the independent audio control module 21 and a system audio control module of the electronic equipment; the masking control module 22 may mask the interlocking control of the individual audio control modules 21 from the system audio control module of the electronic device. Furthermore, the shielding control module 22 may also switch the interlocking control of the system audio control module of the electronic device on the independent audio control module 21. Specifically, one implementation process of the shielding control module 22 performing on-off control on the interlocking control of the system audio control module of the electronic device on the independent audio control module 21 includes:
s201, the shielding control module 22 sends out whether the independent audio control message is supported or not;
s202, if yes, independent audio setting is carried out;
and S203, if not, recording a system audio default value of the electronic equipment, and storing the system audio default value into an independent audio database.
And S103, setting the audio value of the single sound application software on the independent audio control module 21, storing the audio value and outputting the audio value. Specifically, one implementation process of the independent audio setting includes:
sending out an initial audio setting prompt;
acquiring an initial audio setting parameter value;
storing the initial audio setting parameter values to an independent audio database;
and outputting the initial audio setting parameter value stored in the independent audio database.
The audio control method provided by the present embodiment will be described in detail below with reference to the drawings. The audio control method described in this embodiment is applied to an electronic device. Fig. 1A is a flowchart illustrating an audio control method according to an embodiment. As shown in fig. 1A, the audio control method specifically includes the following steps:
s101, adding an independent audio control module 21 to a single sound application software. Specifically, the independent audio control module 21 includes an independent audio database.
The control and adjustment of sound on electronic equipment are generally divided into conversation, ring, media, alarm clock, notification and the like, and are generally divided into a large category and separated control and adjustment, for example, when the media sound is adjusted to be off or maximum in a setting, other application software such as games and the like can be adjusted according to the setting, although each software has audio control operation, the software is generally influenced by the setting or other software.
In the process of real-life user use, some use scenes are the same type of application software, and there are different situations for the size and the switching requirement of audio, for example: media application A, the user's demand is always on and the audio is opened to the maximum state; media application B, the user's requirement is to set the audio to about half of the maximum, which in current settings on electronic devices will generally affect both media applications a and B if the audio is set to size or turned off.
S102, arranging a shielding control module 22 between the independent audio control module 21 and a system audio control module of the electronic equipment; the masking control module 22 may mask the interlocking control of the individual audio control modules 21 from the system audio control module of the electronic device. Furthermore, the shielding control module 22 may also switch the interlocking control of the system audio control module of the electronic device on the independent audio control module 21. Specifically, one implementation process of the shielding control module 22 performing on-off control on the interlocking control of the system audio control module of the electronic device on the independent audio control module 21 includes:
the masking control module 22 issues whether or not the independent audio control message is supported;
if so, carrying out independent audio setting;
if not, recording a system audio default value of the electronic equipment, and storing the system audio default value into an independent audio database.
In one implementation of the present invention, when application software in the mobile phone android system is installed in the system for the first time, a specific system operation process is as follows:
prompting a user whether to support independent volume control;
yes, setting the next step, prompting the user to set the initial volume control value in the next step, and storing the support control and volume control value into a database;
no, record default system control, store in database.
In one embodiment of the present invention, when the user needs to modify the audio policy, the operation is as follows:
in the application management of the system, the application software is modified as required;
popping up a modified dialog box, and selecting a strategy required by a user;
clicking to confirm, and automatically storing the data into a database.
When the user starts the application software, the system control service reads the database strategy and sets the volume of the software according to the strategy. When the user deletes the application, the system control service deletes the data in the database.
And S103, setting the audio value of the single sound application software on the independent audio control module 21, storing the audio value and outputting the audio value. Specifically, one implementation process of the independent audio setting includes:
sending out an initial audio setting prompt;
acquiring an initial audio setting parameter value;
storing the initial audio setting parameter values to an independent audio database;
and outputting the initial audio setting parameter value stored in the independent audio database.
In one embodiment of the invention, the application software APP, in addition to the third-party software, also includes the software of the system itself, generally referring to the software or interface that needs the sound control. In order to realize independent control of sound, a control service and a data repository are added to the android system. The control service is primarily responsible for the audio policy and control values of the application software, and the data repository is primarily responsible for each application audio policy and volume control value.
The protection scope of the audio control method according to the present invention is not limited to the execution sequence of the steps listed in this embodiment, and all the solutions implemented by the steps addition, subtraction, and step replacement in the prior art according to the principles of the present invention are included in the protection scope of the present invention.
The invention also provides an audio control system, which can implement the audio control method of the invention, but the implementation device of the audio control method of the invention includes but is not limited to the structure of the audio control system listed in this embodiment, and all the structural modifications and substitutions of the prior art made according to the principle of the invention are included in the protection scope of the invention.
Referring to fig. 2, to achieve the above and other related objects, the present invention provides an audio control system, comprising:
an independent audio control module 21 for performing independent audio control on a single sound application software;
the shielding control module 22, the shielding control module 22 may shield the system audio control module of the electronic device from the interlock control of the independent audio control module 21;
and the setting output module 23 is used for setting the audio value of the single sound application software on the independent audio control module 21, saving the audio value and outputting the audio value.
In an embodiment of the present invention, an implementation process of the independent audio setting includes:
sending out an initial audio setting prompt;
acquiring an initial audio setting parameter value;
storing the initial audio setting parameter values to an independent audio database;
and outputting the initial audio setting parameter value stored in the independent audio database.
In an embodiment of the present invention, the shielding control module 22 may further perform on-off control on the interlocking control of the independent audio control module 21 by the system audio control module of the electronic device; one implementation of switch control includes:
the masking control module 22 issues whether or not the independent audio control message is supported;
if so, carrying out independent audio setting;
if not, recording a system audio default value of the electronic equipment, and storing the system audio default value into an independent audio database.
To achieve the above and other related objects, the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor 31, implements an audio control method.
The audio control system provided by the present embodiment will be described in detail with reference to the drawings. It should be noted that the division of the modules of the audio control system is only a logical division, and the actual implementation may be wholly or partially integrated into a physical entity, or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the x module may be a processing element separately set up, or may be implemented by being integrated in a chip of the apparatus, or may be stored in the memory 32 of the apparatus in the form of program code, and the function of the x module may be called and executed by a processing element of the apparatus. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Referring to fig. 3, to achieve the above and other related objects, the present invention further provides an apparatus 30, comprising: a processor 31, a memory 32, a transceiver, a communication interface, and a system bus; the memory 32 and the communication interface are connected to the processor 31 and the transceiver through the system bus to perform communication with each other, the memory 32 is used for storing computer programs, the communication interface is used for communicating with other devices, and the processor 31 is used for executing the computer programs stored in the memory 32 to enable the devices to execute, for example, an audio control method.
The system bus provided above may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The system bus may be divided into an address bus, a data bus, a control bus, and the like. The communication interface is used for realizing communication between the database access device and other equipment (such as a client, a read-write library and a read-only library). The Memory 32 may include a Random Access Memory (RAM) 32, and may also include a non-volatile Memory 32, such as at least one disk Memory 32.
The Processor 31 may be a general-purpose Processor 31, and includes a Central processing unit 31 (CPU), a Network Processor 31 (NP), and the like; the device may also be a Digital signal processor 31 (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components.
As described above, the audio control method and system of the present invention have the following advantages: the inventive audio control of a single subclass of application software is independent and independent of other broad classes of audio settings.
The invention solves the problem that the audio setting on the electronic equipment in the prior art generally follows the simultaneous adjustment of large-class application software, can not carry out independent different settings on single small-class application software and is not influenced by other large-class audio settings, effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (10)

1. An audio control method applied to an electronic device, the method comprising the steps of:
an independent audio control module is added to a single sound application software;
a shielding control module is arranged between the independent audio control module and a system audio control module of the electronic equipment; the shielding control module can shield the system audio control module of the electronic equipment from interlocking control of the independent audio control module;
and setting the audio value of the single sound application software on the independent audio control module, storing the audio value and outputting the audio value.
2. The method of claim 1, wherein the independent audio control module comprises an independent audio database.
3. The method of claim 1, wherein the masking control module is further configured to switch a system audio control module of the electronic device to control interlocking of the independent audio control modules.
4. The method of claim 3, wherein one implementation of the on-off control of the system audio control module of the electronic device over the interlock control of the independent audio control module by the shielding control module comprises:
the shielding control module sends out whether to support independent audio control information;
if so, carrying out independent audio setting;
if not, recording a system audio default value of the electronic equipment, and storing the system audio default value into the independent audio database.
5. The method of claim 4, wherein one implementation of the independent audio setting comprises:
sending out an initial audio setting prompt;
acquiring the initial audio setting parameter value;
saving the initial audio setting parameter value to the independent audio database;
and outputting the initial audio setting parameter value stored in the independent audio database.
6. An audio control system, the system comprising:
the independent audio control module is used for carrying out independent audio control on single sound application software;
the shielding control module can shield the system audio control module of the electronic equipment from the interlocking control of the independent audio control module;
and the setting output module is used for setting the audio value of the single sound application software on the independent audio control module, storing the audio value and outputting the audio value.
7. The system of claim 6, wherein one implementation of the independent audio setting comprises:
sending out an initial audio setting prompt;
acquiring the initial audio setting parameter value;
saving the initial audio setting parameter value to the independent audio database;
and outputting the initial audio setting parameter value stored in the independent audio database.
8. The system of claim 6, wherein the shielding control module is further configured to switch a system audio control module of the electronic device to control interlocking of the independent audio control modules;
one implementation of the switch control comprises:
the shielding control module sends out whether to support independent audio control information;
if so, carrying out independent audio setting;
if not, recording a system audio default value of the electronic equipment, and storing the system audio default value into the independent audio database.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the audio control method of any one of claims 1 to 5.
10. An apparatus, characterized in that the apparatus comprises: a processor and a memory, the memory for storing a computer program, the processor for executing the computer program stored by the memory to cause the apparatus to perform the audio control method of any of claims 1 to 5.
CN201910371507.0A 2019-05-06 2019-05-06 Audio control method, system, storage medium and device Pending CN111897508A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910371507.0A CN111897508A (en) 2019-05-06 2019-05-06 Audio control method, system, storage medium and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910371507.0A CN111897508A (en) 2019-05-06 2019-05-06 Audio control method, system, storage medium and device

Publications (1)

Publication Number Publication Date
CN111897508A true CN111897508A (en) 2020-11-06

Family

ID=73169512

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910371507.0A Pending CN111897508A (en) 2019-05-06 2019-05-06 Audio control method, system, storage medium and device

Country Status (1)

Country Link
CN (1) CN111897508A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201430A (en) * 2016-08-31 2016-12-07 维沃移动通信有限公司 A kind of method of volume adjusting and electronic equipment
CN106406803A (en) * 2016-08-31 2017-02-15 青岛海信移动通信技术股份有限公司 Volume control method and device of terminal application
CN107145323A (en) * 2016-03-01 2017-09-08 中兴通讯股份有限公司 A kind of method for controlling volume and device and terminal
CN107734121A (en) * 2017-09-26 2018-02-23 广东欧珀移动通信有限公司 Method for controlling volume, device, storage medium and electronic equipment
CN108762715A (en) * 2018-06-21 2018-11-06 Oppo广东移动通信有限公司 Electronic equipment audio control method, device and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107145323A (en) * 2016-03-01 2017-09-08 中兴通讯股份有限公司 A kind of method for controlling volume and device and terminal
CN106201430A (en) * 2016-08-31 2016-12-07 维沃移动通信有限公司 A kind of method of volume adjusting and electronic equipment
CN106406803A (en) * 2016-08-31 2017-02-15 青岛海信移动通信技术股份有限公司 Volume control method and device of terminal application
CN107734121A (en) * 2017-09-26 2018-02-23 广东欧珀移动通信有限公司 Method for controlling volume, device, storage medium and electronic equipment
CN108762715A (en) * 2018-06-21 2018-11-06 Oppo广东移动通信有限公司 Electronic equipment audio control method, device and equipment

Similar Documents

Publication Publication Date Title
CN106201481A (en) Assembly management method and apparatus in application development system
CN109992480A (en) A kind of log rank amending method, system and electronic equipment and storage medium
CN111506579B (en) Method, program and equipment for generating intelligent contract code
CN105426244A (en) Application process management method and application process management device
CN107480001A (en) System recovery method and device
CN111767144A (en) Transaction routing determination method, device, equipment and system for transaction data
CN111552945A (en) Resource processing method, device and equipment
CN107577527A (en) Task generation and scheduling method and device
CN112965760A (en) Method and device for modifying root directory, electronic equipment and readable storage medium
CN111897508A (en) Audio control method, system, storage medium and device
CN110569038B (en) Random verification parameter design method, device, computer equipment and storage medium
CN111443945B (en) Component code modification method and device
CN112181500A (en) Parameter adjusting method, device, terminal and storage medium
CN107220811B (en) Method and device for activating nodes in process
CN108293197A (en) A kind of resource statistics method, apparatus and terminal
CN115827049A (en) Configuration-based cache switching method, electronic equipment and storage medium
CN113448585A (en) Optimization method and device for thread pool, electronic equipment and storage medium
CN109189378B (en) Data processing method and related device
EP2767100B1 (en) Dynamic content installer for mobile devices
CN111930690A (en) File generation method and device
CN110955455A (en) Terminal initialization configuration method and device, electronic equipment and storage medium
CN108958849A (en) Obtain method, apparatus, storage medium and the mobile terminal of current Activity object
CN115357212B (en) Parameter generation method and device for ring buffer and artificial intelligence chip
CN111773714A (en) Game skill configuration method and device and game skill control method and device
CN116028332A (en) Parameter debugging method and device, storage medium and terminal

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