WO2020182130A1 - 一种音量调节方法、智能电视及存储介质 - Google Patents

一种音量调节方法、智能电视及存储介质 Download PDF

Info

Publication number
WO2020182130A1
WO2020182130A1 PCT/CN2020/078684 CN2020078684W WO2020182130A1 WO 2020182130 A1 WO2020182130 A1 WO 2020182130A1 CN 2020078684 W CN2020078684 W CN 2020078684W WO 2020182130 A1 WO2020182130 A1 WO 2020182130A1
Authority
WO
WIPO (PCT)
Prior art keywords
volume
volume adjustment
repetitions
key
adjustment method
Prior art date
Application number
PCT/CN2020/078684
Other languages
English (en)
French (fr)
Inventor
高允沛
Original Assignee
深圳Tcl新技术有限公司
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 深圳Tcl新技术有限公司 filed Critical 深圳Tcl新技术有限公司
Publication of WO2020182130A1 publication Critical patent/WO2020182130A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/60Receiver circuitry for the reception of television signals according to analogue transmission standards for the sound signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/60Receiver circuitry for the reception of television signals according to analogue transmission standards for the sound signals
    • H04N5/602Receiver circuitry for the reception of television signals according to analogue transmission standards for the sound signals for digital sound signals

Definitions

  • the PCT patent application requires that the filing date is March 11, 2019, and the application number is 201910179450.4 Chinese patent priority.
  • This patent application combines the technical solutions of the above patents.
  • the present disclosure relates to the technical field of volume adjustment, and in particular to a volume adjustment method, a smart TV, and a storage medium.
  • the existing Android smart TV devices generally adjust the volume of the TV through the remote control.
  • the volume can be increased or decreased by one level each time the button is pressed. Long press the button to adjust (adjust the volume greatly) Repeat the adjustment one level each time. Because the volume level on the TV is usually more (usually 100 levels), when the user wants to adjust the volume value span is relatively large, this process will take a long time, in some cases this time is too long The operation will bring inconvenience to users.
  • the main purpose of the present disclosure is to provide a volume adjustment method, a smart TV, and a storage medium, so as to solve the problems that the existing TV cannot adjust the sound quickly, the user has a long operation time, and is inconvenient.
  • the present disclosure provides a volume adjustment method, which includes the following steps:
  • the receiving the volume key long press event before starting to count the number of repetitions, it includes:
  • the number of repetitions is equal to the number of steps corresponding to the volume adjustment step.
  • the method further includes:
  • the volume adjustment step is controlled to maintain the initial value.
  • starting to count the number of repetitions includes:
  • the key-press duration is obtained according to the number of repetitions, and the key-press duration has a linear relationship with the number of repetitions.
  • the architecture layer counts the number of repetitions during the long-press operation of the volume key, and performs segmented logic optimization on the volume adjustment operation of the long-press volume key.
  • selecting a corresponding volume adjustment step size according to the number of repetitions includes:
  • volume adjustment steps are selected according to the current number of repetitions.
  • the modifying the set volume according to the volume adjustment step, and controlling the display and refresh of the volume bar on the interface includes:
  • the currently changing volume bar is displayed on the display interface and refreshed in real time after the volume changes.
  • the nonlinear acceleration adjusting the volume includes increasing the volume and decreasing the volume.
  • the volume setting method in the audio service is called to modify the setting volume by using different adjustment steps at different stages by directly mediating the volume event according to the number of repetitions, and the audio service notifies the system user interface to display and refresh the volume bar.
  • the volume adjustment method further includes:
  • volume adjustment it is judged whether the volume adjustment is out of bounds. When it is greater than the maximum volume value, the volume is directly set to the maximum volume value; when it is less than the minimum volume value, the volume is directly set to the minimum volume value.
  • the preset value is 10 times.
  • the present disclosure also provides a smart TV, wherein the smart TV includes: a memory, a processor, and a volume adjustment program stored in the memory and running on the processor, so When the volume adjustment program is executed by the processor, the steps of the volume adjustment method described above are implemented.
  • the present disclosure also provides a storage medium, wherein the storage medium stores a volume adjustment program, and the volume adjustment program is executed by a processor to implement the steps of the volume adjustment method described above.
  • the present disclosure discloses a volume adjustment method, which starts to count the number of repetitions after receiving a long press event of the volume key; when the number of repetitions is greater than a preset value, a corresponding volume adjustment step is selected according to the number of repetitions; Modify the set volume according to the volume adjustment step, and control the display and refresh of the volume bar on the interface.
  • This achieves a nonlinear acceleration effect on the volume adjustment speed, shortens the operation time of the volume adjustment without affecting the accuracy of the user's operation, and facilitates the user to quickly adjust the volume; the user does not need to keep pressing the button to adjust the volume to satisfy
  • the user is simple to use, and the TV audio adjustment is very intelligent.
  • Figure 1 is a flowchart of a preferred embodiment of the volume adjustment method of the present disclosure
  • step S10 is a flowchart of step S10 in a preferred embodiment of the volume adjustment method of the present disclosure
  • step S20 is a flowchart of step S20 in a preferred embodiment of the volume adjustment method of the present disclosure
  • step S30 is a flowchart of step S30 in a preferred embodiment of the volume adjustment method of the present disclosure
  • FIG. 5 is a schematic diagram of a volume adjustment curve in a preferred embodiment of the volume adjustment method of the present disclosure
  • FIG. 6 is a schematic diagram of the operating environment of the preferred embodiment of the disclosed smart TV.
  • the volume adjustment method includes the following steps:
  • Step S10 After receiving the volume key long press event, start counting the number of repetitions.
  • FIG. 2 is a flowchart of step S10 in the volume adjustment method provided by this disclosure.
  • the step S10 includes:
  • step S10 further includes: preset the relationship between different repetition times corresponding to different volume adjustment step lengths, for example, 5 repetition times corresponds to a volume adjustment step size of 5, and 10 repetition times corresponds to a volume adjustment step size of Level 10, etc., there is no limitation here, just set the corresponding relationship in advance.
  • the Android Phone Window Manager Service when the Android Phone Window Manager Service receives a long press event of the volume key, it starts to count the repeat Count (the number of repetitions). The larger the number of the repeat Count, the longer the pressing time.
  • Window Manager Service is an important system service in Android Framework (Framework is a language development software that provides a framework for software development, making development more engineering, simple and stable). , Used to manage the behavior of windows in the system. Window is an abstract concept. It is a rectangular area that is used to draw the UI interface and respond to user input events. From the perspective of the Framework layer, the interface of the Android system is composed of windows one by one.
  • the present disclosure uses the repeat Count of the framework layer volume key long-press button operation on Android TV, and optimizes the volume adjustment operation of the long-press volume key to achieve a nonlinear acceleration of the volume adjustment speed. effect.
  • Step S20 When the number of repetitions is greater than a preset value, a corresponding volume adjustment step size is selected according to the number of repetitions.
  • FIG. 3 is a flowchart of step S20 in the volume adjustment method provided by this disclosure.
  • the step S20 includes:
  • the volume adjustment step length is controlled to maintain the initial value to ensure that the user's precise operation is not Affected.
  • Step S30 According to the volume, a preset value for judging whether the volume needs to be adjusted in advance needs to be preset.
  • the preset value is preferably 10 times, because the volume level on the TV is usually 100. It is more reasonable to select 10 times with a lower number of stages as the default value, of course, other values can also be used.
  • Adjust the step length to modify the set volume and control the display and refresh of the volume bar on the interface.
  • FIG. 4 is a flowchart of step S30 in the volume adjustment method provided by the present disclosure.
  • the step S30 includes:
  • the non-linear acceleration adjustment volume includes increasing the volume and decreasing the volume, that is to say, whether it is a long press of the button (the volume adjustment button on the remote control) to increase the volume or decrease the volume can be achieved in this way , That is, whether you increase or decrease the volume, you can shorten the volume adjustment time by selecting the appropriate volume adjustment step.
  • the volume adjustment it is judged whether the volume adjustment is out of bounds.
  • the volume is directly set to the maximum volume value; when it is less than the minimum volume value, the volume is directly set to the minimum volume value.
  • oldIndex+adjustStep adjusted volume
  • the minimum volume value 0
  • the present disclosure realizes the non-linear acceleration effect when the volume key is long-pressed to adjust the volume.
  • the original volume adjustment logic is maintained when the key is pressed for a short time, and the step length of the volume adjustment is gradually increased with the increase of the key press time, so as to shorten the operation time. Improve the effect of user operations.
  • the repeat interval of the remote control button is 100ms
  • the present disclosure optimizes the volume adjustment operation of the long-press volume key by segmenting logic by using the repeat Count of the Framework layer volume key long-press button operation on Android TV to achieve a nonlinear acceleration effect on the volume adjustment speed, thereby It optimizes the operation time without affecting the accuracy of user operation, and improves the effect of user experience.
  • the present disclosure also provides a smart TV correspondingly.
  • the smart TV includes a processor 10, a memory 20 and a display 30.
  • FIG. 6 only shows part of the components of the smart TV, but it should be understood that it is not required to implement all of the shown components, and more or fewer components may be implemented instead.
  • the memory 20 may be an internal storage unit of the smart TV, such as a hard disk or memory of the smart TV.
  • the memory 20 may also be an external storage device of the smart TV, for example, a plug-in hard disk equipped on the smart TV, a smart media card (SMC), and a secure digital (Secure Digital). Digital, SD) card, flash card (Flash Card), etc.
  • the memory 20 may also include both an internal storage unit of the smart TV and an external storage device.
  • the memory 20 is used to store application software and various data installed on the smart TV, such as program code for the smart TV installed.
  • the memory 20 can also be used to temporarily store data that has been output or will be output.
  • a volume adjustment program 40 is stored in the memory 20, and the volume adjustment program 40 can be executed by the processor 10, thereby implementing the volume adjustment method in the present application.
  • the processor 10 may be a central processing unit (CPU), a microprocessor or other data processing chip, which is used to run the program code or process data stored in the memory 20, for example Perform the volume adjustment method and so on.
  • CPU central processing unit
  • microprocessor or other data processing chip, which is used to run the program code or process data stored in the memory 20, for example Perform the volume adjustment method and so on.
  • the display 30 may be an LED display, a liquid crystal display, a touch liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc.
  • the display 30 is used for displaying information on the smart TV and for displaying a visualized user interface.
  • the components 10-30 of the smart TV communicate with each other through a system bus.
  • the number of repetitions is equal to the number of steps corresponding to the volume adjustment step.
  • the method further includes:
  • the volume adjustment step is controlled to maintain the initial value.
  • starting to count the number of repetitions includes:
  • the architecture layer counts the number of repetitions when the volume key is pressed for a long time, and optimizes the volume adjustment operation of the volume key for a long press.
  • selecting a corresponding volume adjustment step size according to the number of repetitions includes:
  • volume adjustment steps are selected according to the current number of repetitions. The greater the number of repetitions, the larger the volume adjustment step.
  • the modifying the set volume according to the volume adjustment step, and controlling the display and refresh of the volume bar on the interface includes:
  • the currently changing volume bar is displayed on the display interface and refreshed in real time after the volume changes;
  • the nonlinear acceleration adjustment of the volume includes turning up the volume and turning down the volume.
  • the volume adjustment method further includes:
  • volume adjustment it is judged whether the volume adjustment is out of bounds. When it is greater than the maximum volume value, the volume is directly set to the maximum volume value; when it is less than the minimum volume value, the volume is directly set to the minimum volume value.
  • the preset value is 10 times.
  • the present disclosure also provides a storage medium, wherein the storage medium stores a volume adjustment program, and when the volume adjustment program is executed by a processor, the steps of the volume adjustment method described above are realized.
  • the present disclosure provides a volume adjustment method, a smart TV, and a storage medium.
  • the method includes: after receiving a volume key long press event, starting to count the number of repetitions; when the number of repetitions is greater than a preset value Select the corresponding volume adjustment step size according to the number of repetitions; modify the set volume according to the volume adjustment step size, and control the display and refresh of the volume bar on the interface.
  • the present disclosure adjusts the volume by long pressing the button, selects an appropriate volume adjustment step to accelerate the volume adjustment, and realizes the non-linear acceleration effect on the volume adjustment speed, thereby shortening the volume adjustment without affecting the accuracy of the user's operation.
  • the operating time is convenient for users to quickly adjust the volume.
  • the processes in the methods of the foregoing embodiments can be implemented by instructing relevant hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer program.
  • the program may include the processes of the foregoing method embodiments when executed.
  • the storage medium mentioned may be a memory, a magnetic disk, an optical disk, and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Television Receiver Circuits (AREA)

Abstract

本申请公开了一种音量调节方法、智能电视及存储介质,所述方法包括:接收音量键长按事件后,开始对重复次数进行计数;当所述重复次数大于预设值时,根据所述重复次数选择对应的音量调节步长;根据所述音量调节步长修改设置音量,并控制界面上音量条的显示和刷新。本公开在通过按键长按来调节音量事,选择合适的音量调节步长来加速调节音量,实现了对音量调节速度的非线性加速效果,从而在不影响用户操作精准性的同时缩短音量调节的操作时间,方便用户对音量的快速调节。

Description

一种音量调节方法、智能电视及存储介质 技术领域
所述PCT专利申请要求申请日为2019年03月11日,申请号为201910179450.4的中国专利优先权,本专利申请结合了上述专利的技术方案。本公开涉及音量调节技术领域,尤其涉及一种音量调节方法、智能电视及存储介质。
背景技术
现有Android智能电视设备一般是通过遥控器来调节电视的音量,在使用遥控器调节音量时每次按键可以将音量增大或减小一级,长按按键调节(大幅度调节音量)则是每次重复调节一级。由于电视机上的音量级数通常较多(通常都是100级),所以当用户希望调节的音量值跨度比较大时,这个过程的耗时就会比较长,某些场合下这个耗时过长的操作会给用户的使用带来不便。
也就是说,往往用户在长按音量键调节操作时是希望做快速的大幅度调节的,然而现有电视设备上对长按按键时的音量调节操作未作特别的处理,用户的操作耗时是随需要调节的音量值跨度线性增加的,所以现有技术在做此类操作时存在耗时过长,用户调节不方便的问题。
因此,现有技术还有待于改进和发展。
发明内容
本公开的主要目的在于提供一种音量调节方法、智能电视及存储介质,旨在解决现有的电视声音调整时无法快速调节声音、用户操作时间长、不方便的问题。
为实现上述目的,本公开提供一种音量调节方法,所述音量调节方法包括如下步骤:
接收音量键长按事件后,开始对重复次数进行计数;
当所述重复次数大于预设值时,根据所述重复次数选择对应的音量调节步长;
根据所述音量调节步长修改设置音量,并控制界面上音量条的显示和刷新。
可选地,所述接收音量键长按事件后,开始对重复次数进行计数之前包括:
预先设置不同重复次数对应不同音量调节步长的关系。
可选地,重复次数与对应音量调节步长的级数相等。可选地,所述接收音量 键长按事件后,开始对重复次数进行计数之后还包括:
当所述重复次数小于等于预设值时,则控制音量调节步长维持初始值不变。
可选地,所述接收音量键长按事件后,开始对重复次数进行计数包括:
调用系统服务接收音量键长按事件;
接收音量键长按事件后,开启计数器对重复次数进行计数;
根据所述重复次数得到按键时长,且所述按键时长与所述重复次数呈线性关系。
可选地,通过架构层对音量键长按按键操作时进行重复次数计数,对长按音量键的音量调节操作进行分段逻辑优化。
可选地,所述当所述重复次数大于预设值时,根据所述重复次数选择对应的音量调节步长包括:
预先设置一用于判断是否需要加速调节音量的预设值;
当判断出所述重复次数大于所述预设值时,调取预先设置的不同重复次数对应不同音量调节步长的关系信息;
根据当前重复次数,在对应关系中选择当前重复次数对应的音量调节步长。
可选地,当直接调解音量事件时根据用当前的重复次数选择不同的音量调节步长,重复次数越大,音量调节步长越大。
可选地,所述根据所述音量调节步长修改设置音量,并控制界面上音量条的显示和刷新包括:
根据所述音量调节步长非线性加速调节音量,并根据按键时长的增加逐步增大音量调节步长;
在音量调节的过程中,在显示界面上显示当前变化的音量条并在音量变化后实时进行刷新。
可选地,所述非线性加速调节音量包括调大音量和调小音量。
可选地,通过直接调解音量事件依据重复次数在不同阶段使用不同的调整步骤调用音频服务中的设置音量方法修改设置音量,同时音频服务通知系统用户界面进行音量条的显示和刷新。
可选地,所述音量调节方法还包括:
在音量调节过程中判断音量调节是否越界,当大于最大音量值时,则直接将 音量设置为最大音量值;当小于最小音量值时,则直接将音量设置为最小音量值。
可选地,所述预设值为10次。
此外,为实现上述目的,本公开还提供一种智能电视,其中,所述智能电视包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的音量调节程序,所述音量调节程序被所述处理器执行时实现如上所述的音量调节方法的步骤。
此外,为实现上述目的,本公开还提供一种存储介质,其中,所述存储介质存储有音量调节程序,所述音量调节程序被处理器执行时实现如上所述的音量调节方法的步骤。
本公开公开了一种音量调节方法,通过接收音量键长按事件后,开始对重复次数进行计数;当所述重复次数大于预设值时,根据所述重复次数选择对应的音量调节步长;根据所述音量调节步长修改设置音量,并控制界面上音量条的显示和刷新。从而实现了对音量调节速度的非线性加速效果,在不影响用户操作精准性的同时缩短音量调节的操作时间,方便用户对音量的快速调节;用户也不需要一直通过按键长按调整音量,满足了用户的便捷性要求,用户使用简单,电视音频调节非常智能。
附图说明
图1是本公开音量调节方法的较佳实施例的流程图;
图2是本公开音量调节方法的较佳实施例中步骤S10的流程图;
图3是本公开音量调节方法的较佳实施例中步骤S20的流程图;
图4是本公开音量调节方法的较佳实施例中步骤S30的流程图;
图5是本公开音量调节方法的较佳实施例中音量调节曲线示意图;
图6为本公开智能电视的较佳实施例的运行环境示意图。
具体实施方式
为使本公开的目的、技术方案及优点更加清楚、明确,以下参照附图并举实施例对本公开进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本公开,并不用于限定本公开。
本公开较佳实施例所述的音量调节方法,如图1所示,所述音量调节方法包 括以下步骤:
步骤S10、接收音量键长按事件后,开始对重复次数进行计数。
具体的过程请参阅图2,其为本公开提供的音量调节方法中步骤S10的流程图。
如图2所示,所述步骤S10包括:
S11、调用系统服务接收音量键长按事件;
S12、接收音量键长按事件后,开启计数器对重复次数进行计数;
S13、根据所述重复次数得到按键时长,且所述按键时长与所述重复次数呈线性关系。
具体地,在所述步骤S10之前还包括:预先设置不同重复次数对应不同音量调节步长的关系,例如重复次数5次对应音量调节步长为5级、重复次数10次对应音量调节步长为10级等,此处不进行限定,预先设置对应关系即可。
例如,由Android Phone Window Manager Service中收到音量键长按事件时,开始做repeat Count(重复次数)的计数,repeat Count的数字越大,说明按键的时间越长。
其中,Window Manager Service(简称WMS)是Android Framework (Framework即架构,它是一个语言开发软件,提供了软件开发的框架,使开发更具工程性、简便性和稳定性)中一个重要的系统服务,用来管理系统中窗口(Window)的行为。Window是一个抽象的概念,它是一个矩形区域,用来绘制UI界面,响应用户的输入事件。Android系统的界面,从Framework层的角度来看,就是由一个一个窗口组合而成的。
也就是说,本公开在Android TV上利用Framework层音量键长按按键操作时的repeat Count计数,对长按音量键的音量调节操作进行了分段逻辑优化,实现对音量调节速度的非线性加速效果。
步骤S20、当所述重复次数大于预设值时,根据所述重复次数选择对应的音量调节步长。
具体的过程请参阅图3,其为本公开提供的音量调节方法中步骤S20的流程图。
如图3所示,所述步骤S20包括:
S21、预先设置一用于判断是否需要加速调节音量的预设值;
S22、当判断出所述重复次数大于所述预设值时,调取预先设置的不同重复次数对应不同音量调节步长的关系信息;
S23、根据当前重复次数,在对应关系中选择当前重复次数对应的音量调节步长。
例如,每次dispatch Direct Audio Event(直接调解音量事件)时利用当前的repeat Count选择不同的音量调节步长,repeat Count越大,音量调节步长也越大,也就更加能缩短音量的调节时间。
另外,当所述重复次数小于等于预设值(即repeat Count小于10次)时,相当于长按按键的初始阶段,则控制音量调节步长维持初始值不变,以保证用户的精准操作不受影响。
步骤S30、根据所述音量具体地,需要预先设置一用于判断是否需要加速调节音量的预设值,所述预设值优先为10次,因为电视机上的音量级数通常都是100级,选取级数较低的10次作为预设值较为合理,当然也可以是其他的值。
调节步长修改设置音量,并控制界面上音量条的显示和刷新。
具体过程请参阅图4,其为本公开提供的音量调节方法中步骤S30的流程图。
如图4所示,所述步骤S30包括:
S31、根据所述音量调节步长非线性加速调节音量,并根据按键时长的增加逐步增大音量调节步长;
S32、在音量调节的过程中,在显示界面上显示当前变化的音量条并在音量变化后实时进行刷新。
其中,所述非线性加速调节音量包括调大音量和调小音量,也就是说,无论是长按按键(遥控器上音量调节按键)调大音量还是调小音量都可以通过这种方式来实现,也就是不管是调大音量还是调小音量都可以通过选择合适的音量调节步长来缩短音量调节时间。
例如,通过dispatch Direct Audio Event依据repeat Count在不同阶段使用不同的adjust Step(调整步骤)调用Audio Service(音频服务)中的set Stream Volume(设置音量)方法修改设置音量,同时Audio Service通知System UI(系统用户界面)进行音量条的显示和刷新。
进一步地,在音量调节过程中判断音量调节是否越界,当大于最大音量值时,则直接将音量设置为最大音量值;当小于最小音量值时,则直接将音量设置为最小音量值。例如,音量调节过程中需要判断是否会越界,当oldIndex+adjustStep(调节后的音量)大于最大音量值100(假设最大音量值为100)时,直接设置为100,反之当oldIndex+adjustStep(调节后的音量)小于最小音量值0(假设最小音量值为0)时,直接设置为0。
本公开实现了长按音量键调节音量时的非线性加速效果,按键时间短时维持原有的音量调节逻辑,随着按键时间的增加逐步增大音量调节的步长,从而实现缩短操作时间,改善用户操作的效果。
例如,如图5所示,假设遥控器按键的repeat(重复)间隙时为100ms,则不使用本音量调节加速方法的情况下将音量从0调节到100需要10s;反之使用本公开的音量加速后,音量会按照图5中的曲线增大,从0到100只需要4s即可完成,大幅缩减了操作耗时,使得用户可以快速调节音量。
本公开通过在Android TV上利用Framework层音量键长按按键操作时的repeat Count计数,对长按音量键的音量调节操作进行了分段逻辑优化,实现对音量调节速度的非线性加速效果,从而在不影响用户操作精准性的同时达到优化操作时间,提高了用户体验的效果。
进一步地,如图6所示,基于上述音量调节方法,本公开还相应提供了一种智能电视,所述智能电视包括处理器10、存储器20及显示器30。图6仅示出了智能电视的部分组件,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。
所述存储器20在一些实施例中可以是所述智能电视的内部存储单元,例如智能电视的硬盘或内存。所述存储器20在另一些实施例中也可以是所述智能电视的外部存储设备,例如所述智能电视上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器20还可以既包括所述智能电视的内部存储单元也包括外部存储设备。所述存储器20用于存储安装于所述智能电视的应用软件及各类数据,例如所述安装智能电视的程序代码等。所述存储器20还可以用于暂时地存储已经输出或者将要输出的数据。在一实施例中,存储器20上存储有音量调节 程序40,该音量调节程序40可被处理器10所执行,从而实现本申请中音量调节方法。
所述处理器10在一些实施例中可以是一中央处理器(Central Processing Unit,CPU),微处理器或其他数据处理芯片,用于运行所述存储器20中存储的程序代码或处理数据,例如执行所述音量调节方法等。
所述显示器30在一些实施例中可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。所述显示器30用于显示在所述智能电视的信息以及用于显示可视化的用户界面。所述智能电视的部件10-30通过系统总线相互通信。
在一实施例中,当处理器10执行所述存储器20中音量调节程序40时实现以下步骤:
接收音量键长按事件后,开始对重复次数进行计数;
当所述重复次数大于预设值时,根据所述重复次数选择对应的音量调节步长;
根据所述音量调节步长修改设置音量,并控制界面上音量条的显示和刷新。
所述接收音量键长按事件后,开始对重复次数进行计数之前包括:
预先设置不同重复次数对应不同音量调节步长的关系。
重复次数与对应音量调节步长的级数相等。
所述接收音量键长按事件后,开始对重复次数进行计数之后还包括:
当所述重复次数小于等于预设值时,则控制音量调节步长维持初始值不变。
所述接收音量键长按事件后,开始对重复次数进行计数包括:
调用系统服务接收音量键长按事件;
接收音量键长按事件后,开启计数器对重复次数进行计数;
根据所述重复次数得到按键时长,且所述按键时长与所述重复次数呈线性关系。
通过架构层对音量键长按按键操作时进行重复次数计数,对长按音量键的音量调节操作进行分段逻辑优化。
所述当所述重复次数大于预设值时,根据所述重复次数选择对应的音量调节步长包括:
预先设置一用于判断是否需要加速调节音量的预设值;
当判断出所述重复次数大于所述预设值时,调取预先设置的不同重复次数对应不同音量调节步长的关系信息;
根据当前重复次数,在对应关系中选择当前重复次数对应的音量调节步长。
当直接调解音量事件时根据用当前的重复次数选择不同的音量调节步长,重复次数越大,音量调节步长越大。
所述根据所述音量调节步长修改设置音量,并控制界面上音量条的显示和刷新包括:
根据所述音量调节步长非线性加速调节音量,并根据按键时长的增加逐步增大音量调节步长;
在音量调节的过程中,在显示界面上显示当前变化的音量条并在音量变化后实时进行刷新;
所述非线性加速调节音量包括调大音量和调小音量。
通过直接调解音量事件依据重复次数在不同阶段使用不同的调整步骤调用音频服务中的设置音量方法修改设置音量,同时音频服务通知系统用户界面进行音量条的显示和刷新。
所述音量调节方法还包括:
在音量调节过程中判断音量调节是否越界,当大于最大音量值时,则直接将音量设置为最大音量值;当小于最小音量值时,则直接将音量设置为最小音量值。
其中,所述预设值为10次。
本公开还提供一种存储介质,其中,所述存储介质存储有音量调节程序,所述音量调节程序被处理器执行时实现如上所述的音量调节方法的步骤。
综上所述,本公开提供一种音量调节方法、智能电视及存储介质,所述方法包括:接收音量键长按事件后,开始对重复次数进行计数;当所述重复次数大于预设值时,根据所述重复次数选择对应的音量调节步长;根据所述音量调节步长修改设置音量,并控制界面上音量条的显示和刷新。本公开在通过按键长按来调节音量事,选择合适的音量调节步长来加速调节音量,实现了对音量调节速度的非线性加速效果,从而在不影响用户操作精准性的同时缩短音量调节的操作时间,方便用户对音量的快速调节。
当然,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流 程,是可以通过计算机程序来指令相关硬件(如处理器,控制器等)来完成,所述的程序可存储于一计算机可读取的存储介质中,所述程序在执行时可包括如上述各方法实施例的流程。其中所述的存储介质可为存储器、磁碟、光盘等。
应当理解的是,本公开的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本公开所附权利要求的保护范围。

Claims (15)

  1. 一种音量调节方法,其中,所述音量调节方法包括:
    接收音量键长按事件后,开始对重复次数进行计数;
    当所述重复次数大于预设值时,根据所述重复次数选择对应的音量调节步长;
    根据所述音量调节步长修改设置音量,并控制界面上音量条的显示和刷新。
  2. 根据权利要求1所述的音量调节方法,其中,所述接收音量键长按事件后,开始对重复次数进行计数之前包括:
    预先设置不同重复次数对应不同音量调节步长的关系。
  3. 根据权利要求2所述的音量调节方法,其中,重复次数与对应音量调节步长的级数相等。
  4. 根据权利要求1所述的音量调节方法,其中,所述接收音量键长按事件后,开始对重复次数进行计数之后还包括:
    当所述重复次数小于等于预设值时,则控制音量调节步长维持初始值不变。
  5. 根据权利要求1所述的音量调节方法,其中,所述接收音量键长按事件后,开始对重复次数进行计数包括:
    调用系统服务接收音量键长按事件;
    接收音量键长按事件后,开启计数器对重复次数进行计数;
    根据所述重复次数得到按键时长,且所述按键时长与所述重复次数呈线性关系。
  6. 根据权利要求5所述的音量调节方法,其中,通过架构层对音量键长按按键操作时进行重复次数计数,对长按音量键的音量调节操作进行分段逻辑优化。
  7. 根据权利要求2所述的音量调节方法,其中,所述当所述重复次数大于预设值时,根据所述重复次数选择对应的音量调节步长包括:
    预先设置一用于判断是否需要加速调节音量的预设值;
    当判断出所述重复次数大于所述预设值时,调取预先设置的不同重复次数对应不同音量调节步长的关系信息;
    根据当前重复次数,在对应关系中选择当前重复次数对应的音量调节步长。
  8. 根据权利要求7所述的音量调节方法,其中,当直接调解音量事件时根据用当前的重复次数选择不同的音量调节步长,重复次数越大,音量调节步长越大。
  9. 根据权利要求7所述的音量调节方法,其中,所述根据所述音量调节步长修改设置音量,并控制界面上音量条的显示和刷新包括:
    根据所述音量调节步长非线性加速调节音量,并根据按键时长的增加逐步增大音量调节步长;
    在音量调节的过程中,在显示界面上显示当前变化的音量条并在音量变化后实时进行刷新。
  10. 根据权利要求9所述的音量调节方法,其中,所述非线性加速调节音量包括调大音量和调小音量。
  11. 根据权利要求9所述的音量调节方法,其中,通过直接调解音量事件依据重复次数在不同阶段使用不同的调整步骤调用音频服务中的设置音量方法修改设置音量,同时音频服务通知系统用户界面进行音量条的显示和刷新。
  12. 根据权利要求1所述的音量调节方法,其中,所述音量调节方法还包括:
    在音量调节过程中判断音量调节是否越界,当大于最大音量值时,则直接将音量设置为最大音量值;当小于最小音量值时,则直接将音量设置为最小音量值。
  13. 根据权利要求1所述的音量调节方法,其中,所述预设值为10次。
  14. 一种智能电视,其中,所述智能电视包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的音量调节程序,所述音量调节程序被所述处理器执行时实现如权利要求1-13任一项所述的音量调节方法的步骤。
  15. 一种存储介质,其中,所述存储介质存储有音量调节程序,所述音量调节程序被处理器执行时实现如权利要求1-13任一项所述的音量调节方法的步骤。
PCT/CN2020/078684 2019-03-11 2020-03-11 一种音量调节方法、智能电视及存储介质 WO2020182130A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910179450.4A CN111683277A (zh) 2019-03-11 2019-03-11 一种音量调节方法、智能电视及存储介质
CN201910179450.4 2019-03-11

Publications (1)

Publication Number Publication Date
WO2020182130A1 true WO2020182130A1 (zh) 2020-09-17

Family

ID=72427780

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/078684 WO2020182130A1 (zh) 2019-03-11 2020-03-11 一种音量调节方法、智能电视及存储介质

Country Status (2)

Country Link
CN (1) CN111683277A (zh)
WO (1) WO2020182130A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022160910A1 (zh) * 2021-01-28 2022-08-04 青岛海信传媒网络技术有限公司 一种显示设备及音量显示方法

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112698806A (zh) * 2020-12-29 2021-04-23 维沃移动通信有限公司 参数调整方法、装置、电子设备和可读存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521770A (zh) * 2008-02-27 2009-09-02 深圳Tcl新技术有限公司 一种电视参数调整的方法及系统
JP2010124424A (ja) * 2008-11-21 2010-06-03 Pioneer Electronic Corp 音量制御装置及び音量制御方法等
CN103731617A (zh) * 2013-12-03 2014-04-16 乐视致新电子科技(天津)有限公司 智能电视中的音量调节方法及装置
CN105324937A (zh) * 2013-07-18 2016-02-10 哈曼国际工业有限公司 音量控制速率
CN107577446A (zh) * 2017-08-23 2018-01-12 瑞声科技(新加坡)有限公司 移动终端的控制方法及移动终端
CN108021252A (zh) * 2016-10-31 2018-05-11 北京小米移动软件有限公司 调节音量的方法及触控终端

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103596059A (zh) * 2013-11-21 2014-02-19 乐视致新电子科技(天津)有限公司 智能电视媒体播放器及其播放进度调整方法、智能电视
CN104678805A (zh) * 2015-01-27 2015-06-03 广东美的厨房电器制造有限公司 电器设备及其参数设置方法
CN105657173B (zh) * 2016-01-26 2019-06-21 北京小米移动软件有限公司 音量调节方法、装置及移动终端
CN109451166A (zh) * 2018-11-28 2019-03-08 联想(北京)有限公司 音量调节方法和装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521770A (zh) * 2008-02-27 2009-09-02 深圳Tcl新技术有限公司 一种电视参数调整的方法及系统
JP2010124424A (ja) * 2008-11-21 2010-06-03 Pioneer Electronic Corp 音量制御装置及び音量制御方法等
CN105324937A (zh) * 2013-07-18 2016-02-10 哈曼国际工业有限公司 音量控制速率
CN103731617A (zh) * 2013-12-03 2014-04-16 乐视致新电子科技(天津)有限公司 智能电视中的音量调节方法及装置
CN108021252A (zh) * 2016-10-31 2018-05-11 北京小米移动软件有限公司 调节音量的方法及触控终端
CN107577446A (zh) * 2017-08-23 2018-01-12 瑞声科技(新加坡)有限公司 移动终端的控制方法及移动终端

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022160910A1 (zh) * 2021-01-28 2022-08-04 青岛海信传媒网络技术有限公司 一种显示设备及音量显示方法

Also Published As

Publication number Publication date
CN111683277A (zh) 2020-09-18

Similar Documents

Publication Publication Date Title
US8649826B2 (en) Mobile device and control method thereof
JP2023529868A (ja) 共有方法、装置及び電子機器
RU2651207C2 (ru) Способ и аппарат для обработки пакета установки приложения
WO2020182130A1 (zh) 一种音量调节方法、智能电视及存储介质
WO2016183953A1 (zh) 图标设置方法及装置
US10419706B2 (en) Method and device for quickly starting a television function
WO2015161578A1 (zh) 一种窗口管理方法及装置
CN112383817B (zh) 音量调节方法及装置
CN113760080B (zh) 显示方法、装置及存储介质
EP4123983A1 (en) Video stream playing control method and apparatus, and storage medium
CN107682535B (zh) 基于智能手机平台远程控制计算机的方法
WO2019201137A1 (zh) 退出分屏的处理方法、存储介质及电子设备
US20240095049A1 (en) Control Method, Electronic Device, and Non-Transitory Readable Storage Medium
US20160266726A1 (en) Display Control Method And Device
US20230350627A1 (en) Display device and control method for same
CN104345880A (zh) 一种信息处理的方法及电子设备
CN108073610B (zh) 实现网页页面加载的方法及装置
WO2023160240A1 (zh) 投屏控制方法、装置、电子设备和计算机可读存储介质
WO2023109404A1 (zh) 终端的显示方法以及终端的显示装置
WO2020029527A1 (zh) 显示界面切换方法、装置及电子设备
TWI564753B (zh) 終端設備及其遙控方法
EP3890336A1 (en) Method and device for loading electronic program guide, and non-transitory computer-readable storage medium
CN114020376A (zh) 一种处理方法及设备
CN113655984A (zh) 音频播放控制方法、音频播放控制装置及计算机存储介质
CN112199069A (zh) 基于Andriod的多应用运行时的音频控制方法及可读介质

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: 20770172

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: 20770172

Country of ref document: EP

Kind code of ref document: A1