Movatterモバイル変換


[0]ホーム

URL:


CN109032468B - Method and terminal for adjusting equipment parameters - Google Patents

Method and terminal for adjusting equipment parameters
Download PDF

Info

Publication number
CN109032468B
CN109032468BCN201810739341.9ACN201810739341ACN109032468BCN 109032468 BCN109032468 BCN 109032468BCN 201810739341 ACN201810739341 ACN 201810739341ACN 109032468 BCN109032468 BCN 109032468B
Authority
CN
China
Prior art keywords
sliding
control
area
sliding control
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810739341.9A
Other languages
Chinese (zh)
Other versions
CN109032468A (en
Inventor
安康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN201810739341.9ApriorityCriticalpatent/CN109032468B/en
Publication of CN109032468ApublicationCriticalpatent/CN109032468A/en
Application grantedgrantedCritical
Publication of CN109032468BpublicationCriticalpatent/CN109032468B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明实施例提供一种调节设备参数的方法及终端,应用于通信技术领域,以解决终端调节设备参数的准确性较低的问题。该方案包括:接收用户对第一滑动区域上的第一滑动控件的第一输入;响应于第一输入,更新第一滑动控件在第一滑动区域的位置;若第一滑动控件在第一滑动区域的位置位于第一位置范围内,则显示或激活第二滑动区域上的第二滑动控件,第二滑动区域指示的参数值范围与第一位置范围指示的参数范围相同;接收用户对第二滑动区域上的第二滑动控件的第二输入;响应于第二输入,更新第二滑动控件在第二滑动区域的位置,并根据与更新后的第二滑动控件的位置对应的参数值,调节设备参数。该方案具体应用于终端确定设备参数的参数值的过程中。

Figure 201810739341

Embodiments of the present invention provide a method and a terminal for adjusting device parameters, which are applied in the field of communication technologies to solve the problem of low accuracy in adjusting device parameters by a terminal. The solution includes: receiving a first input from the user to the first sliding control on the first sliding area; in response to the first input, updating the position of the first sliding control in the first sliding area; if the first sliding control is in the first sliding area If the position of the area is within the first position range, the second sliding control on the second sliding area is displayed or activated, and the parameter value range indicated by the second sliding area is the same as the parameter range indicated by the first position range; The second input of the second sliding control on the sliding area; in response to the second input, update the position of the second sliding control in the second sliding area, and adjust the position of the second sliding control according to the parameter value corresponding to the updated position of the second sliding control Device parameters. The solution is specifically applied in the process of the terminal determining the parameter value of the device parameter.

Figure 201810739341

Description

Translated fromChinese
一种调节设备参数的方法及终端A method and terminal for adjusting equipment parameters

技术领域technical field

本发明实施例涉及通信技术领域,尤其涉及一种调节设备参数的方法及终端。Embodiments of the present invention relate to the field of communications technologies, and in particular, to a method and a terminal for adjusting device parameters.

背景技术Background technique

目前,用户对手机等终端的屏幕显示效果的多元化、个性化的需求越来越多。其中,由于用户对屏幕的相同色彩的感受随屏幕色温的不同而不同,因此用户通常需要调节屏幕的色温为符合自身需求的色温。At present, users have more and more demands for diversified and personalized screen display effects of terminals such as mobile phones. Among them, since the user's perception of the same color of the screen varies with the color temperature of the screen, the user usually needs to adjust the color temperature of the screen to a color temperature that meets their own needs.

现有技术中,终端可以在屏幕上设置一个包括滑钮的滑杆,并在滑杆的两端设置相应的色温参数;使得用户通过移动滑杆中的滑钮来选定自己想要的色温效果,即选定色温参数。In the prior art, the terminal can set a sliding bar including a sliding button on the screen, and set corresponding color temperature parameters at both ends of the sliding bar; so that the user can select the color temperature he wants by moving the sliding button in the sliding bar. effect, that is, the selected color temperature parameter.

存在的问题是,由于用户的手指在屏幕上的接触面积较大,因此导致用户通过移动滑钮可能无法准确地选定符合用户需求的色温参数。例如,在用户需要调大终端的屏幕的色温参数时,由于用户的手指在滑钮上的接触面积较大,因此导致终端调节得到的色温参数过大。从而,导致终端调节设备参数的准确性较低。The existing problem is that, due to the large contact area of the user's finger on the screen, the user may not be able to accurately select a color temperature parameter that meets the user's needs by moving the slider. For example, when the user needs to increase the color temperature parameter of the screen of the terminal, since the contact area of the user's finger on the sliding button is large, the color temperature parameter adjusted by the terminal is too large. As a result, the accuracy of the terminal in adjusting the parameters of the device is low.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种调节设备参数的方法及终端,以解决终端调节设备参数的准确性较低的问题。Embodiments of the present invention provide a method and a terminal for adjusting device parameters, so as to solve the problem of low accuracy in adjusting device parameters by the terminal.

为了解决上述技术问题,本发明实施例是这样实现的:In order to solve the above technical problems, the embodiments of the present invention are implemented as follows:

第一方面,本发明实施例提供一种调节设备参数的方法,该方法包括:接收用户对第一滑动区域上的第一滑动控件的第一输入;响应于第一输入,更新第一滑动控件在第一滑动区域的位置;若第一滑动控件在第一滑动区域的位置位于第一位置范围内,则显示或激活第二滑动区域上的第二滑动控件,第二滑动区域指示的参数值范围与第一位置范围指示的参数范围相同;接收用户对第二滑动区域上的第二滑动控件的第二输入;响应于第二输入,更新第二滑动控件在第二滑动区域的位置,并根据与更新后的第二滑动控件的位置对应的参数值,调节设备参数。In a first aspect, an embodiment of the present invention provides a method for adjusting a device parameter, the method comprising: receiving a first input from a user to a first sliding control on a first sliding area; and updating the first sliding control in response to the first input at the position of the first sliding area; if the position of the first sliding control in the first sliding area is within the first position range, display or activate the second sliding control on the second sliding area, and the parameter value indicated by the second sliding area The range is the same as the parameter range indicated by the first position range; receiving a second input from the user to the second sliding control on the second sliding area; in response to the second input, updating the position of the second sliding control in the second sliding area, and The device parameter is adjusted according to the parameter value corresponding to the updated position of the second sliding control.

第二方面,本发明实施例还提供了一种终端,该终端包括:接收模块、更新模块和激活模块;接收模块,用于接收用户对第一滑动区域上的第一滑动控件的第一输入;更新模块,用于响应于接收模块接收的第一输入,更新第一滑动控件在第一滑动区域的位置;激活模块,用于若第一滑动控件在第一滑动区域的位置位于更新模块更新得到的第一位置范围内,则显示或激活第二滑动区域上的第二滑动控件,第二滑动区域指示的参数值范围与第一位置范围指示的参数范围相同;接收模块,还用于接收用户对第二滑动区域上的第二滑动控件的第二输入;更新模块,还用于响应于接收模块接收的第二输入,更新第二滑动控件在第二滑动区域的位置,并根据与更新后的第二滑动控件的位置对应的参数值,调节设备参数。In a second aspect, an embodiment of the present invention further provides a terminal, the terminal includes: a receiving module, an updating module, and an activating module; the receiving module is configured to receive a first input from a user to a first sliding control on the first sliding area The update module is used to update the position of the first sliding control in the first sliding area in response to the first input received by the receiving module; the activation module is used to update the update module if the first sliding control is located at the position of the first sliding area in the first sliding area. Within the obtained first position range, the second sliding control on the second sliding area is displayed or activated, and the parameter value range indicated by the second sliding area is the same as the parameter range indicated by the first position range; the receiving module is also used for receiving The second input of the user to the second sliding control on the second sliding area; the update module is also used to update the position of the second sliding control in the second sliding area in response to the second input received by the receiving module, and update the position according to the Adjust the device parameters according to the parameter values corresponding to the position of the second sliding control.

第三方面,本发明实施例提供了一种终端,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现如第一方面所述的调节设备参数的方法的步骤。In a third aspect, an embodiment of the present invention provides a terminal, including a processor, a memory, and a computer program stored on the memory and running on the processor, the computer program being executed by the processor to achieve the first The steps of the method of adjusting a device parameter of the aspect.

第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现如第一方面所述的调节设备参数的方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for adjusting a device parameter according to the first aspect is implemented A step of.

在本发明实施例中,终端支持用户通过移动第一滑动区域上的第一滑动控件,使第一滑动区域中第一滑动控件处于第一位置范围指示的参数范围,从而使得第二滑动区域指示的参数范围为上述第一位置范围指示的参数范围。如此,由于第二滑动区域中的参数值的精度大于第一滑动区域中的参数值的精度,而用户可以通过第二滑动区域上的第二滑动控件准确地选择需求的参数值,从而使得终端根据该参数值调节的设备参数满足用户需求,即提高了终端调节设备参数的准确性。In this embodiment of the present invention, the terminal supports the user to move the first sliding control on the first sliding area, so that the first sliding control in the first sliding area is in the parameter range indicated by the first position range, so that the second sliding area indicates The parameter range of is the parameter range indicated by the first position range above. In this way, since the precision of the parameter value in the second sliding area is greater than the precision of the parameter value in the first sliding area, the user can accurately select the required parameter value through the second sliding control on the second sliding area, so that the terminal The device parameter adjusted according to the parameter value meets the user's requirement, that is, the accuracy of adjusting the device parameter by the terminal is improved.

附图说明Description of drawings

图1为本发明实施例提供的一种可能的安卓操作系统的架构示意图;1 is a schematic diagram of the architecture of a possible Android operating system provided by an embodiment of the present invention;

图2为本发明实施例提供的一种调节设备参数的方法的流程示意图;2 is a schematic flowchart of a method for adjusting device parameters provided by an embodiment of the present invention;

图3为本发明实施例提供的一种终端的显示界面的示意图之一;3 is one of schematic diagrams of a display interface of a terminal according to an embodiment of the present invention;

图4为本发明实施例提供的一种终端的显示界面的示意图之二;FIG. 4 is the second schematic diagram of a display interface of a terminal according to an embodiment of the present invention;

图5为本发明实施例提供的一种终端的显示界面的示意图之三;FIG. 5 is a third schematic diagram of a display interface of a terminal according to an embodiment of the present invention;

图6为本发明实施例提供的一种可能的终端的结构示意图;FIG. 6 is a schematic structural diagram of a possible terminal provided by an embodiment of the present invention;

图7为本发明实施例提供的一种终端的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of a terminal according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

需要说明的是,本文中的“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。“多个”是指两个或多于两个。It should be noted that “/” in this document means or, for example, A/B can mean A or B; “and/or” in this document is only an association relationship that describes an associated object, indicating that there may be three A relationship, for example, A and/or B, can mean the existence of A alone, the existence of both A and B, and the existence of B alone. "Plural" means two or more.

需要说明的是,本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to represent examples, illustrations, or descriptions. Any embodiments or designs described as "exemplary" or "such as" in the embodiments of the present invention should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present the related concepts in a specific manner.

本发明的说明书和权利要求书中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一滑动区域和第二滑动区域等是用于区别不同的滑动区域,而不是用于描述滑动区域的特定顺序。The terms "first", "second", "third" and "fourth" in the description and claims of the present invention are used to distinguish different objects, rather than to describe a specific order of the objects. For example, the first sliding area, the second sliding area, etc. are used to distinguish different sliding areas, but are not used to describe a specific order of the sliding areas.

本发明实施例提供的调节设备参数的方法及终端,终端支持用户通过移动第一滑动区域上的第一滑动控件选定粗略的参数范围;并在用户选定该参数范围之后,终端可以将第二滑动区域指示的参数范围设置为该参数范围。从而,使得用户可以通过第二滑动区域上的第二滑动控件从该参数范围中准确地选择目标参数。如此,可以提高终端确定的参数的准确性。In the method and terminal for adjusting device parameters provided by the embodiments of the present invention, the terminal supports the user to select a rough parameter range by moving the first sliding control on the first sliding area; and after the user selects the parameter range, the terminal can The parameter range indicated by the second sliding area is set to the parameter range. Therefore, the user can accurately select the target parameter from the parameter range through the second sliding control on the second sliding area. In this way, the accuracy of the parameters determined by the terminal can be improved.

需要说明的是,本发明实施例提供的调节设备参数的方法,执行主体可以为终端,或者,该终端的中央处理器(Central Processing Unit,CPU),或者该终端中的用于执行调节设备参数的方法的控制模块。本发明实施例中以终端执行调节设备参数的方法为例,说明本发明实施例提供的调节设备参数的方法。It should be noted that, for the method for adjusting device parameters provided by the embodiments of the present invention, the execution subject may be a terminal, or a central processing unit (Central Processing Unit, CPU) of the terminal, or a method in the terminal for adjusting device parameters. method of the control module. In the embodiment of the present invention, the method for adjusting a device parameter provided by the embodiment of the present invention is described by taking a terminal executing a method for adjusting a device parameter as an example.

本发明实施例中的终端可以为具有操作系统的终端。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。The terminal in this embodiment of the present invention may be a terminal having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present invention.

下面以安卓操作系统为例,介绍一下本发明实施例提供的调节设备参数的方法所应用的软件环境。The following takes the Android operating system as an example to introduce a software environment to which the method for adjusting device parameters provided by the embodiments of the present invention is applied.

如图1所示,为本发明实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1 , it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention. In FIG. 1, the architecture of the Android operating system includes four layers, namely: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).

其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。The application layer includes various applications (including system applications and third-party applications) in the Android operating system.

应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。例如,系统设置应用、系统聊天应用和系统相机应用等应用程序。第三方设置应用、第三方相机应用和第三方聊天应用等应用程序。The application framework layer is the framework of the application, and developers can develop some applications based on the application framework layer under the condition of complying with the development principles of the framework of the application. For example, applications such as the system settings app, the system chat app, and the system camera app. Apps such as third-party settings apps, third-party camera apps, and third-party chat apps.

系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime layer includes libraries (also called system libraries) and the Android operating system runtime environment. The library mainly provides various resources required by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.

内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the bottom layer of the Android operating system software layer. The kernel layer provides core system services and hardware-related drivers for the Android operating system based on the Linux kernel.

以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的调节设备参数的方法的软件程序,从而使得该调节设备参数的方法可以基于如图1所示的安卓操作系统运行。即处理器或者终端可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的调节设备参数的方法。Taking the Android operating system as an example, in this embodiment of the present invention, a developer can develop a software program for implementing the method for adjusting device parameters provided by the embodiment of the present invention based on the system architecture of the Android operating system as shown in FIG. The method for adjusting device parameters can be run based on the Android operating system as shown in FIG. 1 . That is, the processor or the terminal can implement the method for adjusting device parameters provided by the embodiments of the present invention by running the software program in the Android operating system.

下面结合图2所示的调节设备参数的方法的流程图对本发明实施例提供的调节设备参数的方法进行详细描述。其中,虽然在方法流程图中示出了本发明实施例提供的调节设备参数的方法的逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。例如,图2中示出的调节设备参数的方法可以包括S201-S205:The method for adjusting device parameters provided by the embodiments of the present invention will be described in detail below with reference to the flowchart of the method for adjusting device parameters shown in FIG. 2 . Wherein, although the logical sequence of the method for adjusting device parameters provided by the embodiments of the present invention is shown in the method flowchart, in some cases, the steps shown or described may be performed in a sequence different from that here. For example, the method for adjusting device parameters shown in FIG. 2 may include S201-S205:

S201、终端接收用户对第一滑动区域上的第一滑动控件的第一输入。S201. The terminal receives a first input from a user to a first sliding control on a first sliding area.

可选的,终端的第一界面上可以显示第一滑动区域和第一滑动控件。具体的,在终端显示第一界面的情况下,终端接收用户对第一滑动区域上的第一滑动控件的第一输入。Optionally, a first sliding area and a first sliding control may be displayed on the first interface of the terminal. Specifically, when the terminal displays the first interface, the terminal receives the first input from the user to the first sliding control on the first sliding area.

可以理解的是,上述第一界面可以为终端中支持用户设置参数的界面,如终端中的系统设置应用中的界面,或者第三方设置应用中的界面,或者终端中包括任务栏的界面。It can be understood that the above-mentioned first interface may be an interface in the terminal that supports the user to set parameters, such as an interface in a system setting application in the terminal, or an interface in a third-party setting application, or an interface including a taskbar in the terminal.

示例性的,本发明实施例提供的设备参数可以用于表征终端的屏幕的亮度、终端的屏幕的色温或者终端的音量等,本发明实施例对此不作具体限定。Exemplarily, the device parameters provided in the embodiments of the present invention may be used to represent the brightness of the screen of the terminal, the color temperature of the screen of the terminal, or the volume of the terminal, etc., which are not specifically limited in the embodiments of the present invention.

其中,本发明实施例以下以参数表征终端的屏幕的色温,说明本发明实施例提供的调节设备参数的方法。类似的,对除表征色温的设备参数之外的其他参数的描述,均可以参考对表征色温的设备参数的描述。Hereinafter, in the embodiment of the present invention, the color temperature of the screen of the terminal is represented by a parameter, and the method for adjusting the parameters of the device provided by the embodiment of the present invention is described. Similarly, for the description of other parameters except the device parameters representing the color temperature, reference may be made to the description of the device parameters representing the color temperature.

示例性的,如图3所示,为本发明实施例提供的一种终端的显示界面的示意图。图3示出的终端的界面30中包括滑杆301,滑杆301上的滑动区域可以为上述第一滑动区域,该界面30可以为上述第一界面;滑杆301上的滑钮301a可以为上述第一滑动控件。具体的,上述第一输入可以为用户对图3示出的滑杆301上的滑钮301a的输入,即移动滑钮301a的输入。Exemplarily, as shown in FIG. 3 , it is a schematic diagram of a display interface of a terminal according to an embodiment of the present invention. The interface 30 of the terminal shown in FIG. 3 includes a slidingbar 301, the sliding area on the slidingbar 301 can be the above-mentioned first sliding area, and the interface 30 can be the above-mentioned first interface; the slidingbutton 301a on the slidingbar 301 can be The above-mentioned first sliding control. Specifically, the above-mentioned first input may be the user's input to the slidingbutton 301a on the slidingbar 301 shown in FIG. 3 , that is, the input of moving the slidingbutton 301a.

需要说明的是,本发明实施例提供的终端的屏幕可以为触控屏,该触控屏可以用于接收用户的输入,并响应于该输入向该用户显示该输入对应的内容。其中,上述第一输入可以为触屏输入、指纹输入、重力输入、按键输入等。其中,触屏输入为用户对终端的触控屏的按压输入、长按输入、滑动输入、点击输入、悬浮输入(用户在触控屏附近的输入)等输入。指纹输入为用户对终端的指纹识别器的滑动指纹、长按指纹、单击指纹和双击指纹等输入。重力输入为用户对终端特定方向的晃动、特定次数的晃动等输入。按键输入对应于用户对终端的电源键、音量键、Home键等按键的单击输入、双击输入、长按输入、组合按键输入等输入。具体的,本发明实施例对第一输入的方式不作具体限定,可以为任一可实现的方式。It should be noted that the screen of the terminal provided by the embodiment of the present invention may be a touch screen, and the touch screen may be used to receive input from a user and display content corresponding to the input to the user in response to the input. Wherein, the above-mentioned first input may be touch screen input, fingerprint input, gravity input, key input, and the like. The touch screen input is input such as a user's pressing input, long press input, sliding input, click input, and floating input (input by the user near the touch screen) on the touch screen of the terminal. Fingerprint input is the user's input of sliding fingerprint, long-pressing fingerprint, single-clicking fingerprint, and double-clicking fingerprint on the fingerprint reader of the terminal. Gravity input is input of the user shaking the terminal in a specific direction, shaking the terminal for a specific number of times, and the like. The key input corresponds to the user's single-click input, double-click input, long-press input, combined key input, etc. on the terminal's power key, volume key, and Home key. Specifically, the embodiment of the present invention does not specifically limit the manner of the first input, which may be any achievable manner.

S202、响应于第一输入,终端更新第一滑动控件在第一滑动区域的位置。S202. In response to the first input, the terminal updates the position of the first sliding control in the first sliding area.

可以理解的是,本发明实施例中,第一滑动区域指示的参数范围(记为第一参数范围)即为第一滑动控件可选取的最大的参数范围。其中,由于用户的手指在屏幕上的接触面积较大,因此导致用户通过移动第一滑动区域上的第一滑动控件可能无法准确地选定符合用户需求的设备参数的参数值,从而选择的参数值为精度较大的参数值。It can be understood that, in this embodiment of the present invention, the parameter range indicated by the first sliding area (referred to as the first parameter range) is the maximum parameter range that can be selected by the first sliding control. Among them, due to the large contact area of the user's finger on the screen, the user may not be able to accurately select the parameter value of the device parameter that meets the user's needs by moving the first sliding control on the first sliding area, so the selected parameter The value is the parameter value with greater precision.

具体的,终端更新第一滑动控件在第一滑动区域的位置,即改变了第一滑动控件所指示的参数范围。Specifically, the terminal updates the position of the first sliding control in the first sliding area, that is, the parameter range indicated by the first sliding control is changed.

示例性的,结合图3示出的界面30,终端的设备参数的取值范围(即第一参数范围)可以包括滑杆301中的端点3011和端点3012对应的参数值,以及端点3011和端点3012之间的一些精度较大的点对应的参数值。Exemplarily, in conjunction with the interface 30 shown in FIG. 3 , the value range of the device parameter of the terminal (ie the first parameter range) may include the parameter values corresponding to theendpoint 3011 and theendpoint 3012 in theslide bar 301, as well as theendpoint 3011 and the endpoint. The parameter values corresponding to some points with greater precision between 3012.

另外,图3示出的终端的界面30中还包括滑杆302,滑杆302的滑动区域可以为上述第二滑动区域。第二滑动区域指示的参数范围(记为第二参数范围)即为第二滑动控件可选择的参数值的范围。第二参数范围可以包括滑杆302中的端点3021和端点3022对应的参数值,以及端点3021和端点3022之间的点对应的参数值。可以理解的是,第二参数范围处于第一参数范围中。In addition, the interface 30 of the terminal shown in FIG. 3 further includes a slidingbar 302, and the sliding area of the slidingbar 302 may be the above-mentioned second sliding area. The parameter range indicated by the second sliding area (referred to as the second parameter range) is the range of parameter values selectable by the second sliding control. The second parameter range may include parameter values corresponding to theendpoints 3021 and 3022 in theslider 302 , and parameter values corresponding to points between theendpoints 3021 and 3022 . It can be understood that the second parameter range is within the first parameter range.

S203、若第一滑动控件在第一滑动区域的位置位于第一位置范围内,终端则显示或激活第二滑动区域上的第二滑动控件,第二滑动区域指示的参数值范围与第一位置范围指示的参数范围相同。S203. If the position of the first sliding control in the first sliding area is within the first position range, the terminal displays or activates the second sliding control on the second sliding area, and the parameter value range indicated by the second sliding area is the same as the first position. Scope indicates the same range of parameters.

可以理解的是,终端在接收用户的第一输入时,可能未显示第二滑动区域和第二滑动控件,或者,显示有第二滑动区域和第二滑动控件。It can be understood that, when the terminal receives the user's first input, the second sliding area and the second sliding control may not be displayed, or the second sliding area and the second sliding control may be displayed.

具体的,终端激活第二滑动区域上的第二滑动控件指的是终端将第二滑动区域指示的参数范围调整为用户实时选择的参数范围,即用户通过第一滑动控件选择得到的参数范围。Specifically, activating the second sliding control on the second sliding area by the terminal means that the terminal adjusts the parameter range indicated by the second sliding area to the parameter range selected by the user in real time, that is, the parameter range selected by the user through the first sliding control.

具体的,“第一滑动控件在第一滑动区域的位置位于第一位置范围内”可以为用户初次移动第一滑动区域上的第一滑动控件。此时,终端可以开始显示第二滑动区域和第二滑动控件,并激活第二滑动区域指示的参数范围为第一位置范围指示的参数范围。Specifically, "the position of the first sliding control in the first sliding area is within the first position range" may mean that the user moves the first sliding control on the first sliding area for the first time. At this time, the terminal may start to display the second sliding area and the second sliding control, and activate the parameter range indicated by the second sliding area to be the parameter range indicated by the first position range.

或者,“第一滑动控件在第一滑动区域的位置位于第一位置范围内”可以为在第一滑动控件处于上次选择的位置范围内时,终端接收到用户将第一滑动区域上的第一滑动控件移动至与该位置范围不同的第一位置范围的第一输入。此时,终端可以激活第二滑动区域指示的参数范围为第一位置范围指示的参数范围。Alternatively, "the position of the first sliding control in the first sliding area is within the first position range" may be that when the first sliding control is within the last selected position range, the terminal receives the A slide control moves to a first input of a first position range different from the position range. At this time, the terminal may activate the parameter range indicated by the second sliding area to be the parameter range indicated by the first position range.

S204、终端接收用户对第二滑动区域上的第二滑动控件的第二输入。S204. The terminal receives a second input from the user on the second sliding control on the second sliding area.

结合图3,滑杆302上的滑钮302a可以为上述第二滑动控件。具体的,上述第二输入可以为用户对图3示出的滑杆302上的滑钮302a的输入,即移动滑钮302a的输入。Referring to FIG. 3 , the slidingbutton 302a on the slidingbar 302 may be the above-mentioned second sliding control. Specifically, the above-mentioned second input may be the user's input to the slidingbutton 302a on the slidingbar 302 shown in FIG. 3 , that is, the input of moving the slidingbutton 302a.

类似的,本发明实施例对第二输入的相关描述可以参考上述对第一输入的相关描述,本发明实施例对此不再赘述。Similarly, for the related description of the second input in this embodiment of the present invention, reference may be made to the above-mentioned related description of the first input, which is not repeated in this embodiment of the present invention.

S205、响应于第二输入,终端更新第二滑动控件在第二滑动区域的位置,并根据与更新后的第二滑动控件的位置对应的参数值,调节设备参数。S205. In response to the second input, the terminal updates the position of the second sliding control in the second sliding area, and adjusts the device parameters according to the parameter value corresponding to the updated position of the second sliding control.

示例性的,终端可以确定用户通过滑钮302a从滑杆302上选择的参数值,即第二输入触发的滑钮302a在滑杆302上的位置对应的参数值。Exemplarily, the terminal may determine the parameter value selected by the user from theslider 302 through theslider 302a, that is, the parameter value corresponding to the position of theslider 302a on theslider 302 triggered by the second input.

具体的,在终端显示的第一滑动区域中第一滑动控件处于第一位置范围时,由于第第一位置范围在第一滑动区域中对应的滑动区域的长度较短(或面积较小),而用户的手指在终端的屏幕上的接触面积较大,因此使得用户不容易甚至不能从第一滑动区域中准确地选择参数值。相反的,由于第一位置范围指示的第二参数范围对应第二滑动区域中的整个滑动区域,即第二滑动区域中第二参数范围对应的滑动区域的长度较长(或面积较大),因此用户可以准确地从第二滑动区域中选择参数值,即得到的参数值的准确性较高。Specifically, when the first sliding control is in the first position range in the first sliding area displayed on the terminal, since the sliding area corresponding to the first position range in the first sliding area is shorter in length (or smaller in area), However, the contact area of the user's finger on the screen of the terminal is relatively large, so it is not easy or even impossible for the user to accurately select a parameter value from the first sliding area. On the contrary, since the second parameter range indicated by the first position range corresponds to the entire sliding area in the second sliding area, that is, the sliding area corresponding to the second parameter range in the second sliding area has a longer length (or a larger area), Therefore, the user can accurately select the parameter value from the second sliding area, that is, the accuracy of the obtained parameter value is high.

可以理解的是,上述第一滑动区域中的参数值的精度小于第二滑动区域中的参数值的精度。It can be understood that the precision of the parameter values in the first sliding area is smaller than the precision of the parameter values in the second sliding area.

需要说明的是,本发明实施例提供的调节设备参数的方法,终端支持用户通过移动第一滑动区域上的第一滑动控件,使第一滑动区域中第一滑动控件处于第一位置范围指示的参数范围,从而使得第二滑动区域指示的参数范围为上述第一位置范围指示的参数范围。如此,由于第二滑动区域中的参数值的精度大于第一滑动区域中的参数值的精度,而用户可以通过第二滑动区域上的第二滑动控件准确地选择需求的参数值,从而使得终端根据该参数值调节的设备参数满足用户需求,即提高了终端调节设备参数的准确性。It should be noted that, in the method for adjusting device parameters provided by the embodiment of the present invention, the terminal supports the user to move the first sliding control on the first sliding area so that the first sliding control in the first sliding area is in the position indicated by the first position range. parameter range, so that the parameter range indicated by the second sliding area is the parameter range indicated by the first position range. In this way, since the precision of the parameter value in the second sliding area is greater than the precision of the parameter value in the first sliding area, the user can accurately select the required parameter value through the second sliding control on the second sliding area, so that the terminal The device parameter adjusted according to the parameter value meets the user's requirement, that is, the accuracy of adjusting the device parameter by the terminal is improved.

在一种可能的实现方式中,本发明实施例提供的调节设备参数的方法,用户对终端显示的第一滑动控件的输入用于移动第一滑动控件在第一滑动区域中的位置,以确定第一滑动控件在第一滑动区域上的位置所处的位置范围,并激活第二滑动区域指示的参数范围为该参数范围。并且,用户对第二滑动控件的输入用于移动第二滑动控件在第二滑动区域中的位置,以从第二滑动区域指示的参数范围中选择参数值。In a possible implementation manner, in the method for adjusting device parameters provided by the embodiment of the present invention, the user's input to the first sliding control displayed on the terminal is used to move the position of the first sliding control in the first sliding area to determine The position range of the position of the first sliding control on the first sliding area, and the parameter range indicated by the activation of the second sliding area is the parameter range. And, the user's input to the second sliding control is used to move the position of the second sliding control in the second sliding area, so as to select a parameter value from the parameter range indicated by the second sliding area.

具体的,本发明实施例提供调节设备参数的方法,第一输入为用户在第一滑动区域上将第一滑动控件从第一位置移动至第二位置的输入。此时,上述实施例提供的方法中的S202可以替换为S202a:Specifically, an embodiment of the present invention provides a method for adjusting a device parameter. The first input is an input by a user to move a first sliding control from a first position to a second position on the first sliding area. At this time, S202 in the method provided by the above embodiment can be replaced with S202a:

S202a、响应于第一输入,终端将第一滑动控件在第一滑动区域上的位置由第一位置更新为第二位置,第一位置范围指示的参数值范围的第一端参数值和第二端参数值与第二位置对应的参数值之间差值的绝对值均为预设数值。S202a, in response to the first input, the terminal updates the position of the first sliding control on the first sliding area from the first position to the second position, the first end parameter value and the second end parameter value of the parameter value range indicated by the first position range The absolute value of the difference between the terminal parameter value and the parameter value corresponding to the second position is a preset value.

可以理解的是,用户对第一滑动控件进行第一输入之前,第一滑动控件显示在第一滑动区域中的第一位置上。It can be understood that, before the user performs the first input on the first sliding control, the first sliding control is displayed at the first position in the first sliding area.

其中,第二位置对应的参数范围的中心参数值为第二位置对应的参数值,第二位置对应的参数范围的第一端参数值和第二端参数值与第二位置对应的参数值之间差值的绝对值均为预设数值。Wherein, the central parameter value of the parameter range corresponding to the second position is the parameter value corresponding to the second position, and the first end parameter value and the second end parameter value of the parameter range corresponding to the second position are the parameter values corresponding to the second position. The absolute value of the difference is the preset value.

示例性的,第二位置对应的参数范围为[a,b],第二位置对应的参数值为c。其中,第二参数范围的第一端参数值为a,第二端参数值为b;第二位置对应的参数范围的中心参数值为(a+b)/2,且c=(a+b)/2。c与a之间差值的绝对值为d,c与a之间差值的绝对值也为d,其中,预设数值为d。具体的,c-a=d,b-c=d。本发明实施例提供的第一参数范围可以为[m,n],其中,[a,b]∈[m,n]。Exemplarily, the parameter range corresponding to the second position is [a, b], and the parameter value corresponding to the second position is c. The first end parameter value of the second parameter range is a, the second end parameter value is b; the center parameter value of the parameter range corresponding to the second position is (a+b)/2, and c=(a+b )/2. The absolute value of the difference between c and a is d, and the absolute value of the difference between c and a is also d, where the preset value is d. Specifically, c-a=d, b-c=d. The first parameter range provided by this embodiment of the present invention may be [m, n], where [a, b]∈[m, n].

其中,结合图3,滑杆301的端点3011对应的参数值可以为m,端点3012对应的参数值可以为n;滑杆302的端点3021对应的参数值可以为a,端点3022对应的参数值可以为b。3, the parameter value corresponding to theendpoint 3011 of the slidingbar 301 may be m, and the parameter value corresponding to theendpoint 3012 may be n; the parameter value corresponding to theendpoint 3021 of the slidingbar 302 may be a, and the parameter value corresponding to theendpoint 3022 can be b.

可选的,本发明实施例提供的第二位置对应的参数值可以为第二位置对应的参数范围中的任一参数值。Optionally, the parameter value corresponding to the second position provided in the embodiment of the present invention may be any parameter value in the parameter range corresponding to the second position.

具体的,本发明实施例提供的调节设备参数的方法,上述第二输入可以为用户在第二滑动区域上将第二滑动控件从第二位置移动至第四位置的输入。此时,上述实施例提供的方法中的S205可以替换为S205a:Specifically, in the method for adjusting a device parameter provided by the embodiment of the present invention, the above-mentioned second input may be an input by the user to move the second sliding control from the second position to the fourth position on the second sliding area. At this time, S205 in the method provided by the above embodiment can be replaced with S205a:

S205a、响应于第二输入,终端将第二滑动控件在第二滑动区域上的位置由第三位置更新为第四位置,并根据与第四位置对应的参数值,调节设备参数。S205a. In response to the second input, the terminal updates the position of the second sliding control on the second sliding area from the third position to the fourth position, and adjusts the device parameters according to the parameter value corresponding to the fourth position.

可以理解的是,用户对第二滑动控件进行第二输入之前,第二滑动控件显示在第二滑动区域中的第三位置上。It can be understood that, before the user performs the second input on the second sliding control, the second sliding control is displayed at a third position in the second sliding area.

其中,第一滑动区域中第一位置与第二位置之间的长度可以记为长度1,第一滑动区域中第三位置与第四位置之间的长度可以记为长度2,该长度2远大于长度1。也就是说,第二滑动区域可以为第一滑动区域中第二参数范围对应的滑动区域的放大后的滑动区域。Wherein, the length between the first position and the second position in the first sliding area can be recorded as length 1, and the length between the third position and the fourth position in the first sliding area can be recorded as length 2, and the length 2 is far greater to length 1. That is, the second sliding area may be an enlarged sliding area of the sliding area corresponding to the second parameter range in the first sliding area.

需要说明的是,本发明实施例提供的调节设备参数的方法,在用户通过第二滑动区域上的第二滑动控件从第二参数范围中选择设备参数的参数值时,由于第二滑动区域的长度较长(或面积较大),因此,用户对第二滑动控件的误触发较小。从而,可以进一步提高终端调节设备参数的准确性。It should be noted that, in the method for adjusting device parameters provided by the embodiment of the present invention, when the user selects the parameter value of the device parameter from the second parameter range through the second sliding control on the second sliding area, due to the The length is longer (or the area is larger), therefore, the false triggering of the second sliding control by the user is smaller. Therefore, it is possible to further improve the accuracy with which the terminal adjusts the parameters of the device.

在一种可能的实现方式中,本发明实施例提供的调节设备参数的方法,第一滑动控件随着第二滑动控件的移动而移动。其中,第二滑动控件在第二滑动区域上的位置对应的参数与第一滑动控件在第一滑动区域上的位置对应的参数相同。In a possible implementation manner, in the method for adjusting a device parameter provided by an embodiment of the present invention, the first sliding control moves with the movement of the second sliding control. The parameter corresponding to the position of the second sliding control on the second sliding area is the same as the parameter corresponding to the position of the first sliding control on the first sliding area.

具体的,第一滑动控件随着第二滑动空间的移动,可以是第一滑动控件在第一滑动区域中第二参数范围对应的滑动区域中移动。Specifically, as the first sliding control moves with the second sliding space, the first sliding control may move in the sliding area corresponding to the second parameter range in the first sliding area.

需要说明的是,本发明实施例提供的调节设备参数的方法,由于第二滑动控件在第二滑动区域上的位置对应的参数值与第一滑动控件在第一滑动区域上的位置对应的参数值相同,且第一滑动控件随着第二滑动控件的移动而移动。从而,使得终端可以支持用户通过较容易操作的第二滑动控件控制该终端从第二滑动控件指示的参数范围中选定设备参数的参数值。如此,有利于提高终端调节设备参数的准确性。It should be noted that, in the method for adjusting device parameters provided by the embodiment of the present invention, since the parameter value corresponding to the position of the second sliding control on the second sliding area and the parameter corresponding to the position of the first sliding control on the first sliding area The values are the same, and the first slide control moves with the movement of the second slide control. Therefore, the terminal can support the user to control the terminal to select the parameter value of the device parameter from the parameter range indicated by the second sliding control through the second sliding control which is easier to operate. In this way, it is beneficial to improve the accuracy of the device parameter adjustment by the terminal.

在一种可能的实现方式中,本发明实施例提供的调节设备参数的方法,终端中可以提供的一个精细开关。具体的,本发明实施例提供的调节设备参数的方法,上述S202或者S202a可以替换为S202b:In a possible implementation manner, for the method for adjusting device parameters provided by the embodiments of the present invention, a fine switch may be provided in the terminal. Specifically, in the method for adjusting device parameters provided by the embodiment of the present invention, the above S202 or S202a may be replaced by S202b:

S202b、响应于第一输入,终端在第一滑动控件对应的精度开关处于开启状态的情况下,若第一滑动控件在第一滑动区域的位置位于第一位置范围内,终端则显示或激活第二滑动区域上的第二滑动控件。S202b. In response to the first input, when the precision switch corresponding to the first sliding control is in the ON state, if the position of the first sliding control in the first sliding area is within the first position range, the terminal displays or activates the first sliding control. The second sliding control on the second sliding area.

可以理解的是,在精细开关处于开启的状态时,终端中显示的第一滑动区域中的第一滑动控件用于从第一滑动区域对应的第一参数范围中选择参数范围(如第二参数范围)。在精细开关处于关闭的状态时,终端中显示的第一滑动区域中的第一滑动控件用于从第一滑动区域对应的第一参数范围中选择参数值(即用于调节设备参数的参数值)。It can be understood that when the fine switch is in an on state, the first sliding control in the first sliding area displayed in the terminal is used to select a parameter range (such as a second parameter) from the first parameter range corresponding to the first sliding area. scope). When the fine switch is in an off state, the first sliding control in the first sliding area displayed in the terminal is used to select a parameter value from the first parameter range corresponding to the first sliding area (that is, the parameter value used to adjust the device parameter ).

示例性的,如图4所示,为本发明实施例提供的一种终端的显示界面的示意图。结合图3,图4示出的终端的界面40中还包括精细开关401。其中,图4示出精细开关401处于开启状态。Exemplarily, as shown in FIG. 4 , it is a schematic diagram of a display interface of a terminal according to an embodiment of the present invention. With reference to FIG. 3 , theinterface 40 of the terminal shown in FIG. 4 further includes afine switch 401 . Among them, FIG. 4 shows that thefine switch 401 is in an on state.

可选的,用户可以对精细开关401进行点击输入,以切换精细开关401的开启状态和关闭状态。Optionally, the user may perform a click input on thefine switch 401 to switch the on state and the off state of thefine switch 401 .

可选的,在精细开关401处于关闭的状态时,终端中的屏幕中可以不显示第二滑动区域,即不显示图4示出的界面40中的滑杆302。在用户触发终端将精细开关401由关闭状态切换为开启状态时,终端可以开始在界面40中显示滑杆302。Optionally, when thefine switch 401 is in an off state, the screen in the terminal may not display the second sliding area, that is, the slidingbar 302 in theinterface 40 shown in FIG. 4 may not be displayed. When the user triggers the terminal to switch thefine switch 401 from the off state to the on state, the terminal can start to display theslide bar 302 in theinterface 40 .

需要说明的是,本发明实施例提供的调节设备参数的方法,终端可以提供一个精细开关,以支持用户控制终端是否显示第二滑动区域。如此,在用户不需要对第二滑动区域上的第二滑动控件进行输入,如用户已经控制终端准确得选择了需求的设备参数的参数值的情况下,终端可以不显示第二滑动区域。从而,有利于合理利用终端的屏幕的显示区域,并有利于提高用户控制终端调节设备参数过程中的用户体验。It should be noted that, in the method for adjusting device parameters provided by the embodiments of the present invention, the terminal may provide a fine switch to support the user to control whether the terminal displays the second sliding area. In this way, the terminal may not display the second sliding area when the user does not need to input the second sliding control on the second sliding area, for example, when the user has controlled the terminal to accurately select the parameter value of the required device parameter. Therefore, it is beneficial to reasonably utilize the display area of the screen of the terminal, and is beneficial to improve the user experience in the process of the user controlling the terminal to adjust the parameters of the device.

在一种可能的实现方式中,本发明实施例提供的调节设备参数的方法,上述第一滑动控件可以为第一滑块。或者,第一滑动控件处于第二滑块的中心位置,第二滑块随着第一滑动控件的移动而移动。其中,第一滑块和第二滑块在第一滑动区域上的位置范围均为第一位置范围。In a possible implementation manner, in the method for adjusting device parameters provided by the embodiment of the present invention, the above-mentioned first sliding control may be a first sliding block. Alternatively, the first sliding control is at the center of the second sliding control, and the second sliding control moves with the movement of the first sliding control. Wherein, the position ranges of the first slider and the second slider on the first sliding area are both the first position range.

可以理解的是,第一滑块和第二滑块的长度为上述用户控制终端从第一参数范围中选择的参数范围(如第二参数范围)对应的长度。即每个滑块的一个端点所在的位置对应的参数值为该参数范围中一端的参数值,每个滑块的另一个端点所在的位置对应的参数值为该参数范围中另一端的参数值。It can be understood that the lengths of the first slider and the second slider are the lengths corresponding to the parameter range (eg, the second parameter range) selected by the user control terminal from the first parameter range. That is, the parameter value corresponding to the position of one end point of each slider is the parameter value at one end of the parameter range, and the parameter value corresponding to the position of the other end point of each slider is the parameter value at the other end of the parameter range. .

示例性的,结合上述实施例,如图5中的(5a)示出的终端的界面51,该界面51中包括的滑块511即为第一滑块,也即滑块511为上述第一滑动控件。并且,滑块511的端点5111在滑杆301中所在位置对应的参数值为a,滑块511的端点5112在滑杆301中所在位置对应的参数值为b。Exemplarily, in combination with the above embodiments, as shown in FIG. 5 ( 5 a ) on theinterface 51 of the terminal, theslider 511 included in theinterface 51 is the first slider, that is, theslider 511 is the above-mentioned first slider. Swipe controls. In addition, the parameter value corresponding to the position of theend point 5111 of theslider 511 in theslide bar 301 is a, and the parameter value corresponding to the position of theend point 5112 of theslider 511 in theslide bar 301 is b.

类似的,如图5中的(5b)示出的终端的界面52,该界面52中包括的滑块521即为第二滑块,滑钮301a位于滑块521的中心位置。并且,滑块521的端点5211在滑杆301中所在位置对应的参数值为a,滑块521的端点5212在滑杆301中所在位置对应的参数值为b。Similarly, as shown in FIG. 5 ( 5 b ) on theinterface 52 of the terminal, theslider 521 included in theinterface 52 is the second slider, and theslider 301 a is located at the center of theslider 521 . Moreover, the parameter value corresponding to the position of theend point 5211 of theslider 521 in theslide bar 301 is a, and the parameter value corresponding to the position of theend point 5212 of theslider 521 in theslide bar 301 is b.

需要说明的是,本发明实施例提供的调节设备参数的方法,终端可以在第一滑动区域上显示一个滑块,且该滑块对应于用户选择的参数范围。从而,在用户控制终端从第一参数范围中确定参数范围时,终端可以直观地向用户显示用户选择的参数范围,如第二参数范围。如此,有利于进一步提高用户控制终端确定参数过程中的用户体验。It should be noted that, in the method for adjusting device parameters provided by the embodiment of the present invention, the terminal may display a slider on the first sliding area, and the slider corresponds to the parameter range selected by the user. Therefore, when the user controls the terminal to determine the parameter range from the first parameter range, the terminal can intuitively display the parameter range selected by the user, such as the second parameter range, to the user. In this way, it is beneficial to further improve the user experience in the process of the user controlling the terminal to determine the parameters.

在一种可能的实现方式中,本发明实施例提供的调节设备参数的方法,本发明实施例提供的设备参数可以为用于表征终端的屏幕的色温。具体的,本发明实施例提供的方法,上述S205或S205a可以替换为S205b:In a possible implementation manner, in the method for adjusting a device parameter provided by the embodiment of the present invention, the device parameter provided by the embodiment of the present invention may be used to characterize the color temperature of the screen of the terminal. Specifically, in the method provided by the embodiment of the present invention, the above S205 or S205a may be replaced by S205b:

S205b、终端更新第二滑动控件在第二滑动区域的位置,并根据与更新后的第二滑动控件的位置对应的参数值,调节终端的屏幕的色温。S205b, the terminal updates the position of the second sliding control in the second sliding area, and adjusts the color temperature of the screen of the terminal according to the parameter value corresponding to the updated position of the second sliding control.

需要说明的是,本发明实施例提供的调节设备参数的方法,用户可以控制终端准确地选择参数值,如屏幕的色温的参数值,从而使得终端调节得到的终端的屏幕的色温满足用户需求。It should be noted that, in the method for adjusting device parameters provided by the embodiments of the present invention, the user can control the terminal to accurately select the parameter value, such as the parameter value of the color temperature of the screen, so that the color temperature of the screen of the terminal adjusted by the terminal can meet the user's needs.

在一种可能的实现方式中,如图6所示,为本发明实施例提供一种终端的可能的结构示意图。图6示出的终端60包括:接收模块601、更新模块602和激活模块603;接收模块601,用于接收用户对第一滑动区域上的第一滑动控件的第一输入;更新模块602,用于响应于接收模块601接收的第一输入,更新第一滑动控件在第一滑动区域的位置;激活模块603,用于若第一滑动控件在第一滑动区域的位置位于更新模块602更新得到的第一位置范围内,则显示或激活第二滑动区域上的第二滑动控件,第二滑动区域指示的参数值范围与第一位置范围指示的参数范围相同;接收模块601,还用于接收用户对第二滑动区域上的第二滑动控件的第二输入;更新模块602,还用于响应于接收模块601接收的第二输入,更新第二滑动控件在第二滑动区域的位置,并根据与更新后的第二滑动控件的位置对应的参数值,调节设备参数。In a possible implementation manner, as shown in FIG. 6 , a possible schematic structural diagram of a terminal is provided for an embodiment of the present invention. The terminal 60 shown in FIG. 6 includes: a receivingmodule 601, an updatingmodule 602 and an activatingmodule 603; the receivingmodule 601 is used for receiving the first input from the user to the first sliding control on the first sliding area; the updatingmodule 602 is used for In response to the first input received by the receivingmodule 601, update the position of the first sliding control in the first sliding area; theactivation module 603 is used for if the position of the first sliding control in the first sliding area is located in the updatedmodule 602. Within the first position range, the second sliding control on the second sliding area is displayed or activated, and the parameter value range indicated by the second sliding area is the same as the parameter range indicated by the first position range; the receivingmodule 601 is further configured to receive user The second input to the second sliding control on the second sliding area; the updatingmodule 602 is also used to update the position of the second sliding control in the second sliding area in response to the second input received by the receivingmodule 601, and The updated parameter value corresponding to the position of the second sliding control adjusts the device parameter.

可选的,第一输入为用户在第一滑动区域上将第一滑动控件从第一位置移动至第二位置的输入;更新模块602,具体用于将第一滑动控件在第一滑动区域上的位置由第一位置更新为第二位置,第一位置范围指示的参数值范围的第一端参数值和第二端参数值与第二位置对应的参数值之间差值的绝对值均为预设数值;第二输入为用户在第二滑动区域上将第二滑动控件从第三位置移动至第四位置的输入;更新模块602,具体用于将第二滑动控件在第二滑动区域上的位置由第三位置更新为第四位置,并根据与第四位置对应的参数值,调节设备参数。Optionally, the first input is the input of the user to move the first sliding control from the first position to the second position on the first sliding area; theupdate module 602 is specifically used for placing the first sliding control on the first sliding area. The position is updated from the first position to the second position, and the absolute value of the difference between the parameter value at the first end of the parameter value range indicated by the first position range and the parameter value at the second end and the parameter value corresponding to the second position is both The preset value; the second input is the input of the user moving the second sliding control from the third position to the fourth position on the second sliding area; theupdate module 602 is specifically used for placing the second sliding control on the second sliding area The position of the device is updated from the third position to the fourth position, and the device parameters are adjusted according to the parameter values corresponding to the fourth position.

可选的,第一滑动控件随着第二滑动控件的移动而移动;第二滑动控件在第二滑动区域上的位置对应的参数值与第一滑动控件在第一滑动区域上的位置对应的参数值相同。Optionally, the first sliding control moves with the movement of the second sliding control; the parameter value corresponding to the position of the second sliding control on the second sliding area corresponds to the position of the first sliding control on the first sliding area. The parameter values are the same.

可选的,激活模块603,具体用于在第一滑动控件对应的精度开关处于开启状态的情况下,若第一滑动控件在第一滑动区域的位置位于第一位置范围内,则显示或激活第二滑动区域上的第二滑动控件。Optionally, theactivation module 603 is specifically configured to display or activate if the position of the first sliding control in the first sliding area is within the first position range when the precision switch corresponding to the first sliding control is in an on state. The second slide control on the second slide area.

可选的,第一滑动控件为第一滑块;或者,第一滑动控件处于第二滑块的中心位置,第二滑块随着第一滑动控件的移动而移动;其中,第一滑块和第二滑块在第一滑动区域上的位置范围均为第一位置范围。Optionally, the first sliding control is a first sliding block; or, the first sliding control is at the center of the second sliding block, and the second sliding block moves with the movement of the first sliding control; wherein, the first sliding block The position ranges of the second slider and the second slider on the first sliding area are both the first position ranges.

可选的,设备参数用于表征终端的屏幕的色温;更新模块602,具体用于更新第二滑动控件在第二滑动区域的位置,并根据与更新后的第二滑动控件的位置对应的参数值,调节终端的屏幕的色温。Optionally, the device parameter is used to represent the color temperature of the screen of the terminal; theupdate module 602 is specifically used to update the position of the second sliding control in the second sliding area, and according to the parameters corresponding to the updated position of the second sliding control value to adjust the color temperature of the terminal's screen.

需要说明的是,本发明实施例提供的终端,终端支持用户通过移动第一滑动区域上的第一滑动控件,使第一滑动区域中第一滑动控件处于第一位置范围指示的参数范围,从而使得第二滑动区域指示的参数范围为上述第一位置范围指示的参数范围。如此,由于第二滑动区域中的参数值的精度大于第一滑动区域中的参数值的精度,而用户可以通过第二滑动区域上的第二滑动控件准确地选择需求的参数值,从而使得终端根据该参数值调节的设备参数满足用户需求,即提高了终端调节设备参数的准确性。It should be noted that, in the terminal provided by the embodiment of the present invention, the terminal supports the user to move the first sliding control on the first sliding area, so that the first sliding control in the first sliding area is in the parameter range indicated by the first position range, thereby The parameter range indicated by the second sliding area is the parameter range indicated by the first position range. In this way, since the precision of the parameter value in the second sliding area is greater than the precision of the parameter value in the first sliding area, the user can accurately select the required parameter value through the second sliding control on the second sliding area, so that the terminal The device parameter adjusted according to the parameter value meets the user's requirement, that is, the accuracy of adjusting the device parameter by the terminal is improved.

本发明实施例提供的终端60能够实现上述方法实施例中终端实现的各个过程,为避免重复,这里不再赘述。The terminal 60 provided in this embodiment of the present invention can implement each process implemented by the terminal in the foregoing method embodiment, and to avoid repetition, details are not described herein again.

图7为本发明实施例提供的一种终端的硬件结构示意图,该终端100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图7中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。FIG. 7 is a schematic diagram of the hardware structure of a terminal according to an embodiment of the present invention. The terminal 100 includes but is not limited to: aradio frequency unit 101, anetwork module 102, anaudio output unit 103, aninput unit 104, asensor 105, adisplay unit 106, a user Theinput unit 107, theinterface unit 108, thememory 109, theprocessor 110, the power supply 111 and other components. Those skilled in the art can understand that the terminal structure shown in FIG. 7 does not constitute a limitation on the terminal, and the terminal may include more or less components than the one shown, or combine some components, or arrange different components. In the embodiment of the present invention, the terminal includes but is not limited to a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.

其中,用户输入单元107,用于接收用户对第一滑动区域上的第一滑动控件的第一输入;处理器110,用于响应于用户输入单元107接收的第一输入,更新第一滑动控件在第一滑动区域的位置;若第一滑动控件在第一滑动区域的位置位于第一位置范围内,则显示或激活第二滑动区域上的第二滑动控件,第二滑动区域指示的参数值范围与第一位置范围指示的参数范围相同;用户输入单元107,还用于接收用户对第二滑动区域上的第二滑动控件的第二输入;处理器110,还用于响应于用户输入单元107接收的第二输入,更新第二滑动控件在第二滑动区域的位置,并根据与更新后的第二滑动控件的位置对应的参数值,调节设备参数。Wherein, theuser input unit 107 is used for receiving the first input from the user to the first sliding control on the first sliding area; theprocessor 110 is used for updating the first sliding control in response to the first input received by theuser input unit 107 at the position of the first sliding area; if the position of the first sliding control in the first sliding area is within the first position range, display or activate the second sliding control on the second sliding area, and the parameter value indicated by the second sliding area The range is the same as the parameter range indicated by the first position range; theuser input unit 107 is further configured to receive a second input from the user to the second sliding control on the second sliding area; theprocessor 110 is further configured to respond to the user input unit The second input received at 107 is to update the position of the second sliding control in the second sliding area, and adjust the device parameters according to the parameter value corresponding to the updated position of the second sliding control.

需要说明的是,本发明实施例提供的终端,终端支持用户通过移动第一滑动区域上的第一滑动控件,使第一滑动区域中第一滑动控件处于第一位置范围指示的参数范围,从而使得第二滑动区域指示的参数范围为上述第一位置范围指示的参数范围。如此,由于第二滑动区域中的参数值的精度大于第一滑动区域中的参数值的精度,而用户可以通过第二滑动区域上的第二滑动控件准确地选择需求的参数值,从而使得终端根据该参数值调节的设备参数满足用户需求,即提高了终端调节设备参数的准确性。It should be noted that, in the terminal provided by the embodiment of the present invention, the terminal supports the user to move the first sliding control on the first sliding area, so that the first sliding control in the first sliding area is in the parameter range indicated by the first position range, thereby The parameter range indicated by the second sliding area is the parameter range indicated by the first position range. In this way, since the precision of the parameter value in the second sliding area is greater than the precision of the parameter value in the first sliding area, the user can accurately select the required parameter value through the second sliding control on the second sliding area, so that the terminal The device parameter adjusted according to the parameter value meets the user's requirement, that is, the accuracy of adjusting the device parameter by the terminal is improved.

应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, theradio frequency unit 101 may be used for receiving and sending signals in the process of sending and receiving information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by theprocessor 110; The uplink data is sent to the base station. Generally, theradio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, theradio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.

终端通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal provides the user with wireless broadband Internet access through thenetwork module 102, such as helping the user to send and receive emails, browse web pages, and access streaming media.

音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。Theaudio output unit 103 may convert audio data received by theradio frequency unit 101 or thenetwork module 102 or stored in thememory 109 into audio signals and output as sound. Also, theaudio output unit 103 may also provide audio output related to a specific function performed by the terminal 100 (eg, call signal reception sound, message reception sound, etc.). Theaudio output unit 103 includes a speaker, a buzzer, a receiver, and the like.

输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。Theinput unit 104 is used to receive audio or video signals. Theinput unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and amicrophone 1042. Thegraphics processor 1041 captures images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode data is processed. The processed image frames may be displayed on thedisplay unit 106 . The image frames processed by thegraphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via theradio frequency unit 101 or thenetwork module 102 . Themicrophone 1042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via theradio frequency unit 101 for output in the case of a telephone call mode.

终端100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在终端100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal 100 also includes at least onesensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of thedisplay panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off thedisplay panel 1061 and/or when the terminal 100 is moved to the ear. or backlight. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, Thesensor 105 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared Sensors, etc., will not be repeated here.

显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。Thedisplay unit 106 is used to display information input by the user or information provided to the user. Thedisplay unit 106 may include adisplay panel 1061, and thedisplay panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

用户输入单元107可用于接收输入的数字或字符信息,以及产生与终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。Theuser input unit 107 may be used to receive input numerical or character information, and generate key signal input related to user settings and function control of the terminal. Specifically, theuser input unit 107 includes atouch panel 1071 andother input devices 1072 . Thetouch panel 1071, also referred to as a touch screen, can collect the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable object or attachment on or near the touch panel 1071). operate). Thetouch panel 1071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To theprocessor 110, the command sent by theprocessor 110 is received and executed. In addition, thetouch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to thetouch panel 1071 , theuser input unit 107 may also includeother input devices 1072 . Specifically,other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described herein again.

进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图7中,触控面板1071与显示面板1061是作为两个独立的部件来实现终端的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现终端的输入和输出功能,具体此处不做限定。Further, thetouch panel 1071 can be covered on thedisplay panel 1061. When thetouch panel 1071 detects a touch operation on or near it, it transmits it to theprocessor 110 to determine the type of the touch event, and then theprocessor 110 determines the type of the touch event according to the touch The type of event provides corresponding visual output ondisplay panel 1061 . Although in FIG. 7 , thetouch panel 1071 and thedisplay panel 1061 are used as two independent components to realize the input and output functions of the terminal, but in some embodiments, thetouch panel 1071 and thedisplay panel 1061 may be integrated to form a Realize the input and output functions of the terminal, which is not limited here.

接口单元108为外部装置与终端100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端100内的一个或多个元件或者可以用于在终端100和外部装置之间传输数据。Theinterface unit 108 is an interface for connecting an external device to the terminal 100 . For example, external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. Theinterface unit 108 may be used to receive input (eg, data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal 100 or may be used between the terminal 100 and the external device. transfer data between.

存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Thememory 109 may be used to store software programs as well as various data. Thememory 109 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required for at least one function, etc.; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc. Additionally,memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

处理器110是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。处理器110可包括一个或多个处理单元;优选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。Theprocessor 110 is the control center of the terminal, and uses various interfaces and lines to connect various parts of the entire terminal, by running or executing the software programs and/or modules stored in thememory 109, and calling the data stored in thememory 109. Various functions of the terminal and processing data, so as to monitor the terminal as a whole. Theprocessor 110 may include one or more processing units; preferably, theprocessor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into theprocessor 110 .

终端100还可以包括给各个部件供电的电源111(比如电池),优选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal 100 may also include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 may be logically connected to theprocessor 110 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. Function.

另外,终端100包括一些未示出的功能模块,在此不再赘述。In addition, the terminal 100 includes some unshown functional modules, which are not repeated here.

优选的,本发明实施例还提供一种终端,包括处理器110,存储器109,存储在存储器109上并可在所述处理器110上运行的计算机程序,该计算机程序被处理器110执行时实现上述调节设备参数的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, an embodiment of the present invention further provides a terminal, including aprocessor 110, amemory 109, a computer program stored in thememory 109 and running on theprocessor 110, and the computer program is implemented when theprocessor 110 executes it. The various processes of the above-mentioned embodiments of the method for adjusting device parameters can achieve the same technical effect, and are not repeated here to avoid repetition.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述调节设备参数的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, each process of the above-mentioned method for adjusting device parameters is implemented, and can achieve the same In order to avoid repetition, the technical effect will not be repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk, or an optical disk.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course hardware can also be used, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.

Claims (12)

Translated fromChinese
1.一种调节设备参数的方法,其特征在于,包括:1. a method for adjusting equipment parameters, is characterized in that, comprises:接收用户对第一滑动区域上的第一滑动控件的第一输入,所述第一滑动区域上设置有第二滑块;receiving a first input from a user to a first sliding control on a first sliding area, where a second slider is provided on the first sliding area;响应于所述第一输入,更新所述第一滑动控件在所述第一滑动区域的位置;in response to the first input, updating the position of the first sliding control in the first sliding area;若所述第一滑动控件在所述第一滑动区域的位置位于第一位置范围内,则显示或激活第二滑动区域上的第二滑动控件,所述第二滑动区域指示的参数值范围与所述第一位置范围指示的参数范围相同;所述第二滑块在所述第一滑动区域上的位置范围为所述第一位置范围;If the position of the first sliding control in the first sliding area is within the first position range, the second sliding control on the second sliding area is displayed or activated, and the parameter value range indicated by the second sliding area is the same as that of the second sliding area. The parameter ranges indicated by the first position range are the same; the position range of the second slider on the first sliding area is the first position range;接收用户对所述第二滑动区域上的所述第二滑动控件的第二输入;receiving a second input from the user to the second sliding control on the second sliding area;响应于所述第二输入,更新所述第二滑动控件在所述第二滑动区域的位置,并根据与更新后的所述第二滑动控件的位置对应的参数值,调节设备参数;In response to the second input, update the position of the second sliding control in the second sliding area, and adjust the device parameters according to the parameter value corresponding to the updated position of the second sliding control;其中,所述第一滑动控件处于所述第二滑块的中心位置,所述第二滑块随着所述第一滑动控件的移动而移动。Wherein, the first sliding control is at the center position of the second sliding block, and the second sliding block moves with the movement of the first sliding control.2.根据权利要求1所述的方法,其特征在于,所述第一输入为用户在所述第一滑动区域上将所述第一滑动控件从第一位置移动至第二位置的输入;2. The method according to claim 1, wherein the first input is an input by a user to move the first sliding control from a first position to a second position on the first sliding area;所述更新所述第一滑动控件在所述第一滑动区域的位置,包括:The updating the position of the first sliding control in the first sliding area includes:将所述第一滑动控件在所述第一滑动区域上的位置由所述第一位置更新为所述第二位置,所述第一位置范围指示的参数值范围的第一端参数值和第二端参数值与所述第二位置对应的参数值之间差值的绝对值均为预设数值;The position of the first sliding control on the first sliding area is updated from the first position to the second position, and the first end parameter value and the first end parameter value of the parameter value range indicated by the first position range are The absolute value of the difference between the two-terminal parameter value and the parameter value corresponding to the second position is a preset value;所述第二输入为用户在所述第二滑动区域上将所述第二滑动控件从第三位置移动至第四位置的输入;the second input is an input by the user to move the second sliding control from a third position to a fourth position on the second sliding area;所述更新所述第二滑动控件在所述第二滑动区域的位置,并根据与更新后的所述第二滑动控件的位置对应的参数值,调节设备参数,包括:The updating the position of the second sliding control in the second sliding area, and adjusting the device parameters according to the parameter value corresponding to the updated position of the second sliding control, including:将所述第二滑动控件在所述第二滑动区域上的位置由所述第三位置更新为所述第四位置,并根据与所述第四位置对应的参数值,调节所述设备参数。The position of the second sliding control on the second sliding area is updated from the third position to the fourth position, and the device parameter is adjusted according to the parameter value corresponding to the fourth position.3.根据权利要求2所述的方法,其特征在于,所述第一滑动控件随着所述第二滑动控件的移动而移动;3. The method according to claim 2, wherein the first sliding control moves with the movement of the second sliding control;所述第二滑动控件在所述第二滑动区域上的位置对应的参数值与所述第一滑动控件在所述第一滑动区域上的位置对应的参数值相同。The parameter value corresponding to the position of the second sliding control on the second sliding area is the same as the parameter value corresponding to the position of the first sliding control on the first sliding area.4.根据权利要求1所述的方法,其特征在于,所述若所述第一滑动控件在所述第一滑动区域的位置位于第一位置范围内,则显示或激活第二滑动区域上的第二滑动控件,包括:4 . The method according to claim 1 , wherein if the position of the first sliding control in the first sliding area is within a first position range, displaying or activating the control panel on the second sliding area. Second slide controls, including:在所述第一滑动控件对应的精度开关处于开启状态的情况下,若所述第一滑动控件在所述第一滑动区域的位置位于所述第一位置范围内,则显示或激活第二滑动区域上的所述第二滑动控件。When the precision switch corresponding to the first sliding control is in an on state, if the position of the first sliding control in the first sliding area is within the first position range, the second sliding control is displayed or activated. the second slide control on the area.5.根据权利要求1所述的方法,其特征在于,所述设备参数用于表征终端的屏幕的色温;5. The method according to claim 1, wherein the device parameter is used to characterize the color temperature of the screen of the terminal;所述更新所述第二滑动控件在所述第二滑动区域的位置,并根据与更新后的所述第二滑动控件的位置对应的参数值,调节设备参数,包括:The updating the position of the second sliding control in the second sliding area, and adjusting the device parameters according to the parameter value corresponding to the updated position of the second sliding control, including:更新所述第二滑动控件在所述第二滑动区域的位置,并根据与更新后的所述第二滑动控件的位置对应的参数值,调节所述终端的屏幕的色温。The position of the second sliding control in the second sliding area is updated, and the color temperature of the screen of the terminal is adjusted according to the parameter value corresponding to the updated position of the second sliding control.6.一种终端,其特征在于,包括:接收模块、更新模块和激活模块;6. A terminal, comprising: a receiving module, an update module and an activation module;所述接收模块,用于接收用户对第一滑动区域上的第一滑动控件的第一输入,所述第一滑动区域上设置有第二滑块;The receiving module is configured to receive the first input from the user to the first sliding control on the first sliding area, and the first sliding area is provided with a second slider;所述更新模块,用于响应于所述接收模块接收的所述第一输入,更新所述第一滑动控件在所述第一滑动区域的位置;the updating module, configured to update the position of the first sliding control in the first sliding area in response to the first input received by the receiving module;所述激活模块,用于若所述第一滑动控件在所述第一滑动区域的位置位于所述更新模块更新得到的第一位置范围内,则显示或激活第二滑动区域上的第二滑动控件,所述第二滑动区域指示的参数值范围与所述第一位置范围指示的参数范围相同;所述第二滑块在所述第一滑动区域上的位置范围为所述第一位置范围;The activation module is configured to display or activate the second slide on the second slide area if the position of the first slide control in the first slide area is within the range of the first position updated by the update module control, the parameter value range indicated by the second sliding area is the same as the parameter range indicated by the first position range; the position range of the second slider on the first sliding area is the first position range ;所述接收模块,还用于接收用户对所述第二滑动区域上的所述第二滑动控件的第二输入;The receiving module is further configured to receive a second input from the user to the second sliding control on the second sliding area;所述更新模块,还用于响应于所述接收模块接收的所述第二输入,更新所述第二滑动控件在所述第二滑动区域的位置,并根据与更新后的所述第二滑动控件的位置对应的参数值,调节设备参数;The updating module is further configured to update the position of the second sliding control in the second sliding area in response to the second input received by the receiving module, and update the position of the second sliding control according to the updated second sliding control. The parameter value corresponding to the position of the control, adjust the device parameters;其中,所述第一滑动控件处于所述第二滑块的中心位置,所述第二滑块随着所述第一滑动控件的移动而移动。Wherein, the first sliding control is at the center position of the second sliding block, and the second sliding block moves with the movement of the first sliding control.7.根据权利要求6所述的终端,其特征在于,所述第一输入为用户在所述第一滑动区域上将所述第一滑动控件从第一位置移动至第二位置的输入;7. The terminal according to claim 6, wherein the first input is an input of a user moving the first sliding control from a first position to a second position on the first sliding area;所述更新模块,具体用于将所述第一滑动控件在所述第一滑动区域上的位置由所述第一位置更新为所述第二位置,所述第一位置范围指示的参数值范围的第一端参数值和第二端参数值与所述第二位置对应的参数值之间差值的绝对值均为预设数值;The updating module is specifically configured to update the position of the first sliding control on the first sliding area from the first position to the second position, and the parameter value range indicated by the first position range The absolute value of the difference between the parameter value of the first end and the parameter value of the second end and the parameter value corresponding to the second position is a preset value;所述第二输入为用户在所述第二滑动区域上将所述第二滑动控件从第三位置移动至第四位置的输入;the second input is an input by the user to move the second sliding control from a third position to a fourth position on the second sliding area;所述更新模块,具体用于将所述第二滑动控件在所述第二滑动区域上的位置由所述第三位置更新为所述第四位置,并根据与所述第四位置对应的参数值,调节所述设备参数。The updating module is specifically configured to update the position of the second sliding control on the second sliding area from the third position to the fourth position, and according to the parameters corresponding to the fourth position value, adjust the device parameters.8.根据权利要求7所述的终端,其特征在于,所述第一滑动控件随着所述第二滑动控件的移动而移动;8. The terminal according to claim 7, wherein the first sliding control moves with the movement of the second sliding control;所述第二滑动控件在所述第二滑动区域上的位置对应的参数值与所述第一滑动控件在所述第一滑动区域上的位置对应的参数值相同。The parameter value corresponding to the position of the second sliding control on the second sliding area is the same as the parameter value corresponding to the position of the first sliding control on the first sliding area.9.根据权利要求6所述的终端,其特征在于,9. The terminal according to claim 6, wherein,所述激活模块,具体用于在所述第一滑动控件对应的精度开关处于开启状态的情况下,若所述第一滑动控件在所述第一滑动区域的位置位于所述第一位置范围内,则显示或激活第二滑动区域上的所述第二滑动控件。The activation module is specifically configured to, when the precision switch corresponding to the first sliding control is in an on state, if the position of the first sliding control in the first sliding area is within the first position range , the second sliding control on the second sliding area is displayed or activated.10.根据权利要求6所述的终端,其特征在于,所述设备参数用于表征所述终端的屏幕的色温;10. The terminal according to claim 6, wherein the device parameter is used to characterize the color temperature of the screen of the terminal;所述更新模块,具体用于更新所述第二滑动控件在所述第二滑动区域的位置,并根据与更新后的所述第二滑动控件的位置对应的参数值,调节所述终端的屏幕的色温。The updating module is specifically configured to update the position of the second sliding control in the second sliding area, and adjust the screen of the terminal according to the parameter value corresponding to the updated position of the second sliding control color temperature.11.一种终端,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的调节设备参数的方法的步骤。11. A terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and running on the processor, the computer program being executed by the processor to achieve the method as claimed in the claims Steps of the method for adjusting equipment parameters described in any one of 1 to 5.12.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的调节设备参数的方法的步骤。12. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the adjustment according to any one of claims 1 to 5 is realized The steps of the method for the device parameters.
CN201810739341.9A2018-07-062018-07-06Method and terminal for adjusting equipment parametersActiveCN109032468B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810739341.9ACN109032468B (en)2018-07-062018-07-06Method and terminal for adjusting equipment parameters

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810739341.9ACN109032468B (en)2018-07-062018-07-06Method and terminal for adjusting equipment parameters

Publications (2)

Publication NumberPublication Date
CN109032468A CN109032468A (en)2018-12-18
CN109032468Btrue CN109032468B (en)2020-11-17

Family

ID=64641490

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810739341.9AActiveCN109032468B (en)2018-07-062018-07-06Method and terminal for adjusting equipment parameters

Country Status (1)

CountryLink
CN (1)CN109032468B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US11893223B2 (en)*2019-05-202024-02-06ResMed Pty LtdPressure control in PAP systems

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110568987B (en)*2019-07-232021-04-20珠海格力电器股份有限公司Interactive method and device for adjusting parameters
CN111443956B (en)2020-03-232023-02-03Oppo广东移动通信有限公司Setting control display method and device, storage medium and electronic equipment
CN111447633B (en)*2020-04-082024-08-13西藏霖栋科技有限公司Network list generation method, device, mobile terminal and storage medium
CN111683177B (en)*2020-05-142021-06-29北京小米移动软件有限公司 Function parameter adjustment method, function parameter adjustment device and storage medium
CN113260127B (en)*2021-04-302023-04-25深圳市爱图仕影像器材有限公司 A color temperature adjustment method, terminal equipment, and computer-readable storage medium
CN114582263A (en)*2022-02-212022-06-03惠州Tcl移动通信有限公司Display control method, device, terminal and computer readable storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104850329A (en)*2015-04-292015-08-19小米科技有限责任公司Method and device for adjusting parameters

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2009295147A (en)*2008-05-072009-12-17Hoya CorpInformation processing apparatus capable of conducting scroll-display
US20090293019A1 (en)*2008-05-222009-11-26Keith RaffelUser interface having slider controls for weighted parameters in searching or decision making processes
CN104123079A (en)*2013-04-282014-10-29腾讯科技(深圳)有限公司Method and device for adjusting position of progress bars
CN104182143B (en)*2014-08-222017-11-10惠州Tcl移动通信有限公司The back light brightness regulating method and system of a kind of mobile terminal
CN106886358A (en)*2017-02-242017-06-23惠州Tcl移动通信有限公司The method and system of mobile terminal loudness control

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104850329A (en)*2015-04-292015-08-19小米科技有限责任公司Method and device for adjusting parameters

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US11893223B2 (en)*2019-05-202024-02-06ResMed Pty LtdPressure control in PAP systems

Also Published As

Publication numberPublication date
CN109032468A (en)2018-12-18

Similar Documents

PublicationPublication DateTitle
CN108255378B (en)Display control method and mobile terminal
CN109032468B (en)Method and terminal for adjusting equipment parameters
JP2021525430A (en) Display control method and terminal
CN108536411A (en)A kind of method for controlling mobile terminal and mobile terminal
WO2019174611A1 (en)Application configuration method and mobile terminal
CN110837327B (en) A message viewing method and terminal
CN111459355A (en) Content sharing method and electronic device
CN108762634B (en)Control method and terminal
CN108595237A (en)A kind of method and terminal of display content
CN110445924B (en)Network task execution method and terminal equipment
CN110825295B (en) Application control method and electronic device
CN110764675A (en) A control method and electronic device
CN108287655A (en)A kind of interface display method, interface display apparatus and mobile terminal
CN108491130A (en)A kind of application programe switch-over method and mobile terminal
CN110489045A (en)A kind of object displaying method and terminal device
CN110928619B (en)Wallpaper setting method and device, electronic equipment and medium
CN110531915A (en) Screen operation method and terminal equipment
CN108958593A (en)A kind of method and mobile terminal of determining communication object
CN110012151A (en)A kind of information display method and terminal device
WO2020215969A1 (en)Content input method and terminal device
CN111352547A (en)Display method and electronic equipment
CN110888568A (en) A notification bar display method and terminal device
CN111240551B (en)Application program control method and electronic equipment
CN109240575A (en)A kind of screen control method and electronic equipment
CN108196754B (en)Method, terminal and server for displaying object

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp