CN106911836B - Audio control method and device - Google Patents

Audio control method and device Download PDF

Info

Publication number
CN106911836B
CN106911836B CN201510981862.1A CN201510981862A CN106911836B CN 106911836 B CN106911836 B CN 106911836B CN 201510981862 A CN201510981862 A CN 201510981862A CN 106911836 B CN106911836 B CN 106911836B
Authority
CN
China
Prior art keywords
app
terminal
volume
audio file
preset value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201510981862.1A
Other languages
Chinese (zh)
Other versions
CN106911836A (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo 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 Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510981862.1A priority Critical patent/CN106911836B/en
Publication of CN106911836A publication Critical patent/CN106911836A/en
Application granted granted Critical
Publication of CN106911836B publication Critical patent/CN106911836B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides an audio control method and an audio control device, wherein the method comprises the following steps: the method comprises the steps that a terminal detects whether an audio file is contained in a page of an application program APP opened by a user; if the page of the APP contains the audio file, the terminal detects the volume of the environment where the terminal is located; and if the volume of the environment where the terminal is located is smaller than the first preset value, the terminal adjusts the volume of the page of the APP to the volume corresponding to the first preset value, and the audio file is played. According to the method, when the APP page opened by the user contains the audio file, the volume of the audio file is adjusted to the volume matched with the surrounding environment, so that the played audio information cannot cause interference to the user, and the user experience is improved.

Description

Audio control method and device
Technical Field
The present invention relates to communications technologies, and in particular, to an audio control method and apparatus.
Background
When a user uses an Application program (APP for short) in a mobile phone, audio files are preset in pages of some APPs, and when the pages with the audio files of the APPs are opened, the audio files can be automatically played. For example, some background music may be played when some pages in the WeChat are opened.
However, the audio files played in many APP pages are auxiliary information, which is not practical for the user, and the user does not know that the audio files will be played in the pages before opening the pages. If the user opens these pages in an environment that needs to be kept quiet while the user's phone is not set to vibrate or plugged into a headset, the audio files played by default in these pages may cause interference to the user, thereby affecting the user experience.
Disclosure of Invention
The invention provides an audio control method and device, which are used for solving the problem that the user experience is influenced by playing an audio file by default in the prior art.
A first aspect of the present invention provides an audio control method, including:
the method comprises the steps that a terminal detects whether an audio file is contained in a page of an application program APP opened by a user;
if the page of the APP contains an audio file, the terminal detects the volume of the environment where the terminal is located;
if the volume of the environment where the terminal is located is smaller than a first preset value, the terminal adjusts the volume of the page of the APP to the volume corresponding to the first preset value, and the audio file is played.
Further, the method further comprises: further comprising:
if the volume of the environment where the terminal is located is smaller than a second preset value, the terminal closes the audio file and displays prompt information of the audio file contained in the page of the APP to a user;
wherein the second preset value is smaller than the first preset value.
Further, before the terminal adjusts the volume of the audio file to the volume corresponding to the first preset value, the method further includes:
and the terminal establishes a corresponding relation between the first preset value and the volume.
Further, the terminal detects the volume of the environment where the terminal is located, including:
the terminal collects sound information of the environment where the terminal is located through a microphone of the terminal;
and the terminal detects the volume of the environment where the terminal is located according to the sound information.
Further, if the page of the APP contains an audio file, the terminal detects the volume of the environment where the terminal is located, including:
if the page of the APP contains an audio file, the terminal detects whether the APP is an APP needing volume control;
and if the APP is the APP needing volume control, the terminal detects the volume of the environment where the terminal is located.
Further, the terminal detects whether the APP is an APP that needs to be volume controlled, including:
and the terminal determines whether the APP is the APP needing volume control or not according to the type of the APP.
Further, before the terminal determines whether the APP is an APP which needs to be volume controlled according to the type of the APP, the method further includes:
receiving at least one APP type input by a user and indication information of whether each APP type needs to be subjected to volume control; accordingly, the number of the first and second electrodes,
the terminal determines whether the APP is the APP needing volume control according to the type of the APP, and the method comprises the following steps:
and the terminal determines whether the APP is the APP needing volume control or not according to the types of the APPs and the indication information of whether the types of the APPs input by the user need volume control or not.
Further, the terminal determines whether the APP is an APP which needs to be volume controlled according to the type of the APP, including:
the terminal determines the type of the APP according to the identifier of the APP;
and the terminal determines whether the APP is the APP needing volume control or not according to the type of the APP.
A second aspect of the present invention provides an audio control apparatus comprising:
the first detection module is used for detecting whether a page of an application program APP opened by a user contains an audio file;
the second detection module is used for detecting the volume of the environment where the terminal is located if the page of the APP contains the audio file;
and the adjusting module is used for adjusting the volume of the page of the APP to the volume corresponding to the first preset value and playing the audio file if the volume of the environment where the terminal is located is smaller than the first preset value.
Further, the apparatus further comprises:
the closing module is used for closing the audio file and displaying prompt information of the audio file contained in the page of the APP to a user if the volume of the environment where the terminal is located is smaller than a second preset value;
wherein the second preset value is smaller than the first preset value.
Further, the apparatus further comprises:
and the establishing module is used for establishing the corresponding relation between the first preset value and the volume before the adjusting module adjusts the volume of the audio file to the volume corresponding to the first preset value.
Further, the second detection module comprises:
the collecting unit is used for collecting sound information of the environment where the terminal is located through a microphone of the terminal;
and the first detection unit is used for detecting the volume of the environment where the terminal is located according to the sound information.
Further, the second detection module further comprises:
the second detection unit is used for detecting whether the APP is the APP needing volume control or not if the page of the APP contains an audio file;
and the third detection unit is used for detecting the volume of the environment where the terminal is located if the APP is the APP needing volume control.
Further, the second detection unit is specifically configured to: and determining whether the APP is the APP needing volume control or not according to the type of the APP.
Further, the apparatus further comprises: further comprising:
the device comprises a receiving module, a processing module and a control module, wherein the receiving module is used for receiving at least one APP type input by a user and indicating information whether each APP type needs to be subjected to volume control; accordingly, the number of the first and second electrodes,
the second detection unit is specifically further configured to:
and determining whether the APP is the APP needing volume control or not according to the types of the APPs and the indication information of whether the types of the APPs input by the user need volume control or not.
Further, the second detection unit is specifically further configured to: determining the type of the APP according to the identifier of the APP; and determining whether the APP is the APP needing volume control or not according to the type of the APP.
According to the audio control method provided by the invention, when the APP page opened by the user contains the audio file, the volume of the audio file is adjusted to the volume matched with the surrounding environment, so that the played audio information does not cause interference to the user, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating an audio control method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a second embodiment of an audio control method according to the present invention;
FIG. 3 is a flowchart illustrating a third exemplary embodiment of an audio control method according to the present invention;
FIG. 4 is a block diagram of an audio control apparatus according to a first embodiment of the present invention;
FIG. 5 is a block diagram of a second embodiment of an audio control apparatus according to the present invention;
fig. 6 is a block diagram of a third embodiment of an audio control apparatus according to the present invention;
FIG. 7 is a block diagram of a fourth embodiment of an audio control apparatus according to the present invention;
FIG. 8 is a block diagram of a fifth embodiment of an audio control apparatus according to the present invention;
fig. 9 is a block diagram of a sixth embodiment of an audio control apparatus according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart illustrating a first embodiment of an audio control method according to the present invention, in which an execution subject of the method is a terminal, such as a mobile phone, a tablet computer, and the like. As shown in fig. 1, the method includes:
s101, the terminal detects whether the page of the APP opened by the user contains an audio file.
Specifically, the terminal may detect whether the page of the APP contains an audio file according to a suffix name of a file corresponding to the page of the APP, for example, if the suffix name of the file is. mp3,. avi, etc., it indicates that the page of the APP contains the audio file.
S102, if the page of the APP contains the audio file, the terminal detects the volume of the environment where the terminal is located.
S103, if the volume of the environment where the terminal is located is smaller than a first preset value, the terminal adjusts the volume of the APP page to the volume corresponding to the first preset value, and the audio file is played.
The corresponding relation between the first preset value and the volume is established in advance, and the smaller the first preset value is, the smaller the corresponding volume is, namely the first preset value is matched with the volume.
In this embodiment, when the page of the APP opened by the user contains an audio file, the volume of the audio file is adjusted to the volume matched with the surrounding environment, so that the played audio information does not cause interference to the user, and the user's feeling is improved.
In another embodiment, the method further comprises:
and if the volume of the environment where the terminal is located is smaller than a second preset value, the terminal closes the audio file and displays prompt information containing the audio file in the page of the APP to the user.
Wherein, the second preset value is smaller than the first preset value.
Specifically, the second preset value indicates that the surrounding environment is in a quiet environment, and in this environment, the terminal may directly close the audio file in the page of the APP, and meanwhile, pop up a prompt to the user: the currently opened page contains audio information, and is played or kept closed according to the selection of a user.
Accordingly, the step S103 may be adjusted to: and if the volume of the environment where the terminal is located is smaller than the first preset value and larger than the second preset value, the terminal adjusts the volume of the APP page to the volume corresponding to the first preset value, and the audio file is played.
In the embodiment, when the surrounding environment is in a quiet environment, the terminal directly closes the audio file to ensure that the user is not interfered, and meanwhile, the audio file is opened or kept closed according to whether the user wants to open the audio file, so that various requirements of the user are met on the basis of not interfering the user.
In another embodiment, before the step S103, the terminal may pre-establish a corresponding relationship between the first preset value and the volume. The principle of establishing the corresponding relationship is as follows: the larger the first preset value is, the larger the volume is; the smaller the first preset value, the smaller the volume. That is, when the surrounding environment is noisy, the volume of the audio file played by the terminal is large, and when the surrounding environment is quiet, the volume of the audio file played by the terminal is small. Thereby providing intelligent audio control for the user.
Fig. 2 is a schematic flow chart of a second embodiment of the audio control method provided by the present invention, and as shown in fig. 2, a preferred implementation manner of the terminal detecting the volume of the environment where the terminal is located is as follows:
s201, the terminal collects sound information of the environment where the terminal is located through a microphone of the terminal.
S202, the terminal detects the volume of the environment where the terminal is located according to the sound information.
Fig. 3 is a flowchart illustrating a third embodiment of the audio control method according to the present invention, and as shown in fig. 3, the step S102 specifically includes:
s301, if the page of the APP contains the audio file, the terminal detects whether the APP is the APP needing volume control.
S302, if the APP is the APP needing volume control, the terminal detects the volume of the environment where the terminal is located.
In another embodiment, the step S301 specifically includes:
and the terminal determines whether the APP is the APP needing volume control according to the type of the APP.
The type of the APP is used to distinguish whether the APP may contain an audio file, and optionally, the APP may be divided into two types, that is, an APP that may contain an audio file and an APP that does not contain an audio file. For example, APPs such as WeChat and microblog belong to APPs that may contain audio files, and readers and mobile phone internet banking belong to APPs that do not contain audio files.
The type of the APP can be obtained through two implementation modes, in one implementation mode, a user manually inputs the type of the APP in advance, and the terminal judges according to the type of the APP input by the user, specifically:
the terminal receives at least one APP type input by a user and indication information of whether each APP type needs to be subjected to volume control.
After the terminal receives the information, when the terminal performs volume control, the terminal determines whether the APP is the APP requiring volume control according to the types of the APPs and the indication information of whether the types of the APPs input by the user need volume control.
In another embodiment, the terminal directly determines the type of the APP according to the identifier of the APP without manual input of a user, and then determines whether the APP is the APP requiring volume control according to the type of the APP.
Specifically, the terminal may determine the type of the APP according to attribute information such as the name of the APP.
Fig. 4 is a block diagram of a first embodiment of an audio control apparatus according to the present invention, where the audio control apparatus is included in a terminal, and as shown in fig. 4, the apparatus includes:
the first detection module 401 is configured to detect whether a page of an application APP opened by a user includes an audio file.
A second detecting module 402, configured to detect, if the page of the APP includes an audio file, a volume of an environment where the terminal is located.
The adjusting module 403 is configured to adjust the volume of the page of the APP to a volume corresponding to the first preset value if the volume of the environment where the terminal is located is smaller than the first preset value, and play the audio file.
Fig. 5 is a block diagram of a second embodiment of an audio control apparatus according to the present invention, as shown in fig. 5, based on fig. 4, the apparatus further includes:
and a closing module 404, configured to close the audio file if the volume of the environment where the terminal is located is smaller than a second preset value, and display, to the user, a prompt message that the page of the APP contains the audio file.
Wherein the second preset value is smaller than the first preset value.
Accordingly, the adjusting module 403 can be adjusted to: and if the volume of the environment where the terminal is located is smaller than the first preset value and larger than the second preset value, adjusting the volume of the page of the APP to the volume corresponding to the first preset value, and playing the audio file.
Fig. 6 is a block diagram of a third embodiment of an audio control apparatus according to the present invention, as shown in fig. 6, based on fig. 5, the apparatus further includes:
the establishing module 405 is configured to establish a corresponding relationship between the first preset value and the volume before the adjusting module 403 adjusts the volume of the audio file to the volume corresponding to the first preset value.
Fig. 7 is a block diagram of a fourth embodiment of an audio control apparatus according to the present invention, and as shown in fig. 7, the second detecting module 402 includes:
the collecting unit 4021 is configured to collect sound information of an environment where the terminal is located through a microphone of the terminal.
The first detecting unit 4022 is configured to detect the volume of the environment where the terminal is located according to the sound information.
Fig. 8 is a block diagram of a fifth embodiment of an audio control apparatus according to the present invention, as shown in fig. 8, based on fig. 7, the second detecting module 402 further includes:
the second detecting unit 4023 is configured to detect whether the APP is an APP that needs to perform volume control if the page of the APP includes an audio file.
A third detecting unit 4024, configured to determine, if the APP is an APP that needs to perform volume control, a volume of an environment where the terminal is located.
In another embodiment, the second detecting unit 4023 is specifically configured to: and determining whether the APP is the APP needing volume control or not according to the type of the APP.
Fig. 9 is a block diagram of a sixth embodiment of an audio control apparatus according to the present invention, as shown in fig. 9, on the basis of fig. 6, the apparatus further includes:
a receiving module 406, configured to receive at least one APP type input by a user, and indication information of whether each APP type needs to perform volume control.
Correspondingly, the second detecting unit 4023 is specifically further configured to:
and determining whether the APP is the APP needing volume control or not according to the types of the APPs and the indication information of whether the types of the APPs input by the user need volume control or not.
In another embodiment, the second detecting unit 4023 is specifically configured to:
determining the type of the APP according to the identifier of the APP; and determining whether the APP is the APP needing volume control or not according to the type of the APP.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
The invention discloses an A1 audio control method, which comprises the following steps:
the method comprises the steps that a terminal detects whether an audio file is contained in a page of an application program APP opened by a user;
if the page of the APP contains an audio file, the terminal detects the volume of the environment where the terminal is located;
if the volume of the environment where the terminal is located is smaller than a first preset value, the terminal adjusts the volume of the page of the APP to the volume corresponding to the first preset value, and the audio file is played.
A2, the method of a1, further comprising:
if the volume of the environment where the terminal is located is smaller than a second preset value, the terminal closes the audio file and displays prompt information of the audio file contained in the page of the APP to a user;
wherein the second preset value is smaller than the first preset value.
The method of A3, as described in A1 or A2, wherein before the terminal adjusts the volume of the audio file to the volume corresponding to the first preset value, the method further includes:
and the terminal establishes a corresponding relation between the first preset value and the volume.
A4, as in the method of A3, the detecting, by the terminal, the volume of the environment where the terminal is located specifically includes:
the terminal collects sound information of the environment where the terminal is located through a microphone of the terminal;
and the terminal determines the volume of the environment where the terminal is located according to the sound information.
A5, as in the method described in a4, if the page of the APP contains an audio file, the terminal detects the volume of the environment where the terminal is located, which specifically includes:
if the page of the APP contains an audio file, the terminal detects whether the APP is an APP needing volume control;
and if the APP is the APP needing volume control, the terminal detects the volume of the environment where the terminal is located.
A6, the method as in a5, where the terminal detects whether the APP is an APP that needs to be volume controlled, and specifically includes:
and the terminal determines whether the APP is the APP needing volume control or not according to the type of the APP.
A7, the method as described in a6, where before the terminal determines whether the APP is an APP that needs to be volume controlled according to the type of the APP, the method further includes:
receiving at least one APP type input by a user and indication information of whether each APP type needs to be subjected to volume control; accordingly, the number of the first and second electrodes,
the terminal determines whether the APP is the APP needing volume control according to the type of the APP, and the method specifically includes:
and the terminal determines whether the APP is the APP needing volume control or not according to the types of the APPs and the indication information of whether the types of the APPs input by the user need volume control or not.
A8, the method as in a6, where the terminal determines whether the APP is an APP that needs to be volume-controlled according to the APP type, and specifically includes:
the terminal determines the type of the APP according to the identifier of the APP;
and the terminal determines whether the APP is the APP needing volume control or not according to the type of the APP.
The invention also discloses B1 and an audio control device, the device comprises:
the first detection module is used for detecting whether a page of an application program APP opened by a user contains an audio file;
the second detection module is used for detecting the volume of the environment where the terminal is located if the page of the APP contains the audio file;
and the adjusting module is used for adjusting the volume of the page of the APP to the volume corresponding to the first preset value and playing the audio file if the volume of the environment where the terminal is located is smaller than the first preset value.
B2, the apparatus of B1, further comprising:
the closing module is used for closing the audio file and displaying prompt information of the audio file contained in the page of the APP to a user if the volume of the environment where the terminal is located is smaller than a second preset value;
wherein the second preset value is smaller than the first preset value.
B3, the apparatus of B1 or B2, further comprising:
and the establishing module is used for establishing the corresponding relation between the first preset value and the volume before the adjusting module adjusts the volume of the audio file to the volume corresponding to the first preset value.
B4, the apparatus of B3, the second detection module comprising:
the collecting unit is used for collecting sound information of the environment where the terminal is located through a microphone of the terminal;
and the first detection unit is used for detecting the volume of the environment where the terminal is located according to the sound information.
B5, the apparatus of B4, the second detection module further comprising:
the second detection unit is used for detecting whether the APP is the APP needing volume control or not if the page of the APP contains an audio file;
and the third detection unit is used for detecting the volume of the environment where the terminal is located if the APP is the APP needing volume control.
B6, the apparatus according to B5, wherein the second detecting unit is specifically configured to: and determining whether the APP is the APP needing volume control or not according to the type of the APP.
B7, the apparatus of B6, further comprising:
the device comprises a receiving module, a processing module and a control module, wherein the receiving module is used for receiving at least one APP type input by a user and indicating information whether each APP type needs to be subjected to volume control; accordingly, the number of the first and second electrodes,
the second detection unit is specifically further configured to:
and determining whether the APP is the APP needing volume control or not according to the types of the APPs and the indication information of whether the types of the APPs input by the user need volume control or not.
B8, the apparatus of B6, wherein the second detecting unit is further configured to: determining the type of the APP according to the identifier of the APP; and determining whether the APP is the APP needing volume control or not according to the type of the APP.

Claims (8)

1. An audio control method, comprising:
the method comprises the steps that a terminal detects whether an audio file is contained in a page of an application program APP opened by a user;
if the page of the APP contains an audio file, the terminal detects the volume of the environment where the terminal is located;
if the volume of the environment where the terminal is located is smaller than a first preset value and larger than a second preset value, the terminal adjusts the volume of the page of the APP to the volume corresponding to the first preset value, and the audio file is played;
if the volume of the environment where the terminal is located is smaller than the second preset value, the terminal closes the audio file and displays prompt information of the audio file contained in the page of the APP to a user;
wherein the second preset value is smaller than the first preset value.
2. The method according to claim 1, wherein before the terminal adjusts the volume of the audio file to the volume corresponding to the first preset value, the method further comprises:
and the terminal establishes a corresponding relation between the first preset value and the volume.
3. The method according to claim 2, wherein the detecting, by the terminal, the volume of the environment in which the terminal is located specifically includes:
the terminal collects sound information of the environment where the terminal is located through a microphone of the terminal;
and the terminal determines the volume of the environment where the terminal is located according to the sound information.
4. The method according to claim 3, wherein if the page of the APP contains an audio file, the terminal detects a volume of an environment where the terminal is located, and specifically includes:
if the page of the APP contains an audio file, the terminal detects whether the APP is an APP needing volume control;
and if the APP is the APP needing volume control, the terminal detects the volume of the environment where the terminal is located.
5. The method according to claim 4, wherein the terminal detects whether the APP is an APP that needs to be volume controlled, and specifically includes:
and the terminal determines whether the APP is the APP needing volume control or not according to the type of the APP.
6. The method of claim 5, wherein before the terminal determines whether the APP is an APP that needs to be volume controlled according to the type of the APP, the method further comprises:
receiving at least one APP type input by a user and indication information of whether each APP type needs to be subjected to volume control; accordingly, the number of the first and second electrodes,
the terminal determines whether the APP is the APP needing volume control according to the type of the APP, and the method specifically includes:
and the terminal determines whether the APP is the APP needing volume control or not according to the types of the APPs and the indication information of whether the types of the APPs input by the user need volume control or not.
7. The method according to claim 5, wherein the terminal determines whether the APP is an APP that needs to be volume-controlled according to the type of the APP, and specifically includes:
the terminal determines the type of the APP according to the identifier of the APP;
and the terminal determines whether the APP is the APP needing volume control or not according to the type of the APP.
8. An audio control apparatus, comprising:
the first detection module is used for detecting whether a page of an application program APP opened by a user contains an audio file;
the second detection module is used for detecting the volume of the environment where the terminal is located if the page of the APP contains the audio file;
the adjusting module is used for adjusting the volume of the page of the APP to the volume corresponding to the first preset value and playing the audio file if the volume of the environment where the terminal is located is smaller than the first preset value and larger than the second preset value;
the device further comprises:
the closing module is used for closing the audio file and displaying prompt information of the audio file contained in the page of the APP to a user if the volume of the environment where the terminal is located is smaller than the second preset value;
wherein the second preset value is smaller than the first preset value.
CN201510981862.1A 2015-12-23 2015-12-23 Audio control method and device Expired - Fee Related CN106911836B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510981862.1A CN106911836B (en) 2015-12-23 2015-12-23 Audio control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510981862.1A CN106911836B (en) 2015-12-23 2015-12-23 Audio control method and device

Publications (2)

Publication Number Publication Date
CN106911836A CN106911836A (en) 2017-06-30
CN106911836B true CN106911836B (en) 2020-04-24

Family

ID=59206074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510981862.1A Expired - Fee Related CN106911836B (en) 2015-12-23 2015-12-23 Audio control method and device

Country Status (1)

Country Link
CN (1) CN106911836B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108281145B (en) * 2018-01-29 2021-07-02 南京地平线机器人技术有限公司 Voice processing method, voice processing device and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104427083B (en) * 2013-08-19 2019-06-28 腾讯科技(深圳)有限公司 The method and apparatus for adjusting volume
CN104485911A (en) * 2014-12-01 2015-04-01 上海斐讯数据通信技术有限公司 Mobile terminal and volume adjustment method thereof
CN105049642A (en) * 2015-09-21 2015-11-11 广东欧珀移动通信有限公司 Volume adjustment method and device for prompt tone of mobile terminal

Also Published As

Publication number Publication date
CN106911836A (en) 2017-06-30

Similar Documents

Publication Publication Date Title
US9973506B2 (en) Method and apparatus for clearing notification icon, and storage medium
WO2017032030A1 (en) Volume adjusting method and user terminal
CN106406867B (en) Screen reading method and device based on android system
US9299348B2 (en) Method and apparatus for obtaining information from the web
US9277320B1 (en) Managing and using headset profiles for different headsets
CN105512545B (en) Access rights management method and device
CN105204761B (en) A kind of volume adjusting method and user terminal
CN104378485A (en) Volume adjustment method and volume adjustment device
KR101944416B1 (en) Method for providing voice recognition service and an electronic device thereof
CN106126172B (en) A kind of sound effect treatment method and mobile terminal
CN109982231B (en) Information processing method, device and storage medium
CN108174031A (en) A kind of volume adjusting method, terminal device and computer readable storage medium
CN105139848B (en) Data transfer device and device
CN104035977B (en) Webpage loading method and device
CN106850813A (en) Network service address changing method and device
CN105006240A (en) Music sound control method and system based on audio playing device
CN105208221B (en) A kind of method and device automatically adjusting call voice
CN113362839A (en) Audio data processing method and device, computer equipment and storage medium
CN104572007A (en) Method for adjusting sound volume of terminal
TW201423587A (en) System and method for providing prompts for callee
WO2017166747A1 (en) Method and apparatus for adjusting recording volume, and electronic device
CN106911836B (en) Audio control method and device
KR20150104930A (en) Method and system of supporting multitasking of speech recognition service in in communication device
CN105242859A (en) Voice information processing method and terminal
CN104754099A (en) Conversation volume adjusting method

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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200424

Termination date: 20211223