技术领域technical field
本发明涉及智能终端技术领域,具体涉及一种参数调节方法及装置、计算机装置及可读存储介质。The present invention relates to the technical field of intelligent terminals, in particular to a parameter adjustment method and device, a computer device and a readable storage medium.
背景技术Background technique
目前,随着电子及通信技术的发展,手机、平板电脑等终端被广泛的使用。用户在使用终端的时候,有时候需要对终端参数进行调节,例如调节屏幕亮度、调节音量等。然而,有时候用户操作不及时,在触发显示参数调节标识后没有来得及进行调节,给用户带来一定的麻烦。At present, with the development of electronic and communication technologies, terminals such as mobile phones and tablet computers are widely used. When using a terminal, a user sometimes needs to adjust terminal parameters, such as adjusting screen brightness and volume. However, sometimes the user does not operate in time, and does not have time to adjust after the display parameter adjustment logo is triggered, which brings certain troubles to the user.
发明内容Contents of the invention
鉴于以上内容,有必要提出一种参数调节方法及装置、计算机装置及可读存储介质,其可以识别用户延迟的参数调节操作,根据延迟的参数调节操作对终端参数进行调节,给用户带来了便利。In view of the above, it is necessary to propose a parameter adjustment method and device, a computer device and a readable storage medium, which can identify the delayed parameter adjustment operation of the user, adjust the terminal parameters according to the delayed parameter adjustment operation, and bring the user convenient.
本申请的第一方面提供一种参数调节方法,所述方法包括:A first aspect of the present application provides a parameter adjustment method, the method comprising:
根据接收到的参数调节触发指令在终端的屏幕上显示参数调节标识;Displaying the parameter adjustment logo on the screen of the terminal according to the received parameter adjustment trigger instruction;
检测在显示所述参数调节标识后的第一预设时间内是否接收到对所述参数调节标识对应的待调节参数进行调节的预设操作;Detecting whether a preset operation for adjusting a parameter to be adjusted corresponding to the parameter adjustment logo is received within a first preset time after the parameter adjustment logo is displayed;
若在显示所述参数调节标识后的第一预设时间内没有接收到所述预设操作,则关闭所述参数调节标识,并判断在关闭所述参数调节标识后的第二预设时间内是否接收到所述预设操作;If the preset operation is not received within the first preset time after the parameter adjustment logo is displayed, the parameter adjustment logo is turned off, and it is determined that within the second preset time after the parameter adjustment logo is turned off Whether the preset operation is received;
若在关闭所述参数调节标识后的第二预设时间内接收到所述预设操作,则根据所述预设操作对所述待调节参数进行调节。If the preset operation is received within a second preset time after the parameter adjustment flag is turned off, the parameter to be adjusted is adjusted according to the preset operation.
另一种可能的实现方式中,所述根据所述预设操作对所述待调节参数进行调节包括:In another possible implementation manner, the adjusting the parameter to be adjusted according to the preset operation includes:
在所述屏幕上重新显示所述参数调节标识,并根据所述预设操作对所述待调节参数进行调节;或者re-displaying the parameter adjustment logo on the screen, and adjusting the parameter to be adjusted according to the preset operation; or
在所述屏幕上显示参数调节提示信息,并根据所述预设操作对所述待调节参数进行调节。A parameter adjustment prompt message is displayed on the screen, and the parameter to be adjusted is adjusted according to the preset operation.
另一种可能的实现方式中,所述方法还包括:In another possible implementation, the method further includes:
获取所述参数调节标识在所述屏幕上的显示位置;Acquiring the display position of the parameter adjustment mark on the screen;
则判断在关闭所述参数调节标识后的第二预设时间内是否接收到所述预设操作包括:Then judging whether the preset operation is received within the second preset time after turning off the parameter adjustment flag includes:
判断在关闭所述参数调节标识后的第二预设时间内在所述显示位置是否接收到所述预设操作;或者judging whether the preset operation is received at the display position within a second preset time after the parameter adjustment sign is turned off; or
判断在关闭所述参数调节标识后的第二预设时间内在所述显示位置的预设范围内是否接收到所述预设用户操作。It is judged whether the preset user operation is received within a preset range of the display position within a second preset time after the parameter adjustment sign is turned off.
另一种可能的实现方式中,所述方法还包括:In another possible implementation, the method further includes:
检测终端是否处于单手握持状态;Detect whether the terminal is held by one hand;
若终端处于单手握持状态,则执行判断在关闭所述参数调节标识后的第二预设时间内是否接收到所述预设操作的步骤;或者If the terminal is held by one hand, perform the step of judging whether the preset operation is received within the second preset time after the parameter adjustment flag is turned off; or
若检测到终端处于单手握持状态,则执行根据所述预设操作对所述待调节参数进行调节的步骤。If it is detected that the terminal is held by one hand, the step of adjusting the parameter to be adjusted according to the preset operation is performed.
另一种可能的实现方式中,所述方法还包括:In another possible implementation, the method further includes:
获取终端当前的环境信息;Obtain the current environment information of the terminal;
若终端当前的环境信息与预设参数调节信息相匹配,则执行判断在关闭所述参数调节标识后的第二预设时间内是否接收到所述预设操作的步骤;或者If the current environment information of the terminal matches the preset parameter adjustment information, perform the step of judging whether the preset operation is received within a second preset time after the parameter adjustment flag is turned off; or
若终端当前的环境信息与预设参数调节信息相匹配,则执行根据所述预设操作对所述待调节参数进行调节的步骤。If the current environment information of the terminal matches the preset parameter adjustment information, the step of adjusting the parameter to be adjusted according to the preset operation is performed.
本申请的第二方面提供一种参数调节装置,所述装置包括:A second aspect of the present application provides a parameter adjustment device, the device comprising:
显示单元,用于根据接收到的参数调节触发指令在终端的屏幕上显示参数调节标识;a display unit, configured to display a parameter adjustment logo on the screen of the terminal according to the received parameter adjustment trigger instruction;
检测单元,用于检测在显示所述参数调节标识后的第一预设时间内是否接收到对所述参数调节标识对应的待调节参数进行调节的预设操作;A detection unit, configured to detect whether a preset operation for adjusting a parameter to be adjusted corresponding to the parameter adjustment symbol is received within a first preset time after the parameter adjustment symbol is displayed;
关闭单元,用于若在显示所述参数调节标识后的第一预设时间内没有接收到所述预设操作,则关闭所述参数调节标识,并判断在关闭所述参数调节标识后的第二预设时间内是否接收到所述预设操作;A closing unit, configured to close the parameter adjustment sign if the preset operation is not received within the first preset time after the parameter adjustment sign is displayed, and determine whether the parameter adjustment sign is closed after the first preset operation. 2. Whether the preset operation is received within the preset time;
调节单元,用于若在关闭所述参数调节标识后的第二预设时间内接收到所述预设操作,则根据所述预设操作对所述待调节参数进行调节。The adjustment unit is configured to adjust the parameter to be adjusted according to the preset operation if the preset operation is received within a second preset time after the parameter adjustment flag is turned off.
另一种可能的实现方式中,所述调节单元根据所述预设操作对所述待调节参数进行调节包括:In another possible implementation manner, the adjusting the parameter to be adjusted by the adjusting unit according to the preset operation includes:
在所述屏幕上重新显示所述参数调节标识,并根据所述预设操作对所述待调节参数进行调节;或者re-displaying the parameter adjustment logo on the screen, and adjusting the parameter to be adjusted according to the preset operation; or
在所述屏幕上显示参数调节提示信息,并根据所述预设操作对所述待调节参数进行调节。A parameter adjustment prompt message is displayed on the screen, and the parameter to be adjusted is adjusted according to the preset operation.
另一种可能的实现方式中,所述装置还包括:In another possible implementation manner, the device further includes:
第一获取单元,用于获取所述参数调节标识在所述屏幕上的显示位置;a first acquiring unit, configured to acquire the display position of the parameter adjustment mark on the screen;
则所述关闭单元判断在关闭所述参数调节标识后的第二预设时间内是否接收到所述预设操作包括:Then the closing unit judging whether the preset operation is received within the second preset time after the parameter adjustment flag is turned off includes:
判断在关闭所述参数调节标识后的第二预设时间内在所述显示位置是否接收到所述预设操作;或者judging whether the preset operation is received at the display position within a second preset time after the parameter adjustment sign is turned off; or
判断在关闭所述参数调节标识后的第二预设时间内在所述显示位置的预设范围内是否接收到所述预设用户操作。It is judged whether the preset user operation is received within a preset range of the display position within a second preset time after the parameter adjustment sign is turned off.
另一种可能的实现方式中,所述检测单元还用于,检测终端是否处于单手握持状态;In another possible implementation manner, the detection unit is further configured to detect whether the terminal is held by one hand;
若终端处于单手握持状态,则所述关闭单元判断在关闭所述参数调节标识后的第二预设时间内是否接收到所述预设操作;或者If the terminal is held by one hand, the closing unit determines whether the preset operation is received within a second preset time after the parameter adjustment sign is turned off; or
若检测到终端处于单手握持状态,则所述调节单元根据所述预设操作对所述待调节参数进行调节。If it is detected that the terminal is held by one hand, the adjusting unit adjusts the parameter to be adjusted according to the preset operation.
另一种可能的实现方式中,所述装置还包括:In another possible implementation manner, the device further includes:
第二获取单元,用于获取终端当前的环境信息;a second acquiring unit, configured to acquire current environment information of the terminal;
若终端当前的环境信息与预设参数调节信息相匹配,则所述关闭单元判断在关闭所述参数调节标识后的第二预设时间内是否接收到所述预设操作;或者If the current environment information of the terminal matches the preset parameter adjustment information, the closing unit determines whether the preset operation is received within a second preset time after the parameter adjustment flag is turned off; or
若终端当前的环境信息与预设参数调节信息相匹配,则所述调节单元根据所述预设操作对所述待调节参数进行调节。If the current environment information of the terminal matches the preset parameter adjustment information, the adjusting unit adjusts the parameter to be adjusted according to the preset operation.
本申请的第三方面提供一种计算机装置,所述计算机装置包括处理器,所述处理器用于执行存储器中存储的计算机程序时实现所述参数调节方法。A third aspect of the present application provides a computer device, the computer device includes a processor, and the processor is configured to implement the parameter adjustment method when executing a computer program stored in a memory.
本申请的第四方面提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现所述参数调节方法。A fourth aspect of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the parameter adjustment method is realized.
本发明接收根据接收到的参数调节触发指令在终端的屏幕上显示参数调节标识;检测在显示所述参数调节标识后的第一预设时间内是否接收到对所述参数调节标识对应的待调节参数进行调节的预设操作;若在显示所述参数调节标识后的第一预设时间内没有接收到所述预设操作,则关闭所述参数调节标识,并判断在关闭所述参数调节标识后的第二预设时间内是否接收到所述预设操作;若在关闭所述参数调节标识后的第二预设时间内接收到所述预设操作,则根据所述预设操作对所述待调节参数进行调节。本发明可以识别用户延迟的参数调节操作,根据延迟的参数调节操作对终端参数进行调节,给用户带来了便利。The present invention receives and displays the parameter adjustment mark on the screen of the terminal according to the received parameter adjustment trigger instruction; detects whether the parameter adjustment mark corresponding to the parameter adjustment mark to be adjusted is received within the first preset time after the parameter adjustment mark is displayed. A preset operation for parameter adjustment; if the preset operation is not received within the first preset time after the parameter adjustment logo is displayed, the parameter adjustment logo is closed, and it is judged that the parameter adjustment logo is closed Whether the preset operation is received within the second preset time after; if the preset operation is received within the second preset time after the parameter adjustment flag is turned off, all Adjust the parameters to be adjusted. The invention can identify the user's delayed parameter adjustment operation, and adjust the terminal parameters according to the delayed parameter adjustment operation, which brings convenience to the user.
附图说明Description of drawings
图1是本发明实施例一提供的参数调节方法的流程图。FIG. 1 is a flowchart of a parameter adjustment method provided by Embodiment 1 of the present invention.
图2是本发明实施例二提供的参数调节装置的结构图。Fig. 2 is a structural diagram of a parameter adjustment device provided by Embodiment 2 of the present invention.
图3是本发明实施例三提供的计算机装置的示意图。FIG. 3 is a schematic diagram of a computer device provided by Embodiment 3 of the present invention.
主要元件符号说明Explanation of main component symbols
计算机装置 1computer device 1
参数调节装置 10Parameter adjustment device 10
存储器 20memory 20
处理器 30Processor 30
计算机程序 40computer program 40
显示单元 201display unit 201
检测单元 202Detection unit 202
关闭单元 203Closing unit 203
调节单元 204Adjustment unit 204
如下具体实施方式将结合上述附图进一步说明本发明。The following specific embodiments will further illustrate the present invention in conjunction with the above-mentioned drawings.
具体实施方式Detailed ways
为了能够更清楚地理解本发明的上述目的、特征和优点,下面结合附图和具体实施例对本发明进行详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。In order to more clearly understand the above objects, features and advantages of the present invention, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.
在下面的描述中阐述了很多具体细节以便于充分理解本发明,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。Many specific details are set forth in the following description to facilitate a full understanding of the present invention, and the described embodiments are only some of the embodiments of the present invention, rather than all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field of the invention. The terms used herein in the description of the present invention are for the purpose of describing specific embodiments only, and are not intended to limit the present invention.
优选地,本发明的参数调节方法应用在一个或者多个终端中。所述终端是一种能够按照事先设定或存储的指令,自动进行数值计算和/或信息处理的设备,其硬件包括但不限于微处理器、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程门阵列(Field-Programmable Gate Array,FPGA)、数字处理器(Digital SignalProcessor,DSP)、嵌入式设备等。Preferably, the parameter adjustment method of the present invention is applied in one or more terminals. The terminal is a device that can automatically perform numerical calculations and/or information processing according to preset or stored instructions, and its hardware includes but not limited to microprocessors, application specific integrated circuits (ASIC), Programmable gate array (Field-Programmable Gate Array, FPGA), digital processor (Digital Signal Processor, DSP), embedded devices, etc.
所述终端可以是,但不限于任何一种可与用户通过键盘、鼠标、遥控器、触摸板或声控设备等方式进行人机交互的电子产品,例如,平板电脑、智能手机、个人数字助理(Personal Digital Assistant,PDA)、智能穿戴式设备等。The terminal can be, but is not limited to, any electronic product that can interact with the user through a keyboard, mouse, remote control, touch pad, or voice-activated device, for example, a tablet computer, a smart phone, a personal digital assistant ( Personal Digital Assistant, PDA), smart wearable devices, etc.
实施例一Embodiment one
图1为本发明实施例一提供的参数调节方法的流程图。如图1所示,该方法具体包括以下步骤:FIG. 1 is a flowchart of a parameter adjustment method provided by Embodiment 1 of the present invention. As shown in Figure 1, the method specifically includes the following steps:
101:根据接收到的参数调节触发指令在终端的屏幕上显示参数调节标识。101: Display a parameter adjustment logo on the screen of the terminal according to the received parameter adjustment trigger instruction.
在本实施例中,终端可以以不同方式接收所述参数调节触发指令。例如,可以设置一个参数调节开关或按键(可以是物理开关或按键,也可以是虚拟开关或按键),若检测到用户打开/按下所述参数调节开关或按键(例如长按终端上的home键),则接收到所述参数调节触发指令。或者,可以设置一个参数调节触发手势(例如扳手图形),若检测到用户发出所述参数调节触发手势,则接收到参数调节触发指令。或者,可以检测终端的空间姿态是否发生预设变化(例如翻转90度),若检测到终端的空间姿态发生预设变化,则接收到参数调节触发指令。或者,可以设置一个参数调节触发语音(例如“参数调节”),若检测到用户发出所述参数调节触发语音,则接收到参数调节触发指令。In this embodiment, the terminal may receive the parameter adjustment trigger instruction in different ways. For example, a parameter adjustment switch or button (which can be a physical switch or button, or a virtual switch or button) can be set. If it is detected that the user opens/presses the parameter adjustment switch or button (for example, long press key), then the parameter adjustment trigger instruction is received. Alternatively, a parameter adjustment trigger gesture (such as a wrench graphic) may be set, and if it is detected that the user issues the parameter adjustment trigger gesture, a parameter adjustment trigger instruction is received. Alternatively, it may be detected whether a preset change occurs in the spatial posture of the terminal (for example, a 90-degree flip), and if it is detected that a preset change occurs in the spatial posture of the terminal, a parameter adjustment trigger instruction is received. Alternatively, a parameter adjustment trigger voice (for example, "parameter adjustment") may be set, and if it is detected that the user sends out the parameter adjustment trigger voice, a parameter adjustment trigger instruction is received.
接收到参数调节触发指令后,可以在终端的屏幕上显示参数调节界面,在参数调节界面上显示参数调节标识。例如,可以在终端的屏幕上显示参数调节界面,参数调节界面上包括多个参数(例如音量和亮度)的参数调节标识。或者,接收到参数调节触发指令后,可以在终端的屏幕上在参数调节界面上只显示参数调节标识。After receiving the parameter adjustment trigger instruction, the parameter adjustment interface can be displayed on the screen of the terminal, and the parameter adjustment logo can be displayed on the parameter adjustment interface. For example, a parameter adjustment interface may be displayed on the screen of the terminal, and the parameter adjustment interface includes parameter adjustment signs of multiple parameters (such as volume and brightness). Or, after receiving the parameter adjustment trigger instruction, only the parameter adjustment logo can be displayed on the parameter adjustment interface on the screen of the terminal.
所述参数调节标识可以是一个也可以是多个。例如,若接收到调节音量的参数调节触发指令,可以显示多个音量调节标识,用于调节不同的音量。例如,显示四个音量调节标识,分别用于调节通话音量、铃声音量、多媒体音量、闹钟音量。There may be one or more parameter adjustment identifiers. For example, if a parameter adjustment trigger instruction for adjusting volume is received, multiple volume adjustment signs may be displayed for adjusting different volumes. For example, four volume adjustment signs are displayed, which are respectively used to adjust the call volume, the ringtone volume, the multimedia volume, and the alarm clock volume.
所述参数调节标识可以有不同表现形式。例如,所述参数调节标识可以是参数调节滑动条(例如音量调节滑动条)。又如,所述参数调节标识可以是参数调节按钮(例如“音量+”和“音量-”按钮)。再如,所述参数调节标识可以是参数设置框。The parameter adjustment mark can have different representation forms. For example, the parameter adjustment indicator may be a parameter adjustment slide bar (such as a volume adjustment slide bar). As another example, the parameter adjustment sign may be a parameter adjustment button (such as "volume +" and "volume -" buttons). For another example, the parameter adjustment mark may be a parameter setting box.
所述参数调节标识可以显示在终端的屏幕的任意显示位置。所述参数调节标识在屏幕的显示位置可以固定,也可以根据需要进行设置。例如,可以设置在屏幕的右下方。或者,可以设置在屏幕的重要。The parameter adjustment logo can be displayed at any display position on the screen of the terminal. The display position of the parameter adjustment mark on the screen can be fixed, or can be set as required. For example, it can be set at the bottom right of the screen. Alternatively, you can set the importance of the screen.
所述参数调节标识的大小可以固定,也可以根据需要进行设置。The size of the parameter adjustment mark can be fixed, or can be set as required.
所述参数调节标识可以显示在弹窗中,也可以显示在当前显示界面的任意区域。The parameter adjustment logo can be displayed in a pop-up window, or in any area of the current display interface.
102:检测在显示所述参数调节标识后的第一预设时间内是否接收到对所述参数调节标识对应的待调节参数进行调节的预设操作。102: Detect whether a preset operation for adjusting a parameter to be adjusted corresponding to the parameter adjustment identifier is received within a first preset time after the parameter adjustment identifier is displayed.
所述第一预设时间是显示所述参数调节标识的时间,例如三秒。所述第一预设时间可以是固定值,也可以根据需要进行设置。例如,若用户操作速度较快,可以设置较短的第一预设时间(例如3秒)。若用户操作速度较慢,可以设置较长的第一预设时间(例如5秒)。The first preset time is the time for displaying the parameter adjustment logo, for example, three seconds. The first preset time may be a fixed value, or may be set as required. For example, if the user operates faster, a shorter first preset time (for example, 3 seconds) may be set. If the user's operation speed is slow, a longer first preset time (for example, 5 seconds) may be set.
所述预设操作可以包括在所述屏幕的预设显示区域的触控操作。例如,所述参数调节标识为参数调节滑动条(例如音量调节滑动条),所述预设操作为拖动所述参数调节滑动条(拖动滑块)。又如,所述参数调节标识为参数调节按钮(例如屏幕上显示的“音量+”和“音量-”按钮),所述预设操作为点击/按压所述参数调节按钮。可以将屏幕的第一预设区域设置为用于执行第一参数调节(例如用于增大参数),将屏幕的第二预设区域设置为用于执行第二参数调节(例如用于减小参数),则所述预设操作为在所述第一预设区域和所述第二预设区域的点击/按压操作。The preset operation may include a touch operation on a preset display area of the screen. For example, the parameter adjustment is identified as a parameter adjustment slider (for example, a volume adjustment slider), and the preset operation is to drag the parameter adjustment slider (drag the slider). As another example, the parameter adjustment is identified as a parameter adjustment button (for example, "volume +" and "volume -" buttons displayed on the screen), and the preset operation is to click/press the parameter adjustment button. A first preset area of the screen may be set for performing a first parameter adjustment (eg, for increasing a parameter), and a second preset area of the screen may be set for performing a second parameter adjustment (eg, for decreasing parameter), the preset operation is a click/press operation in the first preset area and the second preset area.
所述预设操作还可以包括按压预设物理按键。例如,可以按压音量上键(即音量+)和音量下键(即音量-)进行所述预设操作。例如,按压音量上键(即音量+)可以调大参数,例如增大音量,按压音量下键(即音量-)可以减小参数,例如减小音量。The preset operation may also include pressing a preset physical button. For example, the preset operation can be performed by pressing a volume up key (ie, volume +) and a volume down key (ie, volume -). For example, pressing a volume up key (ie, volume +) can increase a parameter, such as increasing the volume, and pressing a volume down key (ie, volume -) can decrease a parameter, such as decreasing the volume.
所述预设操作还可以是其他操作,例如可以是滚动与终端连接的鼠标的滚轮。The preset operation may also be other operations, such as scrolling a wheel of a mouse connected to the terminal.
103:若在显示所述参数调节标识后的第一预设时间内没有接收到所述预设操作,则关闭所述参数调节标识,并判断在关闭所述参数调节标识后的第二预设时间内是否接收到所述预设操作。103: If the preset operation is not received within the first preset time after the parameter adjustment logo is displayed, close the parameter adjustment logo, and determine the second preset operation after closing the parameter adjustment logo Whether the preset operation is received within the time.
若在显示所述参数调节标识后的第一预设时间内没有接收到所述预设操作,则关闭所述参数调节标识,以便于用户浏览屏幕或执行其他操作。If the preset operation is not received within the first preset time after the parameter adjustment logo is displayed, the parameter adjustment logo is turned off, so that the user can browse the screen or perform other operations.
所述第二预设时间是识别在关闭参数调节标识后的预设操作是否为延迟的参数调节操作的时间,若在关闭所述参数调节标识后的第二预设时间内是否接收到所述预设操作,表明用户延迟进行了参数调节操作。所述第二预设时间可以是固定值,也可以根据需要进行设置。例如,若用户操作速度较快,可以设置较短的第二预设时间(例如3秒)。若用户操作速度较慢,可以设置较长的第二预设时间(例如5秒)。The second preset time is the time to identify whether the preset operation after the parameter adjustment flag is turned off is a delayed parameter adjustment operation, if the parameter adjustment flag is turned off within the second preset time whether the Default operation, indicating that the user has delayed the parameter adjustment operation. The second preset time may be a fixed value, or may be set as required. For example, if the user operates faster, a shorter second preset time (for example, 3 seconds) may be set. If the user's operation speed is slow, a longer second preset time (for example, 5 seconds) may be set.
所述第二预设时间可以与所述第一预设时间相同。所述第二预设时间也可以与所述第一预设时间不同。The second preset time may be the same as the first preset time. The second preset time may also be different from the first preset time.
104:若在关闭所述参数调节标识后的第二预设时间内接收到所述预设操作,则根据所述预设操作对所述待调节参数进行调节。104: If the preset operation is received within a second preset time after the parameter adjustment flag is turned off, adjust the parameter to be adjusted according to the preset operation.
根据所述预设操作对所述待调节参数进行调节可以包括:Adjusting the parameter to be adjusted according to the preset operation may include:
(1)在所述屏幕上重新显示所述参数调节标识,并根据所述预设操作对所述待调节参数进行调节。例如,在所述屏幕上重新显示音量调节滑动条,并根据所述预设操作对终端的音量进行调节。(1) Re-displaying the parameter adjustment logo on the screen, and adjusting the parameter to be adjusted according to the preset operation. For example, the volume adjustment slide bar is redisplayed on the screen, and the volume of the terminal is adjusted according to the preset operation.
(2)在所述屏幕上显示参数调节提示信息,并根据所述预设操作对所述待调节参数进行调节。例如,在所述屏幕上显示“增大音量”,并根据所述预设操作对终端的音量进行调节。(2) Displaying parameter adjustment prompt information on the screen, and adjusting the parameter to be adjusted according to the preset operation. For example, "increase volume" is displayed on the screen, and the volume of the terminal is adjusted according to the preset operation.
在根据所述预设操作对所述待调节参数进行调节之前,可以在所述屏幕上显示确认信息,以确认是否根据所述预设操作对所述待调节参数进行调节。例如,在所述屏幕上显示“是否增大音量”以及“是”与“否”两个选项,若接收到根据所述预设操作对所述待调节参数进行调节的确认信号(例如用户选择“是”),则根据所述预设操作对所述待调节参数进行调节。Before adjusting the parameter to be adjusted according to the preset operation, a confirmation message may be displayed on the screen to confirm whether to adjust the parameter to be adjusted according to the preset operation. For example, two options of "whether to increase the volume" and "yes" and "no" are displayed on the screen, if a confirmation signal is received to adjust the parameter to be adjusted according to the preset operation (such as the "Yes"), the parameter to be adjusted is adjusted according to the preset operation.
实施例一的参数调节方法根据接收到的参数调节触发指令在终端的屏幕上显示参数调节标识;检测在显示所述参数调节标识后的第一预设时间内是否接收到对所述参数调节标识对应的待调节参数进行调节的预设操作;若在显示所述参数调节标识后的第一预设时间内没有接收到所述预设操作,则关闭所述参数调节标识,并判断在关闭所述参数调节标识后的第二预设时间内是否接收到所述预设操作;若在关闭所述参数调节标识后的第二预设时间内接收到所述预设操作,则根据所述预设操作对所述待调节参数进行调节。实施例一的参数调节方法可以识别用户延迟的参数调节操作,根据延迟的参数调节操作对终端参数进行调节,给用户带来了便利。The parameter adjustment method of Embodiment 1 displays a parameter adjustment mark on the screen of the terminal according to the received parameter adjustment trigger instruction; detects whether a parameter adjustment mark is received within a first preset time after the parameter adjustment mark is displayed. A preset operation for adjusting the corresponding parameter to be adjusted; if the preset operation is not received within the first preset time after the parameter adjustment logo is displayed, close the parameter adjustment logo, and judge that the Whether the preset operation is received within the second preset time after the parameter adjustment flag is turned off; if the preset operation is received within the second preset time after the parameter adjustment flag is turned off, then according to the preset It is assumed that the operation is to adjust the parameter to be adjusted. The parameter adjustment method in Embodiment 1 can identify the user's delayed parameter adjustment operation, and adjust the terminal parameters according to the delayed parameter adjustment operation, which brings convenience to the user.
在另一实施例中,所述参数调节方法还包括:获取所述参数调节标识在所述屏幕上的显示位置。相应地,判断在关闭所述参数调节标识后的第二预设时间内是否接收到所述预设操作可以包括:判断在关闭所述参数调节标识后的第二预设时间内在所述显示位置是否接收到所述预设操作;或者,判断在关闭所述参数调节标识后的第二预设时间内在所述显示位置的预设范围内是否接收到所述预设用户操作。In another embodiment, the parameter adjustment method further includes: acquiring a display position of the parameter adjustment sign on the screen. Correspondingly, judging whether the preset operation is received within a second preset time after turning off the parameter adjustment sign may include: Whether the preset operation is received; or, determining whether the preset user operation is received within a preset range of the display position within a second preset time after the parameter adjustment sign is turned off.
限定预设操作的作用位置是为了减小误操作,避免将用户的其他操作识别为延迟的参数调节操作。The purpose of limiting the action position of the preset operation is to reduce misoperations and avoid identifying other user operations as delayed parameter adjustment operations.
在另一实施例中,所述参数调节方法还包括:检测终端是否处于单手握持状态。若终端处于单手握持状态,则执行判断在关闭所述参数调节标识后的第二预设时间内是否接收到所述预设操作的步骤;或者,若检测到终端处于单手握持状态,则执行根据所述预设操作对所述待调节参数进行调节的步骤。In another embodiment, the parameter adjustment method further includes: detecting whether the terminal is held by one hand. If the terminal is held by one hand, perform the step of judging whether the preset operation is received within the second preset time after turning off the parameter adjustment sign; or, if it is detected that the terminal is held by one hand , the step of adjusting the parameter to be adjusted according to the preset operation is performed.
用户在单手握持状态时来不及进行参数调节的情况比较多,从而发生延迟的参数调节操作,进行单手握持状态的判断也是为了减小误操作。It is often the case that the user does not have time to adjust the parameters when holding it with one hand, resulting in delayed parameter adjustment operations. The judgment of the holding state with one hand is also to reduce misuse.
可以通过终端两侧的温度传感器和/或压力传感器检测终端是否处于单手握持状态。具体地,(1)通过终端两侧的温度传感器检测到的温度分布情况终端是否处于单手握持状态。若终端左侧的温度传感器呈现出连续的温度分布并且终端右侧的温度传感器呈现出分散的温度分布(此时终端处于左手握持状态),或者终端右侧的温度传感器呈现出连续的温度分布并且终端左侧的温度传感器呈现出分散的温度分布(此时终端处于右手握持状态),则判断终端处于单手握持状态。(2)通过终端两侧的压力传感器检测到的压力分布情况检测所述终端的握持状态。若所述终端左侧的压力传感器呈现出连续的压力分布并且所述终端右侧的压力传感器呈现出分散的压力分布(此时终端处于左手握持状态),或者所述终端右侧的压力传感器呈现出连续的压力分布并且所述终端左侧的压力传感器呈现出分散的压力分布(此时终端处于右手握持状态),则判断终端处于单手握持状态。Whether the terminal is held by one hand can be detected through temperature sensors and/or pressure sensors on both sides of the terminal. Specifically, (1) The temperature distribution detected by the temperature sensors on both sides of the terminal is whether the terminal is held by one hand. If the temperature sensor on the left side of the terminal shows a continuous temperature distribution and the temperature sensor on the right side of the terminal shows a dispersed temperature distribution (the terminal is held in the left hand at this time), or the temperature sensor on the right side of the terminal shows a continuous temperature distribution And if the temperature sensor on the left side of the terminal presents a dispersed temperature distribution (the terminal is held by the right hand at this time), it is judged that the terminal is held by one hand. (2) Detect the holding state of the terminal through the pressure distribution detected by the pressure sensors on both sides of the terminal. If the pressure sensor on the left side of the terminal presents a continuous pressure distribution and the pressure sensor on the right side of the terminal presents a dispersed pressure distribution (the terminal is held by the left hand at this time), or the pressure sensor on the right side of the terminal If a continuous pressure distribution is present and the pressure sensor on the left side of the terminal presents a dispersed pressure distribution (at this time, the terminal is in a state of being held by the right hand), then it is determined that the terminal is in a state of being held by one hand.
在另一实施例中,所述参数调节方法还包括:获取终端当前的环境信息;若终端当前的环境信息与预设参数调节信息相匹配,则执行判断在关闭所述参数调节标识后的第二预设时间内是否接收到所述预设操作的步骤;或者,若终端当前的环境信息与预设参数调节信息相匹配,则执行根据所述预设操作对所述待调节参数进行调节的步骤。In another embodiment, the parameter adjustment method further includes: acquiring the current environment information of the terminal; if the current environment information of the terminal matches the preset parameter adjustment information, then performing judgment on the first time after the parameter adjustment flag is closed 2. The step of whether the preset operation is received within the preset time; or, if the current environment information of the terminal matches the preset parameter adjustment information, then perform the step of adjusting the parameter to be adjusted according to the preset operation step.
判断终端当前的环境信息与预设参数调节信息是否匹配是为了确认是否进行参数调节。例如,若终端周围的噪声较大,而终端当前的音量较小,噪声音量与则终端当前的环境信息与预设参数调节信息相匹配,则执行判断在关闭所述参数调节标识后的第二预设时间内是否接收到所述预设操作的步骤,或者执行根据所述预设操作对所述待调节参数进行调节的步骤。The purpose of judging whether the current environment information of the terminal matches the preset parameter adjustment information is to confirm whether to perform parameter adjustment. For example, if the noise around the terminal is high, but the current volume of the terminal is low, and the noise volume matches the current environmental information of the terminal and the preset parameter adjustment information, then the second step after the parameter adjustment flag is turned off is determined to be A step of whether the preset operation is received within a preset time, or a step of adjusting the parameter to be adjusted according to the preset operation.
实施例二Embodiment two
图2为本发明实施例二提供的参数调节装置的结构图。如图2所示,所述参数调节装置10可以包括:显示单元201、检测单元202、关闭单元203、调节单元204。FIG. 2 is a structural diagram of a parameter adjustment device provided by Embodiment 2 of the present invention. As shown in FIG. 2 , the parameter adjustment device 10 may include: a display unit 201 , a detection unit 202 , a closing unit 203 , and an adjustment unit 204 .
接收单元201,用于根据接收到的参数调节触发指令在终端的屏幕上显示参数调节标识。The receiving unit 201 is configured to display a parameter adjustment logo on the screen of the terminal according to the received parameter adjustment trigger instruction.
在本实施例中,终端可以以不同方式接收所述参数调节触发指令。例如,可以设置一个参数调节开关或按键(可以是物理开关或按键,也可以是虚拟开关或按键),若检测到用户打开/按下所述参数调节开关或按键(例如长按终端上的home键),则接收到所述参数调节触发指令。或者,可以设置一个参数调节触发手势(例如扳手图形),若检测到用户发出所述参数调节触发手势,则接收到参数调节触发指令。或者,可以检测终端的空间姿态是否发生预设变化(例如翻转90度),若检测到终端的空间姿态发生预设变化,则接收到参数调节触发指令。或者,可以设置一个参数调节触发语音(例如“参数调节”),若检测到用户发出所述参数调节触发语音,则接收到参数调节触发指令。In this embodiment, the terminal may receive the parameter adjustment trigger instruction in different ways. For example, a parameter adjustment switch or button (which can be a physical switch or button, or a virtual switch or button) can be set. If it is detected that the user opens/presses the parameter adjustment switch or button (for example, long press key), then the parameter adjustment trigger instruction is received. Alternatively, a parameter adjustment trigger gesture (such as a wrench graphic) may be set, and if it is detected that the user issues the parameter adjustment trigger gesture, a parameter adjustment trigger instruction is received. Alternatively, it may be detected whether a preset change occurs in the spatial posture of the terminal (for example, a 90-degree flip), and if it is detected that a preset change occurs in the spatial posture of the terminal, a parameter adjustment trigger instruction is received. Alternatively, a parameter adjustment trigger voice (for example, "parameter adjustment") may be set, and if it is detected that the user sends out the parameter adjustment trigger voice, a parameter adjustment trigger instruction is received.
接收到参数调节触发指令后,可以在终端的屏幕上显示参数调节界面,在参数调节界面上显示参数调节标识。例如,可以在终端的屏幕上显示参数调节界面,参数调节界面上包括多个参数(例如音量和亮度)的参数调节标识。或者,接收到参数调节触发指令后,可以在终端的屏幕上在参数调节界面上只显示参数调节标识。After receiving the parameter adjustment trigger instruction, the parameter adjustment interface can be displayed on the screen of the terminal, and the parameter adjustment logo can be displayed on the parameter adjustment interface. For example, a parameter adjustment interface may be displayed on the screen of the terminal, and the parameter adjustment interface includes parameter adjustment signs of multiple parameters (such as volume and brightness). Or, after receiving the parameter adjustment trigger instruction, only the parameter adjustment logo can be displayed on the parameter adjustment interface on the screen of the terminal.
所述参数调节标识可以是一个也可以是多个。例如,若接收到调节音量的参数调节触发指令,可以显示多个音量调节标识,用于调节不同的音量。例如,显示四个音量调节标识,分别用于调节通话音量、铃声音量、多媒体音量、闹钟音量。There may be one or more parameter adjustment identifiers. For example, if a parameter adjustment trigger instruction for adjusting volume is received, multiple volume adjustment signs may be displayed for adjusting different volumes. For example, four volume adjustment signs are displayed, which are respectively used to adjust the call volume, the ringtone volume, the multimedia volume, and the alarm clock volume.
所述参数调节标识可以有不同表现形式。例如,所述参数调节标识可以是参数调节滑动条(例如音量调节滑动条)。又如,所述参数调节标识可以是参数调节按钮(例如“音量+”和“音量-”按钮)。再如,所述参数调节标识可以是参数设置框。The parameter adjustment mark can have different representation forms. For example, the parameter adjustment indicator may be a parameter adjustment slide bar (such as a volume adjustment slide bar). As another example, the parameter adjustment sign may be a parameter adjustment button (such as "volume +" and "volume -" buttons). For another example, the parameter adjustment mark may be a parameter setting box.
所述参数调节标识可以显示在终端的屏幕的任意显示位置。所述参数调节标识在屏幕的显示位置可以固定,也可以根据需要进行设置。例如,可以设置在屏幕的右下方。或者,可以设置在屏幕的重要。The parameter adjustment logo can be displayed at any display position on the screen of the terminal. The display position of the parameter adjustment mark on the screen can be fixed, or can be set as required. For example, it can be set at the bottom right of the screen. Alternatively, you can set the importance of the screen.
所述参数调节标识的大小可以固定,也可以根据需要进行设置。The size of the parameter adjustment mark can be fixed, or can be set as required.
所述参数调节标识可以显示在弹窗中,也可以显示在当前显示界面的任意区域。The parameter adjustment logo can be displayed in a pop-up window, or in any area of the current display interface.
检测单元202,用于检测在显示所述参数调节标识后的第一预设时间内是否接收到对所述参数调节标识对应的待调节参数进行调节的预设操作。The detection unit 202 is configured to detect whether a preset operation for adjusting a parameter to be adjusted corresponding to the parameter adjustment symbol is received within a first preset time after the parameter adjustment symbol is displayed.
所述第一预设时间是显示所述参数调节标识的时间,例如三秒。所述第一预设时间可以是固定值,也可以根据需要进行设置。例如,若用户操作速度较快,可以设置较短的第一预设时间(例如3秒)。若用户操作速度较慢,可以设置较长的第一预设时间(例如5秒)。The first preset time is the time for displaying the parameter adjustment logo, for example, three seconds. The first preset time may be a fixed value, or may be set as required. For example, if the user operates faster, a shorter first preset time (for example, 3 seconds) may be set. If the user's operation speed is slow, a longer first preset time (for example, 5 seconds) may be set.
所述预设操作可以包括在所述屏幕的预设显示区域的触控操作。例如,所述参数调节标识为参数调节滑动条(例如音量调节滑动条),所述预设操作为拖动所述参数调节滑动条(拖动滑块)。又如,所述参数调节标识为参数调节按钮(例如屏幕上显示的“音量+”和“音量-”按钮),所述预设操作为点击/按压所述参数调节按钮。可以将屏幕的第一预设区域设置为用于执行第一参数调节(例如用于增大参数),将屏幕的第二预设区域设置为用于执行第二参数调节(例如用于减小参数),则所述预设操作为在所述第一预设区域和所述第二预设区域的点击/按压操作。The preset operation may include a touch operation on a preset display area of the screen. For example, the parameter adjustment is identified as a parameter adjustment slider (for example, a volume adjustment slider), and the preset operation is to drag the parameter adjustment slider (drag the slider). As another example, the parameter adjustment is identified as a parameter adjustment button (for example, "volume +" and "volume -" buttons displayed on the screen), and the preset operation is to click/press the parameter adjustment button. A first preset area of the screen may be set for performing a first parameter adjustment (eg, for increasing a parameter), and a second preset area of the screen may be set for performing a second parameter adjustment (eg, for decreasing parameter), the preset operation is a click/press operation in the first preset area and the second preset area.
所述预设操作还可以包括按压预设物理按键。例如,可以按压音量上键(即音量+)和音量下键(即音量-)进行所述预设操作。例如,按压音量上键(即音量+)可以调大参数,例如增大音量,按压音量下键(即音量-)可以减小参数,例如减小音量。The preset operation may also include pressing a preset physical button. For example, the preset operation can be performed by pressing a volume up key (ie, volume +) and a volume down key (ie, volume -). For example, pressing a volume up key (ie, volume +) can increase a parameter, such as increasing the volume, and pressing a volume down key (ie, volume -) can decrease a parameter, such as decreasing the volume.
所述预设操作还可以是其他操作,例如可以是滚动与终端连接的鼠标的滚轮。The preset operation may also be other operations, such as scrolling a wheel of a mouse connected to the terminal.
关闭单元203,用于若在显示所述参数调节标识后的第一预设时间内没有接收到所述预设操作,则关闭所述参数调节标识,并判断在关闭所述参数调节标识后的第二预设时间内是否接收到所述预设操作。Closing unit 203, configured to close the parameter adjustment sign if the preset operation is not received within the first preset time after the parameter adjustment sign is displayed, and determine whether the parameter adjustment sign is closed after the parameter adjustment sign is turned off. Whether the preset operation is received within a second preset time.
若在显示所述参数调节标识后的第一预设时间内没有接收到所述预设操作,则关闭所述参数调节标识,以便于用户浏览屏幕或执行其他操作。If the preset operation is not received within the first preset time after the parameter adjustment logo is displayed, the parameter adjustment logo is turned off, so that the user can browse the screen or perform other operations.
所述第二预设时间是识别在关闭参数调节标识后的预设操作是否为延迟的参数调节操作的时间,若在关闭所述参数调节标识后的第二预设时间内是否接收到所述预设操作,表明用户延迟进行了参数调节操作。所述第二预设时间可以是固定值,也可以根据需要进行设置。例如,若用户操作速度较快,可以设置较短的第二预设时间(例如3秒)。若用户操作速度较慢,可以设置较长的第二预设时间(例如5秒)。The second preset time is the time to identify whether the preset operation after the parameter adjustment flag is turned off is a delayed parameter adjustment operation, if the parameter adjustment flag is turned off within the second preset time whether the Default operation, indicating that the user has delayed the parameter adjustment operation. The second preset time may be a fixed value, or may be set as required. For example, if the user operates faster, a shorter second preset time (for example, 3 seconds) may be set. If the user's operation speed is slow, a longer second preset time (for example, 5 seconds) may be set.
所述第二预设时间可以与所述第一预设时间相同。所述第二预设时间也可以与所述第一预设时间不同。The second preset time may be the same as the first preset time. The second preset time may also be different from the first preset time.
调节单元204,用于若在关闭所述参数调节标识后的第二预设时间内接收到所述预设操作,则根据所述预设操作对所述待调节参数进行调节。The adjustment unit 204 is configured to adjust the parameter to be adjusted according to the preset operation if the preset operation is received within a second preset time after the parameter adjustment flag is turned off.
根据所述预设操作对所述待调节参数进行调节可以包括:Adjusting the parameter to be adjusted according to the preset operation may include:
(1)在所述屏幕上重新显示所述参数调节标识,并根据所述预设操作对所述待调节参数进行调节。例如,在所述屏幕上重新显示音量调节滑动条,并根据所述预设操作对终端的音量进行调节。(1) Re-displaying the parameter adjustment logo on the screen, and adjusting the parameter to be adjusted according to the preset operation. For example, the volume adjustment slide bar is redisplayed on the screen, and the volume of the terminal is adjusted according to the preset operation.
(2)在所述屏幕上显示参数调节提示信息,并根据所述预设操作对所述待调节参数进行调节。例如,在所述屏幕上显示“增大音量”,并根据所述预设操作对终端的音量进行调节。(2) Displaying parameter adjustment prompt information on the screen, and adjusting the parameter to be adjusted according to the preset operation. For example, "increase volume" is displayed on the screen, and the volume of the terminal is adjusted according to the preset operation.
在根据所述预设操作对所述待调节参数进行调节之前,可以在所述屏幕上显示确认信息,以确认是否根据所述预设操作对所述待调节参数进行调节。例如,在所述屏幕上显示“是否增大音量”以及“是”与“否”两个选项,若接收到根据所述预设操作对所述待调节参数进行调节的确认信号(例如用户选择“是”),则根据所述预设操作对所述待调节参数进行调节。Before adjusting the parameter to be adjusted according to the preset operation, a confirmation message may be displayed on the screen to confirm whether to adjust the parameter to be adjusted according to the preset operation. For example, two options of "whether to increase the volume" and "yes" and "no" are displayed on the screen, if a confirmation signal is received to adjust the parameter to be adjusted according to the preset operation (such as the "Yes"), the parameter to be adjusted is adjusted according to the preset operation.
实施例二的参数调节装置10根据接收到的参数调节触发指令在终端的屏幕上显示参数调节标识;检测在显示所述参数调节标识后的第一预设时间内是否接收到对所述参数调节标识对应的待调节参数进行调节的预设操作;若在显示所述参数调节标识后的第一预设时间内没有接收到所述预设操作,则关闭所述参数调节标识,并判断在关闭所述参数调节标识后的第二预设时间内是否接收到所述预设操作;若在关闭所述参数调节标识后的第二预设时间内接收到所述预设操作,则根据所述预设操作对所述待调节参数进行调节。实施例二的参数调节装置10可以识别用户延迟的参数调节操作,根据延迟的参数调节操作对终端参数进行调节,给用户带来了便利。The parameter adjustment device 10 of Embodiment 2 displays a parameter adjustment mark on the screen of the terminal according to the received parameter adjustment trigger instruction; detects whether the parameter adjustment is received within the first preset time after the parameter adjustment mark is displayed. Identify the preset operation for adjusting the corresponding parameter to be adjusted; if the preset operation is not received within the first preset time after the parameter adjustment logo is displayed, close the parameter adjustment logo and judge that the parameter adjustment logo is closed Whether the preset operation is received within the second preset time after the parameter adjustment flag is turned off; if the preset operation is received within the second preset time after the parameter adjustment flag is turned off, then according to the The preset operation adjusts the parameter to be adjusted. The parameter adjustment device 10 in the second embodiment can identify the user's delayed parameter adjustment operation, and adjust the terminal parameters according to the delayed parameter adjustment operation, which brings convenience to the user.
在另一实施例中,所述参数调节装置10还可以包括:In another embodiment, the parameter adjustment device 10 may further include:
第一获取单元,用于获取所述参数调节标识在所述屏幕上的显示位置。则所述关闭单元判断在关闭所述参数调节标识后的第二预设时间内是否接收到所述预设操作包括:判断在关闭所述参数调节标识后的第二预设时间内在所述显示位置是否接收到所述预设操作;或者,判断在关闭所述参数调节标识后的第二预设时间内在所述显示位置的预设范围内是否接收到所述预设用户操作。A first acquiring unit, configured to acquire the display position of the parameter adjustment indicator on the screen. Then the closing unit judging whether the preset operation is received within the second preset time after closing the parameter adjustment sign includes: whether the preset operation is received at the location; or, determine whether the preset user operation is received within the preset range of the display location within a second preset time after the parameter adjustment sign is turned off.
限定预设操作的作用位置是为了减小误操作,避免将用户的其他操作识别为延迟的参数调节操作。The purpose of limiting the action position of the preset operation is to reduce misoperations and avoid identifying other user operations as delayed parameter adjustment operations.
在另一实施例中,所述检测单元还用于:In another embodiment, the detection unit is also used for:
检测终端是否处于单手握持状态。若终端处于单手握持状态,则所述关闭单元判断在关闭所述参数调节标识后的第二预设时间内是否接收到所述预设操作;或者,若检测到终端处于单手握持状态,则所述调节单元根据所述预设操作对所述待调节参数进行调节。Detect whether the terminal is held by one hand. If the terminal is held by one hand, the closing unit judges whether the preset operation is received within the second preset time after closing the parameter adjustment sign; or, if it is detected that the terminal is held by one hand state, the adjusting unit adjusts the parameter to be adjusted according to the preset operation.
用户在单手握持状态时来不及进行参数调节的情况比较多,从而发生延迟的参数调节操作,进行单手握持状态的判断也是为了减小误操作。It is often the case that the user does not have time to adjust the parameters when holding it with one hand, resulting in delayed parameter adjustment operations. The judgment of the holding state with one hand is also to reduce misuse.
可以通过终端两侧的温度传感器和/或压力传感器检测终端是否处于单手握持状态。具体地,(1)通过终端两侧的温度传感器检测到的温度分布情况终端是否处于单手握持状态。若终端左侧的温度传感器呈现出连续的温度分布并且终端右侧的温度传感器呈现出分散的温度分布(此时终端处于左手握持状态),或者终端右侧的温度传感器呈现出连续的温度分布并且终端左侧的温度传感器呈现出分散的温度分布(此时终端处于右手握持状态),则判断终端处于单手握持状态。(2)通过终端两侧的压力传感器检测到的压力分布情况检测所述终端的握持状态。若所述终端左侧的压力传感器呈现出连续的压力分布并且所述终端右侧的压力传感器呈现出分散的压力分布(此时终端处于左手握持状态),或者所述终端右侧的压力传感器呈现出连续的压力分布并且所述终端左侧的压力传感器呈现出分散的压力分布(此时终端处于右手握持状态),则判断终端处于单手握持状态。Whether the terminal is held by one hand can be detected through temperature sensors and/or pressure sensors on both sides of the terminal. Specifically, (1) Whether the terminal is held by one hand according to the temperature distribution detected by the temperature sensors on both sides of the terminal. If the temperature sensor on the left side of the terminal shows a continuous temperature distribution and the temperature sensor on the right side of the terminal shows a dispersed temperature distribution (the terminal is held by the left hand at this time), or the temperature sensor on the right side of the terminal shows a continuous temperature distribution And if the temperature sensor on the left side of the terminal presents a dispersed temperature distribution (the terminal is held in the right hand at this time), it is judged that the terminal is held in one hand. (2) Detect the holding state of the terminal through the pressure distribution detected by the pressure sensors on both sides of the terminal. If the pressure sensor on the left side of the terminal presents a continuous pressure distribution and the pressure sensor on the right side of the terminal presents a dispersed pressure distribution (the terminal is held by the left hand at this time), or the pressure sensor on the right side of the terminal If a continuous pressure distribution is present and the pressure sensor on the left side of the terminal presents a dispersed pressure distribution (at this time, the terminal is in a state of being held by the right hand), then it is determined that the terminal is in a state of being held by one hand.
在另一实施例中,所述参数调节装置10还可以包括:In another embodiment, the parameter adjustment device 10 may further include:
第二获取单元,用于获取终端当前的环境信息。若终端当前的环境信息与预设参数调节信息相匹配,则所述关闭单元判断在关闭所述参数调节标识后的第二预设时间内是否接收到所述预设操作;或者,若终端当前的环境信息与预设参数调节信息相匹配,则所述调节单元根据所述预设操作对所述待调节参数进行调节。The second acquiring unit is configured to acquire current environment information of the terminal. If the current environment information of the terminal matches the preset parameter adjustment information, the closing unit judges whether the preset operation is received within the second preset time after closing the parameter adjustment flag; or, if the terminal is currently If the environmental information matches the preset parameter adjustment information, the adjustment unit adjusts the parameter to be adjusted according to the preset operation.
判断终端当前的环境信息与预设参数调节信息是否匹配是为了确认是否进行参数调节。例如,若终端周围的噪声较大,而终端当前的音量较小,噪声音量与则终端当前的环境信息与预设参数调节信息相匹配,则执行判断在关闭所述参数调节标识后的第二预设时间内是否接收到所述预设操作的步骤,或者执行根据所述预设操作对所述待调节参数进行调节的步骤。The purpose of judging whether the current environment information of the terminal matches the preset parameter adjustment information is to confirm whether to perform parameter adjustment. For example, if the noise around the terminal is high, but the current volume of the terminal is low, and the noise volume matches the current environmental information of the terminal and the preset parameter adjustment information, then the second step after the parameter adjustment flag is turned off is determined to be A step of whether the preset operation is received within a preset time, or a step of adjusting the parameter to be adjusted according to the preset operation.
实施例三Embodiment three
图3为本发明实施例三提供的计算机装置的示意图。所述计算机装置1包括存储器20、处理器30以及存储在所述存储器20中并可在所述处理器30上运行的计算机程序40,例如参数调节程序。所述处理器30执行所述计算机程序40时实现上述参数调节方法实施例中的步骤,例如图1所示的步骤101~104。或者,所述处理器30执行所述计算机程序40时实现上述装置实施例中各模块/单元的功能,例如单元201~204。FIG. 3 is a schematic diagram of a computer device provided by Embodiment 3 of the present invention. The computer device 1 comprises a memory 20 , a processor 30 and a computer program 40 stored in the memory 20 and executable on the processor 30 , such as a parameter adjustment program. When the processor 30 executes the computer program 40, it implements the steps in the above embodiment of the parameter adjustment method, such as steps 101-104 shown in FIG. 1 . Alternatively, when the processor 30 executes the computer program 40, it realizes the functions of the modules/units in the above device embodiments, such as the units 201-204.
示例性的,所述计算机程序40可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器20中,并由所述处理器30执行,以完成本发明。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序40在所述计算机装置1中的执行过程。例如,所述计算机程序40可以被分割成图2中的显示单元201、检测单元202、关闭单元203、调节单元204,各模块具体功能参见实施例二。Exemplarily, the computer program 40 can be divided into one or more modules/units, and the one or more modules/units are stored in the memory 20 and executed by the processor 30 to complete this invention. The one or more modules/units may be a series of computer program instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the computer program 40 in the computer device 1 . For example, the computer program 40 can be divided into a display unit 201, a detection unit 202, a closing unit 203, and an adjustment unit 204 in FIG.
所述计算机装置1可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。本领域技术人员可以理解,所述示意图3仅仅是计算机装置1的示例,并不构成对计算机装置1的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述计算机装置1还可以包括输入输出设备、网络接入设备、总线等。The computer device 1 may be a computing device such as a desktop computer, a notebook, a palmtop computer, or a cloud server. Those skilled in the art can understand that the schematic diagram 3 is only an example of the computer device 1, and does not constitute a limitation to the computer device 1, and may include more or less components than those shown in the figure, or combine certain components, or be different For example, the computer device 1 may also include input and output devices, network access devices, buses, and the like.
所称处理器30可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器30也可以是任何常规的处理器等,所述处理器30是所述计算机装置1的控制中心,利用各种接口和线路连接整个计算机装置1的各个部分。The so-called processor 30 may be a central processing unit (Central Processing Unit, CPU), and may also be other general-purpose processors, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), Off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor 30 can also be any conventional processor, etc., the processor 30 is the control center of the computer device 1, and connects the entire computer device 1 with various interfaces and lines. various parts.
所述存储器20可用于存储所述计算机程序40和/或模块/单元,所述处理器30通过运行或执行存储在所述存储器20内的计算机程序和/或模块/单元,以及调用存储在存储器20内的数据,实现所述计算机装置1的各种功能。所述存储器20可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据计算机装置1的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器20可以包括高速随机存取存储器,还可以包括非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)、至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 20 can be used to store the computer program 40 and/or module/unit, and the processor 30 runs or executes the computer program and/or module/unit stored in the memory 20, and calls the computer program stored in the memory 20 to realize various functions of the computer device 1. The memory 20 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created according to use of the computer device 1 (such as audio data, a phone book, etc.) and the like are stored. In addition, the memory 20 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash memory card (Flash Card), at least one magnetic disk storage device, flash memory device, or other volatile solid state storage devices.
所述计算机装置1集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。If the integrated modules/units of the computer device 1 are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the present invention realizes all or part of the processes in the methods of the above embodiments, and can also be completed by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer When the program is executed by the processor, the steps in the above-mentioned various method embodiments can be realized. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM, Read-Only Memory) , random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, computer-readable media Excludes electrical carrier signals and telecommunication signals.
在本发明所提供的几个实施例中,应该理解到,所揭露的计算机装置和方法,可以通过其它的方式实现。例如,以上所描述的计算机装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the several embodiments provided by the present invention, it should be understood that the disclosed computer device and method can be implemented in other ways. For example, the computer device embodiments described above are only illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation.
另外,在本发明各个实施例中的各功能单元可以集成在相同处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在相同单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into the same processing unit, or each unit may physically exist separately, or two or more units may be integrated into the same unit. The above-mentioned integrated units can be implemented in the form of hardware, or in the form of hardware plus software function modules.
对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本发明内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。计算机装置权利要求中陈述的多个单元或计算机装置也可以由同一个单元或计算机装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。It will be apparent to those skilled in the art that the invention is not limited to the details of the above-described exemplary embodiments, but that the invention can be embodied in other specific forms without departing from the spirit or essential characteristics of the invention. Accordingly, the embodiments should be regarded in all points of view as exemplary and not restrictive, the scope of the invention being defined by the appended claims rather than the foregoing description, and it is therefore intended that the scope of the invention be defined by the appended claims rather than by the foregoing description. All changes within the meaning and range of equivalents of the elements are embraced in the present invention. Any reference sign in a claim should not be construed as limiting the claim concerned. In addition, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. Multiple units or computer devices stated in the computer device claims may also be realized by the same unit or computer device through software or hardware. The words first, second, etc. are used to denote names and do not imply any particular order.
最后应说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或等同替换,而不脱离本发明技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention without limitation. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be Modifications or equivalent replacements can be made without departing from the spirit and scope of the technical solutions of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711173412.5ACN107943396B (en) | 2017-11-22 | 2017-11-22 | Parameter adjusting method and device, computer device and readable storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711173412.5ACN107943396B (en) | 2017-11-22 | 2017-11-22 | Parameter adjusting method and device, computer device and readable storage medium |
| Publication Number | Publication Date |
|---|---|
| CN107943396Atrue CN107943396A (en) | 2018-04-20 |
| CN107943396B CN107943396B (en) | 2021-04-30 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711173412.5AActiveCN107943396B (en) | 2017-11-22 | 2017-11-22 | Parameter adjusting method and device, computer device and readable storage medium |
| Country | Link |
|---|---|
| CN (1) | CN107943396B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112484389A (en)* | 2020-11-18 | 2021-03-12 | Tcl家用电器(合肥)有限公司 | Electronic equipment parameter adjusting method, system, equipment and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101145332A (en)* | 2006-09-14 | 2008-03-19 | 英华达(上海)科技有限公司 | Screen brightness regulating device and method for regulating electronic device screen brightness |
| CN103440079A (en)* | 2013-07-19 | 2013-12-11 | 宇龙计算机通信科技(深圳)有限公司 | Restoration method for operation interface and communication terminal |
| US20140281934A1 (en)* | 2013-03-18 | 2014-09-18 | Tencent Technology (Shenzhen) Company Limited | Method and apparatus for display adjustment |
| CN104156149A (en)* | 2014-07-18 | 2014-11-19 | 小米科技有限责任公司 | Method and device for adjusting photographing parameters |
| CN104902097A (en)* | 2015-05-29 | 2015-09-09 | 努比亚技术有限公司 | Method and device for adjusting parameters of mobile terminal and mobile terminal |
| CN104916270A (en)* | 2015-05-29 | 2015-09-16 | 努比亚技术有限公司 | Method for adjusting screen brightness and device thereof |
| US20160253146A1 (en)* | 2014-04-29 | 2016-09-01 | Boe Technology Group Co., Ltd. | Audio device and method for automatically adjusting volume thereof |
| US9775512B1 (en)* | 2014-03-19 | 2017-10-03 | Christopher W. Tyler | Binocular eye tracking from video frame sequences |
| CN107291241A (en)* | 2017-06-30 | 2017-10-24 | 珠海市魅族科技有限公司 | Terminal operation method and device, computer installation and computer-readable recording medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101145332A (en)* | 2006-09-14 | 2008-03-19 | 英华达(上海)科技有限公司 | Screen brightness regulating device and method for regulating electronic device screen brightness |
| US20140281934A1 (en)* | 2013-03-18 | 2014-09-18 | Tencent Technology (Shenzhen) Company Limited | Method and apparatus for display adjustment |
| CN103440079A (en)* | 2013-07-19 | 2013-12-11 | 宇龙计算机通信科技(深圳)有限公司 | Restoration method for operation interface and communication terminal |
| US9775512B1 (en)* | 2014-03-19 | 2017-10-03 | Christopher W. Tyler | Binocular eye tracking from video frame sequences |
| US20160253146A1 (en)* | 2014-04-29 | 2016-09-01 | Boe Technology Group Co., Ltd. | Audio device and method for automatically adjusting volume thereof |
| CN104156149A (en)* | 2014-07-18 | 2014-11-19 | 小米科技有限责任公司 | Method and device for adjusting photographing parameters |
| CN104902097A (en)* | 2015-05-29 | 2015-09-09 | 努比亚技术有限公司 | Method and device for adjusting parameters of mobile terminal and mobile terminal |
| CN104916270A (en)* | 2015-05-29 | 2015-09-16 | 努比亚技术有限公司 | Method for adjusting screen brightness and device thereof |
| CN107291241A (en)* | 2017-06-30 | 2017-10-24 | 珠海市魅族科技有限公司 | Terminal operation method and device, computer installation and computer-readable recording medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112484389A (en)* | 2020-11-18 | 2021-03-12 | Tcl家用电器(合肥)有限公司 | Electronic equipment parameter adjusting method, system, equipment and storage medium |
| Publication number | Publication date |
|---|---|
| CN107943396B (en) | 2021-04-30 |
| Publication | Publication Date | Title |
|---|---|---|
| CN105183284B (en) | A kind of method and user terminal for checking short message | |
| EP2889749B1 (en) | Electronic device and method for displaying user interface thereof | |
| CN108733298B (en) | Touch information processing method and device, storage medium and electronic equipment | |
| CN107193451B (en) | Information display method, apparatus, computer equipment, and computer-readable storage medium | |
| USRE47812E1 (en) | Adaptive determination of information display | |
| CN108900770A (en) | Method and device for controlling rotation of camera, smart watch and mobile terminal | |
| WO2022063165A1 (en) | Function execution method and apparatus | |
| CN108614655A (en) | Split screen display method and device, storage medium and electronic equipment | |
| CN108958841A (en) | A kind of setting method and mobile terminal of desktop pendant | |
| CN105700789A (en) | A picture sending method and terminal equipment | |
| CN107920162A (en) | Method for controlling alarm clock, mobile terminal and computer-readable storage medium | |
| CN116069198A (en) | Floating window adjusting method and electronic equipment | |
| CN107908527B (en) | Application icon display method and device | |
| CN108733299A (en) | Application split screen method and device, storage medium and electronic equipment | |
| CN104980582B (en) | The switching method and mobile terminal of a kind of screen | |
| CN107943396A (en) | Parameter adjusting method and device, computer installation and readable storage medium storing program for executing | |
| CN107783932A (en) | Information processing method, mobile terminal and the computer-readable recording medium of calculator | |
| CN108958607B (en) | Split screen display starting method and device, storage medium and electronic equipment | |
| CN111368238A (en) | Status bar adjusting method and device, mobile terminal and storage medium | |
| WO2023160443A1 (en) | Application processing method and device | |
| CN107766100A (en) | The processing method and mobile terminal of a kind of application program | |
| CN114567694A (en) | Alarm clock reminding method and device | |
| CN107835553B (en) | Method, mobile terminal and computer-readable storage medium for controlling flashlight | |
| CN108429861B (en) | Touch information processing method, device, storage medium and electronic device | |
| CN109032441B (en) | Interface management method, device, equipment and storage medium |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right | Effective date of registration:20231218 Address after:430000, No. 18 Shenlong Avenue, Wuhan Economic and Technological Development Zone, Wuhan City, Hubei Province, China. B1345, Chuanggu Launch Zone, Taizihu Cultural Digital Creative Industry Park Patentee after:Hubei Xingji Meizu Group Co.,Ltd. Address before:519085 Guangdong Zhuhai science and technology innovation coastal Meizu Technology Building Patentee before:MEIZU TECHNOLOGY Co.,Ltd. |