WO2022022211A1 - Volume adjustment method and apparatus based on speech control - Google Patents

Volume adjustment method and apparatus based on speech control Download PDF

Info

Publication number
WO2022022211A1
WO2022022211A1 PCT/CN2021/103662 CN2021103662W WO2022022211A1 WO 2022022211 A1 WO2022022211 A1 WO 2022022211A1 CN 2021103662 W CN2021103662 W CN 2021103662W WO 2022022211 A1 WO2022022211 A1 WO 2022022211A1
Authority
WO
WIPO (PCT)
Prior art keywords
volume
range
instruction
preset value
determined
Prior art date
Application number
PCT/CN2021/103662
Other languages
French (fr)
Chinese (zh)
Inventor
王浩
王雪莹
藏红涛
Original Assignee
长城汽车股份有限公司
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 长城汽车股份有限公司 filed Critical 长城汽车股份有限公司
Publication of WO2022022211A1 publication Critical patent/WO2022022211A1/en

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • G10L25/51Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Definitions

  • the present application relates to the technical field of voice control, and in particular, to a method and device for volume adjustment based on voice control.
  • the main problem of currently controlling the volume increase or volume reduction through voice is: the degree of intelligence is not enough, and the expected effect may not be achieved after multiple times of voice control; although the volume can be adjusted to a specific value through voice, but due to the lack of intelligence Depending on the quality of the sound source, loudness, etc., directly adjusting to the specific value may not achieve the desired effect.
  • the present application aims to propose a volume adjustment method based on voice control, so as to precisely adjust the volume and quickly meet the needs of users.
  • a volume adjustment method based on voice control comprising: receiving a voice input, the voice input including an instruction to adjust the volume; detecting a volume range in which the volume is located; according to whether the voice input also includes corresponding adjustment
  • the modifier of the volume instruction determines the adjustment scheme of the voice input; according to the instruction to adjust the volume and the volume range in which the volume is located, based on the determined adjustment scheme of the voice input, the volume is controlled to be adjusted .
  • controlling the volume to adjust includes: judging the adjustment of the volume.
  • the instruction is an instruction to reduce the volume
  • the determined adjustment scheme of the voice input is an adjustment scheme that does not include a modifier corresponding to the instruction to adjust the volume, and when it is determined that the volume is within the first volume range, Control the volume to decrease by a first preset value; when it is determined that the volume is within a third volume range, control the volume to decrease by a second preset value, the second preset value is greater than the first preset value, any volume in the third volume range is greater than any volume in the first volume range.
  • controlling the volume to adjust includes: judging the adjustment of the volume.
  • the instruction is an instruction to reduce the volume
  • the determined adjustment scheme of the voice input is an adjustment scheme that includes a modifier corresponding to the instruction to adjust the volume, and when it is determined that the volume is within the first volume range, control
  • the volume is decreased by a third preset value; when it is determined that the volume is within a third volume range, the volume is controlled to decrease by the second preset value, and the second preset value is greater than the third preset value.
  • Set the value, any volume in the third volume range is greater than any volume in the first volume range.
  • controlling the volume to adjust includes: judging the adjustment of the volume.
  • the instruction is an instruction to increase the volume
  • the determined adjustment scheme of the voice input is an adjustment scheme that does not include a modifier corresponding to the instruction to adjust the volume, and when it is determined that the volume is within the second volume range, Control the volume to increase by a third preset value; when it is determined that the volume is in the first volume range, not in the second volume range, and not in the third volume range after the increase, control the volume to increase The first preset value; when it is determined that the volume is in the third volume range, or the volume is in the first volume range, not in the second volume range and increased, it is in the third volume when the volume is too large, the third preset value is greater than the first preset value, the first volume range includes the second volume range, and any volume in the third volume range is greater than Any volume in the first volume range.
  • controlling the volume to adjust includes: judging the adjustment of the volume.
  • the instruction is an instruction to increase the volume
  • the determined adjustment scheme of the voice input is an adjustment scheme that includes a modifier corresponding to the instruction to adjust the volume, and is at the first volume after it is determined that the volume is increased
  • the volume is reminded that the volume is too large, and any volume in the third volume range is greater than Any volume in the first volume range.
  • the voice control-based volume adjustment method described in this application has the following advantages:
  • the voice input is received, then the volume range in which the volume is detected is detected, then the adjustment scheme of the voice input is determined according to whether the voice input also includes a modifier corresponding to the instruction to adjust the volume, and finally the voice input includes The instruction to adjust the volume and the volume range in which the volume is located, and based on the determined adjustment scheme of the voice input, the volume is controlled to be adjusted.
  • the application can analyze the user's needs according to the content in the voice input, so as to precisely adjust the volume and quickly meet the user's needs.
  • Another object of the present application is to provide a volume adjustment device based on voice control, so as to precisely adjust the volume and quickly meet the needs of users.
  • a volume adjustment device based on voice control comprising: a receiving unit, a detection unit and a processing unit, wherein the receiving unit is used for receiving voice input, and the voice input includes an instruction to adjust the volume; the The detection unit is used to detect the volume range in which the volume is located; the processing unit is used to: determine an adjustment scheme for the voice input according to whether the voice input also includes a modifier corresponding to an instruction to adjust the volume; according to the adjustment The volume instruction and the volume range in which the volume is located are controlled based on the determined adjustment scheme of the voice input to adjust the volume.
  • the processing unit is further configured to: when judging that the instruction to adjust the volume is an instruction to reduce the volume, the determined adjustment scheme of the voice input is a modification that does not include the instruction corresponding to adjusting the volume.
  • the volume is controlled to decrease by a first preset value; when it is judged that the volume is within the third volume range, the volume is controlled to decrease A second preset value, where the second preset value is greater than the first preset value, and any volume in the third volume range is greater than any volume in the first volume range.
  • the processing unit is further configured to: when judging that the instruction to adjust the volume is an instruction to reduce the volume, the determined adjustment scheme of the voice input is a modifier that includes a corresponding instruction to adjust the volume.
  • the volume is controlled to decrease by a third preset value; when it is judged that the volume is within the third volume range, the volume is controlled to decrease by the third preset value.
  • the second preset value is greater than the third preset value, and any volume in the third volume range is greater than any volume in the first volume range.
  • the processing unit is further configured to: when judging that the instruction to adjust the volume is an instruction to increase the volume, the determined adjustment scheme of the voice input is a modification that does not include the instruction corresponding to adjusting the volume.
  • the volume is controlled to increase by a third preset value; when it is judged that the volume is within the first volume range and not within the second volume range
  • the volume is controlled to increase by a first preset value; when it is determined that the volume is within the third volume range, or the volume is within the first volume
  • the volume is not in the second volume range and is in the third volume range after increasing, the volume is reminded that the volume is too large, wherein the third preset value is greater than the first preset value, and the first
  • the volume range includes the second volume range, and any volume in the third volume range is greater than any volume in the first volume range.
  • the processing unit is further configured to: when judging that the instruction to adjust the volume is an instruction to increase the volume, the determined adjustment scheme of the voice input is a modifier that includes a corresponding instruction to adjust the volume.
  • the adjustment scheme and when it is determined that the volume is in the first volume range after the volume is increased, the volume is controlled to increase to the third preset value; after it is determined that the volume is increased, it is in the first volume range.
  • the alert volume is too large, and any volume in the third volume range is greater than any volume in the first volume range.
  • the voice control-based volume adjustment device has the same advantages as the above-mentioned voice control-based volume adjustment method relative to the prior art, which will not be repeated here.
  • FIG. 1 is a flowchart of a voice control-based volume adjustment method provided by an embodiment of the present application
  • FIG. 2 is a flowchart of a voice control-based volume adjustment method provided by another embodiment of the present application.
  • FIG. 3 is a flowchart of a voice control-based volume adjustment method provided by another embodiment of the present application.
  • FIG. 4 is a flowchart of a voice control-based volume adjustment method provided by another embodiment of the present application.
  • FIG. 5 is a flowchart of a voice control-based volume adjustment method provided by another embodiment of the present application.
  • FIG. 6 is a structural block diagram of a volume adjustment device based on voice control provided by an embodiment of the present application.
  • Figure 7 schematically shows a block diagram of a computing processing device for performing methods according to the present disclosure.
  • Figure 8 schematically shows a memory unit for holding or carrying program code implementing the method according to the present disclosure.
  • FIG. 1 is a flowchart of a method for adjusting volume based on voice control provided by an embodiment of the present application. As shown in Figure 1, the method includes:
  • Step S11 receiving voice input, where the voice input includes an instruction to adjust the volume
  • the voice input is first received, and then the host software is used to complete the recording processing, semantic analysis and understanding, and the final understanding result is transmitted to the host through a data protocol, and the host completes the volume adjustment action.
  • the voice input may be varied.
  • the embodiment of the present application extracts fixed information from the voice input dictated by the user, so as to identify the needs of the user.
  • the voice input may include instructions for adjusting the volume, such as "volume up”, “volume down”, “volume up”, “volume down”, etc., which express the user's willingness to adjust the volume.
  • Step S12 detecting the volume range in which the volume is located
  • the volume range in which the current volume is located can be detected, and the subsequent volume adjustment methods are different in different volume ranges.
  • Step S13 determining the adjustment scheme of the voice input according to whether the voice input also includes a modifier corresponding to the instruction for adjusting the volume;
  • the voice input may also include modifiers corresponding to the instruction to adjust the volume, for example, modifiers corresponding to the instruction to increase the volume: "inaudible", “inaudible”, etc. indicate that the user is dissatisfied with the current volume or urgently needs the volume Adjusted voice. Whether or not to include this modifier results in a different regulation scheme.
  • Step S14 according to the instruction for adjusting the volume and the volume range in which the volume is located, and based on the determined adjustment scheme of the voice input, the volume is controlled to be adjusted.
  • the host will control the increase or decrease of the volume through a digital signal processor (DSP), and finally play the sound through the speaker, and the user can feel the change of the volume.
  • DSP digital signal processor
  • the determined adjustment scheme of the voice input, the instruction for adjusting the volume, and the volume range in which the volume is located will all affect the way of adjusting the volume. For the convenience of explanation, first analyze the determined voice input adjustment scheme and the command to adjust the volume, which can be divided into the following four situations:
  • the instruction to adjust the volume is an instruction to reduce the volume
  • the determined adjustment scheme of the voice input is an adjustment scheme that does not include a modifier corresponding to the instruction to adjust the volume
  • the instruction to adjust the volume is an instruction to reduce the volume
  • the determined adjustment scheme of the voice input is an adjustment scheme that includes a modifier corresponding to the instruction to adjust the volume
  • the instruction to adjust the volume is an instruction to increase the volume
  • the determined adjustment scheme of the voice input is an adjustment scheme that does not include a modifier corresponding to the instruction to adjust the volume
  • the instruction to adjust the volume is an instruction to increase the volume
  • the determined adjustment scheme of the voice input is an adjustment scheme including a modifier corresponding to the instruction to adjust the volume.
  • FIG. 2 is a flowchart of a method for adjusting volume based on voice control provided by another embodiment of the present application.
  • the method may be the above-mentioned first case, that is, the instruction to adjust the volume is an instruction to decrease the volume, and the determined adjustment scheme of the voice input does not include the corresponding instruction to adjust the volume
  • the conditioning scheme of modifiers including:
  • Step S21 judging whether the volume is within the first volume range
  • the application can firstly divide the overall volume range (ie, the minimum volume to the maximum volume) into a first volume range and a third volume range.
  • the minimum volume is 0 and the maximum volume is 39
  • the first volume range can be 0 -19, which belongs to the range of volume that is psychologically acceptable to the user without damage to the user's ears when listening for a long time.
  • the third volume is 20-39, in which the strong output power will increase the decibel value, which will cause certain damage to the human ear. It can be understood that any volume in the third volume range is greater than any volume in the first volume range.
  • the examples below are also detailed in this hierarchy.
  • Step S22 when it is determined that the volume is within a first volume range, control the volume to decrease by a first preset value
  • 0-39 can be divided into 40 grids, and the volume control can be adjusted based on these 40 grids, increasing or decreasing by 1 grid or multiple grids at a time.
  • 0-39 can also be divided into multiple levels, for example, 8 levels, each 5 grid volume is a level, and the volume control can be adjusted based on these 8 levels, increasing or decreasing one level or more at a time.
  • the volume is in the first volume range, that is, for example, 0-19, the volume is controlled to decrease by a first preset value, and the first preset value may be, for example, 1 grid or 1 level.
  • Step S23 when it is determined that the volume is within a third volume range, the volume is controlled to decrease by a second preset value.
  • the volume range is divided into a first volume range and a third volume range, if it is not within the first volume range, it must be within the third volume range. Then, when the volume is within a third volume range, for example, 20-39, the volume is controlled to decrease by a second preset value.
  • the second preset value is greater than the first preset value, for example, 5 grids or 5 levels.
  • FIG. 3 is a flowchart of a method for adjusting volume based on voice control provided by another embodiment of the present application.
  • the method may be the above-mentioned second case, that is, the instruction to adjust the volume is an instruction to decrease the volume, and the determined adjustment scheme of the voice input is an instruction that includes a corresponding instruction to adjust the volume.
  • Modification schemes for modifiers including:
  • Step S31 judging whether the volume is within the first volume range
  • Step S32 when it is determined that the volume is within the first volume range, control the volume to decrease by a third preset value
  • the volume when the volume is in the first volume range, that is, for example, 0-19, the volume is controlled to decrease by a third preset value, the second preset value is greater than the third preset value, and the third preset value is greater than The first preset value.
  • the second preset value can be 5 grids or 5 levels
  • the first preset value can be 1 grid or 1 grid
  • the third preset value can be 2 grids or 2 ranks.
  • Step S33 when it is determined that the volume is within a third volume range, control the volume to decrease by the second preset value.
  • the volume when the volume is in a third volume range, such as 20-39, the volume is controlled to decrease by a second preset value, such as 5 bars or 5 levels.
  • FIG. 4 is a flowchart of a method for adjusting volume based on voice control provided by another embodiment of the present application.
  • the method may be the above third case, that is, the instruction to adjust the volume is an instruction to increase the volume, and the determined adjustment scheme of the voice input does not include the corresponding instruction to adjust the volume
  • the conditioning scheme of modifiers including:
  • Step S41 judging whether the volume is within the second volume range
  • a second volume range can also be set within the first volume range, that is, the volume comfort zone, where this range is a comfortable range acceptable to most people, and can be understood as the best listening zone, such as 5 -11.
  • Step S42 when it is determined that the volume is within the second volume range, control the volume to increase to a third preset value
  • the volume is controlled to increase by a third preset value, such as 2 bars or 2 levels.
  • Step S43 when it is determined that the volume is not in the second volume range, determine whether the volume is in the first volume range and is not in the third volume range after being increased;
  • volume when the volume is not within the second volume range, there are two situations: one is within the first volume range but not within the second volume range, for example, at 0-4 or 12-19; Three volume ranges, eg at 20-39. If the volume is between 12 and 19, it may be in the third volume range after the increase. There are still different control methods for this, which needs to be judged.
  • Step S44 when it is determined that the volume is in the first volume range and is not in the third volume range after the increase, controlling the volume to increase by a first preset value
  • control the volume increase Large first preset value, ie 1 grid or 1 level.
  • Step S45 when it is determined that the volume is within the third volume range, or the volume is within the first volume range and is within the third volume range after being increased, reminding that the volume is too loud.
  • the volume when the volume is in the third volume range, such as 20-39, or although it is in the first volume range, such as 12-19, but after the volume is increased, it is in the third volume range, such as 20-39, then At this time, it is necessary to remind the user that the volume is too loud, and ask whether to adjust it.
  • FIG. 5 is a flowchart of a method for adjusting volume based on voice control provided by another embodiment of the present application.
  • the method may be the above fourth case, that is, the instruction to adjust the volume is an instruction to increase the volume, and the determined adjustment scheme of the voice input is an instruction that includes a corresponding instruction to adjust the volume.
  • Modification schemes for modifiers including:
  • Step S51 judging whether the volume is in the first volume range after the volume is increased
  • Step S52 when it is determined that the volume is in the first volume range after the volume is increased, control the volume to increase the third preset value
  • the volume is in the first volume range, for example, it is still in the range of 0-19 after the volume is increased, and the volume is controlled to be increased by a third preset value, such as 2 bars or 2 levels.
  • Step S53 when it is determined that the volume is in the third volume range after the volume is increased, reminding that the volume is too loud.
  • the volume is increased, it is in the third volume range, such as 20-39 after the increase, then the user needs to be reminded that the volume is too loud, and ask whether to adjust it.
  • the first preset value such as 1 grid or 1 level; when a negative answer is received, no adjustment can be made.
  • FIG. 6 is a structural block diagram of a volume adjustment device based on voice control provided by an embodiment of the present application.
  • the device includes: a receiving unit 1, a detecting unit 2 and a processing unit 3, wherein the receiving unit 1 is configured to receive voice input, and the voice input includes an instruction to adjust the volume; the The detection unit 2 is used to detect the volume range in which the volume is located; the processing unit 3 is used to: determine the adjustment scheme of the voice input according to whether the voice input also includes a modifier corresponding to the instruction to adjust the volume; According to the instruction for adjusting the volume and the volume range in which the volume is located, the volume is controlled to be adjusted based on the determined adjustment scheme of the voice input.
  • the processing unit 3 is further configured to: when judging that the instruction to adjust the volume is an instruction to reduce the volume, the determined adjustment scheme of the voice input is an instruction that does not include a corresponding instruction to adjust the volume. Modifier adjustment scheme, and when it is determined that the volume is within a first volume range, the volume is controlled to decrease by a first preset value; when it is determined that the volume is within a third volume range, the volume is controlled A second preset value is decreased, the second preset value is greater than the first preset value, and any volume in the third volume range is greater than any volume in the first volume range.
  • the processing unit 3 is further configured to: when judging that the instruction to adjust the volume is an instruction to reduce the volume, the determined adjustment scheme of the voice input is a modification including the instruction corresponding to adjusting the volume.
  • the volume is controlled to decrease by a third preset value; when it is judged that the volume is within the third volume range, the volume is controlled to decrease
  • the second preset value is greater than the third preset value, and any volume in the third volume range is greater than any volume in the first volume range.
  • the processing unit 3 is further configured to: when judging that the instruction to adjust the volume is an instruction to increase the volume, the determined adjustment scheme of the voice input is an instruction that does not include a corresponding instruction to adjust the volume.
  • Modifier adjustment scheme and when it is determined that the volume is within the second volume range, the volume is controlled to increase by a third preset value; when it is determined that the volume is in the first volume range, not in the first volume When the volume is in the second volume range and is not in the third volume range after the increase, the volume is controlled to increase by a first preset value; when it is determined that the volume is in the third volume range, or the volume is in the first volume When the volume range is not in the second volume range and is in the third volume range after increasing, the volume is reminded that the volume is too large, wherein the third preset value is greater than the first preset value, and the first preset value is A volume range includes the second volume range, and any volume in the third volume range is greater than any volume in the first volume range.
  • the processing unit 3 is further configured to: when judging that the instruction to adjust the volume is an instruction to increase the volume, the determined adjustment scheme of the voice input is a modification including a corresponding instruction to adjust the volume.
  • the volume is controlled to increase by the third preset value; after it is determined that the volume is increased, the volume is in the In the third volume range, the alert volume is too large, and any volume in the third volume range is greater than any volume in the first volume range.
  • the volume adjustment device based on voice control described above is similar to the embodiment of the volume adjustment method based on voice control described above, and will not be repeated here.
  • the device embodiments described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed over multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment. Those of ordinary skill in the art can understand and implement it without creative effort.
  • Various component embodiments of the present disclosure may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof.
  • a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in a computing processing device according to embodiments of the present disclosure.
  • DSP digital signal processor
  • the present disclosure can also be implemented as apparatus or apparatus programs (eg, computer programs and computer program products) for performing some or all of the methods described herein.
  • Such a program implementing the present disclosure may be stored on a computer-readable medium, or may be in the form of one or more signals. Such signals may be downloaded from Internet sites, or provided on carrier signals, or in any other form.
  • Figure 7 illustrates a computing processing device that may implement methods in accordance with the present disclosure.
  • the computing processing device traditionally includes a processor 1010 and a computer program product or computer readable medium in the form of a memory 1020 .
  • the memory 1020 may be electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the memory 1020 has storage space 1030 for program code 1031 for performing any of the method steps in the above-described methods.
  • the storage space 1030 for program codes may include various program codes 1031 for implementing various steps in the above methods, respectively. These program codes can be read from or written to one or more computer program products.
  • These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such computer program products are typically portable or fixed storage units as described with reference to FIG. 8 .
  • the storage unit may have storage segments, storage spaces, etc. arranged similarly to the memory 1020 in the computing processing device of FIG. 6 .
  • the program code may, for example, be compressed in a suitable form.
  • the storage unit includes computer readable code 1031', ie code readable by a processor such as 1010 for example, which when executed by a computing processing device, causes the computing processing device to perform any of the methods described above. of the various steps.
  • any reference signs placed between parentheses shall not be construed as limiting the claim.
  • the word “comprising” does not exclude the presence of elements or steps not listed in a claim.
  • the word “a” or “an” preceding an element does not exclude the presence of a plurality of such elements.
  • the present disclosure may be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware.
  • the use of the words first, second, and third, etc. do not denote any order. These words can be interpreted as names.

Abstract

The present application relates to the field of speech control. Provided are a volume adjustment method and apparatus based on speech control. The method comprises: receiving a speech input, wherein the speech input comprises an instruction for adjusting volume; detecting a volume range in which the volume is located; determining an adjustment scheme of the speech input according to whether the speech input further comprises a modifying word corresponding to the instruction for adjusting the volume; and according to the instruction for adjusting the volume and the volume range in which the volume is located, controlling the volume to be adjusted on the basis of the determined adjustment scheme of the speech input. By means of the present application, volume can be accurately adjusted, and the requirements of a user can be quickly met.

Description

基于语音控制的音量调节方法和装置Method and device for volume adjustment based on voice control
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本公开要求在2020年7月31日提交中国专利局、申请号为202010756432.0、名称为“基于语音控制的音量调节方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This disclosure claims the priority of a Chinese patent application with application number 202010756432.0 and titled "Voice Control-Based Volume Adjustment Method and Device" filed with the China Patent Office on July 31, 2020, the entire contents of which are incorporated herein by reference middle.
技术领域technical field
本申请涉及语音控制技术领域,特别涉及一种基于语音控制的音量调节方法和装置。The present application relates to the technical field of voice control, and in particular, to a method and device for volume adjustment based on voice control.
背景技术Background technique
当前通过语音来控制音量增加或音量减小存在的主要问题在于:智能化程度不够,通过语音控制多次之后可能也无法达到预期效果;虽然可以通过语音来将音量调整到具体的数值,但是由于音源质量、响度等等的不同,直接调整到具体的数值可能也不能达到用户需要的效果。The main problem of currently controlling the volume increase or volume reduction through voice is: the degree of intelligence is not enough, and the expected effect may not be achieved after multiple times of voice control; although the volume can be adjusted to a specific value through voice, but due to the lack of intelligence Depending on the quality of the sound source, loudness, etc., directly adjusting to the specific value may not achieve the desired effect.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本申请旨在提出一种基于语音控制的音量调节方法,以精准调节音量,迅速满足用户的需求。In view of this, the present application aims to propose a volume adjustment method based on voice control, so as to precisely adjust the volume and quickly meet the needs of users.
为达到上述目的,本申请的技术方案是这样实现的:In order to achieve the above-mentioned purpose, the technical scheme of the present application is achieved in this way:
一种基于语音控制的音量调节方法,所述方法包括:接收语音输入,所述语音输入包括调节所述音量的指令;检测所述音量处于的音量范围;根据所述语音输入是否还包括对应调节所述音量的指令的修饰词,确定语音输入的调节方案;根据所述调节所述音量的指令和所述音量处于的音量范围,基于所确定的语音输入的调节方案,控制所述音量进行调节。A volume adjustment method based on voice control, the method comprising: receiving a voice input, the voice input including an instruction to adjust the volume; detecting a volume range in which the volume is located; according to whether the voice input also includes corresponding adjustment The modifier of the volume instruction determines the adjustment scheme of the voice input; according to the instruction to adjust the volume and the volume range in which the volume is located, based on the determined adjustment scheme of the voice input, the volume is controlled to be adjusted .
进一步的,所述根据所述调节所述音量的指令和所述音量处于的音量范围,基于所确定的语音输入的调节方案,控制所述音量进行调节包括:在判断所述调节所述音量的指令为减小所述音量的指令,所确定的语音输入的调节方案为未包括对应调节所述音量的指令的修饰词的调节方案,且在判断到所述音量处于第一音量范围内时,控制所述音量降低第一预设值;在判断到所述音量处于第三音量范围内时,控制所述音量降低第二预设值,所述第二预设值大于所述第一预设值,所述第三音量范围的任意音量大于所述第一音量范围的任意音量。Further, according to the instruction for adjusting the volume and the volume range in which the volume is located, and based on the determined adjustment scheme of the voice input, controlling the volume to adjust includes: judging the adjustment of the volume. The instruction is an instruction to reduce the volume, the determined adjustment scheme of the voice input is an adjustment scheme that does not include a modifier corresponding to the instruction to adjust the volume, and when it is determined that the volume is within the first volume range, Control the volume to decrease by a first preset value; when it is determined that the volume is within a third volume range, control the volume to decrease by a second preset value, the second preset value is greater than the first preset value, any volume in the third volume range is greater than any volume in the first volume range.
进一步的,所述根据所述调节所述音量的指令和所述音量处于的音量范围,基于所确定的语音输入的调节方案,控制所述音量进行调节包括:在判 断所述调节所述音量的指令为减小所述音量的指令,所确定的语音输入的调节方案为包括对应调节所述音量的指令的修饰词的调节方案,且在判断到所述音量处于第一音量范围内时,控制所述音量降低第三预设值;在判断到所述音量处于第三音量范围内时,控制所述音量降低所述第二预设值,所述第二预设值大于所述第三预设值,所述第三音量范围的任意音量大于所述第一音量范围的任意音量。Further, according to the instruction for adjusting the volume and the volume range in which the volume is located, and based on the determined adjustment scheme of the voice input, controlling the volume to adjust includes: judging the adjustment of the volume. The instruction is an instruction to reduce the volume, the determined adjustment scheme of the voice input is an adjustment scheme that includes a modifier corresponding to the instruction to adjust the volume, and when it is determined that the volume is within the first volume range, control The volume is decreased by a third preset value; when it is determined that the volume is within a third volume range, the volume is controlled to decrease by the second preset value, and the second preset value is greater than the third preset value. Set the value, any volume in the third volume range is greater than any volume in the first volume range.
进一步的,所述根据所述调节所述音量的指令和所述音量处于的音量范围,基于所确定的语音输入的调节方案,控制所述音量进行调节包括:在判断所述调节所述音量的指令为增大所述音量的指令,所确定的语音输入的调节方案为未包括对应调节所述音量的指令的修饰词的调节方案,且在判断到所述音量处于第二音量范围内时,控制所述音量增大第三预设值;在判断到所述音量处于第一音量范围、未处于所述第二音量范围且增大后未处于第三音量范围时,控制所述音量增大第一预设值;在判断到所述音量处于所述第三音量范围、或所述音量处于所述第一音量范围、未处于所述第二音量范围且增大后处于所述第三音量范围时,提醒音量过大,其中,所述第三预设值大于所述第一预设值,所述第一音量范围包含所述第二音量范围,所述第三音量范围的任意音量大于所述第一音量范围的任意音量。Further, according to the instruction for adjusting the volume and the volume range in which the volume is located, and based on the determined adjustment scheme of the voice input, controlling the volume to adjust includes: judging the adjustment of the volume. The instruction is an instruction to increase the volume, the determined adjustment scheme of the voice input is an adjustment scheme that does not include a modifier corresponding to the instruction to adjust the volume, and when it is determined that the volume is within the second volume range, Control the volume to increase by a third preset value; when it is determined that the volume is in the first volume range, not in the second volume range, and not in the third volume range after the increase, control the volume to increase The first preset value; when it is determined that the volume is in the third volume range, or the volume is in the first volume range, not in the second volume range and increased, it is in the third volume when the volume is too large, the third preset value is greater than the first preset value, the first volume range includes the second volume range, and any volume in the third volume range is greater than Any volume in the first volume range.
进一步的,所述根据所述调节所述音量的指令和所述音量处于的音量范围,基于所确定的语音输入的调节方案,控制所述音量进行调节包括:在判断所述调节所述音量的指令为增大所述音量的指令,所确定的语音输入的调节方案为包括对应调节所述音量的指令的修饰词的调节方案,且在判断到所述音量增大后处于所述第一音量范围时,控制所述音量增大所述第三预设值;在判断到所述音量增大后处于所述第三音量范围时,提醒音量过大,所述第三音量范围的任意音量大于所述第一音量范围的任意音量。Further, according to the instruction for adjusting the volume and the volume range in which the volume is located, and based on the determined adjustment scheme of the voice input, controlling the volume to adjust includes: judging the adjustment of the volume. The instruction is an instruction to increase the volume, the determined adjustment scheme of the voice input is an adjustment scheme that includes a modifier corresponding to the instruction to adjust the volume, and is at the first volume after it is determined that the volume is increased When it is determined that the volume is in the third volume range after the volume is increased, the volume is reminded that the volume is too large, and any volume in the third volume range is greater than Any volume in the first volume range.
相对于现有技术,本申请所述的基于语音控制的音量调节方法具有以下优势:Compared with the prior art, the voice control-based volume adjustment method described in this application has the following advantages:
首先接收语音输入,然后检测所述音量处于的音量范围,接着根据所述语音输入是否还包括对应调节所述音量的指令的修饰词,确定语音输入的调节方案,最后根据所述语音输入包括的调节所述音量的指令和所述音量处于的音量范围,基于所确定的语音输入的调节方案,控制所述音量进行调节。本申请可以根据语音输入中的内容分析用户的需求,以精准调节音量,迅速满足用户的需求。First, the voice input is received, then the volume range in which the volume is detected is detected, then the adjustment scheme of the voice input is determined according to whether the voice input also includes a modifier corresponding to the instruction to adjust the volume, and finally the voice input includes The instruction to adjust the volume and the volume range in which the volume is located, and based on the determined adjustment scheme of the voice input, the volume is controlled to be adjusted. The application can analyze the user's needs according to the content in the voice input, so as to precisely adjust the volume and quickly meet the user's needs.
本申请的另一目的在于提出一种基于语音控制的音量调节装置,以精准调节音量,迅速满足用户的需求。Another object of the present application is to provide a volume adjustment device based on voice control, so as to precisely adjust the volume and quickly meet the needs of users.
为达到上述目的,本申请的技术方案是这样实现的:In order to achieve the above-mentioned purpose, the technical scheme of the present application is achieved in this way:
一种基于语音控制的音量调节装置,所述装置包括:接收单元、检测单元以及处理单元,其中,所述接收单元用于接收语音输入,所述语音输入包 括调节所述音量的指令;所述检测单元用于检测所述音量处于的音量范围;所述处理单元用于:根据所述语音输入是否还包括对应调节所述音量的指令的修饰词,确定语音输入的调节方案;根据所述调节所述音量的指令和所述音量处于的音量范围,基于所确定的语音输入的调节方案,控制所述音量进行调节。A volume adjustment device based on voice control, the device comprising: a receiving unit, a detection unit and a processing unit, wherein the receiving unit is used for receiving voice input, and the voice input includes an instruction to adjust the volume; the The detection unit is used to detect the volume range in which the volume is located; the processing unit is used to: determine an adjustment scheme for the voice input according to whether the voice input also includes a modifier corresponding to an instruction to adjust the volume; according to the adjustment The volume instruction and the volume range in which the volume is located are controlled based on the determined adjustment scheme of the voice input to adjust the volume.
进一步的,所述处理单元还用于:在判断所述调节所述音量的指令为减小所述音量的指令,所确定的语音输入的调节方案为未包括对应调节所述音量的指令的修饰词的调节方案,且在判断到所述音量处于第一音量范围内时,控制所述音量降低第一预设值;在判断到所述音量处于第三音量范围内时,控制所述音量降低第二预设值,所述第二预设值大于所述第一预设值,所述第三音量范围的任意音量大于所述第一音量范围的任意音量。Further, the processing unit is further configured to: when judging that the instruction to adjust the volume is an instruction to reduce the volume, the determined adjustment scheme of the voice input is a modification that does not include the instruction corresponding to adjusting the volume. When it is judged that the volume is within the first volume range, the volume is controlled to decrease by a first preset value; when it is judged that the volume is within the third volume range, the volume is controlled to decrease A second preset value, where the second preset value is greater than the first preset value, and any volume in the third volume range is greater than any volume in the first volume range.
进一步的,所述处理单元还用于:在判断所述调节所述音量的指令为减小所述音量的指令,所确定的语音输入的调节方案为包括对应调节所述音量的指令的修饰词的调节方案,且在判断到所述音量处于第一音量范围内时,控制所述音量降低第三预设值;在判断到所述音量处于第三音量范围内时,控制所述音量降低所述第二预设值,所述第二预设值大于所述第三预设值,所述第三音量范围的任意音量大于所述第一音量范围的任意音量。Further, the processing unit is further configured to: when judging that the instruction to adjust the volume is an instruction to reduce the volume, the determined adjustment scheme of the voice input is a modifier that includes a corresponding instruction to adjust the volume. When it is judged that the volume is within the first volume range, the volume is controlled to decrease by a third preset value; when it is judged that the volume is within the third volume range, the volume is controlled to decrease by the third preset value. The second preset value is greater than the third preset value, and any volume in the third volume range is greater than any volume in the first volume range.
进一步的,所述处理单元还用于:在判断所述调节所述音量的指令为增大所述音量的指令,所确定的语音输入的调节方案为未包括对应调节所述音量的指令的修饰词的调节方案,且在判断到所述音量处于第二音量范围内时,控制所述音量增大第三预设值;在判断到所述音量处于第一音量范围、未处于所述第二音量范围且增大后未处于第三音量范围时,控制所述音量增大第一预设值;在判断到所述音量处于所述第三音量范围、或所述音量处于所述第一音量范围、未处于所述第二音量范围且增大后处于所述第三音量范围时,提醒音量过大,其中,所述第三预设值大于所述第一预设值,所述第一音量范围包含所述第二音量范围,所述第三音量范围的任意音量大于所述第一音量范围的任意音量。Further, the processing unit is further configured to: when judging that the instruction to adjust the volume is an instruction to increase the volume, the determined adjustment scheme of the voice input is a modification that does not include the instruction corresponding to adjusting the volume. When it is judged that the volume is within the second volume range, the volume is controlled to increase by a third preset value; when it is judged that the volume is within the first volume range and not within the second volume range When the volume range is increased and is not within the third volume range, the volume is controlled to increase by a first preset value; when it is determined that the volume is within the third volume range, or the volume is within the first volume When the volume is not in the second volume range and is in the third volume range after increasing, the volume is reminded that the volume is too large, wherein the third preset value is greater than the first preset value, and the first The volume range includes the second volume range, and any volume in the third volume range is greater than any volume in the first volume range.
进一步的,所述处理单元还用于:在判断所述调节所述音量的指令为增大所述音量的指令,所确定的语音输入的调节方案为包括对应调节所述音量的指令的修饰词的调节方案,且在判断到所述音量增大后处于所述第一音量范围时,控制所述音量增大所述第三预设值;在判断到所述音量增大后处于所述第三音量范围时,提醒音量过大,所述第三音量范围的任意音量大于所述第一音量范围的任意音量。Further, the processing unit is further configured to: when judging that the instruction to adjust the volume is an instruction to increase the volume, the determined adjustment scheme of the voice input is a modifier that includes a corresponding instruction to adjust the volume. the adjustment scheme, and when it is determined that the volume is in the first volume range after the volume is increased, the volume is controlled to increase to the third preset value; after it is determined that the volume is increased, it is in the first volume range. When there are three volume ranges, the alert volume is too large, and any volume in the third volume range is greater than any volume in the first volume range.
所述基于语音控制的音量调节装置与上述基于语音控制的音量调节方法相对于现有技术所具有的优势相同,在此不再赘述。The voice control-based volume adjustment device has the same advantages as the above-mentioned voice control-based volume adjustment method relative to the prior art, which will not be repeated here.
本申请的其它特征和优点将在随后的具体实施方式部分予以详细说明。Additional features and advantages of the present application will be described in detail in the detailed description that follows.
上述说明仅是本公开技术方案的概述,为了能够更清楚了解本公开的技 术手段,而可依照说明书的内容予以实施,并且为了让本公开的上述和其它目的、特征和优点能够更明显易懂,以下特举本公开的具体实施方式。The above description is only an overview of the technical solutions of the present disclosure. In order to understand the technical means of the present disclosure more clearly, it can be implemented according to the contents of the description, and in order to make the above-mentioned and other purposes, features and advantages of the present disclosure more obvious and easy to understand , the following specific embodiments of the present disclosure are given.
附图说明Description of drawings
为了更清楚地说明本公开实施例或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the related technologies, the following briefly introduces the accompanying drawings used in the description of the embodiments or related technologies. Obviously, the drawings in the following description are the For the disclosed embodiments, for those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.
构成本申请的一部分的附图用来提供对本申请的进一步理解,本申请的示意性实施方式及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The accompanying drawings constituting a part of the present application are used to provide further understanding of the present application, and the schematic embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation of the present application. In the attached image:
图1是本申请一实施例提供的基于语音控制的音量调节方法的流程图;1 is a flowchart of a voice control-based volume adjustment method provided by an embodiment of the present application;
图2是本申请另一实施例提供的基于语音控制的音量调节方法的流程图;2 is a flowchart of a voice control-based volume adjustment method provided by another embodiment of the present application;
图3是本申请另一实施例提供的基于语音控制的音量调节方法的流程图;3 is a flowchart of a voice control-based volume adjustment method provided by another embodiment of the present application;
图4是本申请另一实施例提供的基于语音控制的音量调节方法的流程图;4 is a flowchart of a voice control-based volume adjustment method provided by another embodiment of the present application;
图5是本申请另一实施例提供的基于语音控制的音量调节方法的流程图;5 is a flowchart of a voice control-based volume adjustment method provided by another embodiment of the present application;
图6是本申请一实施例提供的基于语音控制的音量调节装置的结构框图。FIG. 6 is a structural block diagram of a volume adjustment device based on voice control provided by an embodiment of the present application.
图7示意性地示出了用于执行根据本公开的方法的计算处理设备的框图;并且Figure 7 schematically shows a block diagram of a computing processing device for performing methods according to the present disclosure; and
图8示意性地示出了用于保持或者携带实现根据本公开的方法的程序代码的存储单元。Figure 8 schematically shows a memory unit for holding or carrying program code implementing the method according to the present disclosure.
附图标记说明:Description of reference numbers:
1  接收单元1 Receiver unit
2  检测单元2 detection unit
3  处理单元。3 processing units.
具体实施例specific embodiment
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments These are some, but not all, embodiments of the present disclosure. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present disclosure.
需要说明的是,在不冲突的情况下,本申请中的实施方式及实施方式中的特征可以相互组合。It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other if there is no conflict.
下面将参考附图并结合实施方式来详细说明本申请。The present application will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
图1是本申请一实施例提供的基于语音控制的音量调节方法的流程图。 如图1所示,所述方法包括:FIG. 1 is a flowchart of a method for adjusting volume based on voice control provided by an embodiment of the present application. As shown in Figure 1, the method includes:
步骤S11,接收语音输入,所述语音输入包括调节所述音量的指令;Step S11, receiving voice input, where the voice input includes an instruction to adjust the volume;
例如,首先接收语音输入,然后使用主机软件来完成录音处理、语义分析和理解,并将最终理解的结果通过数据协议传输给主机,由主机来完成音量调节的动作。由于接收的语音输入是来自用户口述的,因此语音输入可能是千变万化的。在此,本申请实施例从用户口述的语音输入中提取固定的信息,以便识别用户的需求。语音输入可以包括调节音量的指令,例如“音量大一点”、“音量小一点”、“调大音量”、“调小音量”等等表示用户调节音量意愿的语音。For example, the voice input is first received, and then the host software is used to complete the recording processing, semantic analysis and understanding, and the final understanding result is transmitted to the host through a data protocol, and the host completes the volume adjustment action. Since the received voice input is dictated by the user, the voice input may be varied. Here, the embodiment of the present application extracts fixed information from the voice input dictated by the user, so as to identify the needs of the user. The voice input may include instructions for adjusting the volume, such as "volume up", "volume down", "volume up", "volume down", etc., which express the user's willingness to adjust the volume.
步骤S12,检测所述音量处于的音量范围;Step S12, detecting the volume range in which the volume is located;
例如,可以检测当前音量所处的音量范围,不同音量范围的音量后续调节的方式不同。For example, the volume range in which the current volume is located can be detected, and the subsequent volume adjustment methods are different in different volume ranges.
步骤S13,根据所述语音输入是否还包括对应调节所述音量的指令的修饰词,确定语音输入的调节方案;Step S13, determining the adjustment scheme of the voice input according to whether the voice input also includes a modifier corresponding to the instruction for adjusting the volume;
例如,语音输入中还可以包括对应调节音量的指令的修饰词,例如对应增大音量的指令的修饰词:“听不见”、“听不清”等等表示用户对当前音量不满或者迫切需要音量调节的语音。是否包含该修饰词会导致不同的调节方案。For example, the voice input may also include modifiers corresponding to the instruction to adjust the volume, for example, modifiers corresponding to the instruction to increase the volume: "inaudible", "inaudible", etc. indicate that the user is dissatisfied with the current volume or urgently needs the volume Adjusted voice. Whether or not to include this modifier results in a different regulation scheme.
步骤S14,根据所述调节所述音量的指令和所述音量处于的音量范围,基于所确定的语音输入的调节方案,控制所述音量进行调节。Step S14, according to the instruction for adjusting the volume and the volume range in which the volume is located, and based on the determined adjustment scheme of the voice input, the volume is controlled to be adjusted.
例如主机会通过数字信号处理器(digital signal processor,DSP)来控制音量的增减,最终通过扬声器对声音进行播放,用户可以感受到音量的变化。所确定的语音输入的调节方案、调节所述音量的指令和音量处于的音量范围都会影响对音量的调节方式。为了便于说明,先针对所确定的语音输入的调节方案以及调节所述音量的指令进行分析,可以分为下述四种情况:For example, the host will control the increase or decrease of the volume through a digital signal processor (DSP), and finally play the sound through the speaker, and the user can feel the change of the volume. The determined adjustment scheme of the voice input, the instruction for adjusting the volume, and the volume range in which the volume is located will all affect the way of adjusting the volume. For the convenience of explanation, first analyze the determined voice input adjustment scheme and the command to adjust the volume, which can be divided into the following four situations:
第一,调节所述音量的指令为减小所述音量的指令,所确定的语音输入的调节方案为未包括对应调节所述音量的指令的修饰词的调节方案;First, the instruction to adjust the volume is an instruction to reduce the volume, and the determined adjustment scheme of the voice input is an adjustment scheme that does not include a modifier corresponding to the instruction to adjust the volume;
第二,调节所述音量的指令为减小所述音量的指令,所确定的语音输入的调节方案为包括对应调节所述音量的指令的修饰词的调节方案;Second, the instruction to adjust the volume is an instruction to reduce the volume, and the determined adjustment scheme of the voice input is an adjustment scheme that includes a modifier corresponding to the instruction to adjust the volume;
第三,调节所述音量的指令为增大所述音量的指令,所确定的语音输入的调节方案为未包括对应调节所述音量的指令的修饰词的调节方案;Third, the instruction to adjust the volume is an instruction to increase the volume, and the determined adjustment scheme of the voice input is an adjustment scheme that does not include a modifier corresponding to the instruction to adjust the volume;
第四,调节所述音量的指令为增大所述音量的指令,所确定的语音输入的调节方案为包括对应调节所述音量的指令的修饰词的调节方案。Fourth, the instruction to adjust the volume is an instruction to increase the volume, and the determined adjustment scheme of the voice input is an adjustment scheme including a modifier corresponding to the instruction to adjust the volume.
图2是本申请另一实施例提供的基于语音控制的音量调节方法的流程图。如图2所示,该方法可以是上述第一种情况,即调节所述音量的指令为减小所述音量的指令,所确定的语音输入的调节方案为未包括对应调节所述音量的指令的修饰词的调节方案,包括:FIG. 2 is a flowchart of a method for adjusting volume based on voice control provided by another embodiment of the present application. As shown in FIG. 2 , the method may be the above-mentioned first case, that is, the instruction to adjust the volume is an instruction to decrease the volume, and the determined adjustment scheme of the voice input does not include the corresponding instruction to adjust the volume The conditioning scheme of modifiers, including:
步骤S21,判断所述音量是否处于第一音量范围内;Step S21, judging whether the volume is within the first volume range;
例如,本申请首先可以将音量的整体范围(即最小音量到最大音量)分为第一音量范围和第三音量范围,例如最小音量为0,最大音量为39,则第一音量范围可以是0-19,属于长时间收听对用户耳朵无损伤,是用户心理可接受的音量范围。第三音量则是20-39,其中强大输出功率会使得分贝值增加,会对人耳造成一定的损伤,是用户心理不可接受或承受度低的音量范围。可以理解的是,第三音量范围的任意音量大于第一音量范围的任意音量。下文实施例也按此分级进行详述。For example, the application can firstly divide the overall volume range (ie, the minimum volume to the maximum volume) into a first volume range and a third volume range. For example, the minimum volume is 0 and the maximum volume is 39, then the first volume range can be 0 -19, which belongs to the range of volume that is psychologically acceptable to the user without damage to the user's ears when listening for a long time. The third volume is 20-39, in which the strong output power will increase the decibel value, which will cause certain damage to the human ear. It can be understood that any volume in the third volume range is greater than any volume in the first volume range. The examples below are also detailed in this hierarchy.
步骤S22,在判断到所述音量处于第一音量范围内时,控制所述音量降低第一预设值;Step S22, when it is determined that the volume is within a first volume range, control the volume to decrease by a first preset value;
例如,仍以音量整体范围为0-39为例,可以将0-39分为40格,进行音量控制可以是以这40格为基础进行调节,一次增减1格或者多格。也可以将0-39分为多个等级,例如8个等级,每5格音量为一个等级,进行音量控制可以是以这8个等级为基础进行调节,一次增减1级或者多级。在音量处于第一音量范围,即例如0-19时,控制音量降低第一预设值,第一预设值可以例如是1格或者1级。For example, still taking the overall volume range of 0-39 as an example, 0-39 can be divided into 40 grids, and the volume control can be adjusted based on these 40 grids, increasing or decreasing by 1 grid or multiple grids at a time. 0-39 can also be divided into multiple levels, for example, 8 levels, each 5 grid volume is a level, and the volume control can be adjusted based on these 8 levels, increasing or decreasing one level or more at a time. When the volume is in the first volume range, that is, for example, 0-19, the volume is controlled to decrease by a first preset value, and the first preset value may be, for example, 1 grid or 1 level.
步骤S23,在判断到所述音量处于第三音量范围内时,控制所述音量降低第二预设值。Step S23, when it is determined that the volume is within a third volume range, the volume is controlled to decrease by a second preset value.
例如,由于音量整体范围被分为第一音量范围和第三音量范围,因此不在第一音量范围内,便一定在第三音量范围内。于是,在所述音量处于第三音量范围内,例如20-39时,控制音量降低第二预设值。第二预设值大于第一预设值,例如为5格或者5级。For example, since the overall volume range is divided into a first volume range and a third volume range, if it is not within the first volume range, it must be within the third volume range. Then, when the volume is within a third volume range, for example, 20-39, the volume is controlled to decrease by a second preset value. The second preset value is greater than the first preset value, for example, 5 grids or 5 levels.
图3是本申请另一实施例提供的基于语音控制的音量调节方法的流程图。如图3所示,该方法可以是上述第二种情况,即调节所述音量的指令为减小所述音量的指令,所确定的语音输入的调节方案为包括对应调节所述音量的指令的修饰词的调节方案,包括:FIG. 3 is a flowchart of a method for adjusting volume based on voice control provided by another embodiment of the present application. As shown in FIG. 3 , the method may be the above-mentioned second case, that is, the instruction to adjust the volume is an instruction to decrease the volume, and the determined adjustment scheme of the voice input is an instruction that includes a corresponding instruction to adjust the volume. Modification schemes for modifiers, including:
步骤S31,判断所述音量是否处于第一音量范围内;Step S31, judging whether the volume is within the first volume range;
步骤S32,在判断到所述音量处于第一音量范围内时,控制所述音量降低第三预设值;Step S32, when it is determined that the volume is within the first volume range, control the volume to decrease by a third preset value;
例如,在本实施例中,在音量处于第一音量范围,即例如0-19时,控制音量降低第三预设值,第二预设值大于第三预设值,第三预设值大于第一预设值。例如,如上文所述,如果第二预设值可以是5格或者5级,第一预设值可以是1格或者1级,那么第三预设值可以是2格或者2级。For example, in this embodiment, when the volume is in the first volume range, that is, for example, 0-19, the volume is controlled to decrease by a third preset value, the second preset value is greater than the third preset value, and the third preset value is greater than The first preset value. For example, as described above, if the second preset value can be 5 grids or 5 levels, the first preset value can be 1 grid or 1 grid, then the third preset value can be 2 grids or 2 ranks.
步骤S33,在判断到所述音量处于第三音量范围内时,控制所述音量降低所述第二预设值。Step S33, when it is determined that the volume is within a third volume range, control the volume to decrease by the second preset value.
例如,在本实施例中,在音量处于第三音量范围,例如20-39时,控制音量降低第二预设值,例如5格或者5级。For example, in this embodiment, when the volume is in a third volume range, such as 20-39, the volume is controlled to decrease by a second preset value, such as 5 bars or 5 levels.
图4是本申请另一实施例提供的基于语音控制的音量调节方法的流程图。如图4所示,该方法可以是上述第三种情况,即调节所述音量的指令为增大所述音量的指令,所确定的语音输入的调节方案为未包括对应调节所述音量的指令的修饰词的调节方案,包括:FIG. 4 is a flowchart of a method for adjusting volume based on voice control provided by another embodiment of the present application. As shown in FIG. 4 , the method may be the above third case, that is, the instruction to adjust the volume is an instruction to increase the volume, and the determined adjustment scheme of the voice input does not include the corresponding instruction to adjust the volume The conditioning scheme of modifiers, including:
步骤S41,判断所述音量是否处于第二音量范围内;Step S41, judging whether the volume is within the second volume range;
具体地,在本实施例中,第一音量范围内还可以设置一个第二音量范围,即音量舒适区域,在此范围是多数人可接受的舒适范围,可理解为最佳收听区域,例如5-11。Specifically, in this embodiment, a second volume range can also be set within the first volume range, that is, the volume comfort zone, where this range is a comfortable range acceptable to most people, and can be understood as the best listening zone, such as 5 -11.
步骤S42,在判断到所述音量处于第二音量范围内时,控制所述音量增大第三预设值;Step S42, when it is determined that the volume is within the second volume range, control the volume to increase to a third preset value;
具体地,在所述音量处于第二音量范围内时,控制音量增大第三预设值,例如2格或者2级。Specifically, when the volume is within the second volume range, the volume is controlled to increase by a third preset value, such as 2 bars or 2 levels.
步骤S43,在判断到所述音量未处于所述第二音量范围时,判断所述音量是否处于第一音量范围且增大后未处于第三音量范围;Step S43, when it is determined that the volume is not in the second volume range, determine whether the volume is in the first volume range and is not in the third volume range after being increased;
例如,在所述音量未处于第二音量范围内时,有两种情况,一是处于第一音量范围内但不处于第二音量范围,例如处于0-4或者12-19;二是处于第三音量范围,例如处于20-39。如果音量处于12-19,增加后是有可能处于第三音量范围的,对此,仍有不同的控制方式,需要进行判断。For example, when the volume is not within the second volume range, there are two situations: one is within the first volume range but not within the second volume range, for example, at 0-4 or 12-19; Three volume ranges, eg at 20-39. If the volume is between 12 and 19, it may be in the third volume range after the increase. There are still different control methods for this, which needs to be judged.
步骤S44,在判断到所述音量处于第一音量范围且增大后未处于第三音量范围时,控制所述音量增大第一预设值;Step S44, when it is determined that the volume is in the first volume range and is not in the third volume range after the increase, controlling the volume to increase by a first preset value;
例如,在所述音量处于第一音量范围,例如0-4或者12-19,且增大后未处于第三音量范围时,例如增大后仍未处于20-39,则控制所述音量增大第一预设值,即1格或者1级。For example, when the volume is in the first volume range, such as 0-4 or 12-19, and is not in the third volume range after the increase, for example, the volume is not in the 20-39 range after the increase, control the volume increase Large first preset value, ie 1 grid or 1 level.
步骤S45,在判断到所述音量处于所述第三音量范围、或所述音量处于所述第一音量范围且增大后处于所述第三音量范围时,提醒音量过大。Step S45, when it is determined that the volume is within the third volume range, or the volume is within the first volume range and is within the third volume range after being increased, reminding that the volume is too loud.
例如,在所述音量处于第三音量范围,例如处于20-39,又或者虽然处于第一音量范围,例如12-19,但是增大音量后处于第三音量范围,例如处于20-39,则此时需提醒用户音量过大,询问是否调节,在收到用户肯定的回答时,可以控制音量增大第一预设值,例如1格或者1级;在收到否定回答时,可以不进行调节。For example, when the volume is in the third volume range, such as 20-39, or although it is in the first volume range, such as 12-19, but after the volume is increased, it is in the third volume range, such as 20-39, then At this time, it is necessary to remind the user that the volume is too loud, and ask whether to adjust it. When receiving a positive answer from the user, you can control the volume to increase to the first preset value, such as 1 bar or 1 level; when receiving a negative answer, you can not adjust.
图5是本申请另一实施例提供的基于语音控制的音量调节方法的流程图。如图5所示,该方法可以是上述第四种情况,即调节所述音量的指令为增大所述音量的指令,所确定的语音输入的调节方案为包括对应调节所述音量的指令的修饰词的调节方案,包括:FIG. 5 is a flowchart of a method for adjusting volume based on voice control provided by another embodiment of the present application. As shown in FIG. 5 , the method may be the above fourth case, that is, the instruction to adjust the volume is an instruction to increase the volume, and the determined adjustment scheme of the voice input is an instruction that includes a corresponding instruction to adjust the volume. Modification schemes for modifiers, including:
步骤S51,判断所述音量增大后是否处于所述第一音量范围;Step S51, judging whether the volume is in the first volume range after the volume is increased;
步骤S52,在判断到所述音量增大后处于所述第一音量范围时,控制所述音量增大所述第三预设值;Step S52, when it is determined that the volume is in the first volume range after the volume is increased, control the volume to increase the third preset value;
具体地,在音量增大后处于第一音量范围,例如增大后仍处于0-19,控制音量增大第三预设值,例如2格或者2级。Specifically, after the volume is increased, the volume is in the first volume range, for example, it is still in the range of 0-19 after the volume is increased, and the volume is controlled to be increased by a third preset value, such as 2 bars or 2 levels.
步骤S53,在判断到所述音量增大后处于所述第三音量范围时,提醒音量过大。Step S53, when it is determined that the volume is in the third volume range after the volume is increased, reminding that the volume is too loud.
例如,在音量增大后处于第三音量范围,例如增大后处于20-39,则此时需提醒用户音量过大,询问是否调节,在收到用户肯定的回答时,可以控制音量增大第一预设值,例如1格或者1级;在收到否定回答时,可以不进行调节。For example, after the volume is increased, it is in the third volume range, such as 20-39 after the increase, then the user needs to be reminded that the volume is too loud, and ask whether to adjust it. When receiving a positive answer from the user, you can control the volume to increase The first preset value, such as 1 grid or 1 level; when a negative answer is received, no adjustment can be made.
图6是本申请一实施例提供的基于语音控制的音量调节装置的结构框图。如图6所示,所述装置包括:接收单元1、检测单元2以及处理单元3,其中,所述接收单元1用于接收语音输入,所述语音输入包括调节所述音量的指令;所述检测单元2用于检测所述音量处于的音量范围;所述处理单元3用于:根据所述语音输入是否还包括对应调节所述音量的指令的修饰词,确定语音输入的调节方案;根据所述调节所述音量的指令和所述音量处于的音量范围,基于所确定的语音输入的调节方案,控制所述音量进行调节。FIG. 6 is a structural block diagram of a volume adjustment device based on voice control provided by an embodiment of the present application. As shown in FIG. 6 , the device includes: a receiving unit 1, a detecting unit 2 and a processing unit 3, wherein the receiving unit 1 is configured to receive voice input, and the voice input includes an instruction to adjust the volume; the The detection unit 2 is used to detect the volume range in which the volume is located; the processing unit 3 is used to: determine the adjustment scheme of the voice input according to whether the voice input also includes a modifier corresponding to the instruction to adjust the volume; According to the instruction for adjusting the volume and the volume range in which the volume is located, the volume is controlled to be adjusted based on the determined adjustment scheme of the voice input.
进一步的,所述处理单元3还用于:在判断所述调节所述音量的指令为减小所述音量的指令,所确定的语音输入的调节方案为未包括对应调节所述音量的指令的修饰词的调节方案,且在判断到所述音量处于第一音量范围内时,控制所述音量降低第一预设值;在判断到所述音量处于第三音量范围内时,控制所述音量降低第二预设值,所述第二预设值大于所述第一预设值,所述第三音量范围的任意音量大于所述第一音量范围的任意音量。Further, the processing unit 3 is further configured to: when judging that the instruction to adjust the volume is an instruction to reduce the volume, the determined adjustment scheme of the voice input is an instruction that does not include a corresponding instruction to adjust the volume. Modifier adjustment scheme, and when it is determined that the volume is within a first volume range, the volume is controlled to decrease by a first preset value; when it is determined that the volume is within a third volume range, the volume is controlled A second preset value is decreased, the second preset value is greater than the first preset value, and any volume in the third volume range is greater than any volume in the first volume range.
进一步的,所述处理单元3还用于:在判断所述调节所述音量的指令为减小所述音量的指令,所确定的语音输入的调节方案为包括对应调节所述音量的指令的修饰词的调节方案,且在判断到所述音量处于第一音量范围内时,控制所述音量降低第三预设值;在判断到所述音量处于第三音量范围内时,控制所述音量降低所述第二预设值,所述第二预设值大于所述第三预设值,所述第三音量范围的任意音量大于所述第一音量范围的任意音量。Further, the processing unit 3 is further configured to: when judging that the instruction to adjust the volume is an instruction to reduce the volume, the determined adjustment scheme of the voice input is a modification including the instruction corresponding to adjusting the volume. When it is judged that the volume is within the first volume range, the volume is controlled to decrease by a third preset value; when it is judged that the volume is within the third volume range, the volume is controlled to decrease For the second preset value, the second preset value is greater than the third preset value, and any volume in the third volume range is greater than any volume in the first volume range.
进一步的,所述处理单元3还用于:在判断所述调节所述音量的指令为增大所述音量的指令,所确定的语音输入的调节方案为未包括对应调节所述音量的指令的修饰词的调节方案,且在判断到所述音量处于第二音量范围内时,控制所述音量增大第三预设值;在判断到所述音量处于第一音量范围、未处于所述第二音量范围且增大后未处于第三音量范围时,控制所述音量增大第一预设值;在判断到所述音量处于所述第三音量范围、或所述音量处于所述第一音量范围、未处于所述第二音量范围且增大后处于所述第三音量范围时,提醒音量过大,其中,所述第三预设值大于所述第一预设值,所述第一音量范围包含所述第二音量范围,所述第三音量范围的任意音量大于所述第一音量范围的任意音量。Further, the processing unit 3 is further configured to: when judging that the instruction to adjust the volume is an instruction to increase the volume, the determined adjustment scheme of the voice input is an instruction that does not include a corresponding instruction to adjust the volume. Modifier adjustment scheme, and when it is determined that the volume is within the second volume range, the volume is controlled to increase by a third preset value; when it is determined that the volume is in the first volume range, not in the first volume When the volume is in the second volume range and is not in the third volume range after the increase, the volume is controlled to increase by a first preset value; when it is determined that the volume is in the third volume range, or the volume is in the first volume When the volume range is not in the second volume range and is in the third volume range after increasing, the volume is reminded that the volume is too large, wherein the third preset value is greater than the first preset value, and the first preset value is A volume range includes the second volume range, and any volume in the third volume range is greater than any volume in the first volume range.
进一步的,所述处理单元3还用于:在判断所述调节所述音量的指令为增大所述音量的指令,所确定的语音输入的调节方案为包括对应调节所述音量的指令的修饰词的调节方案,且在判断到所述音量增大后处于所述第一音量范围时,控制所述音量增大所述第三预设值;在判断到所述音量增大后处于所述第三音量范围时,提醒音量过大,所述第三音量范围的任意音量大于所述第一音量范围的任意音量。Further, the processing unit 3 is further configured to: when judging that the instruction to adjust the volume is an instruction to increase the volume, the determined adjustment scheme of the voice input is a modification including a corresponding instruction to adjust the volume. When it is determined that the volume is in the first volume range after the volume is increased, the volume is controlled to increase by the third preset value; after it is determined that the volume is increased, the volume is in the In the third volume range, the alert volume is too large, and any volume in the third volume range is greater than any volume in the first volume range.
上文所述的基于语音控制的音量调节装置与上文所述的基于语音控制的音量调节方法的实施例类似,在此不再赘述。The volume adjustment device based on voice control described above is similar to the embodiment of the volume adjustment method based on voice control described above, and will not be repeated here.
以上所述仅为本申请的较佳实施方式而已,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包括在本申请的保护范围之内。The above descriptions are only the preferred embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the within the scope of protection.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed over multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment. Those of ordinary skill in the art can understand and implement it without creative effort.
本公开的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本公开实施例的计算处理设备中的一些或者全部部件的一些或者全部功能。本公开还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本公开的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。Various component embodiments of the present disclosure may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in a computing processing device according to embodiments of the present disclosure. The present disclosure can also be implemented as apparatus or apparatus programs (eg, computer programs and computer program products) for performing some or all of the methods described herein. Such a program implementing the present disclosure may be stored on a computer-readable medium, or may be in the form of one or more signals. Such signals may be downloaded from Internet sites, or provided on carrier signals, or in any other form.
例如,图7示出了可以实现根据本公开的方法的计算处理设备。该计算处理设备传统上包括处理器1010和以存储器1020形式的计算机程序产品或者计算机可读介质。存储器1020可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器1020具有用于执行上述方法中的任何方法步骤的程序代码1031的存储空间1030。例如,用于程序代码的存储空间1030可以包括分别用于实现上面的方法中的各种步骤的各个程序代码1031。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图8所述的便携式或者固定存储单元。该存储单元可以具有与图6的计算处理设备中的存储器1020类似布置的存储 段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码1031’,即可以由例如诸如1010之类的处理器读取的代码,这些代码当由计算处理设备运行时,导致该计算处理设备执行上面所描述的方法中的各个步骤。For example, Figure 7 illustrates a computing processing device that may implement methods in accordance with the present disclosure. The computing processing device traditionally includes a processor 1010 and a computer program product or computer readable medium in the form of a memory 1020 . The memory 1020 may be electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. The memory 1020 has storage space 1030 for program code 1031 for performing any of the method steps in the above-described methods. For example, the storage space 1030 for program codes may include various program codes 1031 for implementing various steps in the above methods, respectively. These program codes can be read from or written to one or more computer program products. These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such computer program products are typically portable or fixed storage units as described with reference to FIG. 8 . The storage unit may have storage segments, storage spaces, etc. arranged similarly to the memory 1020 in the computing processing device of FIG. 6 . The program code may, for example, be compressed in a suitable form. Typically, the storage unit includes computer readable code 1031', ie code readable by a processor such as 1010 for example, which when executed by a computing processing device, causes the computing processing device to perform any of the methods described above. of the various steps.
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本公开的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。Reference herein to "one embodiment," "an embodiment," or "one or more embodiments" means that a particular feature, structure, or characteristic described in connection with an embodiment is included in at least one embodiment of the present disclosure. Also, please note that instances of the phrase "in one embodiment" herein are not necessarily all referring to the same embodiment.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本公开的实施例可以在没有这些具体细节的情况下被实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. It is to be understood, however, that embodiments of the present disclosure may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本公开可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present disclosure may be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. do not denote any order. These words can be interpreted as names.
最后应说明的是:以上实施例仅用以说明本公开的技术方案,而非对其限制;尽管参照前述实施例对本公开进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本公开各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present disclosure, but not to limit them; although the present disclosure has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present disclosure.

Claims (13)

  1. 一种基于语音控制的音量调节方法,其特征在于,所述方法包括:A method for adjusting volume based on voice control, characterized in that the method comprises:
    接收语音输入,所述语音输入包括调节所述音量的指令;receiving voice input, the voice input including an instruction to adjust the volume;
    检测所述音量处于的音量范围;detecting the volume range in which the volume is located;
    根据所述语音输入是否还包括对应调节所述音量的指令的修饰词,确定语音输入的调节方案;Determine the adjustment scheme of the voice input according to whether the voice input also includes a modifier corresponding to the instruction for adjusting the volume;
    根据所述调节所述音量的指令和所述音量处于的音量范围,基于所确定的语音输入的调节方案,控制所述音量进行调节。According to the instruction for adjusting the volume and the volume range in which the volume is located, the volume is controlled to be adjusted based on the determined adjustment scheme of the voice input.
  2. 根据权利要求1所述的基于语音控制的音量调节方法,其特征在于,所述根据所述调节所述音量的指令和所述音量处于的音量范围,基于所确定的语音输入的调节方案,控制所述音量进行调节包括:The method for adjusting the volume based on voice control according to claim 1, wherein, according to the instruction for adjusting the volume and the volume range in which the volume is located, based on the determined adjustment scheme of the voice input, the control is performed. The volume adjustment includes:
    在判断所述调节所述音量的指令为减小所述音量的指令,所确定的语音输入的调节方案为未包括对应调节所述音量的指令的修饰词的调节方案,且When judging that the instruction to adjust the volume is an instruction to decrease the volume, the determined adjustment scheme of the voice input is an adjustment scheme that does not include a modifier corresponding to the instruction to adjust the volume, and
    在判断到所述音量处于第一音量范围内时,控制所述音量降低第一预设值;When judging that the volume is within a first volume range, controlling the volume to decrease by a first preset value;
    在判断到所述音量处于第三音量范围内时,控制所述音量降低第二预设值,所述第二预设值大于所述第一预设值,所述第三音量范围的任意音量大于所述第一音量范围的任意音量。When it is determined that the volume is within a third volume range, the volume is controlled to decrease by a second preset value, the second preset value is greater than the first preset value, and any volume in the third volume range Any volume greater than the first volume range.
  3. 根据权利要求1所述的基于语音控制的音量调节方法,其特征在于,所述根据所述调节所述音量的指令和所述音量处于的音量范围,基于所确定的语音输入的调节方案,控制所述音量进行调节包括:The method for adjusting the volume based on voice control according to claim 1, wherein, according to the instruction for adjusting the volume and the volume range in which the volume is located, based on the determined adjustment scheme of the voice input, the control is performed. The volume adjustment includes:
    在判断所述调节所述音量的指令为减小所述音量的指令,所确定的语音输入的调节方案为包括对应调节所述音量的指令的修饰词的调节方案,且After judging that the instruction to adjust the volume is an instruction to decrease the volume, the determined adjustment scheme of the voice input is an adjustment scheme that includes a modifier corresponding to the instruction to adjust the volume, and
    在判断到所述音量处于第一音量范围内时,控制所述音量降低第三预设值;When judging that the volume is within the first volume range, controlling the volume to decrease by a third preset value;
    在判断到所述音量处于第三音量范围内时,控制所述音量降低所述第二预设值,所述第二预设值大于所述第三预设值,所述第三音量范围的任意音量大于所述第一音量范围的任意音量。When it is determined that the volume is within a third volume range, the volume is controlled to decrease by the second preset value, the second preset value is greater than the third preset value, and the third volume range is Any volume is greater than any volume in the first volume range.
  4. 根据权利要求1所述的基于语音控制的音量调节方法,其特征在于,所述根据所述调节所述音量的指令和所述音量处于的音量范围,基于所确定 的语音输入的调节方案,控制所述音量进行调节包括:The method for adjusting the volume based on voice control according to claim 1, wherein, according to the instruction for adjusting the volume and the volume range in which the volume is located, based on the determined adjustment scheme of the voice input, the control is performed. The volume adjustment includes:
    在判断所述调节所述音量的指令为增大所述音量的指令,所确定的语音输入的调节方案为未包括对应调节所述音量的指令的修饰词的调节方案,且When judging that the instruction to adjust the volume is an instruction to increase the volume, the determined adjustment scheme of the voice input is an adjustment scheme that does not include a modifier corresponding to the instruction to adjust the volume, and
    在判断到所述音量处于第二音量范围内时,控制所述音量增大第三预设值;When judging that the volume is within the second volume range, controlling the volume to increase by a third preset value;
    在判断到所述音量处于第一音量范围、未处于所述第二音量范围且增大后未处于第三音量范围时,控制所述音量增大第一预设值;When it is determined that the volume is in the first volume range, not in the second volume range, and not in the third volume range after being increased, controlling the volume to increase by a first preset value;
    在判断到所述音量处于所述第三音量范围、或所述音量处于所述第一音量范围、未处于所述第二音量范围且增大后处于所述第三音量范围时,提醒音量过大,When it is determined that the volume is in the third volume range, or the volume is in the first volume range, not in the second volume range and is in the third volume range after being increased, remind the volume Big,
    其中,所述第三预设值大于所述第一预设值,所述第一音量范围包含所述第二音量范围,所述第三音量范围的任意音量大于所述第一音量范围的任意音量。The third preset value is greater than the first preset value, the first volume range includes the second volume range, and any volume in the third volume range is greater than any volume in the first volume range volume.
  5. 根据权利要求1所述的基于语音控制的音量调节方法,其特征在于,所述根据所述调节所述音量的指令和所述音量处于的音量范围,基于所确定的语音输入的调节方案,控制所述音量进行调节包括:The method for adjusting the volume based on voice control according to claim 1, wherein, according to the instruction for adjusting the volume and the volume range in which the volume is located, based on the determined adjustment scheme of the voice input, the control is performed. The volume adjustment includes:
    在判断所述调节所述音量的指令为增大所述音量的指令,所确定的语音输入的调节方案为包括对应调节所述音量的指令的修饰词的调节方案,且When judging that the instruction to adjust the volume is an instruction to increase the volume, the determined adjustment scheme of the voice input is an adjustment scheme that includes a modifier corresponding to the instruction to adjust the volume, and
    在判断到所述音量增大后处于所述第一音量范围时,控制所述音量增大所述第三预设值;When it is determined that the volume is in the first volume range after the volume is increased, controlling the volume to increase the third preset value;
    在判断到所述音量增大后处于所述第三音量范围时,提醒音量过大,所述第三音量范围的任意音量大于所述第一音量范围的任意音量。When it is determined that the volume is in the third volume range after the volume increase, the volume is reminded that the volume is too large, and any volume in the third volume range is greater than any volume in the first volume range.
  6. 一种基于语音控制的音量调节装置,其特征在于,所述装置包括:A volume control device based on voice control, characterized in that the device comprises:
    接收单元、检测单元以及处理单元,其中,A receiving unit, a detecting unit and a processing unit, wherein,
    所述接收单元用于接收语音输入,所述语音输入包括调节所述音量的指令;The receiving unit is configured to receive voice input, and the voice input includes an instruction to adjust the volume;
    所述检测单元用于检测所述音量处于的音量范围;The detection unit is used to detect the volume range in which the volume is located;
    所述处理单元用于:The processing unit is used to:
    根据所述语音输入是否还包括对应调节所述音量的指令的修饰词,确定语音输入的调节方案;Determine the adjustment scheme of the voice input according to whether the voice input also includes a modifier corresponding to the instruction for adjusting the volume;
    根据所述调节所述音量的指令和所述音量处于的音量范围,基于所确定的语音输入的调节方案,控制所述音量进行调节。According to the instruction for adjusting the volume and the volume range in which the volume is located, the volume is controlled to be adjusted based on the determined adjustment scheme of the voice input.
  7. 根据权利要求6所述的基于语音控制的音量调节装置,其特征在于,所述处理单元还用于:The volume adjusting device based on voice control according to claim 6, wherein the processing unit is further used for:
    在判断所述调节所述音量的指令为减小所述音量的指令,所确定的语音输入的调节方案为未包括对应调节所述音量的指令的修饰词的调节方案,且When judging that the instruction to adjust the volume is an instruction to decrease the volume, the determined adjustment scheme of the voice input is an adjustment scheme that does not include a modifier corresponding to the instruction to adjust the volume, and
    在判断到所述音量处于第一音量范围内时,控制所述音量降低第一预设值;When judging that the volume is within a first volume range, controlling the volume to decrease by a first preset value;
    在判断到所述音量处于第三音量范围内时,控制所述音量降低第二预设值,所述第二预设值大于所述第一预设值,所述第三音量范围的任意音量大于所述第一音量范围的任意音量。When it is determined that the volume is within a third volume range, the volume is controlled to decrease by a second preset value, the second preset value is greater than the first preset value, and any volume in the third volume range Any volume greater than the first volume range.
  8. 根据权利要求6所述的基于语音控制的音量调节装置,其特征在于,所述处理单元还用于:The volume adjusting device based on voice control according to claim 6, wherein the processing unit is further used for:
    在判断所述调节所述音量的指令为减小所述音量的指令,所确定的语音输入的调节方案为包括对应调节所述音量的指令的修饰词的调节方案,且After judging that the instruction to adjust the volume is an instruction to decrease the volume, the determined adjustment scheme of the voice input is an adjustment scheme that includes a modifier corresponding to the instruction to adjust the volume, and
    在判断到所述音量处于第一音量范围内时,控制所述音量降低第三预设值;When judging that the volume is within the first volume range, controlling the volume to decrease by a third preset value;
    在判断到所述音量处于第三音量范围内时,控制所述音量降低所述第二预设值,所述第二预设值大于所述第三预设值,所述第三音量范围的任意音量大于所述第一音量范围的任意音量。When it is determined that the volume is within a third volume range, the volume is controlled to decrease by the second preset value, the second preset value is greater than the third preset value, and the third volume range is The arbitrary volume is greater than any volume in the first volume range.
  9. 根据权利要求6所述的基于语音控制的音量调节装置,其特征在于,所述处理单元还用于:The volume adjusting device based on voice control according to claim 6, wherein the processing unit is further used for:
    在判断所述调节所述音量的指令为增大所述音量的指令,所确定的语音输入的调节方案为未包括对应调节所述音量的指令的修饰词的调节方案,且When judging that the instruction to adjust the volume is an instruction to increase the volume, the determined adjustment scheme of the voice input is an adjustment scheme that does not include a modifier corresponding to the instruction to adjust the volume, and
    在判断到所述音量处于第二音量范围内时,控制所述音量增大第三预设值;When judging that the volume is within the second volume range, controlling the volume to increase by a third preset value;
    在判断到所述音量处于第一音量范围、未处于所述第二音量范围且增大后未处于第三音量范围时,控制所述音量增大第一预设值;When it is determined that the volume is in the first volume range, not in the second volume range, and not in the third volume range after being increased, controlling the volume to increase by a first preset value;
    在判断到所述音量处于所述第三音量范围、或所述音量处于所述第一音量范围、未处于所述第二音量范围且增大后处于所述第三音量范围时,提醒 音量过大,When it is determined that the volume is in the third volume range, or the volume is in the first volume range, not in the second volume range and is in the third volume range after being increased, remind the volume Big,
    其中,所述第三预设值大于所述第一预设值,所述第一音量范围包含所述第二音量范围,所述第三音量范围的任意音量大于所述第一音量范围的任意音量。The third preset value is greater than the first preset value, the first volume range includes the second volume range, and any volume in the third volume range is greater than any volume in the first volume range volume.
  10. 根据权利要求6所述的基于语音控制的音量调节装置,其特征在于,所述处理单元还用于:The volume adjusting device based on voice control according to claim 6, wherein the processing unit is further used for:
    在判断所述调节所述音量的指令为增大所述音量的指令,所确定的语音输入的调节方案为包括对应调节所述音量的指令的修饰词的调节方案,且When judging that the instruction to adjust the volume is an instruction to increase the volume, the determined adjustment scheme of the voice input is an adjustment scheme that includes a modifier corresponding to the instruction to adjust the volume, and
    在判断到所述音量增大后处于所述第一音量范围时,控制所述音量增大所述第三预设值;When it is determined that the volume is in the first volume range after the volume is increased, controlling the volume to increase the third preset value;
    在判断到所述音量增大后处于所述第三音量范围时,提醒音量过大,所述第三音量范围的任意音量大于所述第一音量范围的任意音量。When it is determined that the volume is in the third volume range after the volume increase, the volume is reminded that the volume is too large, and any volume in the third volume range is greater than any volume in the first volume range.
  11. 一种计算处理设备,其特征在于,包括:A computing and processing device, comprising:
    存储器,其中存储有计算机可读代码;以及a memory in which computer readable code is stored; and
    一个或多个处理器,当所述计算机可读代码被所述一个或多个处理器执行时,所述计算处理设备执行如权利要求1-5中任一项所述的基于语音控制的音量调节方法。one or more processors, the computing processing device, when the computer readable code is executed by the one or more processors, executes the voice-controlled volume control of any of claims 1-5 adjustment method.
  12. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算处理设备上运行时,导致所述计算处理设备执行根据权利要求1-5中任一项所述的基于语音控制的音量调节方法。A computer program comprising computer readable code which, when executed on a computing processing device, causes the computing processing device to perform the voice-controlled based voice control of any one of claims 1-5. Volume adjustment method.
  13. 一种计算机可读介质,其中存储了如权利要求12所述的计算机程序。A computer-readable medium in which the computer program of claim 12 is stored.
PCT/CN2021/103662 2020-07-31 2021-06-30 Volume adjustment method and apparatus based on speech control WO2022022211A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010756432.0A CN111951801A (en) 2020-07-31 2020-07-31 Volume adjusting method and device based on voice control
CN202010756432.0 2020-07-31

Publications (1)

Publication Number Publication Date
WO2022022211A1 true WO2022022211A1 (en) 2022-02-03

Family

ID=73338870

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/103662 WO2022022211A1 (en) 2020-07-31 2021-06-30 Volume adjustment method and apparatus based on speech control

Country Status (2)

Country Link
CN (1) CN111951801A (en)
WO (1) WO2022022211A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111951801A (en) * 2020-07-31 2020-11-17 长城汽车股份有限公司 Volume adjusting method and device based on voice control

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105578274A (en) * 2015-12-23 2016-05-11 Tcl集团股份有限公司 Smart television volume adjusting method and apparatus
CN207097450U (en) * 2017-06-07 2018-03-13 深圳市北斗车载电子有限公司 For controlling the speech control system of vehicle mounted guidance volume
CN108376543A (en) * 2018-02-11 2018-08-07 深圳创维-Rgb电子有限公司 A kind of control method of electrical equipment, device, equipment and storage medium
CN111402876A (en) * 2020-03-17 2020-07-10 北京百度网讯科技有限公司 Data transmission method, device and equipment
CN111951801A (en) * 2020-07-31 2020-11-17 长城汽车股份有限公司 Volume adjusting method and device based on voice control

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105578274A (en) * 2015-12-23 2016-05-11 Tcl集团股份有限公司 Smart television volume adjusting method and apparatus
CN207097450U (en) * 2017-06-07 2018-03-13 深圳市北斗车载电子有限公司 For controlling the speech control system of vehicle mounted guidance volume
CN108376543A (en) * 2018-02-11 2018-08-07 深圳创维-Rgb电子有限公司 A kind of control method of electrical equipment, device, equipment and storage medium
CN111402876A (en) * 2020-03-17 2020-07-10 北京百度网讯科技有限公司 Data transmission method, device and equipment
CN111951801A (en) * 2020-07-31 2020-11-17 长城汽车股份有限公司 Volume adjusting method and device based on voice control

Also Published As

Publication number Publication date
CN111951801A (en) 2020-11-17

Similar Documents

Publication Publication Date Title
US10657945B2 (en) Noise control method and device
JP6573870B2 (en) Apparatus and method for audio classification and processing
US20180152163A1 (en) Noise control method and device
US10733970B2 (en) Noise control method and device
US10652674B2 (en) Hearing enhancement and augmentation via a mobile compute device
CN107124149A (en) A kind of method for regulation of sound volume, device and equipment
CN108335700B (en) Voice adjusting method and device, voice interaction equipment and storage medium
CN110459212A (en) Method for controlling volume and equipment
US9749741B1 (en) Systems and methods for reducing intermodulation distortion
WO2022022211A1 (en) Volume adjustment method and apparatus based on speech control
TW202018493A (en) Systems and methods for generating haptic output for enhanced user experience
US11894006B2 (en) Compressor target curve to avoid boosting noise
CN106231123A (en) Audio communication method and device
US11695379B2 (en) Apparatus and method for automatic volume control with ambient noise compensation
US11579840B2 (en) Method for adjusting sound playback and portable device thereof
WO2023098103A1 (en) Audio processing method and audio processing apparatus
JP6942289B2 (en) Information processing equipment, sound masking system, control method, and control program
CN112187204A (en) Electronic device and equalizer adjusting method thereof according to volume
WO2022229287A1 (en) Methods and devices for hearing training
EP4278350A1 (en) Detection and enhancement of speech in binaural recordings
CN116745844A (en) Speech detection and enhancement in binaural recordings
JP2022542113A (en) Power-up word detection for multiple devices
JP2020166148A (en) Sound collection control device, sound collection control program and conference support system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21851157

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21851157

Country of ref document: EP

Kind code of ref document: A1