CN108108141A - The method and device of switching terminal volume pattern - Google Patents
The method and device of switching terminal volume pattern Download PDFInfo
- Publication number
- CN108108141A CN108108141A CN201611067770.3A CN201611067770A CN108108141A CN 108108141 A CN108108141 A CN 108108141A CN 201611067770 A CN201611067770 A CN 201611067770A CN 108108141 A CN108108141 A CN 108108141A
- Authority
- CN
- China
- Prior art keywords
- sound
- terminal
- signal
- volume
- switching
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 230000005236 sound signal Effects 0.000 claims description 97
- 230000006870 function Effects 0.000 claims description 54
- 230000033764 rhythmic process Effects 0.000 claims description 37
- 238000000605 extraction Methods 0.000 claims description 17
- 238000012544 monitoring process Methods 0.000 claims description 14
- 230000001960 triggered effect Effects 0.000 claims description 9
- 239000000284 extract Substances 0.000 abstract description 3
- 238000010079 rubber tapping Methods 0.000 description 21
- 238000004891 communication Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 238000007781 pre-processing Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/16—Sound input; Sound output
- G06F3/165—Management 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)
- Telephone Function (AREA)
Abstract
The disclosure is directed to the method and devices of switching terminal volume pattern.This method includes:Extract the sound characteristic signal of the trigger signal of input terminal;According to preset sound characteristic signal and the correspondence of default volume model, the corresponding default volume model of the sound characteristic signal is determined;According to the default volume model, switch the volume pattern of the terminal.In the technical solution, can the experience of user in this way, realizing the intelligence switching of terminal volume pattern, be improved according to the sound characteristic signal of the trigger signal of input terminal, the volume pattern of switching terminal.
Description
Technical Field
The disclosure relates to the technical field of intelligent terminals, in particular to a method and a device for switching a terminal volume mode.
Background
At present, the terminal becomes a daily article for people in daily life, and a user carries the terminal at any time and any place. Some applications of the terminal require the use of terminal sound, for example: notification reminder sounds, multimedia play sounds, and the like.
The users are in different environments and have different requirements on the volume of the sound. For example: when a user is in a noisy outdoor environment, the user needs a sound with a larger volume; when the user is indoors, a smaller volume of sound may be required; while a user in a meeting requires a sound of zero volume. The user can enter the volume setting application of the terminal and select different volume modes corresponding to different environments for application.
Disclosure of Invention
The embodiment of the disclosure provides a method and a device for switching a volume mode of a terminal. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, a method for switching a volume mode of a terminal is provided, which may include:
extracting a sound characteristic signal of a trigger signal of an input terminal;
determining a preset volume model corresponding to the sound characteristic signal according to the corresponding relation between the preset sound characteristic signal and the preset volume model;
and switching the volume mode of the terminal according to the preset volume model.
Therefore, the volume mode of the terminal can be switched according to the sound characteristic signal of the trigger signal input to the terminal, so that the intelligent switching of the volume mode of the terminal is realized, and the user experience is improved.
In one embodiment, the extracting the sound characteristic signal of the trigger signal input to the terminal includes:
acquiring a corresponding sound signal according to a trigger signal of an input terminal;
and extracting the rhythm characteristics of the sound signals to obtain corresponding sound rhythm characteristic signals.
In the embodiment, the volume mode of the terminal is further switched through the rhythm characteristic of the sound signal, so that the switching process is stable and reliable.
In one embodiment, the obtaining the corresponding sound signal according to the trigger signal input to the terminal includes:
the method comprises the steps of monitoring and acting on a knocking sound signal on a terminal setting area;
and obtaining a corresponding first sound signal according to the knocking sound signal.
Therefore, in the embodiment, the sound signal of the input terminal is obtained by monitoring the tapping sound signal, so that the volume mode of the terminal can be switched by tapping the terminal, the method is simple and rapid, the efficiency of switching the volume mode is improved, and the user experience is further improved.
In one embodiment, the set area includes at least one of: a screen, a housing back, and a housing bezel.
The area for knocking the terminal is limited in the embodiment, so that the set area is wide, the operation of a user is further facilitated, and the user experience is improved.
In one embodiment, the obtaining the corresponding sound signal according to the trigger signal input to the terminal includes:
acquiring a voice trigger signal input by the terminal;
and obtaining a corresponding second sound signal according to the voice trigger signal.
Certainly, in this embodiment, the volume mode of the terminal can be switched through the rhythm characteristic of the voice signal, so that the way of intelligently switching the volume mode of the terminal is expanded, application scenes are increased, and the user experience is further improved.
In one embodiment, the extracting the sound characteristic signal of the trigger signal input to the terminal includes:
when the function of switching the volume mode by sound is determined to be started, extracting the sound characteristic signal of the trigger signal of the input terminal.
In the embodiment, the volume mode of the terminal can be switched according to the sound characteristic signal of the trigger signal input into the terminal only when the function of switching the volume mode by sound is started, so that the function of the terminal is expanded.
In one embodiment, the determining that the function of switching the volume mode by sound is turned on includes:
presenting a function option of switching volume modes by sound on a user interface;
and when the function option is triggered, determining that the function of switching the volume mode by sound is started.
Therefore, the function of switching the volume mode by sound can be selected according to the instruction of the user, and the user experience is improved.
In one embodiment, the preset volume model includes: an outdoor volume model, an indoor volume model, or a conference volume model.
Therefore, the method comprises a plurality of preset volume models and can be applied to switching of the volume modes of the terminal under multiple scenes.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for switching a volume mode of a terminal, which may include:
the extraction module is used for extracting a sound characteristic signal of a trigger signal of the input terminal;
the determining module is connected with the extracting module and used for determining a preset volume model corresponding to the sound characteristic signal according to the corresponding relation between the preset sound characteristic signal and the preset volume model;
and the switching module is connected with the determining module and used for switching the volume mode of the terminal according to the preset volume model.
Therefore, the volume mode of the terminal can be switched according to the sound characteristic signal of the trigger signal input to the terminal, so that the intelligent switching of the volume mode of the terminal is realized, and the user experience is improved.
In one embodiment, the extraction module comprises:
the obtaining submodule is used for obtaining a corresponding sound signal according to a trigger signal of the input terminal;
and the extraction submodule is used for extracting the rhythm characteristics of the sound signals and obtaining corresponding sound rhythm characteristic signals.
In the embodiment, the volume mode of the terminal is further switched through the rhythm characteristic of the sound signal, so that the switching process is stable and reliable.
In one embodiment, the obtaining sub-module comprises:
the monitoring unit is used for monitoring a knocking sound signal acting on the terminal setting area;
and the first obtaining unit is used for obtaining a corresponding first sound signal according to the knocking sound signal.
Therefore, in the embodiment, the sound signal of the input terminal is obtained by monitoring the tapping sound signal, so that the volume mode of the terminal can be switched by tapping the terminal, the method is simple and rapid, the efficiency of switching the volume mode is improved, and the user experience is further improved.
In one embodiment, the obtaining sub-module comprises:
the acquisition unit is used for acquiring a voice trigger signal input by the terminal;
and the second obtaining unit is used for obtaining a corresponding second sound signal according to the voice trigger signal.
Certainly, in this embodiment, the volume mode of the terminal can be switched through the rhythm characteristic of the voice signal, so that the way of intelligently switching the volume mode of the terminal is expanded, application scenes are increased, and the user experience is further improved.
In one embodiment, the extraction module further comprises:
and the determining submodule is used for extracting the sound characteristic signal of the trigger signal input to the terminal when the function of switching the volume mode by sound is determined to be started.
In the embodiment, the volume mode of the terminal can be switched according to the sound characteristic signal of the trigger signal input into the terminal only when the function of switching the volume mode by sound is started, so that the function of the terminal is expanded.
In one embodiment, the determining sub-module includes:
the presentation unit is used for presenting a function option of switching the volume mode by sound on the user interface;
and the determining unit is used for determining that the function of switching the volume mode by sound is started when the function option is triggered.
Therefore, the function of switching the volume mode by sound can be selected according to the instruction of the user, and the user experience is improved.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for switching a volume mode of a terminal, which is used for the terminal, and may include:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
extracting a sound characteristic signal of a trigger signal of an input terminal;
determining a preset volume model corresponding to the sound characteristic signal according to the corresponding relation between the preset sound characteristic signal and the preset volume model;
and switching the volume mode of the terminal according to the preset volume model.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the technical scheme, the volume mode of the terminal can be switched according to the sound characteristic signal of the trigger signal of the input terminal, so that the intelligent switching of the volume mode of the terminal is realized, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a method of switching a volume mode of a terminal according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a method of switching a volume mode of a terminal according to an example embodiment.
Fig. 3 is a flowchart illustrating a method of switching a volume mode of a terminal according to an exemplary embodiment.
Fig. 4 is a block diagram illustrating an apparatus for switching a volume mode of a terminal according to an exemplary embodiment.
Fig. 5 is a block diagram of an apparatus for switching a terminal volume mode according to a third exemplary embodiment.
Fig. 6 is a block diagram of a device for switching a terminal volume mode according to a fourth exemplary embodiment.
Fig. 7 is a block diagram illustrating an apparatus 1200 for switching a volume mode of a terminal according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Currently, a user may enter a volume setting application of a terminal and select different volume modes corresponding to different environments for application. For example: when the user is in a meeting, the volume mode with zero volume is selected for application. When the user is in noisy outdoor, the volume mode with the maximum volume is selected for application. Therefore, the user manually switches the volume mode of the terminal. According to the technical scheme provided by the embodiment of the disclosure, the volume mode of the terminal can be switched according to the sound characteristic signal of the trigger signal input to the terminal, so that the intelligent switching of the volume mode of the terminal is realized, and the user experience is improved.
Fig. 1 is a flowchart illustrating a method of switching a terminal volume mode according to an exemplary embodiment, as shown in fig. 1, including the following steps S101-S103:
in step S101, a sound feature signal of a trigger signal input to the terminal is extracted.
In the embodiments of the present disclosure, the characteristics of the sound signal may be many, for example: rhythm, melody, etc. the rhythm characteristic of sound signal can be passed through in this disclosed embodiment, comes the switching terminal's volume mode for the switching process is more stable and reliable. Therefore, extracting the sound characteristic signal of the trigger signal input to the terminal includes: acquiring a corresponding sound signal according to a trigger signal of an input terminal; and extracting the rhythm characteristics of the sound signals to obtain corresponding sound rhythm characteristic signals.
The sound signal corresponding to the trigger signal input to the terminal can be obtained through the intelligent loudspeaker device of the terminal. Along with the rise of the intelligent terminal, the terminal is lighter, thinner, more intelligent and more power-saving, so that the terminal loudspeaker is restricted to be continuously developed to be lighter and thinner, and the improvement of the tone quality of the terminal brings huge challenges. At present, many companies have developed intelligent speaker device, and the embedded algorithm that the accessible was developed makes micro speaker's output promote more than 5 times to greatly improved mobile device's tone quality technique, brought higher volume, more muddy bass and more outstanding tone quality for mobile device, realized a real transformation.
Therefore, the sound signal corresponding to the trigger signal input to the terminal can be obtained through the intelligent speaker device. The method specifically comprises the following steps: and monitoring a tapping sound signal acting on a terminal setting area, and acquiring a corresponding first sound signal according to the tapping sound signal. Wherein the setting region includes at least one of: a screen, a housing back, and a housing bezel.
For example: the Smart speaker device may be a Smart PA chip proposed by enwispu semiconductor, which includes a Tap-to-Trigger algorithm embedded therein. Therefore, when a user of the terminal uses a finger or a tool to knock the screen, the back of the shell or the frame of the shell of the terminal, namely the Trigger signal is the knocking sound signal, the terminal can listen to the knocking sound signal through the intelligent loudspeaker device, and the Tap-to-Trigger algorithm can be adopted to obtain the corresponding first sound signal according to the knocking sound signal. Then, the rhythm characteristic of the first sound signal is extracted, and a corresponding sound rhythm characteristic signal is obtained. Namely extracting the sound characteristic signal of the trigger signal input into the terminal.
Of course, the user cannot damage the terminal by applying too much force to the terminal, whether the user uses a finger or a tool to tap a set area of the terminal.
In the embodiment of the present disclosure, the trigger signal input to the terminal may include not only a tapping sound signal but also a voice trigger signal. For example, the user hums a song, or by applying the captured speech signal. Thus, obtaining a corresponding sound signal according to a trigger signal input to the terminal includes: acquiring a voice trigger signal input by a terminal; and obtaining a corresponding second sound signal according to the voice trigger signal.
For example: the terminal user hums a song, so that a voice trigger signal input by the terminal can be acquired through the loudspeaker device, and sound preprocessing can be performed, so that a corresponding second sound signal is acquired according to the voice trigger signal. And then, extracting the rhythm characteristics of the second sound signal to obtain a corresponding sound rhythm characteristic signal. Namely extracting the sound characteristic signal of the trigger signal input into the terminal.
In step S102, a preset volume model corresponding to the sound characteristic signal is determined according to a corresponding relationship between the preset sound characteristic signal and the preset volume model.
In the disclosed example, a corresponding relationship between the preset sound characteristic signal and the preset volume model may be saved. As shown in table 1.
Presetting sound characteristic signal | Preset volume model |
000 | Outdoor volume model |
0-0-0 | Indoor volume model |
0-00 | Conference volume model |
… | … |
TABLE 1
Wherein "0" identifies a 1 beat and "-" identifies a null beat. As can be seen, the preset volume model includes: an outdoor volume model, an indoor volume model, or a conference volume model. Thus, when the sound characteristic signal extracted in step S101 is "000", it can be confirmed that the corresponding set volume model is the outdoor volume model; and when the extracted sound characteristic signal is 0-00, the corresponding set volume model can be confirmed to be the conference volume model.
Of course, the disclosed example is also not limited thereto, and the preset volume model includes: a noisy outdoor volume model, a normal outdoor volume model, a noisy indoor volume model, a normal indoor volume model, or a conference volume model. Thus, the preset sound characteristic signals corresponding to each preset volume model are different, and are listed one by one.
Volume settings are different in different preset volume models, for example: presetting the volume model comprises: the outdoor volume model, the indoor volume model, and the conference volume model are the same, and the outdoor volume model corresponds to the maximum volume, and the conference volume model corresponds to the zero volume. Also, the preset volume model includes: when the outdoor volume model of noisy, normal outdoor volume model, the indoor volume model of noisy, normal indoor volume model and meeting volume model, the volume that corresponds is decremented in proper order, and wherein, meeting volume model corresponds zero volume.
Therefore, after the corresponding relationship between the preset sound characteristic signal and the preset volume model is stored, the preset volume model corresponding to the sound characteristic signal can be determined according to the stored corresponding relationship.
In step S103, the volume mode of the terminal is switched according to a preset volume model.
A preset volume model corresponding to the advanced sound characteristic signal has been determined so that the volume mode of the terminal can be switched according to the preset volume model. For example: the preset volume model is an indoor volume model, so that the volume mode of the terminal can be switched to a mode corresponding to the indoor volume model, and the volume can be adjusted to the third gear. The preset volume model is a conference volume model, so that the volume mode of the terminal can be switched to a mode corresponding to the conference volume model, and the volume can be adjusted to a zero gear.
Therefore, the volume mode of the terminal can be switched according to the sound characteristic signal of the trigger signal input to the terminal, so that the intelligent switching of the volume mode of the terminal is realized, and the user experience is improved.
In another example of the present disclosure, it is defined that the volume mode of the terminal can be switched according to the sound characteristic signal of the trigger signal input to the terminal only when the function of switching the volume mode by sound is turned on, and thus, the function of the terminal is expanded. Therefore, extracting the sound characteristic signal of the trigger signal input to the terminal includes: when the function of switching the volume mode by sound is determined to be started, extracting the sound characteristic signal of the trigger signal of the input terminal.
And the function of determining that the sound switches the volume mode is turned on comprises: presenting a function option of switching volume modes by sound on a user interface; when the function option is triggered, the function of switching the volume mode by sound is determined to be started.
Therefore, the function of switching the volume mode by sound can be selected according to the instruction of the user, and the user experience is improved.
The following operational flows are grouped into specific embodiments to illustrate the methods provided by the embodiments of the present disclosure.
In a first embodiment, the trigger signal input to the terminal is a tapping sound signal acting on a terminal setting area. Wherein, the setting area is a terminal screen.
Fig. 2 is a flowchart illustrating a method for switching a terminal volume mode according to an exemplary embodiment, as shown in fig. 2, including the following steps S201 to S205:
in step S201, the listening action taps the sound signal on the terminal screen.
Here, the tapping sound signal acting on the terminal screen may be intercepted by a smart speaker device in the terminal.
In step S202, a corresponding first audio signal is obtained according to the tapping audio signal.
The sensed tapping sound signal can be subjected to sound preprocessing, and a corresponding first sound signal is obtained through an algorithm embedded in the intelligent speaker device. For example, the Tap-to-Trigger algorithm may be used to obtain the corresponding first sound signal according to the tapping sound signal.
In step S203, a rhythm feature of the first sound signal is extracted, and a corresponding sound rhythm feature signal is obtained.
In the embodiment, the volume mode of the terminal is switched through the rhythm characteristic of the sound signal, so that the switching process is relatively stable and reliable.
In step S204, a preset volume model corresponding to the sound characteristic signal is determined according to a corresponding relationship between the preset sound characteristic signal and the preset volume model.
Of course, the preset volume model corresponding to the sound characteristic signal may be determined according to the corresponding relationship shown in table 1.
In step S205, the volume mode of the terminal is switched according to the preset volume model.
Therefore, in the embodiment, the sound signal of the input terminal is obtained by monitoring the tapping sound signal, so that the volume mode of the terminal can be switched by tapping the terminal, the method is simple and rapid, the efficiency of switching the volume mode is improved, and the user experience is further improved.
In the second embodiment, the trigger signal input to the terminal is a voice trigger signal.
Fig. 3 is a flowchart illustrating a method for switching a terminal volume mode according to an exemplary embodiment, and as shown in fig. 3, includes the following steps S301 to S308:
in step S301, a function option of switching the volume mode by sound is presented on the user interface.
In step S302, determine whether the function option is triggered? If so, go to step S303, otherwise, the process ends.
In step S303, it is determined that the function of switching the volume mode by sound has been turned on.
In step S304, a voice trigger signal input by the terminal is acquired.
Here, the voice trigger signal input by the terminal may be acquired through an intelligent speaker device of the terminal. For example, a melody of a user humming.
In step S305, a corresponding second sound signal is obtained according to the voice trigger signal.
The voice trigger signal can be preprocessed to obtain a corresponding second voice signal.
In step S306, the rhythm characteristics of the second sound signal are extracted, and a corresponding sound rhythm characteristic signal is obtained.
In step S307, a preset volume model corresponding to the sound characteristic signal is determined according to a corresponding relationship between the preset sound characteristic signal and the preset volume model.
In step S308, the volume mode of the terminal is switched according to the preset volume model.
Therefore, in the embodiment, the volume mode of the terminal can be switched through the rhythm characteristic of the voice signal, the way of intelligently switching the volume mode of the terminal is expanded, application scenes are increased, and user experience is further improved. And only when the function of switching the volume mode by sound is started, the volume mode of the terminal can be switched according to the sound characteristic signal of the trigger signal input into the terminal, so that the function of the terminal is expanded.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 4 is a block diagram illustrating an apparatus for switching a volume mode of a terminal, which may be implemented as part or all of an electronic device by software, hardware, or a combination of both, according to an example embodiment. As shown in fig. 4, the apparatus for switching a terminal volume mode includes: an extraction module 410, a determination module 420, and a switching module 430. Wherein,
an extracting module 410 configured to extract a sound feature signal of the trigger signal input to the terminal.
The determining module 420 is connected to the extracting module 410, and configured to determine a preset volume model corresponding to the sound characteristic signal according to a corresponding relationship between the preset sound characteristic signal and the preset volume model.
And a switching module 430, connected to the determining module 420, configured to switch the volume mode of the terminal according to a preset volume model.
Therefore, the volume mode of the terminal can be switched according to the sound characteristic signal of the trigger signal input to the terminal, so that the intelligent switching of the volume mode of the terminal is realized, and the user experience is improved.
In one embodiment of the present disclosure, the extraction module 410 includes:
and the obtaining submodule is configured to obtain a corresponding sound signal according to the trigger signal of the input terminal.
And the extraction submodule is configured to extract the rhythm characteristics of the sound signals and obtain corresponding sound rhythm characteristic signals.
In the embodiment, the volume mode of the terminal is further switched through the rhythm characteristic of the sound signal, so that the switching process is stable and reliable.
In one embodiment of the present disclosure, obtaining the sub-module includes:
and the monitoring unit is configured to monitor the knocking sound signal acting on the terminal setting area.
A first obtaining unit configured to obtain a corresponding first sound signal according to the tapping sound signal.
Therefore, in the embodiment, the sound signal of the input terminal is obtained by monitoring the tapping sound signal, so that the volume mode of the terminal can be switched by tapping the terminal, the method is simple and rapid, the efficiency of switching the volume mode is improved, and the user experience is further improved.
In one embodiment of the present disclosure, obtaining the sub-module includes:
the acquisition unit is configured to acquire a voice trigger signal input by the terminal.
And the second obtaining unit is configured to obtain a corresponding second sound signal according to the voice trigger signal.
Certainly, in this embodiment, the volume mode of the terminal can be switched through the rhythm characteristic of the voice signal, so that the way of intelligently switching the volume mode of the terminal is expanded, application scenes are increased, and the user experience is further improved.
In one embodiment of the present disclosure, the extraction module 410 further includes: and the determining sub-module is configured to extract the sound characteristic signal of the trigger signal input to the terminal when the function of switching the volume mode by sound is determined to be started.
In the embodiment, the volume mode of the terminal can be switched according to the sound characteristic signal of the trigger signal input into the terminal only when the function of switching the volume mode by sound is started, so that the function of the terminal is expanded.
In one embodiment of the present disclosure, the determining sub-module includes:
a presentation unit configured to present a function option of switching a volume mode of sound on a user interface.
A determination unit configured to determine that a function of switching the volume mode by sound has been turned on when the function option is triggered.
Therefore, the function of switching the volume mode by sound can be selected according to the instruction of the user, and the user experience is improved.
The following illustrates an apparatus provided by an embodiment of the present disclosure.
Third embodiment, fig. 5 is a block diagram of an apparatus for switching a volume mode of a terminal according to a third exemplary embodiment, as shown in fig. 5, the apparatus includes: an extraction module 410, a determination module 420 and a switching module 430, wherein the extraction module 410 includes: an obtaining sub-module 411 and an extracting sub-module 412, and the obtaining sub-module 411 includes: a listening unit 4111 and a first obtaining unit 4112.
The listening unit 4111 of the obtaining sub-module 411 in the extracting module 410 may listen to the tapping sound signal acting on the terminal screen, and the first obtaining unit 4112 may perform sound preprocessing on the listened tapping sound signal and obtain a corresponding first sound signal through an algorithm embedded in the smart speaker device.
Thus, the extracting sub-module 412 in the extracting module 410 extracts the rhythm feature of the first sound signal to obtain a corresponding sound rhythm feature signal. The determining module 420 may determine the preset volume model corresponding to the sound characteristic signal according to the corresponding relationship between the preset sound characteristic signal and the preset volume model. Thus, the switching module 430 switches the volume mode of the terminal according to the preset volume model.
Therefore, in the embodiment, the sound signal of the input terminal is obtained by monitoring the tapping sound signal, so that the volume mode of the terminal can be switched by tapping the terminal, the method is simple and rapid, the efficiency of switching the volume mode is improved, and the user experience is further improved.
Fourth embodiment, fig. 6 is a block diagram of an apparatus for switching a volume mode of a terminal according to a fourth exemplary embodiment, as shown in fig. 6, the apparatus including: an extraction module 410, a determination module 420, and a switching module 430. And the extraction module 410 includes: the obtaining sub-module 411 and the extracting sub-module 412 further include: a determination sub-module 413. And the obtaining submodule 411 includes: an acquisition unit 4113 and a second obtaining unit 4114. The determination submodule 413 may include a presentation unit 4131 and a determination unit 4132.
Wherein the presentation unit 4131 of the determination sub-module 413 in the extraction module 410 presents a function option of the sound switching volume mode on the user interface. And when the function option is triggered, the determination unit 4132 determines that the function of switching the volume mode of sound is turned on. Thus, the obtaining unit 4113 in the obtaining sub-module 411 in the extracting module 410 obtains the voice trigger signal input by the terminal, and the second obtaining unit 4114 may pre-process the voice trigger signal to obtain a corresponding second sound signal.
Thus, the extracting sub-module 412 in the extracting module 410 extracts the rhythm feature of the second sound signal to obtain a corresponding sound rhythm feature signal. The determining module 420 may determine the preset volume model corresponding to the sound characteristic signal according to the corresponding relationship between the preset sound characteristic signal and the preset volume model. Thus, the switching module 430 switches the volume mode of the terminal according to the preset volume model.
Therefore, in the embodiment, the volume mode of the terminal can be switched through the rhythm characteristic of the voice signal, the way of intelligently switching the volume mode of the terminal is expanded, application scenes are increased, and user experience is further improved. And only when the function of switching the volume mode by sound is started, the volume mode of the terminal can be switched according to the sound characteristic signal of the trigger signal input into the terminal, so that the function of the terminal is expanded.
The embodiment of the present disclosure provides a device for switching a terminal volume mode, which is used for a terminal and includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
extracting a sound characteristic signal of a trigger signal of an input terminal;
determining a preset volume model corresponding to the sound characteristic signal according to the corresponding relation between the preset sound characteristic signal and the preset volume model;
and switching the volume mode of the terminal according to the preset volume model.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the technical scheme provided by the embodiment of the disclosure, the volume mode of the terminal can be switched according to the sound characteristic signal of the trigger signal input to the terminal, so that the intelligent switching of the volume mode of the terminal is realized, and the user experience is improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 7 is a block diagram illustrating an apparatus 1200 for switching a terminal volume mode, which is suitable for a terminal device and may be installed on a vehicle to form an in-vehicle terminal, according to an exemplary embodiment. For example, the apparatus 1200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, apparatus 1200 may include one or more of the following components: processing component 1202, memory 1204, power component 1206, multimedia component 1208, audio component 1210, input/output (I/O) interface 1212, sensor component 1214, and communications component 1216.
The processing component 1202 generally controls overall operation of the apparatus 1200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1202 may include one or more processors 1220 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 1202 can include one or more modules that facilitate interaction between the processing component 1202 and other components. For example, the processing component 1202 can include a multimedia module to facilitate interaction between the multimedia component 1208 and the processing component 1202.
The memory 1204 is configured to store various types of data to support operation at the apparatus 1200. Examples of such data include instructions for any application or method operating on the device 1200, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1204 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A power supply component 1206 provides power to the various components of the device 1200. Power components 1206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for apparatus 1200.
The multimedia component 1208 includes a screen that provides an output interface between the device 1200 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of the touch or slide action but also detect a duration point and pressure related to the touch or slide operation. In some embodiments, the multimedia component 1208 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 1200 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Audio component 1210 is configured to output and/or input audio signals. For example, audio component 1210 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1204 or transmitted via the communication component 1216. In some embodiments, audio assembly 1210 further includes a speaker for outputting audio signals.
The I/O interface 1212 provides an interface between the processing component 1202 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1214 includes one or more sensors for providing various aspects of state assessment for the apparatus 1200. For example, the sensor assembly 1214 may detect an open/closed state of the apparatus 1200, the relative positioning of the components, such as a display and keypad of the apparatus 1200, the sensor assembly 1214 may also detect a change in the position of the apparatus 1200 or a component of the apparatus 1200, the presence or absence of user contact with the apparatus 1200, an orientation or acceleration/deceleration of the apparatus 1200, and a change in the temperature of the apparatus 1200. The sensor assembly 1214 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 1214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
Communications component 1216 is configured to facilitate communications between apparatus 1200 and other terminals in a wired or wireless manner. The apparatus 1200 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1216 receives the broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1216 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as memory 1204 comprising instructions, executable by processor 1220 of apparatus 1200 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, instructions in the storage medium, when executed by a processor of an apparatus 1200, enable the apparatus 1200 to perform the method shown in fig. 1, the method comprising:
extracting a sound characteristic signal of a trigger signal of an input terminal;
determining a preset volume model corresponding to the sound characteristic signal according to the corresponding relation between the preset sound characteristic signal and the preset volume model;
and switching the volume mode of the terminal according to the preset volume model.
The extracting of the sound characteristic signal of the trigger signal input to the terminal includes:
acquiring a corresponding sound signal according to a trigger signal of an input terminal;
and extracting the rhythm characteristics of the sound signals to obtain corresponding sound rhythm characteristic signals.
The obtaining of the corresponding sound signal according to the trigger signal of the input terminal includes:
the method comprises the steps of monitoring and acting on a knocking sound signal on a terminal setting area;
and obtaining a corresponding first sound signal according to the knocking sound signal.
The setting region includes at least one of: a screen, a housing back, and a housing bezel.
The obtaining of the corresponding sound signal according to the trigger signal of the input terminal includes:
acquiring a voice trigger signal input by the terminal;
and obtaining a corresponding second sound signal according to the voice trigger signal.
The extracting of the sound characteristic signal of the trigger signal input to the terminal includes:
when the function of switching the volume mode by sound is determined to be started, extracting the sound characteristic signal of the trigger signal of the input terminal.
The determining that the function of switching the volume mode by sound is turned on includes:
presenting a function option of switching volume modes by sound on a user interface;
and when the function option is triggered, determining that the function of switching the volume mode by sound is started.
The preset volume model comprises: an outdoor volume model, an indoor volume model, or a conference volume model.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (15)
1. A method for switching volume modes of a terminal is characterized by comprising the following steps:
extracting a sound characteristic signal of a trigger signal of an input terminal;
determining a preset volume model corresponding to the sound characteristic signal according to the corresponding relation between the preset sound characteristic signal and the preset volume model;
and switching the volume mode of the terminal according to the preset volume model.
2. The method of claim 1, wherein the extracting the sound characteristic signal of the trigger signal input to the terminal comprises:
acquiring a corresponding sound signal according to a trigger signal of an input terminal;
and extracting the rhythm characteristics of the sound signals to obtain corresponding sound rhythm characteristic signals.
3. The method of claim 2, wherein the obtaining the corresponding sound signal according to the trigger signal input to the terminal comprises:
the method comprises the steps of monitoring and acting on a knocking sound signal on a terminal setting area;
and obtaining a corresponding first sound signal according to the knocking sound signal.
4. The method of claim 3, wherein the set area comprises at least one of: a screen, a housing back, and a housing bezel.
5. The method of claim 1, wherein the obtaining the corresponding sound signal according to the trigger signal input to the terminal comprises:
acquiring a voice trigger signal input by the terminal;
and obtaining a corresponding second sound signal according to the voice trigger signal.
6. The method of claim 1, wherein the extracting the sound characteristic signal of the trigger signal input to the terminal comprises:
when the function of switching the volume mode by sound is determined to be started, extracting the sound characteristic signal of the trigger signal of the input terminal.
7. The method of claim 6, wherein the determining that the function of switching volume modes for sound has been turned on comprises:
presenting a function option of switching volume modes by sound on a user interface;
and when the function option is triggered, determining that the function of switching the volume mode by sound is started.
8. The method of claim 1, wherein the preset volume model comprises: an outdoor volume model, an indoor volume model, or a conference volume model.
9. An apparatus for switching a volume mode of a terminal, comprising:
the extraction module is used for extracting a sound characteristic signal of a trigger signal of the input terminal;
the determining module is connected with the extracting module and used for determining a preset volume model corresponding to the sound characteristic signal according to the corresponding relation between the preset sound characteristic signal and the preset volume model;
and the switching module is connected with the determining module and used for switching the volume mode of the terminal according to the preset volume model.
10. The apparatus of claim 9, wherein the extraction module comprises:
the obtaining submodule is used for obtaining a corresponding sound signal according to a trigger signal of the input terminal;
and the extraction submodule is used for extracting the rhythm characteristics of the sound signals and obtaining corresponding sound rhythm characteristic signals.
11. The apparatus of claim 10, wherein the obtaining submodule comprises:
the monitoring unit is used for monitoring a knocking sound signal acting on the terminal setting area;
and the first obtaining unit is used for obtaining a corresponding first sound signal according to the knocking sound signal.
12. The apparatus of claim 10, wherein the obtaining submodule comprises:
the acquisition unit is used for acquiring a voice trigger signal input by the terminal;
and the second obtaining unit is used for obtaining a corresponding second sound signal according to the voice trigger signal.
13. The apparatus of claim 9, wherein the extraction module further comprises:
and the determining submodule is used for extracting the sound characteristic signal of the trigger signal input to the terminal when the function of switching the volume mode by sound is determined to be started.
14. The apparatus of claim 13, wherein the determination submodule comprises:
the presentation unit is used for presenting a function option of switching the volume mode by sound on the user interface;
and the determining unit is used for determining that the function of switching the volume mode by sound is started when the function option is triggered.
15. An apparatus for switching a volume mode of a terminal, the apparatus being used for the terminal, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
extracting a sound characteristic signal of a trigger signal of an input terminal;
determining a preset volume model corresponding to the sound characteristic signal according to the corresponding relation between the preset sound characteristic signal and the preset volume model;
and switching the volume mode of the terminal according to the preset volume model.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611067770.3A CN108108141A (en) | 2016-11-25 | 2016-11-25 | The method and device of switching terminal volume pattern |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611067770.3A CN108108141A (en) | 2016-11-25 | 2016-11-25 | The method and device of switching terminal volume pattern |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108108141A true CN108108141A (en) | 2018-06-01 |
Family
ID=62204630
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611067770.3A Pending CN108108141A (en) | 2016-11-25 | 2016-11-25 | The method and device of switching terminal volume pattern |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108108141A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104596510A (en) * | 2014-12-23 | 2015-05-06 | 深圳市金立通信设备有限公司 | Terminal |
US20150195789A1 (en) * | 2014-01-06 | 2015-07-09 | Lg Electronics Inc. | Mobile terminal and control method thereof |
CN105407433A (en) * | 2015-12-11 | 2016-03-16 | 小米科技有限责任公司 | Method and device for controlling sound output equipment |
CN105472172A (en) * | 2016-01-20 | 2016-04-06 | 广东欧珀移动通信有限公司 | Conversation mode switching method and device |
CN105611064A (en) * | 2016-01-20 | 2016-05-25 | 广东欧珀移动通信有限公司 | Mobile terminal mode switching method and device |
CN105681560A (en) * | 2016-01-20 | 2016-06-15 | 广东欧珀移动通信有限公司 | Radio broadcasting station switching method and device |
CN105719672A (en) * | 2016-01-20 | 2016-06-29 | 广东欧珀移动通信有限公司 | Recording scene mode switching method and recording scene mode switching mode device |
CN105740420A (en) * | 2016-01-29 | 2016-07-06 | 广东欧珀移动通信有限公司 | Song switching method and mobile terminal |
-
2016
- 2016-11-25 CN CN201611067770.3A patent/CN108108141A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150195789A1 (en) * | 2014-01-06 | 2015-07-09 | Lg Electronics Inc. | Mobile terminal and control method thereof |
CN104596510A (en) * | 2014-12-23 | 2015-05-06 | 深圳市金立通信设备有限公司 | Terminal |
CN105407433A (en) * | 2015-12-11 | 2016-03-16 | 小米科技有限责任公司 | Method and device for controlling sound output equipment |
CN105472172A (en) * | 2016-01-20 | 2016-04-06 | 广东欧珀移动通信有限公司 | Conversation mode switching method and device |
CN105611064A (en) * | 2016-01-20 | 2016-05-25 | 广东欧珀移动通信有限公司 | Mobile terminal mode switching method and device |
CN105681560A (en) * | 2016-01-20 | 2016-06-15 | 广东欧珀移动通信有限公司 | Radio broadcasting station switching method and device |
CN105719672A (en) * | 2016-01-20 | 2016-06-29 | 广东欧珀移动通信有限公司 | Recording scene mode switching method and recording scene mode switching mode device |
CN105740420A (en) * | 2016-01-29 | 2016-07-06 | 广东欧珀移动通信有限公司 | Song switching method and mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3147907A1 (en) | Control method and apparatus for playing audio | |
CN106445461B (en) | Method and device for processing character information | |
CN107978316A (en) | The method and device of control terminal | |
CN105407433A (en) | Method and device for controlling sound output equipment | |
CN106454644B (en) | Audio playing method and device | |
CN104065818A (en) | Method and device for prompting user | |
CN107204883B (en) | Network fault processing method and device | |
CN106888327B (en) | Voice playing method and device | |
US10230891B2 (en) | Method, device and medium of photography prompts | |
CN104902059A (en) | Call reminding method and device | |
CN106126082B (en) | Terminal control method and device and terminal | |
EP3024211A1 (en) | Method and device for announcing voice call | |
CN108806714B (en) | Method and device for adjusting volume | |
CN106406175B (en) | Door opening reminding method and device | |
CN109862169B (en) | Electronic equipment control method, device and storage medium | |
CN108766427B (en) | Voice control method and device | |
CN106933111B (en) | Method and device for controlling equipment | |
CN112882622A (en) | Data processing method and device, terminal and storage medium | |
CN104486489A (en) | Method and device for outputting call background voice | |
CN104794074A (en) | External connection device identification method and device | |
CN105323383B (en) | The method of adjustment and device of mobile phone bell volume | |
CN109474744B (en) | Alarm clock processing method, device and storage medium | |
CN106603882A (en) | Incoming call sound volume adjusting method, incoming call sound volume adjusting device and terminal | |
CN113365188B (en) | Speaker control method, speaker control device, and storage medium | |
CN111246012B (en) | Application interface display method and device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180601 |
|
RJ01 | Rejection of invention patent application after publication |