TWI790236B - Volume adjustment method, device, electronic device and storage medium - Google Patents
Volume adjustment method, device, electronic device and storage medium Download PDFInfo
- Publication number
- TWI790236B TWI790236B TW107117810A TW107117810A TWI790236B TW I790236 B TWI790236 B TW I790236B TW 107117810 A TW107117810 A TW 107117810A TW 107117810 A TW107117810 A TW 107117810A TW I790236 B TWI790236 B TW I790236B
- Authority
- TW
- Taiwan
- Prior art keywords
- volume
- volume adjustment
- aforementioned
- increment
- current
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000004590 computer program Methods 0.000 claims description 7
- 238000012790 confirmation Methods 0.000 claims description 6
- 230000007613 environmental effect Effects 0.000 claims description 6
- 230000003247 decreasing effect Effects 0.000 claims description 5
- 230000001960 triggered effect Effects 0.000 claims description 3
- 230000003287 optical effect Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 230000007423 decrease Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 206010052137 Ear discomfort Diseases 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000000644 propagated effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/223—Execution procedure of a spoken command
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Acoustics & Sound (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Circuit For Audible Band Transducer (AREA)
- Holo Graphy (AREA)
- Signal Processing Not Specific To The Method Of Recording And Reproducing (AREA)
- Electrophonic Musical Instruments (AREA)
Abstract
一種音量調節方法、裝置、電子設備及存儲介質,前述方法包含:獲取通用音量調節指令,並根據前述通用音量調節指令識別音量調節方向;根據前述音量調節方向以及當前音量,確定音量調整增量;使用前述音量調整增量,對前述當前音量進行調整。解決先前技術中,針對使用者的通用性的音量調整指令採用固定的調整增量調整當前音量所引起的使用者體驗不佳的問題,實現根據當前音量採用不同音量調整增量進行音量調節,使得音量調節更具針對性,有效避免一次音量調整結果超出使用者的實際調整預期的問題,從而提高使用者體驗。 A volume adjustment method, device, electronic equipment, and storage medium, the aforementioned method comprising: acquiring a general volume adjustment instruction, and identifying a volume adjustment direction according to the aforementioned general volume adjustment instruction; determining a volume adjustment increment according to the aforementioned volume adjustment direction and the current volume; Use the aforementioned volume adjustment increment to adjust the aforementioned current volume. Solve the problem in the prior art that the user’s general volume adjustment command adopts fixed adjustment increments to adjust the current volume. The volume adjustment is more targeted, which effectively avoids the problem that the result of one volume adjustment exceeds the user's actual adjustment expectation, thereby improving the user experience.
Description
本發明係關於音量調節技術領域,例如關於一種音量調節方法、裝置、電子設備及存儲介質。 The present invention relates to the technical field of volume adjustment, for example, to a volume adjustment method, device, electronic equipment and storage medium.
音量調節系統常用於各種電子設備中,可根據使用者的需求對電子設備的音量進行調節。 The volume adjustment system is commonly used in various electronic devices, and can adjust the volume of the electronic devices according to the needs of users.
各種電子設備的音量調節系統都具有通用的音量調節方式,用於調節電子設備當前的音量。例如,使用者使用語音控制的音響時,可對音響藉由語音輸入「大聲點」或「小聲點」的控制指令。針對這類通用的音量調節指令,先前技術主要按照固定的調整增量調整方式增大或減小相應的音量。 The volume adjustment systems of various electronic devices all have a general volume adjustment method, which is used to adjust the current volume of the electronic device. For example, when a user uses a voice-controlled speaker, he can input a control command of "speak louder" or "slower" to the speaker by voice. For such general volume adjustment commands, the prior art mainly increases or decreases the corresponding volume according to a fixed adjustment increment adjustment manner.
發明人在實現本發明的過程中,發現先前技術存在如下缺陷:先前技術中的音量調節方式按照固定的調整增量調整方式增大或減小,可能會發生電子設備輸出的音量過高或過低而無法達到使用者要求的情況。例如,如果當前音量比較大,在對音量進行調節時仍按照固定的調整增量遞增,會使得一次音量調整結果超出使用者的實際調整預期,難以提供最佳收聽效果。 In the process of realizing the present invention, the inventor found that the prior art has the following defects: the volume adjustment method in the prior art increases or decreases according to the fixed adjustment increment adjustment method, and the volume output by the electronic device may be too high or too high. low enough to meet user requirements. For example, if the current volume is relatively high, if the volume is adjusted according to a fixed adjustment increment, the result of one volume adjustment will exceed the user's actual adjustment expectations, and it will be difficult to provide the best listening effect.
本發明發明態樣提供一種音量調節方法、裝置、電子設備及存儲介質,可解決先前技術中,針對使用者的通用性的音量調整指令採用固定的調整增量調整當前音量所引起的使用者體驗不佳的問題,使得音量調節更具針對性,有效避免一次音量調整結果超出使用者的實際調整預期的問題,從而提高使用者體驗。 The present invention provides a volume adjustment method, device, electronic equipment, and storage medium, which can solve the user experience caused by using a fixed adjustment increment to adjust the current volume for the user's general volume adjustment command in the prior art The bad problem makes the volume adjustment more targeted, and effectively avoids the problem that the result of one volume adjustment exceeds the user's actual adjustment expectation, thereby improving the user experience.
第一方面,本發明之態樣提供一種音量調節方法,包含:獲取通用音量調節指令,並根據前述通用音量調節指令識別音量調節方向;根據前述音量調節方向以及當前音量,確定音量調整增量;以及使用前述音量調整增量,對前述當前音量進行調整。 In the first aspect, an aspect of the present invention provides a volume adjustment method, comprising: obtaining a general volume adjustment command, and identifying a volume adjustment direction according to the aforementioned general volume adjustment command; determining a volume adjustment increment according to the aforementioned volume adjustment direction and the current volume; And use the aforementioned volume adjustment increment to adjust the aforementioned current volume.
第二方面,本發明之態樣進一步提供一種音量調節裝置,包含:指令識別模組,設置為獲取通用音量調節指令,並根據前述通用音量調節指令識別音量調節方向;增量確定模組,設置為根據前述音量調節方向以及當前音量,確定音量調整增量;以及音量調整模組,設置為使用前述音量調整增量,對前述當前音量進行 調整。 In the second aspect, the aspect of the present invention further provides a volume adjustment device, including: an instruction recognition module, configured to acquire a general volume adjustment instruction, and identify the volume adjustment direction according to the aforementioned general volume adjustment instruction; an increment determination module, configured to In order to determine the volume adjustment increment according to the volume adjustment direction and the current volume; and the volume adjustment module is configured to use the volume adjustment increment to adjust the current volume.
第三方面,本發明之態樣進一步提供一種電子設備,前述電子設備包含:一個或多個處理器;存儲裝置,設置為存儲一個或多個程式;當前述一個或多個程式被前述一個或多個處理器執行,使得前述一個或多個處理器實現關於上述的任一前述的音量調節方法。 In the third aspect, the aspect of the present invention further provides an electronic device, the aforementioned electronic device includes: one or more processors; a storage device configured to store one or more programs; when the aforementioned one or more programs are used by the aforementioned one or A plurality of processors are executed, so that the aforementioned one or more processors implement any of the aforementioned volume adjustment methods.
第四方面,本發明之態樣進一步提供一種電腦存儲介質,其存儲有電腦程式,該程式被處理器執行時實現關於上述的任一前述的音量調節方法。 In a fourth aspect, aspects of the present invention further provide a computer storage medium, which stores a computer program, and when the program is executed by a processor, any one of the volume adjustment methods mentioned above can be realized.
本發明解決先前技術之發明態樣中,針對使用者的通用性的音量調整指令採用固定的調整增量調整當前音量所引起的使用者體驗不佳的問題,實現根據當前音量採用不同音量調整增量進行音量調節,使得音量調節更具針對性,有效避免一次音量調整結果超出使用者的實際調整預期的問題,從而提高使用者體驗。 The present invention solves the problem of poor user experience caused by using fixed adjustment increments to adjust the current volume for the universal volume adjustment command of the user in the inventions of the prior art, and realizes the use of different volume adjustment increments according to the current volume. The volume can be adjusted according to the volume, so that the volume adjustment is more targeted, and the problem that the result of one volume adjustment exceeds the user's actual adjustment expectation can be effectively avoided, thereby improving the user experience.
310‧‧‧指令識別模組 310‧‧‧Command Recognition Module
320‧‧‧增量確定模組 320‧‧‧Increment determination module
330‧‧‧音量調整模組 330‧‧‧Volume adjustment module
412‧‧‧電子設備 412‧‧‧Electronic equipment
414‧‧‧外部設備 414‧‧‧External equipment
416‧‧‧處理器 416‧‧‧processor
418‧‧‧匯流排 418‧‧‧bus
420‧‧‧網路介面卡 420‧‧‧Network interface card
422‧‧‧輸入/輸出(I/O)接口 422‧‧‧Input/Output (I/O) Interface
424‧‧‧顯示器 424‧‧‧display
426‧‧‧程式模組 426‧‧‧program module
428‧‧‧存儲裝置 428‧‧‧storage device
430‧‧‧隨機存取記憶體 430‧‧‧random access memory
432‧‧‧高速緩衝記憶體 432‧‧‧cache memory
434‧‧‧存儲系統 434‧‧‧Storage system
436‧‧‧程式模組 436‧‧‧program module
【圖1】實施例一提供的一種音量調節方法的流程圖;【圖2】實施例二提供的一種音量調節方法的流程圖;【圖3】實施例三提供的一種音量調節裝置的示意圖; 【圖4】實施例四提供的一種電子設備的結構示意圖。 [Fig. 1] a flow chart of a volume adjustment method provided by Embodiment 1; [Fig. 2] a flow chart of a volume adjustment method provided by Embodiment 2; [Fig. 3] a schematic diagram of a volume adjustment device provided by Embodiment 3; [FIG. 4] A schematic structural diagram of an electronic device provided in Embodiment 4.
為了便於描述,圖式中僅示出與本發明相關的部分而非全部內容。在更加詳細地討論示例性實施例之前,應當提到的為部分示例性實施例被描述成作為流程圖描繪的處理或方法。雖然流程圖將各項操作(或步驟)描述成順序的處理,但是其中的許多操作可被並行地、併發地或同時實施。此外,各項操作的順序可被重新安排。當其操作完成時前述處理可被終止,但是亦可具有未包含在圖式中的附加步驟。前述處理可對應於方法、函數、電腦程序、次常式、副程式等等。 For the convenience of description, only the parts related to the present invention are shown in the drawings but not the whole content. Before discussing the exemplary embodiments in more detail, it should be mentioned that some of the exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe various operations (or steps) as sequential processing, many of the operations may be performed in parallel, concurrently, or simultaneously. In addition, the order of operations can be rearranged. The foregoing processes may be terminated when their operations are complete, but may also have additional steps not included in the figures. The aforementioned processing may correspond to methods, functions, computer programs, subroutines, subroutines, and the like.
實施例一 Embodiment one
圖1係實施例一提供的一種音量調節方法的流程圖,本實施例可適用於根據當前音量調節音量的情況,該方法可由音量調節裝置來執行,該裝置可由軟體及硬體中的至少一種方式來實現,並一般可集成在電子設備中(示例性的,多種能夠藉由語音或通用調節按鍵對音量進行固定增量調節的電子設備,例如,移動音箱或車載音箱等),該方法包含如下操作: Figure 1 is a flow chart of a volume adjustment method provided by Embodiment 1. This embodiment is applicable to the situation of adjusting the volume according to the current volume. The method can be performed by a volume adjustment device, which can be composed of at least one of software and hardware way, and can generally be integrated in electronic devices (for example, a variety of electronic devices that can adjust the volume in fixed increments by voice or general adjustment buttons, such as mobile speakers or car speakers, etc.), the method includes Do as follows:
S110、獲取通用音量調節指令,並根據前述通用音量調節指令識別音量調節方向。 S110. Acquire a general volume adjustment instruction, and identify a volume adjustment direction according to the foregoing general volume adjustment instruction.
其中,通用音量調節指令係指對電子設備中的音量進行通用性調整指令。亦即沒有指明具體的音量調整增量(例如,增大50%或音量調整至最大抑或最小音量的50%等)的指令。 Wherein, the general volume adjustment instruction refers to a general adjustment instruction for the volume in the electronic device. That is, there is no instruction specifying a specific volume adjustment increment (for example, increasing the volume by 50% or adjusting the volume to 50% of the maximum or minimum volume, etc.).
電子設備可根據通用音量調節指令對當前音量進行固定增 量的音量調節。通用音量調節指令可為當前使用者藉由語音輸入的語音控制指令,亦可為電子設備在滿足設定觸發條件後,相應觸發生成的系統控制指令,抑或,亦可進一步為當前使用者點觸電子設備中設置的虛擬按鈕,或旋轉電子設備中設置的硬體按鈕所觸發生成的指令。音量調節方向一般包含增大音量以及減小音量兩種方向。 The electronic device can adjust the current volume in fixed increments according to the general volume adjustment instruction. The general volume adjustment command can be a voice control command input by the current user through voice, or it can be a system control command generated by the corresponding trigger after the electronic device satisfies the set trigger conditions, or it can be further used for the current user to touch the electronic device. A virtual button set in the device, or a command generated by rotating a hardware button set in the electronic device. The volume adjustment direction generally includes two directions of increasing the volume and decreasing the volume.
針對先前技術在檢測到通用音量調整指令時,僅採取單一的音量調整增量對當前音量進行調整的方式(例如,針對「大聲點」的音量調整指令,將當前音量增大全部音量範圍的5%),提出採取不同的音量調整增量對當前音量進行調整的改進。 For the prior art, when a general volume adjustment command is detected, only a single volume adjustment increment is used to adjust the current volume (for example, for the volume adjustment command of "louder", the current volume is increased by 10% of the entire volume range 5%), it is proposed to adopt different volume adjustment increments to adjust the current volume.
S120、根據前述音量調節方向以及當前音量,確定音量調整增量。 S120. Determine a volume adjustment increment according to the aforementioned volume adjustment direction and the current volume.
其中,本實施例中的音量調整增量並非固定的,必須依據當前音量確定。例如,當當前音量位於全部音量範圍的30%-60%之間時,音量調整增量可設置為全部音量範圍的10%或5%。當當前音量位於全部音量範圍的60%-80%之間時,音量調整增量可設置為全部音量範圍的5%或2%。當當前音量位於全部音量範圍的80%-100%之間時,音量調整增量可設置為1%。 Wherein, the volume adjustment increment in this embodiment is not fixed, and must be determined according to the current volume. For example, when the current volume is between 30%-60% of the full volume range, the volume adjustment increment can be set to 10% or 5% of the full volume range. When the current volume is between 60%-80% of the full volume range, the volume adjustment increment can be set to 5% or 2% of the full volume range. When the current volume is between 80%-100% of the full volume range, the volume adjustment increment can be set to 1%.
亦即:在本實施例中,發明人充分考慮到,在不同的當前音量的條件下,使用者對音量調整程度的需求可能為完全不同的,例如:當前音量很低的條件下,使用者希望調大點音量時,使用者實際需要的音量增大增量的增量程度一般會遠遠大於當前音量很高的條件下,使用者希望調大點音量時,實際需要的音量增大增量的增量程度。 That is to say: in this embodiment, the inventor fully considers that under different current volume conditions, the user's needs for volume adjustment may be completely different, for example: under the current low volume condition, the user may When the user wants to turn up the volume, the volume increase increment actually required by the user is generally much greater than that under the condition that the current volume is very high. amount of increment.
相應的,可根據預先設定的查詢表,及計算公式中的至少一個,基於前述音量調節方向以及當前音量,確定音量調整增量。其中,在同一音量調節方向下,可針對不同的當前音量設置不同的音量調整增量;亦可針對不同的當前音量範圍,設置不同的音量調整增量。 Correspondingly, the volume adjustment increment may be determined based on the volume adjustment direction and the current volume according to at least one of a preset lookup table and a calculation formula. Wherein, in the same volume adjustment direction, different volume adjustment increments may be set for different current volumes; different volume adjustment increments may also be set for different current volume ranges.
本實施例根據音量調節方向以及當前音量確定音量調整增量,並藉由音量調節方向確定音量調整增量的正負值(正值為增大音量,負值為減小音量),能夠考慮當前音量較小或當前音量較大時的兩種特殊情況,分別執行針對性的音量調整增量。當音量調節方向為增大音量時,當前音量越大,音量調整增量幅度相應較小;當前音量越小,其音量調整增量幅度相應較大。當音量調節方向為減小音量時,當前音量越大,其音量調整增量幅度相應較大;當前音量越小,音量調整增量幅度相應較小,從而有效避免一次音量調整結果超出使用者的實際調整預期。 In this embodiment, the volume adjustment increment is determined according to the volume adjustment direction and the current volume, and the positive and negative values of the volume adjustment increment are determined by the volume adjustment direction (a positive value increases the volume, and a negative value decreases the volume), which can take into account the current volume In the two special cases when the current volume is low or the current volume is high, targeted volume adjustment increments are performed respectively. When the volume adjustment direction is to increase the volume, the greater the current volume, the smaller the volume adjustment increment; the smaller the current volume, the larger the volume adjustment increment. When the volume adjustment direction is to decrease the volume, the greater the current volume, the larger the volume adjustment increment; the lower the current volume, the smaller the volume adjustment increment, thus effectively preventing the volume adjustment result from exceeding the user's limit. Actual adjustment expectations.
在一實施例中,如使用者藉由語音輸入「靜音」,則電子設備無需考慮當前音量確定音量調整增量,直接將電子設備的音量從當前音量調節為0。 In one embodiment, if the user inputs "mute" by voice, the electronic device directly adjusts the volume of the electronic device from the current volume to 0 without considering the current volume to determine the volume adjustment increment.
S130、使用前述音量調整增量,對前述當前音量進行調整。 S130. Adjust the aforementioned current volume by using the aforementioned volume adjustment increment.
在本實施例中,藉由音量調節方向以及當前音量確定音量調整增量,並根據確定的音量調整增量,對當前音量進行調整。 In this embodiment, the volume adjustment increment is determined by the volume adjustment direction and the current volume, and the current volume is adjusted according to the determined volume adjustment increment.
示例性,可藉由音量調整增量的正負表達相應的音量調整方向,並可直接將當前音量與前述音量調整增量的累加結果,作為最終的音量調整結果。 For example, the corresponding volume adjustment direction can be expressed by the positive or negative of the volume adjustment increment, and the cumulative result of the current volume and the aforementioned volume adjustment increment can be directly used as the final volume adjustment result.
本實施例藉由獲取的通用音量調節指令識別音量調節方向; 根據音量調節方向以及當前音量,確定音量調整增量並對當前音量進行調整,解決先前技術中,針對使用者的通用性的音量調整指令採用固定的調整增量調整當前音量所引起的使用者體驗不佳的問題,實現根據當前音量採用不同音量調整增量進行音量調節,使得音量調節更具針對性,有效避免一次音量調整結果超出使用者的實際調整預期的問題,從而提高使用者體驗。 In this embodiment, the volume adjustment direction is identified by the obtained general volume adjustment command; according to the volume adjustment direction and the current volume, the volume adjustment increment is determined and the current volume is adjusted, so as to solve the general volume adjustment for users in the prior art The command uses fixed adjustment increments to adjust the current volume to cause poor user experience, and realizes volume adjustment with different volume adjustment increments according to the current volume, making volume adjustment more targeted and effectively avoiding a volume adjustment result exceeding The actual adjustment of the user's expected problems, thereby improving the user experience.
在一個選擇性實施例中,前述通用音量調節指令可為使用者輸入的語音控制指令。 In an optional embodiment, the aforementioned universal volume adjustment instruction may be a voice control instruction input by the user.
其中,語音控制指令為當前使用者藉由語音輸入的調節音量的指令。例如,「請大聲一點」、「請小聲一點」以及「請靜音」等語音控制指令。 Wherein, the voice control command is a volume adjustment command input by the current user through voice. For example, voice control commands such as "please speak louder", "please speak softly" and "please mute".
在一個選擇性實施例中,根據前述音量調節方向以及當前音量,確定音量調整增量,可包含:根據前述音量調節方向以及當前音量,查詢增量調整對照表,確定前述音量調整增量;其中,在前述增量調整對照表中,不同的當前音量範圍,在不同的音量調節方向下,對應不同的音量調整增量。 In an optional embodiment, determining the volume adjustment increment according to the aforementioned volume adjustment direction and the current volume may include: according to the aforementioned volume adjustment direction and the current volume, querying an increment adjustment comparison table to determine the aforementioned volume adjustment increment; wherein , in the aforementioned incremental adjustment comparison table, different current volume ranges correspond to different volume adjustment increments in different volume adjustment directions.
其中,增量調節對照表記載不同當前音量範圍與音量調整增量數值之間的對應關係。舉例而言,音量調節方向為增大音量時,增量調整對照表可係:[0%,20%]:15%;(20%,60%]:10%;(60%,80%]:5%;(80%,99%]:1%。音量調節方向為減小音量時,增量調整對照表可係:[0%,20%]:-2%;(20%,60%]:-5%;(60%,80%]:-10%;(80%,99%]:-15%。 Wherein, the increment adjustment comparison table records the corresponding relationship between different current volume ranges and volume adjustment increment values. For example, when the volume adjustment direction is to increase the volume, the incremental adjustment comparison table can be: [0%, 20%]: 15%; (20%, 60%]: 10%; (60%, 80%] : 5%; (80%, 99%]: 1%. When the volume adjustment direction is to decrease the volume, the incremental adjustment comparison table can be: [0%, 20%]: -2%; (20%, 60% ]: -5%; (60%,80%]: -10%; (80%,99%]: -15%.
其中,0%、5%、10%、15%、20%、60%、80%以及99%此 等數字指電子設備總音量的百分比數對應的音量值,如總音量的20%。 Among them, 0%, 5%, 10%, 15%, 20%, 60%, 80% and 99% refer to the volume values corresponding to the percentages of the total volume of the electronic equipment, such as 20% of the total volume.
在一實施例中,為了簡化增量調整對照表,可對不同的當前音量範圍對應存儲兩種數值,這兩種數值可為同一種數值的正值及負值,可根據音量調節方向確定選擇正值或負值。 In one embodiment, in order to simplify the incremental adjustment comparison table, two values can be stored corresponding to different current volume ranges. These two values can be positive and negative values of the same value, and the selection can be determined according to the volume adjustment direction. positive or negative value.
在一個選擇性實施例中,根據前述音量調節方向以及當前音量,確定音量調整增量,包含:獲取與前述音量調節方向匹配的音量調節公式;根據前述當前音量,以及前述音量調節公式,確定前述音量調整增量;其中,在與增大音量的音量調節方向匹配的第一音量調節公式中,前述音量調整增量的數值大小與前述當前音量呈反比,在與減小音量的音量調節方向匹配的第二音量調節公式中,前述音量調整增量的數值大小與前述當前音量呈正比。 In an optional embodiment, determining the volume adjustment increment according to the volume adjustment direction and the current volume includes: obtaining a volume adjustment formula matching the volume adjustment direction; determining the volume adjustment formula according to the current volume and the volume adjustment formula Volume adjustment increment; wherein, in the first volume adjustment formula that matches the volume adjustment direction of increasing the volume, the numerical value of the volume adjustment increment is inversely proportional to the current volume, and matches the volume adjustment direction of decreasing the volume In the second volume adjustment formula, the numerical value of the aforementioned volume adjustment increment is directly proportional to the aforementioned current volume.
在一實施例中,本實施例除了可根據音量調節方向以及當前音量,查詢增量調整對照表,確定音量調整增量,進一步可獲取與音量調節方向匹配的音量調節公式;根據當前音量,以及音量調節公式,確定音量調整增量。 In one embodiment, in addition to querying the incremental adjustment comparison table according to the volume adjustment direction and the current volume, this embodiment can determine the volume adjustment increment, and further obtain a volume adjustment formula that matches the volume adjustment direction; according to the current volume, and Volume adjustment formula, which determines the volume adjustment increment.
在一個選擇性實施例中,前述第一音量調節公式為:ΔV=(100/N)*A1;前述第二音量調節公式為:ΔV=-(N/100)*A2;其中,ΔV為前述音量調整增量,前述N為當前音量。 In an optional embodiment, the aforementioned first volume adjustment formula is: ΔV=(100/ N )* A 1; the aforementioned second volume adjustment formula is: ΔV=-( N /100)* A 2; wherein, ΔV Adjust the increment for the aforementioned volume, and the aforementioned N is the current volume.
不同的當前音量範圍可對應設置多個第一音量調節公式及第二音量調節公式,所屬技術領域中具有通常知識者可根據實際的使用者體驗情況對不同的當前音量範圍對應的第一音量調節公式中的A1及第二音量調節公式中的A2的值進行預設。亦即,當當前音量屬於不同範圍的音 量值時,A1、A2的數值可適應性的變大或變小,以避免一次音量調整結果超出使用者的實際調整預期的問題,從而提高使用者體驗。舉例而言,當前音量為電子設備總音量的20%(如20)時,A1可取值為2,則在當前音量20的基礎上向上調整10的增量得到調整後的音量30。當前音量為電子設備總音量的20%(如20)時,A2可取值為1,則在當前音量20的基礎上向下調整5的增量得到調整後的音量15。 Multiple first volume adjustment formulas and second volume adjustment formulas can be set corresponding to different current volume ranges, and those skilled in the art can adjust the first volume corresponding to different current volume ranges according to the actual user experience. The values of A1 in the formula and A2 in the second volume adjustment formula are preset. That is, when the current volume belongs to different ranges of volume values, the values of A1 and A2 can be adaptively increased or decreased, so as to avoid the problem that the result of one volume adjustment exceeds the user's actual adjustment expectation, thereby improving user experience . For example, when the current volume is 20% (such as 20) of the total volume of the electronic device, A1 can take a value of 2, then the current volume of 20 is adjusted upwards by an increment of 10 to obtain an adjusted volume of 30. When the current volume is 20% (such as 20) of the total volume of the electronic device, A2 can take a value of 1, then adjust the increment of 5 downwards on the basis of the current volume of 20 to obtain the adjusted volume of 15.
藉由使用本選擇性實施方式給出的第一音量調節公式以及第二音量調節公式,不同的當前音量對應不同的音量調整增量;進一步的,藉由對第一音量調節公式以及第二音量調節公式進行適當變型,例如:前述第一音量調節公式變型為:ΔV=(INT(100/N))*A1;第二音量調節公式具體為:ΔV=-(INT(100/N))*A2,可實現根據當前音量的不同音量範圍確定不同的音量調整增量。 By using the first volume adjustment formula and the second volume adjustment formula given in this optional embodiment, different current volumes correspond to different volume adjustment increments; further, by adjusting the first volume adjustment formula and the second volume The adjustment formula is appropriately modified, for example: the aforementioned first volume adjustment formula is modified as: ΔV=(INT(100/ N ))* A 1; the second volume adjustment formula is specifically: ΔV=-(INT(100/ N )) * A 2, can realize different volume adjustment increments determined according to different volume ranges of the current volume.
舉例而言,當前音量為30時,A1可取值為3,則在當前音量30的基礎上向上調整9的增量得到調整後的音量39。當前音量為16時,A2可取值為0.5,則在當前音量16的基礎上向下調整3的增量得到調整後的音量13。 For example, when the current volume is 30, A1 can take a value of 3, then the adjusted volume is 39 by increasing the increment of 9 based on the current volume of 30. When the current volume is 16, A2 can take a value of 0.5, and then adjust the increment of 3 downwards based on the current volume of 16 to obtain the adjusted volume of 13.
實施例二 Embodiment two
圖2係實施例二提供的一種音量調節的方法流程圖,如圖2所示,本實施例的方法可包含: Fig. 2 is a flow chart of a method for volume adjustment provided in Embodiment 2. As shown in Fig. 2, the method of this embodiment may include:
S210、檢測外界環境音的音量值。 S210. Detect the volume value of the external environment sound.
在本實施例中,電子設備處於工作狀態時,如果沒有獲取到使用者輸入的語音控制指令,可首先檢測外界環境音的音量值。 In this embodiment, when the electronic device is in the working state, if no voice control command input by the user is obtained, the volume value of the external environment sound may be detected first.
S220、當前述環境音的音量值小於第一預設閾值,或前述環境音的音量值大於第二預設閾值時,觸發生成前述通用音量調節指令。 S220. When the volume value of the aforementioned environmental sound is less than a first preset threshold, or the volume value of the aforementioned environmental sound is greater than a second preset threshold, trigger generation of the aforementioned general volume adjustment instruction.
其中,第一預設閾值可係針對較小環境音的音量值設定的閾值,例如20分貝。第二預設閾值可係針對較大環境音的音量值設定的閾值,例如60分貝。 Wherein, the first preset threshold may be a threshold set for a volume value of a relatively small ambient sound, for example, 20 decibels. The second preset threshold may be a threshold set for a louder ambient sound volume, for example, 60 decibels.
在本實施例中,前述通用音量調節指令可為系統控制指令;如果電子設備檢測到環境音的音量值小於第一預設閾值,可相應觸發生成通用音量調節指令(系統控制指令)。例如,當電子設備檢測到環境音的音量值小於第一預設閾值時,觸發生成「將音量調大」的系統控制指令,則電子設備根據當前音量以及觸發生成的系統控制指令對當前音量進行調節。當電子設備檢測到環境音的音量值大於第二預設閾值時,觸發生成「將音量調小」的系統控制指令,則電子設備根據當前音量以及觸發生成的系統控制指令對當前音量進行調節。 In this embodiment, the aforementioned general volume adjustment instruction may be a system control instruction; if the electronic device detects that the volume value of the ambient sound is less than the first preset threshold, it may trigger the generation of a general volume adjustment instruction (system control instruction). For example, when the electronic device detects that the volume value of the ambient sound is lower than the first preset threshold, it triggers the generation of a system control instruction "increase the volume", and the electronic device adjusts the current volume according to the current volume and the system control instruction generated by the trigger. adjust. When the electronic device detects that the volume value of the ambient sound is greater than the second preset threshold, it triggers the generation of a system control command "turn down the volume", and the electronic device adjusts the current volume according to the current volume and the system control command generated by the trigger.
S230、根據前述音量調節方向以及當前音量,確定音量調整增量。 S230. Determine a volume adjustment increment according to the aforementioned volume adjustment direction and the current volume.
S240、當前述當前音量根據前述音量調整增量進行調整得到的音量超過第三預設閾值時,向使用者發送音量預警提示。 S240. When the volume obtained by adjusting the current volume according to the volume adjustment increment exceeds a third preset threshold, send a volume warning prompt to the user.
其中,第三預設閾值係針對人耳對環境音舒適度匹配設計的音量值。例如,第三預設閾值可係設置的固定數值,如10分貝或80分貝,亦可為針對電子設備本身能夠提供的音量範圍設置的數值,如總音量的5%或80%。預警提示係向當前使用者提示當前音量已超人體耳朵舒適度上限或下限的標識語。例如,預警提示可係「當前音量過高,確定繼續調高音 量?」或「當前音量過低,確定繼續調低音量?」。 Wherein, the third preset threshold is a volume value designed to match the comfort of the human ear to the ambient sound. For example, the third preset threshold can be a set fixed value, such as 10 decibels or 80 decibels, or a value set for the volume range that the electronic device itself can provide, such as 5% or 80% of the total volume. The warning prompt is a logo that reminds the current user that the current volume has exceeded the upper or lower limit of human ear comfort. For example, the warning prompt can be "The current volume is too high, are you sure to continue to increase the volume?" or "The current volume is too low, are you sure to continue to turn down the volume?".
S250、如果接收到前述使用者回饋的確定調節指令,則使用前述音量調整增量,對前述當前音量進行調整。 S250. If the confirmation adjustment instruction fed back by the user is received, adjust the current volume by using the volume adjustment increment.
確定調節指令係當前使用者針對預警提示輸入的調節當前語音的指令,例如,確定調節指令可係使用者藉由語音輸入的「確定」,亦可係使用者藉由觸發電子設備的觸控式螢幕或硬體按鍵輸入的確定指令。當得到確定調節指令後,電子設備可使用音量調整增量對當前音量進行調整。使用者進一步可輸入取消調節指令以取消當前調節音量的操作。例如,取消調節指令可為使用者藉由語音輸入的「取消」,亦可為使用者藉由觸發電子設備的觸控式螢幕或硬體按鍵輸入的取消指令。當得到取消調節指令後,電子設備則取消當前調節音量的操作。 The confirmation adjustment instruction is the instruction to adjust the current voice input by the current user for the warning prompt. For example, the confirmation adjustment instruction can be the "OK" input by the user through voice, or it can be the touch button of the electronic device triggered by the user. Confirmation commands entered on the screen or hardware keys. After receiving the determined adjustment instruction, the electronic device can use the volume adjustment increment to adjust the current volume. The user can further input a cancel adjustment command to cancel the current volume adjustment operation. For example, the cancel adjustment command may be "cancel" input by the user through voice, or it may be a cancel command input by the user by triggering the touch screen or hardware buttons of the electronic device. After receiving the cancel adjustment instruction, the electronic device cancels the current volume adjustment operation.
本實施例藉由檢測外界環境音的音量值獲取通用音量調節指令,以及在當前音量根據音量調整增量進行調整得到的音量超過第三預設閾值時,向當前使用者發送音量預警提示;當得到確定調節指令後,使用音量調整增量對當前音量進行調整,能夠實現在使用者沒有輸入通用音量調節指令時,設備根據環境音以及當前音量進行自動調節,且在調整的音量超過人耳舒適度時向使用者發送預警提示,以提示使用者當前的音量調節操作可能引起耳部不適,使得音量調節更加智慧化、人性化,進而提升使用者體驗。 In this embodiment, the general volume adjustment command is obtained by detecting the volume value of the external environment sound, and when the current volume adjusted according to the volume adjustment increment exceeds the third preset threshold, a volume warning prompt is sent to the current user; After the adjustment instruction is determined, the current volume is adjusted using the volume adjustment increment, which can realize that when the user does not input a general volume adjustment instruction, the device automatically adjusts according to the ambient sound and the current volume, and the adjusted volume exceeds the comfort of the human ear. It will send early warning prompts to the user to remind the user that the current volume adjustment operation may cause ear discomfort, making the volume adjustment more intelligent and humanized, thereby improving the user experience.
實施例三 Embodiment three
圖3係實施例三提供的一種音量調節裝置的示意圖,可執行本發明任意實施例所提供的音量調節方法,具備執行方法相應的功能模組及功效, 本實施例可適用於根據當前音量調節音量的情況。 Fig. 3 is a schematic diagram of a volume adjustment device provided in Embodiment 3, which can execute the volume adjustment method provided in any embodiment of the present invention, and has the corresponding functional modules and functions of the execution method. This embodiment can be applied to adjust the volume according to the current volume The volume situation.
前述裝置包含:指令識別模組310,設置為獲取通用音量調節指令,並根據前述通用音量調節指令識別音量調節方向;增量確定模組320,設置為根據前述音量調節方向以及當前音量,確定音量調整增量;以及音量調整模組330,設置為使用前述音量調整增量,對前述當前音量進行調整。 The aforementioned device includes: an
本實施例藉由獲取的通用音量調節指令識別音量調節方向;根據音量調節方向以及當前音量,確定音量調整增量並對當前音量進行調整,解決先前技術中,針對使用者的通用性的音量調整指令採用固定的調整增量調整當前音量所引起的使用者體驗不佳的問題,實現根據當前音量採用不同音量調整增量進行音量調節,使得音量調節更具針對性,有效避免一次音量調整結果超出使用者的實際調整預期的問題,從而提高使用者體驗。 In this embodiment, the volume adjustment direction is identified by the general volume adjustment command obtained; according to the volume adjustment direction and the current volume, the volume adjustment increment is determined and the current volume is adjusted, so as to solve the general volume adjustment for users in the prior art The command uses fixed adjustment increments to adjust the current volume to cause poor user experience, and realizes volume adjustment with different volume adjustment increments according to the current volume, making volume adjustment more targeted and effectively avoiding a volume adjustment result exceeding The actual adjustment of the user's expected problems, thereby improving the user experience.
選擇性地,前述增量確定模組320,進一步設置為根據前述音量調節方向以及當前音量,查詢增量調整對照表,確定前述音量調整增量;其中,在前述增量調整對照表中,不同的當前音量範圍,在不同的音量調節方向下,對應不同的音量調整增量。 Optionally, the aforementioned
選擇性地,前述增量確定模組320,進一步設置為獲取與前述音量調節方向匹配的音量調節公式;根據前述當前音量,以及前述音量調節公式,確定前述音量調整增量;其中,在與增大音量的音量調節方向 匹配的第一音量調節公式中,前述音量調整增量的數值大小與前述當前音量呈反比,在與減小音量的音量調節方向匹配的第二音量調節公式中,前述音量調整增量的數值大小與前述當前音量呈正比。 Optionally, the aforementioned
選擇性地,前述第一音量調節公式具體為:ΔV=(100/N)*A1;前述第二音量調節公式具體為:ΔV=-(N/100)*A2;其中,ΔV為前述音量調整增量,前述N為當前音量,A1、A2為預設常數。 Optionally, the aforementioned first volume adjustment formula is specifically: ΔV=(100/ N )* A1 ; the aforementioned second volume adjustment formula is specifically: ΔV=-( N /100)* A2 ; wherein, ΔV is the aforementioned Volume adjustment increment, the aforementioned N is the current volume, and A1 and A2 are preset constants.
選擇性地,前述通用音量調節指令為使用者輸入的語音控制指令。 Optionally, the aforementioned universal volume adjustment instruction is a voice control instruction input by the user.
選擇性地,前述通用音量調節指令為系統控制指令;前述裝置進一步包含:音量檢測模組340,設置為檢測外界環境音的音量值;當前述環境音的音量值小於第一預設閾值,或前述環境音的音量值大於第二預設閾值時,觸發生成前述通用音量調節指令。 Optionally, the aforementioned universal volume adjustment command is a system control command; the aforementioned device further includes: a volume detection module 340 configured to detect the volume value of the external environmental sound; when the volume value of the aforementioned environmental sound is less than the first preset threshold, or When the volume value of the aforementioned ambient sound is greater than the second preset threshold, the generation of the aforementioned general volume adjustment instruction is triggered.
選擇性地,前述裝置進一步包含,預警提示模組350,設置為當前述當前音量根據前述音量調整增量進行調整得到的音量超過第三預設閾值時,向使用者發送音量預警提示;如果接收到前述使用者回饋的確定調節指令,則使用前述音量調整增量,對前述當前音量進行調整。 Optionally, the aforementioned device further includes an early warning prompt module 350 configured to send a volume early warning prompt to the user when the volume obtained by adjusting the aforementioned current volume according to the aforementioned volume adjustment increment exceeds a third preset threshold; Upon receipt of the confirmation adjustment instruction fed back by the user, the aforementioned volume adjustment increment is used to adjust the aforementioned current volume.
上述音量調節裝置可執行本發明任意實施例所提供的音量調節方法,具備執行方法相應的功能模組及功效。未在本實施例中詳盡描述的技術細節,可參見本發明任意實施例提供的音量調節方法。 The above-mentioned volume adjustment device can execute the volume adjustment method provided by any embodiment of the present invention, and has corresponding functional modules and functions for executing the method. For technical details not exhaustively described in this embodiment, reference may be made to the volume adjustment method provided in any embodiment of the present invention.
實施例四 Embodiment four
圖4為實施例四提供的一種電子設備的結構示意圖。圖4示出適於用來實現本實施方式的電子設備412的框圖。圖4顯示的電子設備412僅為 一個示例,不應對本實施例的功能及使用範圍帶來任何限制。 Fig. 4 is a schematic structural diagram of an electronic device provided in Embodiment 4. FIG. 4 shows a block diagram of an
如圖4所示,電子設備412以通用電腦設備的形式表現。電子設備412的元件可包含但不限於:一個或多個處理器416,存儲裝置428,連接不同系統元件(包含存儲裝置428及處理器416)的匯流排418。 As shown in FIG. 4,
匯流排418表示幾類匯流排結構中的一種或多種,包含記憶體匯流排或記憶體控制器,週邊匯流排,圖形加速埠,處理器或使用多種匯流排結構中的任意匯流排結構的區域匯流排。舉例來說,此等體系結構包含但不限於工業標準架構(Industry Standard Architecture,ISA)匯流排,微通道架構(Micro Channel Architecture,MCA)匯流排,增強型ISA匯流排、影片電子標準協會(Video Electronics Standards Association,VESA)區域匯流排以及周邊組件互連(Peripheral Component Interconnect,PCI)匯流排。
電子設備412示例性地包含多種電腦系統可讀介質。此等介質可為任何能夠被電子設備412連接的可用介質,包含揮發性及非揮發性介質,可移動的及不可移動的介質。
存儲裝置428可包含揮發性記憶體形式的電腦系統可讀介質,例如隨機存取記憶體(Random Access Memory,RAM)430及/或高速緩衝記憶體432。電子設備412進一步可包含其它可移動/不可移動的、揮發性/非揮發性電腦系統存儲介質。僅作為舉例,存儲系統434可用於讀寫不可移動的、非揮發性磁介質(圖4未顯示,通常稱為「硬磁碟驅動器」)。儘管圖4中未示出,可提供用於對可移動非揮發性磁碟(例如「軟磁碟」)讀寫的磁碟機,以及對可移動非揮發性光碟(例如光碟-唯讀光碟(Compact Disc-Read Only Memory,CD-ROM)、數位視訊光碟-唯讀記憶體(Digital Video Disc-Read Only Memory,DVD-ROM)或其它光介質)讀寫的光碟驅動器。在此等情況下,每個驅動器可藉由一個或多個數據介質接口與匯流排418相連。存儲裝置428可包含至少一個程式產品,該程式產品具有一組(例如至少一個)程式模組,此等程式模組被配置以執行各實施例的功能。 The
具有一組(至少一個)程式模組426的程式436,可存儲在例如存儲裝置428中,如此的程式模組426包含作業系統、一個或多個應用程式、其它程式模組以及程式數據,此等示例中的每一個或某種組合中可能包含網路環境的實現。程式模組426通常執行本發明所描述的實施例中的功能及/或方法。 A
電子設備412亦可與一個或多個外部設備414(例如鍵盤、感測設備、攝影機、顯示器424等)通訊,進一步可與一個或多個使得使用者能與該電子設備412交互的設備通訊,及/或與使得該電子設備412能與一個或多個其它電腦設備進行通訊的任何設備(例如網卡,數據機等等)通訊。此通訊可藉由輸入/輸出(I/O)接口422進行。此外,電子設備412亦可藉由網路介面卡420與一個或多個網路(例如區域網路(Local Area Network,LAN),廣域網路Wide Area Network,WAN)及/或公共網路,例如網際網路)通訊。如圖所示,網路介面卡420藉由匯流排418與電子設備412的其它模組通訊。應當明白,儘管圖中未示出,可結合電子設備412使用其它硬體及/或軟體模組,包含但不限於:微代碼、裝置驅動程式、冗餘處理單元、外部磁碟驅動陣列、獨立磁碟冗餘陣列(Redundant Arrays of Independent Disks,RAID)系統、磁帶驅動器以及數據備份存儲系統等。 The
處理器416藉由運行存儲在存儲裝置428中的程式,從而執 行各種功能應用以及數據處理,例如實現上述實施例所提供的音量調節方法。 The
亦即:藉由獲取的通用音量調節指令識別音量調節方向;根據音量調節方向以及當前音量,確定音量調整增量並對當前音量進行調整,解決先前技術中,針對使用者的通用性的音量調整指令採用固定的調整增量調整當前音量所引起的使用者體驗不佳的問題,實現根據當前音量採用不同音量調整增量進行音量調節,使得音量調節更具針對性,有效避免一次音量調整結果超出使用者的實際調整預期的問題,從而提高使用者體驗。 That is: identify the volume adjustment direction by the obtained general volume adjustment command; determine the volume adjustment increment and adjust the current volume according to the volume adjustment direction and the current volume, so as to solve the general volume adjustment for users in the prior art The command uses fixed adjustment increments to adjust the current volume to cause poor user experience, and realizes volume adjustment with different volume adjustment increments according to the current volume, making volume adjustment more targeted and effectively avoiding a volume adjustment result exceeding The actual adjustment of the user's expected problems, thereby improving the user experience.
實施例五 Embodiment five
本實施例五進一步提供一種存儲電腦程式的電腦存儲介質,前述電腦程式在由電腦處理器執行時用於執行上述實施例任一前述的音量調節方法。 The fifth embodiment further provides a computer storage medium storing a computer program, the computer program is used to execute the volume adjustment method in any one of the above embodiments when executed by a computer processor.
亦即:藉由獲取的通用音量調節指令識別音量調節方向;根據音量調節方向以及當前音量,確定音量調整增量並對當前音量進行調整,解決先前技術中,針對使用者的通用性的音量調整指令採用固定的調整增量調整當前音量所引起的使用者體驗不佳的問題,實現根據當前音量採用不同音量調整增量進行音量調節,使得音量調節更具針對性,有效避免一次音量調整結果超出使用者的實際調整預期的問題,從而提高使用者體驗。 That is: identify the volume adjustment direction by the obtained general volume adjustment command; determine the volume adjustment increment and adjust the current volume according to the volume adjustment direction and the current volume, so as to solve the general volume adjustment for users in the prior art The command uses fixed adjustment increments to adjust the current volume to cause poor user experience, and realizes volume adjustment with different volume adjustment increments according to the current volume, making volume adjustment more targeted and effectively avoiding a volume adjustment result exceeding The actual adjustment of the user's expected problems, thereby improving the user experience.
本實施例的電腦存儲介質,可採用一個或多個電腦可讀的介質的任意組合。電腦可讀介質可為電腦可讀訊號介質或電腦可讀存儲介質。 電腦可讀存儲介質例如可為但不限於電、磁、光、電磁、紅外線、或半導體的系統、裝置或設備,或任意以上的組合。電腦可讀存儲介質的更具體的例子(非窮舉的列表)包含:具有一個或多個導線的電連接、可攜式電腦磁碟、硬碟、隨機存取記憶體(RAM)、唯讀記憶體(Read Only Memory,ROM)、可抹除可程式化唯讀記憶體((Erasable Programmable Read Only Memory,EPROM)、快閃記憶體、光纖、可攜式光碟唯讀記憶體(CD-ROM)、光存儲裝置、磁存儲裝置、或上述的任意合適的組合。在本說明書中,電腦可讀存儲介質可為任何包含或存儲程式的有形介質,該程式可被指令執行系統、裝置或設備使用或與其結合使用。 The computer storage medium in this embodiment may use any combination of one or more computer-readable media. The computer readable medium can be a computer readable signal medium or a computer readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples (non-exhaustive list) of computer-readable storage media include: electrical connection with one or more conductors, portable computer disk, hard disk, random access memory (RAM), read-only Memory (Read Only Memory, ROM), Erasable Programmable Read Only Memory (Erasable Programmable Read Only Memory, EPROM), flash memory, optical fiber, portable CD-ROM (CD-ROM ), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this specification, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be instructed to execute a system, device, or device use or in conjunction with it.
電腦可讀的訊號介質可包含在基頻帶中或作為載波一部分傳播的數據訊號,其中承載電腦可讀的程式碼。此傳播的數據訊號可採用多種形式,包含但不限於電磁訊號、光訊號或上述的任意合適的組合。電腦可讀的訊號介質進一步可為電腦可讀存儲介質以外的任何電腦可讀介質,該電腦可讀介質可發送、傳播或傳輸用於由指令執行系統、裝置、設備使用或與其結合使用的程式。 A computer readable signal medium may comprise a data signal carrying computer readable program code in baseband or as part of a carrier wave traveling in a data signal. The propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may further be any computer-readable medium, other than a computer-readable storage medium, that can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device .
電腦可讀介質上包含的程式碼可用任何適當的介質傳輸,包含但不限於無線、電線、光纜、射頻(Radio Frequency,RF)等等,或上述的任意合適的組合。 Code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to wireless, wires, optical cables, radio frequency (RF), etc., or any suitable combination of the foregoing.
可以一種或多種程式設計語言或其組合來編寫用於執行本發明操作的電腦程式代碼,前述程式設計語言包含面向對象的程式設計語言-諸如Java、Smalltalk、C++,進一步包含常規的程序式程式設計語言,諸如「C」語言或類似的程式設計語言。程式碼可完全地在使用者電腦上執 行、部分地在使用者電腦上執行、作為一個獨立的套裝軟體執行、部分在使用者電腦上部分在遠端電腦上執行、或完全在遠端電腦或伺服器上執行。在關於遠端電腦的情形中,遠端電腦可藉由任意種類的網路,包含區域網路(LAN)或廣域網路(WAN)-連接到使用者電腦,抑或,可連接到外部電腦(例如利用網際網路服務提供商來通過網際網路連接)。 Computer program code for carrying out the operations of the present invention may be written in one or more programming languages, or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, further including conventional procedural programming A language, such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or executed on the server. In the case of a remote computer, the remote computer can be connected to the user computer via any kind of network, including a local area network (LAN) or a wide area network (WAN), or alternatively, can be connected to an external computer such as use an Internet service provider to connect via the Internet).
本發明提供的音量調節方法,解決先前技術中針對使用者的通用性的音量調整指令採用固定的調整增量調整當前音量所引起的使用者體驗不佳的問題,實現根據當前音量採用不同音量調整增量進行音量調節,使得音量調節更具針對性,有效避免一次音量調整結果超出使用者的實際調整預期的問題,從而提高使用者體驗。 The volume adjustment method provided by the present invention solves the problem of poor user experience caused by using a fixed adjustment increment to adjust the current volume for the universal volume adjustment command aimed at the user in the prior art, and realizes the use of different volume adjustments according to the current volume Incremental volume adjustment makes the volume adjustment more targeted, effectively avoiding the problem that the result of one volume adjustment exceeds the user's actual adjustment expectation, thereby improving the user experience.
Claims (9)
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810327145.0A CN108509177A (en) | 2018-04-12 | 2018-04-12 | A kind of volume adjusting method, device, electronic equipment and storage medium |
??201810327145.0 | 2018-04-12 | ||
CN201810327145.0 | 2018-04-12 |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201944251A TW201944251A (en) | 2019-11-16 |
TWI790236B true TWI790236B (en) | 2023-01-21 |
Family
ID=63381963
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW107117810A TWI790236B (en) | 2018-04-12 | 2018-05-24 | Volume adjustment method, device, electronic device and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108509177A (en) |
TW (1) | TWI790236B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110134361B (en) * | 2019-05-06 | 2022-08-19 | 上海幻电信息科技有限公司 | Volume adjusting method of device, computer device and computer-readable storage medium |
CN110459215B (en) * | 2019-08-12 | 2024-05-14 | 腾讯科技(深圳)有限公司 | Voice control method, device, computer equipment and computer readable storage medium |
CN113727240B (en) | 2020-05-26 | 2024-06-14 | 南宁富联富桂精密工业有限公司 | Sound playing adjusting method and portable device |
CN111654783B (en) * | 2020-06-10 | 2021-11-16 | 珠海格力电器股份有限公司 | Method and device for adjusting volume of loudspeaker of kitchen electrical equipment and range hood |
CN114185510B (en) * | 2021-11-02 | 2023-10-20 | 深圳市冠旭电子股份有限公司 | Sound box volume adjusting method and system, sound equipment and storage medium |
CN114153418A (en) * | 2021-11-04 | 2022-03-08 | 北京小米移动软件有限公司 | Volume adjusting method and device, electronic equipment and storage medium |
CN115291781B (en) * | 2022-07-01 | 2023-05-26 | 厦门立林科技有限公司 | Parameter adjusting method, device and system of equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200506709A (en) * | 2003-08-08 | 2005-02-16 | Mitac Technology Corp | Fast voice control device for computer device and method thereof |
CN104169837A (en) * | 2012-02-17 | 2014-11-26 | Lg电子株式会社 | Method and apparatus for smart voice recognition |
CN106250474A (en) * | 2016-07-29 | 2016-12-21 | Tcl集团股份有限公司 | A kind of voice-operated processing method and system |
TW201716929A (en) * | 2015-11-05 | 2017-05-16 | 宏碁股份有限公司 | Voice control method and voice control system |
CN107888782A (en) * | 2017-12-25 | 2018-04-06 | 出门问问信息科技有限公司 | A kind of control method and device of volume |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0210906A (en) * | 1988-06-28 | 1990-01-16 | Nec Corp | Sound volume adjusting device |
JPH03289743A (en) * | 1990-04-05 | 1991-12-19 | Nec Shizuoka Ltd | Telephone set |
CN106406569A (en) * | 2016-09-05 | 2017-02-15 | 乐视控股(北京)有限公司 | Audiovisual effect adjustment method and apparatus for terminal device |
CN106453789B (en) * | 2016-09-18 | 2020-06-30 | 珠海格力电器股份有限公司 | Alarm clock volume adjusting method and device and intelligent terminal |
CN107135316B (en) * | 2017-06-30 | 2019-12-10 | Oppo广东移动通信有限公司 | method and device for adjusting call volume, storage medium and terminal |
CN107613146B (en) * | 2017-11-10 | 2020-07-28 | 维沃移动通信有限公司 | Volume adjustment method and device and mobile terminal |
-
2018
- 2018-04-12 CN CN201810327145.0A patent/CN108509177A/en active Pending
- 2018-05-24 TW TW107117810A patent/TWI790236B/en active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200506709A (en) * | 2003-08-08 | 2005-02-16 | Mitac Technology Corp | Fast voice control device for computer device and method thereof |
CN104169837A (en) * | 2012-02-17 | 2014-11-26 | Lg电子株式会社 | Method and apparatus for smart voice recognition |
TW201716929A (en) * | 2015-11-05 | 2017-05-16 | 宏碁股份有限公司 | Voice control method and voice control system |
CN106250474A (en) * | 2016-07-29 | 2016-12-21 | Tcl集团股份有限公司 | A kind of voice-operated processing method and system |
CN107888782A (en) * | 2017-12-25 | 2018-04-06 | 出门问问信息科技有限公司 | A kind of control method and device of volume |
Also Published As
Publication number | Publication date |
---|---|
CN108509177A (en) | 2018-09-07 |
TW201944251A (en) | 2019-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI790236B (en) | Volume adjustment method, device, electronic device and storage medium | |
EP3631792B1 (en) | Dynamic text-to-speech response from a smart speaker | |
US10455339B2 (en) | Always-on detection systems | |
US20200310751A1 (en) | System and method of managing device sound level | |
JP6713035B2 (en) | Far-field voice function implementation method, equipment, system, storage medium, and program | |
US9953643B2 (en) | Selective transmission of voice data | |
US11251763B2 (en) | Audio signal adjustment method, storage medium, and terminal | |
CN106847298B (en) | Pickup method and device based on diffuse type voice interaction | |
US10255030B2 (en) | Systems and methods for handling application notifications | |
US11437021B2 (en) | Processing audio signals | |
CN106791067B (en) | Call volume adjusting method and device and mobile terminal | |
CN111433737B (en) | Electronic device and control method thereof | |
GB2534274A (en) | Gaze triggered voice recognition | |
TWI696170B (en) | System, method and storage device for capturing voice data from user | |
CN103634717B (en) | A kind of method, device and the terminal device of the control of utilization earphone | |
CN107613146B (en) | Volume adjustment method and device and mobile terminal | |
CN109101517B (en) | Information processing method, information processing apparatus, and medium | |
US20160050304A1 (en) | Mobile terminal and method for controlling answer mode of the mobile terminal and non-transitory computer-readable storage medium | |
CN109756818B (en) | Dual-microphone noise reduction method and device, storage medium and electronic equipment | |
US20180364798A1 (en) | Interactive sessions | |
CN112230877A (en) | Voice operation method and device, storage medium and electronic equipment | |
CN111580774B (en) | Sound effect adjusting method, device, equipment and storage medium | |
WO2017032031A1 (en) | Volume adjustment method and user terminal | |
WO2021103252A1 (en) | Method for reducing standby power consumption of television, television, and storage medium | |
WO2022068694A1 (en) | Electronic device and wake-up method thereof |