WO2017032019A1 - Screen brightness adjusting method and user terminal - Google Patents

Screen brightness adjusting method and user terminal Download PDF

Info

Publication number
WO2017032019A1
WO2017032019A1 PCT/CN2016/080430 CN2016080430W WO2017032019A1 WO 2017032019 A1 WO2017032019 A1 WO 2017032019A1 CN 2016080430 W CN2016080430 W CN 2016080430W WO 2017032019 A1 WO2017032019 A1 WO 2017032019A1
Authority
WO
WIPO (PCT)
Prior art keywords
sliding
brightness
target
touch point
parameter
Prior art date
Application number
PCT/CN2016/080430
Other languages
French (fr)
Chinese (zh)
Inventor
李建林
曾元清
Original Assignee
广东欧珀移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Publication of WO2017032019A1 publication Critical patent/WO2017032019A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the present invention relates to the field of intelligent terminal technologies, and in particular, to a method for adjusting screen brightness and a user terminal.
  • the screen brightness of the user terminal is a key factor affecting the user's viewing.
  • the user terminal can automatically adjust the screen brightness according to the brightness of the environment, so that the screen brightness is not too bright or too dark.
  • Embodiments of the present invention provide a method for adjusting screen brightness and a user terminal, which can satisfy adjustment of screen brightness refinement.
  • a first aspect of the embodiments of the present invention discloses a method for adjusting screen brightness, including:
  • the method further includes:
  • the second sliding parameter includes:
  • Determining the target sliding parameter according to the first sliding parameter and the second sliding parameter including:
  • the querying the target brightness corresponding to the target sliding parameter according to the correspondence between the pre-stored sliding parameter and the brightness includes:
  • the target brightness corresponding to the target distance is extracted.
  • the method further includes:
  • the target brightness corresponding to the target distance is not included in the correspondence, a standard brightness conforming to the comfort level of the human eye is acquired, and the standard brightness is used as the target brightness.
  • the second sliding parameter includes:
  • Determining the target sliding parameter according to the first sliding parameter and the second sliding parameter including:
  • the querying the target brightness corresponding to the target sliding parameter according to the correspondence between the pre-stored sliding parameter and the brightness includes:
  • the adjusting the brightness of the screen to the target brightness comprises:
  • the method further includes:
  • a second aspect of the embodiments of the present invention discloses a user terminal, where the user terminal includes a functional unit for performing some or all of the steps of any of the methods of the first aspect of the embodiments of the present invention.
  • the user The adjustment of the screen brightness refinement can be satisfied when the terminal performs some or all of the steps of any of the methods of the first aspect.
  • a user terminal comprising: a processor, and a memory configured to store an instruction, the processor being configured to execute the instruction,
  • the processor runs the instructions to perform some or all of the steps of any of the methods of the first aspect of the embodiments of the present invention.
  • the user terminal can satisfy the adjustment of the screen brightness refinement when performing some or all of the steps of any of the methods.
  • a fourth aspect of the embodiments of the present invention discloses a computer storage medium storing a program, the program specifically comprising instructions for performing some or all of the steps of any of the first aspects of the embodiments of the present invention.
  • the user terminal may detect whether the first touch strength of the first touch point on the screen and the second touch strength of the second touch point match, and if yes, obtain the position where the first touch point is located respectively.
  • a first sliding parameter in which the initial position is slid and a second sliding parameter in which the position at which the second touch point is located is a starting position.
  • the user terminal may determine the target sliding according to the first sliding parameter and the second sliding parameter. The parameter, and according to the correspondence between the pre-stored sliding parameter and the brightness, the target brightness corresponding to the target sliding parameter is queried, so that the user terminal can adjust the brightness of the screen to the target brightness.
  • the user terminal can automatically adjust the brightness of the screen according to the touch force of different users touching the screen and the sliding parameter, so that the adjusted screen brightness meets the individualized requirements of each user even in the same light environment. At the same time, it can meet the adjustment of the screen brightness refinement.
  • FIG. 1 is a schematic flow chart of a method for adjusting brightness of a screen according to an embodiment of the present invention
  • FIG. 2 is a schematic flow chart of another method for adjusting screen brightness according to an embodiment of the present invention.
  • FIG. 3 is a schematic flow chart of another method for adjusting screen brightness according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a user terminal according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another user terminal according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of another user terminal according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of another user terminal according to an embodiment of the present invention.
  • Embodiments of the present invention disclose a method for adjusting screen brightness and a user terminal, which can satisfy adjustment of screen brightness refinement. The details are described below separately.
  • the user terminal may include, but is not limited to, a smart phone, a notebook computer, a personal computer (PC), a personal digital assistant (PDA), a mobile internet device (MID), Various types of user terminals such as smart wearable devices (such as smart watches and smart bracelets).
  • the operating system of the user terminal may include, but is not limited to, an Android operating system, an IOS operating system, a Symbian operating system, a Blackberry operating system, a Windows Phone 8 operating system, and the like. limited.
  • FIG. 1 is a schematic flowchart diagram of a method for adjusting brightness of a screen according to an embodiment of the present invention. As shown in FIG. 1, the method can include the following steps.
  • step S101 Detect whether the first touch strength of the first touch point on the screen and the second touch strength of the second touch point match, and if yes, execute step S102, and if not, end the process.
  • a pressure sensor is pre-installed on the user terminal, and the touch force on the screen of the user terminal can be detected in real time.
  • the user can use two fingers to simultaneously touch two points on the screen of the user terminal, or the user can touch two points on the screen of the user terminal by using any two fingers, which is not limited in the embodiment of the present invention.
  • the user touches the screen different pressures are applied to the screen, and the user terminal can detect the first touch intensity of the first touch point on the screen in real time through the pressure sensor. The second touch intensity of the second touch point.
  • the user terminal may further detect the first touch strength and the first touch point of the first touch point on the screen. Whether the second touch strength of the two touch points matches.
  • the specific implementation manner of the user terminal detecting whether the first touch strength of the first touch point on the screen and the second touch strength of the second touch point match are:
  • the user terminal detects whether an absolute value of a difference between the first touch velocity of the first touch point on the screen and the second touch velocity of the second touch point is less than or equal to a preset threshold, and if yes, determining the first touch point A touch force matches a second touch force of the second touch point.
  • S102 Acquire a first sliding parameter that slides with the position where the first touch point is located as a starting position, and a second sliding parameter that slides with the position where the second touch point is located as a starting position.
  • the user terminal after the user terminal detects the first touch force of the first touch point on the screen and the second touch force of the second touch point, the user terminal can respectively obtain the position where the first touch point is located.
  • a first sliding parameter in which the starting position is slid and a second sliding parameter in which the position at which the second touch point is located is the starting position.
  • the first sliding parameter may include, but is not limited to, a sliding speed, a sliding distance, a sliding track, and a sliding time
  • the second sliding parameter may include, but is not limited to, a sliding speed, a sliding speed distance, a sliding track, a sliding end position, and a sliding time.
  • the sliding direction in which the position where the first touch point is located is the same as the sliding direction in which the position where the second touch point is located may be the same, or may be different, and the sliding direction may be any The direction of the embodiment of the present invention is not limited.
  • the user can use the two fingers to slide on the screen at the same time, or the user can use the two fingers to slide on the screen successively, wherein
  • the initial position of the slide is the position where the two touch points are located, that is, the position where the first touch point is located is the start position, and the position where the second touch point is located is the start position.
  • the user terminal obtains a first sliding parameter that slides with the position where the first touch point is located as the starting position and a second sliding that slides with the position where the second touch point is located as the starting position. After the parameter, the user terminal may according to the first sliding parameter and the second sliding parameter, Determine the target sliding parameters.
  • the user obtains the correspondence between the sliding parameter and the brightness in advance through multiple experiments, and stores the corresponding relationship in the user terminal.
  • the user terminal may query the target brightness corresponding to the target sliding parameter according to the correspondence between the pre-stored sliding parameter and the brightness.
  • the user terminal after the user terminal queries the target brightness corresponding to the target sliding parameter, the user terminal can adjust the brightness of the screen to the target brightness.
  • the user terminal may detect whether the first touch strength of the first touch point on the screen and the second touch strength of the second touch point match, and if yes, obtain the first touch point respectively. a position of the first sliding parameter for sliding the starting position and a second sliding parameter for sliding the position of the second touch point as a starting position, and further, the user terminal may according to the first sliding parameter and the second sliding parameter
  • the target sliding parameter is determined, and the target brightness corresponding to the target sliding parameter is queried according to the correspondence between the pre-stored sliding parameter and the brightness, so that the user terminal can adjust the brightness of the screen to the target brightness.
  • the user terminal can automatically adjust the brightness of the screen according to the touch force of different users touching the screen and the sliding parameter, so that the adjusted screen brightness meets the individualized requirements of each user even in the same light environment. At the same time, it can meet the adjustment of the screen brightness refinement.
  • FIG. 2 is a schematic flowchart diagram of another method for adjusting screen brightness according to an embodiment of the present invention. As shown in FIG. 2, the method can include the following steps.
  • step S201 The user terminal detects whether the first touch strength of the first touch point on the screen and the second touch strength of the second touch point match, and if yes, step S202 is performed, and if not, the process ends.
  • the user terminal acquires a current ambient brightness and acquires a current brightness of the screen.
  • the user terminal can detect the current ambient brightness and the current brightness of the screen through the built-in light sensor to obtain the current ambient brightness and the current brightness of the screen.
  • the current ambient brightness is the brightness of the environment in which the user terminal is currently located.
  • step S203 The user terminal determines whether the ambient brightness matches the current brightness of the screen. If not, step S204 is performed, and if so, the process ends.
  • the ambient brightness changes in real time, and the brightness and darkness of the ambient brightness may affect the user's visual perception of viewing the user terminal.
  • the user terminal After the user terminal obtains the current ambient brightness and the current brightness of the screen, the user terminal can determine whether the ambient brightness matches the current brightness of the screen.
  • the specific implementation manner in which the user terminal determines whether the ambient brightness matches the current brightness of the screen may be:
  • the user terminal determines whether the absolute value of the difference between the ambient brightness and the current brightness of the screen is less than or equal to the preset brightness threshold. If not, it determines that the ambient brightness does not match the current brightness of the screen.
  • the user terminal detects a first sliding operation of sliding at a position where the first touch point is located, and acquires a first end position at the end of the first sliding operation, and detects a position where the second touch point is located.
  • a second sliding operation for sliding the starting position and acquiring a second end position at the end of the second sliding operation.
  • the user terminal may implement fine adjustment of the screen brightness according to the operation of the user.
  • the user terminal may detect a first sliding operation that slides with the position where the first touch point is located as a starting position, and acquire a first ending position at the end of the first sliding operation, and detect that the second touch point is located
  • the position is a second sliding operation of sliding the starting position, and a second end position at the end of the second sliding operation is acquired.
  • the sliding direction in which the position where the first touch point is located is the same as the sliding direction in which the position where the second touch point is located may be the same, or may be different, and the sliding direction may be
  • the embodiment of the present invention is not limited in any direction.
  • the first end position may be a stop coordinate at the end of the first slide operation
  • the second end position may be a stop coordinate at the end of the second slide operation.
  • the user terminal determines a target distance between the first termination location and the second termination location according to the first termination location and the second termination location.
  • the user terminal may calculate the first termination location and the second termination location according to the coordinates of the first termination location and the coordinates of the second termination location. The distance between the targets.
  • step S206 The user terminal determines, according to the correspondence between the pre-stored distance and the brightness, that the correspondence relationship is No, the target brightness corresponding to the target distance is included. If yes, step S207 is performed, and if no, step S208 is performed.
  • the user obtains the correspondence between the distance and the brightness through multiple experiments in advance, and stores the corresponding relationship in the user terminal. After determining the target distance, the user terminal may determine whether the target brightness corresponding to the target distance is included in the correspondence according to the correspondence between the pre-stored distance and the brightness. If yes, step S207 is performed, and if not, step S208 is performed.
  • the user terminal extracts the target brightness corresponding to the target distance, and performs step S209.
  • the user terminal acquires a standard brightness that meets the comfort level of the human eye, and uses the standard brightness as the target brightness, and performs step S209.
  • the user terminal adjusts the brightness of the screen to the target brightness.
  • the user terminal can acquire the current ambient brightness and acquire the screen.
  • the current brightness when it is determined that the ambient brightness does not match the current brightness of the screen, the user terminal may detect a first sliding operation that slides with the position where the first touch point is located as the starting position, and acquires at the end of the first sliding operation a first end position of the time, and detecting a second sliding operation of sliding at a position where the second touch point is located, and acquiring a second end position at the end of the second sliding operation, further, the user terminal Determining, according to the first end position and the second end position, a target distance between the first end position and the second end position, and determining, according to the correspondence between the pre-stored distance and the brightness, whether the corresponding distance is included in the correspondence relationship Target brightness, if included, extracts the target brightness corresponding to the target distance, if not included, obtains the matching person
  • the user terminal can determine the target brightness according to the target distance obtained by different users touching the screen of the user terminal and performing sliding, and adjust the brightness of the screen to the target brightness, so that even in the same light environment, after adjustment The brightness of the screen meets the individual requirements of each user, and at the same time, it can meet the adjustment of the brightness of the screen.
  • FIG. 3 is a schematic flowchart diagram of another method for adjusting screen brightness according to an embodiment of the present invention. As shown in FIG. 3, the method can include the following steps.
  • step S301 The user terminal detects whether the first touch strength of the first touch point on the screen and the second touch strength of the second touch point match. If yes, step S302 is performed, and if not, the process ends.
  • the user terminal acquires a current ambient brightness and obtains a current brightness of the screen.
  • step S303 The user terminal determines whether the ambient brightness matches the current brightness of the screen. If not, step S304 is performed, and if so, the process ends.
  • the user terminal detects a first sliding operation that performs sliding by using a position where the first touch point is located, and acquires a first sliding track before the end of the first sliding operation, and detects a position where the second touch point is located.
  • a second sliding operation for sliding the starting position and acquiring a second sliding track before the end of the second sliding operation.
  • the user terminal may implement fine adjustment of the screen brightness according to the operation of the user.
  • the user terminal may detect a first sliding operation that slides with the position where the first touch point is located as a starting position, and acquire a first sliding track before the end of the first sliding operation, and detect that the second touch point is located
  • the position is a second sliding operation of sliding the starting position, and a second sliding trajectory before the end of the second sliding operation is acquired.
  • the sliding direction in which the position where the first touch point is located as the starting position and the sliding direction in which the position where the second touch point is located may be the same or different, but the first sliding The trajectory and the second sliding trajectory cannot be on the same line.
  • the user terminal connects the track start point of the first sliding track with the track start point of the second sliding track, and connects the track ending point of the first sliding track with the track ending point of the second sliding track to determine the target. Sliding area.
  • the user terminal queries the target brightness corresponding to the target sliding area according to the correspondence between the pre-stored area and the brightness.
  • the user obtains the correspondence between the area and the brightness in advance through multiple experiments, and stores the corresponding relationship in the user terminal.
  • the user terminal may query the target brightness corresponding to the target sliding area according to the correspondence between the pre-stored area and the brightness.
  • the brightness of the target sliding area of the user terminal adjustment screen is the target brightness.
  • the user terminal adjusts the brightness of the remaining area except the target sliding area in the display area of the screen to the first brightness.
  • the user terminal adjusts the brightness of the target sliding area of the screen to be the target brightness. Thereafter, the user terminal may further adjust the brightness of the remaining area of the display area of the screen except the target sliding area to a first brightness, wherein the first brightness is lower than the target brightness. In this way, the brightness of the entire screen seems to have a layered shadow, which can improve the visual effect, and at the same time, can reduce the power consumption of the user terminal and extend the standby time.
  • the user terminal can acquire the current ambient brightness and acquire the screen.
  • the current brightness when it is determined that the ambient brightness does not match the current brightness of the screen, the user terminal may detect a first sliding operation that slides with the position where the first touch point is located as the starting position, and acquires at the end of the first sliding operation a first sliding track, and a second sliding operation for detecting a position where the second touch point is located as a starting position, and acquiring a second sliding track before the end of the second sliding operation, further, the user terminal
  • the track start point of the first slide track may be connected with the track start point of the second slide track, and the track end point of the first slide track may be connected with the track end point of the second slide track to determine the target sliding area, And querying the target brightness corresponding to the target sliding area according to the correspondence between the pre-stored area and the brightness, so that The user terminal can adjust the brightness
  • the user terminal can adjust the brightness of the target sliding area of the screen to the target brightness value according to the user's needs, and adjust the brightness of the remaining area except the target sliding area in the display area of the screen to the first brightness, so that It satisfies the adjustment of the brightness of the screen to meet the individual needs and improve the user experience. At the same time, it can also improve the visual effect, reduce the power consumption of the user terminal, and extend the standby time.
  • the device embodiment of the present invention is used to perform the method in the method embodiment of the present invention.
  • the device embodiment of the present invention is used to perform the method in the method embodiment of the present invention.
  • Only parts related to the embodiment of the present invention are shown, and the specific technical details are not disclosed. Reference is made to the above method embodiments of the present invention.
  • FIG. 4 is a schematic structural diagram of a user terminal according to an embodiment of the present invention.
  • the user terminal 400 may include: a detecting unit 401, a first obtaining unit 402, a determining unit 403, and a query.
  • the detecting unit 401 is configured to detect a first touch force and a second touch of the first touch point on the screen Whether the second touch strength of the point matches.
  • a pressure sensor is pre-installed on the user terminal, and the touch force on the screen of the user terminal can be detected in real time.
  • the user can use two fingers to simultaneously touch two points on the screen of the user terminal, or the user can touch two points on the screen of the user terminal by using any two fingers, which is not limited in the embodiment of the present invention.
  • the user touches the screen different pressures are applied to the screen, and the user terminal can detect the first touch force of the first touch point on the screen and the second touch force of the second touch point in real time through the pressure sensor.
  • the detecting unit 401 may further detect the first touch strength of the first touch point on the screen. Whether the second touch strength of the second touch point matches.
  • the specific implementation manner that the detecting unit 401 detects whether the first touch force of the first touch point on the screen and the second touch force of the second touch point match is:
  • the detecting unit 401 detects whether the absolute value of the difference between the first touch velocity of the first touch point on the screen and the second touch velocity of the second touch point is less than or equal to a preset threshold, and if yes, determining the first touch point The first touch velocity matches the second touch velocity of the second touch point.
  • the first obtaining unit 402 is configured to: when the detecting unit 401 detects the first touch velocity of the first touch point on the screen and the second touch velocity of the second touch point, respectively, starting from the position where the first touch point is located a first sliding parameter in which the starting position is slid and a second sliding parameter in which the position at which the second touch point is located is the starting position.
  • the first acquiring unit 402 can respectively obtain the first touch point.
  • the position is a first sliding parameter for sliding the starting position and a second sliding parameter for sliding with the position where the second touch point is located.
  • the first sliding parameter may include, but is not limited to, a sliding speed, a sliding distance, a sliding track, and a sliding time
  • the second sliding parameter may include, but is not limited to, a sliding speed, a sliding speed distance, a sliding track, a sliding end position, and a sliding time.
  • the sliding direction in which the position where the first touch point is located is the same as the sliding direction in which the position where the second touch point is located may be the same, or may be different, and the sliding direction may be any The direction of the embodiment of the present invention is not limited.
  • the user can use the two fingers to slide on the screen at the same time, or the user can use the two fingers to slide on the screen successively, wherein
  • the initial position of the slide is the position where the two touch points are located, that is, the position where the first touch point is located is the start position, and the position where the second touch point is located is the start position.
  • the determining unit 403 is configured to determine the target sliding parameter according to the first sliding parameter and the second sliding parameter.
  • the first acquiring unit 402 respectively obtains a first sliding parameter that slides with the position where the first touch point is located as the starting position, and slides with the position where the second touch point is located as the starting position.
  • the determining unit 403 may determine the target sliding parameter according to the first sliding parameter and the second sliding parameter.
  • the query unit 404 is configured to query the target brightness corresponding to the target sliding parameter according to the correspondence between the pre-stored sliding parameter and the brightness.
  • the user obtains the correspondence between the sliding parameter and the brightness in advance through multiple experiments, and stores the corresponding relationship in the user terminal.
  • the query unit 404 can query the target brightness corresponding to the target sliding parameter according to the correspondence between the pre-stored sliding parameter and the brightness.
  • the adjusting unit 405 is configured to adjust the brightness of the screen to the target brightness.
  • the adjusting unit 405 can adjust the brightness of the screen to the target brightness.
  • FIG. 5 is a schematic structural diagram of another user terminal according to an embodiment of the present invention.
  • the user terminal shown in FIG. 5 is further optimized based on the user terminal shown in FIG.
  • the user terminal shown in FIG. 4 may include: in addition to all the units of the user terminal shown in FIG. 4, the user terminal shown in FIG.
  • a second obtaining unit 406 configured to: after the detecting unit 401 detects the first touch velocity of the first touch point on the screen and the second touch velocity of the second touch point, and acquire the first touch unit 402 respectively Before the touch point is located, the first sliding parameter for sliding the starting position and the second sliding parameter for sliding the position of the second touch point are used to obtain the current Ambient brightness, as well as the current brightness of the screen.
  • the second obtaining unit 406 can detect the current ambient brightness and the current brightness of the screen through the built-in light sensor to obtain the current ambient brightness and the current brightness of the screen.
  • the current ambient brightness is the brightness of the environment in which the user terminal is currently located.
  • the determining unit 407 is configured to determine whether the ambient brightness matches the current brightness of the screen.
  • the ambient brightness changes in real time, and the brightness and darkness of the ambient brightness may affect the user's visual perception of viewing the user terminal.
  • the second obtaining unit 406 may determine whether the ambient brightness matches the current brightness of the screen.
  • the specific implementation manner of the determining unit 407 determining whether the ambient brightness matches the current brightness of the screen may be:
  • the determining unit 407 determines whether the absolute value of the difference between the ambient brightness and the current brightness of the screen is less than or equal to the preset brightness threshold, and if not, determines that the ambient brightness does not match the current brightness of the screen.
  • the first obtaining unit 402 is configured to: when the determining unit 407 determines that the ambient brightness does not match the current brightness of the screen, respectively acquire the first sliding parameter that is sliding with the position where the first touch point is located as the starting position, and the second The second sliding parameter in which the touch point is located is the starting position to slide.
  • the foregoing first obtaining unit 402 may include:
  • the first detection acquisition sub-unit 4021 is configured to detect a first sliding operation of sliding at a position where the first touch point is located, and acquire a first end position at the end of the first sliding operation.
  • the second detection acquisition sub-unit 4022 is configured to detect a second sliding operation of sliding at a position where the second touch point is located, and acquire a second end position at the end of the second sliding operation.
  • the first detection acquisition sub-unit 4021 may detect a first sliding operation that slides with the position where the first touch point is located as a starting position, and acquire a first end position at the end of the first sliding operation, and a second The detection acquisition sub-unit 4022 detects a second sliding operation of sliding with the position where the second touch point is located as the starting position, and acquires the second end position at the end of the second sliding operation.
  • the sliding direction in which the position where the first touch point is located is the same as the sliding direction in which the position where the second touch point is located may be the same, or may be different, and the sliding direction may be The embodiment of the present invention is not limited in any direction.
  • the first end position may be a stop coordinate at the end of the first slide operation
  • the second end position may be a stop coordinate at the end of the second slide operation.
  • the determining unit 403 is specifically configured to determine a target distance between the first ending position and the second ending position according to the first ending position and the second ending position.
  • the query unit 404 can include:
  • the determining sub-unit 4041 is configured to determine, according to the correspondence between the pre-stored distance and the brightness, whether the target brightness corresponding to the target distance is included in the correspondence.
  • the extracting sub-unit 4042 is configured to: when determining that the sub-unit 4041 determines the target brightness corresponding to the target distance according to the correspondence between the pre-stored distance and the brightness, extract the target brightness corresponding to the target distance.
  • the query unit 404 may further include:
  • the obtaining sub-unit 4043 is configured to obtain a standard brightness conforming to human eye comfort when the target brightness corresponding to the target distance is not included in the correspondence, and use the standard brightness as the target brightness.
  • the user obtains the correspondence between the distance and the brightness through multiple experiments in advance, and stores the corresponding relationship in the user terminal.
  • the determining unit 403 may determine, according to the correspondence between the pre-stored distance and the brightness, whether the target brightness corresponding to the target distance is included in the correspondence, and if so, the extracting sub-unit 4042 extracts the target distance.
  • the target brightness if not included, the acquisition sub-unit 4043 obtains a standard brightness that meets the comfort level of the human eye, and uses the standard brightness as the target brightness.
  • FIG. 6 is a schematic structural diagram of another user terminal according to an embodiment of the present invention, wherein the user terminal shown in FIG. 6 is further optimized based on the user terminal shown in FIG.
  • the first obtaining unit 402 may include:
  • the third detection acquisition sub-unit 4023 is configured to detect a first sliding operation that slides with the position where the first touch point is located as a starting position, and acquire a first sliding track before the end of the first sliding operation.
  • a fourth detecting acquisition sub-unit 4024 configured to detect a second sliding operation that slides with the position where the second touch point is located as a starting position, and acquire a second sliding track before the end of the second sliding operation, the first sliding track It is not on the same line as the second sliding track.
  • the third detection acquisition sub-unit 4023 may detect a first sliding operation that slides with the position where the first touch point is located as a starting position, and acquire a first sliding before the end of the first sliding operation The trajectory, and the fourth detection acquisition sub-unit 4024 detects a second sliding operation that slides with the position where the second touch point is located as the starting position, and acquires the second sliding trajectory before the end of the second sliding operation.
  • the sliding direction in which the position where the first touch point is located as the starting position and the sliding direction in which the position where the second touch point is located may be the same or different, but the first sliding The trajectory and the second sliding trajectory cannot be on the same line.
  • the determining unit 403 is specifically configured to connect the track starting point of the first sliding track with the track starting point of the second sliding track, and connect the track ending point of the first sliding track with the track ending point of the second sliding track, Determine the target sliding area.
  • the query unit 404 is specifically configured to query the target brightness corresponding to the target sliding area according to the correspondence between the pre-stored area and the brightness.
  • the adjusting unit 405 is specifically configured to adjust the brightness of the target sliding area of the screen to the target brightness.
  • the adjusting unit 405 is further configured to adjust a brightness of a remaining area of the display area of the screen except the target sliding area to a first brightness, where the first brightness is lower than the target brightness.
  • the adjusting unit 405 may further adjust the brightness of the remaining area except the target sliding area in the display area of the screen to the first brightness.
  • the first brightness is lower than the target brightness. In this way, the brightness of the entire screen seems to have a layered shadow, which can improve the visual effect, and at the same time, can reduce the power consumption of the user terminal and extend the standby time.
  • the detecting unit 401 may detect whether the first touch strength of the first touch point on the screen and the second touch strength of the second touch point match, and if yes, the first acquiring unit The first sliding parameter that slides with the position where the first touch point is located as the starting position and the second sliding parameter that slides with the position where the second touch point is located as the starting position, and further, the determining unit 403 can Determining the target sliding parameter according to the first sliding parameter and the second sliding parameter, the query unit 404 queries the target brightness corresponding to the target sliding parameter according to the correspondence between the pre-stored sliding parameter and the brightness, so that the adjusting unit 405 can adjust the screen. Brightness to target brightness.
  • the adjusting unit 405 can automatically adjust the brightness of the screen according to the touch force of different users touching the screen and the sliding parameter, so that the adjusted screen brightness conforms to each user's personalized even in the same light environment. At the same time, it can meet the adjustment of the brightness of the screen.
  • FIG. 7 is a schematic structural diagram of another user terminal according to an embodiment of the present invention.
  • the user terminal may include a processor 701 and a memory 702, where the processor 701
  • the memory 702 is connected by a bus, wherein the memory 702 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • the memory 702 can also optionally be at least one storage device located remotely from the aforementioned processor 701.
  • the application stored by the processor 701 for reading the memory 702 performs the following operations:
  • the processor 701 is configured to read the application stored in the memory 702 to perform the following operations:
  • the first sliding parameter that slides with the position where the first touch point is located as a starting position and the second sliding that slides with the position where the second touch point is located as a starting position are respectively acquired.
  • Parameters including:
  • Determining the target sliding parameter according to the first sliding parameter and the second sliding parameter including:
  • the querying the target brightness corresponding to the target sliding parameter according to the correspondence between the pre-stored sliding parameter and the brightness includes:
  • the target brightness corresponding to the target distance is extracted.
  • the application stored by the processor 701 for reading the memory 702 performs the following operations:
  • the target brightness corresponding to the target distance is not included in the correspondence, a standard brightness conforming to the comfort level of the human eye is acquired, and the standard brightness is used as the target brightness.
  • the first sliding parameter that slides with the position where the first touch point is located as a starting position and the second sliding that slides with the position where the second touch point is located as a starting position are respectively acquired.
  • Parameters including:
  • Determining the target sliding parameter according to the first sliding parameter and the second sliding parameter including:
  • the querying the target brightness corresponding to the target sliding parameter according to the correspondence between the pre-stored sliding parameter and the brightness includes:
  • the adjusting the brightness of the screen to the target brightness comprises:
  • the application stored by the processor 701 for reading the memory 702 performs the following operations:
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Abstract

A screen brightness adjusting method and a user terminal. The method comprises: detecting whether or not a first touch force of a first touched point matches a second touch force of a second touched point (S101); if yes, then acquiring respectively a first slide parameter with which sliding starts from the position at where the first touched point is located and a second slide parameter with which sliding starts from the position at where the second touched point is located (S102); determining a target slide parameter on the basis of the first slide parameter and the second slide parameter (S103); querying a target brightness corresponding to the target slide parameter on the basis of prestored correlations between slide parameters and brightness (S104); and adjusting screen brightness to the target brightness (S105). The method satisfies fine adjustments of screen brightness.

Description

一种调节屏幕亮度的方法及用户终端Method for adjusting screen brightness and user terminal
本发明要求2015年08月27日递交的发明名称为“一种调节屏幕亮度的方法及用户终端”的申请号201510541287.3的在先申请优先权,上述在先申请的内容以引入的方式并入本文本中。The present invention claims the priority of the prior application entitled "A Method for Adjusting Screen Brightness and User Terminals", filed on Aug. 27, 2015, the priority of which is incorporated herein by reference. This.
技术领域Technical field
本发明涉及智能终端技术领域,尤其涉及一种调节屏幕亮度的方法及用户终端。The present invention relates to the field of intelligent terminal technologies, and in particular, to a method for adjusting screen brightness and a user terminal.
背景技术Background technique
随着智能手机、平板电脑等用户终端的广泛应用,用户越来越喜欢在用户终端上阅读小说、查看新闻、浏览微博等。用户终端的屏幕亮度是一个影响用户观看的关键因素,通常,用户终端可以根据环境亮度来自动调节屏幕亮度,以使屏幕亮度不会太亮或者太暗。With the wide application of user terminals such as smartphones and tablets, users are more and more fond of reading novels, viewing news, browsing microblogs, etc. on user terminals. The screen brightness of the user terminal is a key factor affecting the user's viewing. Generally, the user terminal can automatically adjust the screen brightness according to the brightness of the environment, so that the screen brightness is not too bright or too dark.
然而实践中发现,即使在同一光环境下,用户终端根据环境亮度自动调节屏幕亮度之后,不同的用户对同一个用户终端的屏幕亮度的视觉感知是不同的,即有些用户会觉得自动调节后的屏幕亮度看起来很舒服,而有些用户会觉得自动调节后的屏幕亮度还是看起来不舒服(刺眼或看不清)。可见,这种调节方式无法满足对屏幕亮度精细化的调节。However, it has been found in practice that even after the user terminal automatically adjusts the screen brightness according to the ambient brightness in the same light environment, different users have different visual perceptions of the screen brightness of the same user terminal, that is, some users feel that the automatic adjustment is performed. The screen brightness looks very comfortable, and some users will feel that the screen brightness after auto adjustment still looks uncomfortable (glare or invisible). It can be seen that this adjustment method cannot satisfy the adjustment of the screen brightness refinement.
发明内容Summary of the invention
本发明实施例提供了一种调节屏幕亮度的方法及用户终端,可以满足对屏幕亮度精细化的调节。Embodiments of the present invention provide a method for adjusting screen brightness and a user terminal, which can satisfy adjustment of screen brightness refinement.
本发明实施例第一方面公开了一种调节屏幕亮度的方法,包括:A first aspect of the embodiments of the present invention discloses a method for adjusting screen brightness, including:
检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度是否匹配;Detecting whether the first touch velocity of the first touch point on the screen and the second touch velocity of the second touch point match;
若是,则分别获取以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以所述第二触摸点所在的位置为起始位置进行滑动的第二滑 动参数;If yes, acquiring a first sliding parameter that slides with the position where the first touch point is located as a starting position, and a second sliding parameter that slides with the position where the second touch point is located as a starting position. Dynamic parameter
根据所述第一滑动参数和所述第二滑动参数,确定目标滑动参数;Determining a target sliding parameter according to the first sliding parameter and the second sliding parameter;
根据预存储的滑动参数与亮度的对应关系,查询所述目标滑动参数对应的目标亮度;Querying a target brightness corresponding to the target sliding parameter according to a correspondence between the pre-stored sliding parameter and the brightness;
调节所述屏幕的亮度至所述目标亮度。Adjusting the brightness of the screen to the target brightness.
在一个可能的实施方式中,在检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度匹配之后,以及在分别获取以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动参数之前,所述方法还包括:In a possible implementation manner, after detecting the first touch velocity of the first touch point on the screen and the second touch velocity of the second touch point, and respectively acquiring the position where the first touch point is located, Before the first sliding parameter of the sliding position of the starting position and the second sliding parameter of the sliding position of the second touch point as the starting position, the method further includes:
获取当前环境亮度,以及获取所述屏幕的当前亮度;Obtaining a current ambient brightness and obtaining a current brightness of the screen;
判断所述环境亮度与所述屏幕的当前亮度是否匹配;Determining whether the ambient brightness matches the current brightness of the screen;
若否,则执行所述分别获取以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动参数的步骤。If not, performing, respectively, acquiring a first sliding parameter that slides with the position where the first touch point is located as a starting position, and a second sliding parameter that slides with the position where the second touch point is located as a starting position The step of sliding the parameters.
在一个可能的实施方式中,所述分别获取以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动参数,包括:In a possible implementation, the acquiring a first sliding parameter that slides with the position where the first touch point is located as a starting position, and sliding with the position where the second touch point is located as a starting position The second sliding parameter includes:
检测以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动操作,并获取在所述第一滑动操作结束时的第一终止位置;Detecting a first sliding operation that slides with the position where the first touch point is located as a starting position, and acquires a first ending position at the end of the first sliding operation;
以及,检测以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动操作,并获取在所述第二滑动操作结束时的第二终止位置;And detecting a second sliding operation of sliding at a position where the second touch point is located, and acquiring a second end position at the end of the second sliding operation;
所述根据所述第一滑动参数和所述第二滑动参数,确定目标滑动参数,包括:Determining the target sliding parameter according to the first sliding parameter and the second sliding parameter, including:
根据所述第一终止位置和所述第二终止位置,确定所述第一终止位置和所述第二终止位置之间的目标距离;Determining a target distance between the first end position and the second end position according to the first end position and the second end position;
所述根据预存储的滑动参数与亮度的对应关系,查询所述目标滑动参数对应的目标亮度,包括:The querying the target brightness corresponding to the target sliding parameter according to the correspondence between the pre-stored sliding parameter and the brightness includes:
根据预存储的距离与亮度的对应关系,判断所述对应关系中是否包括所述目标距离对应的目标亮度; Determining, according to a correspondence between the pre-stored distance and the brightness, whether the target brightness corresponding to the target distance is included in the correspondence relationship;
若包括,则提取所述目标距离对应的目标亮度。If included, the target brightness corresponding to the target distance is extracted.
在一个可能的实施方式中,所述方法还包括:In a possible implementation, the method further includes:
当所述对应关系中未包括所述目标距离对应的目标亮度时,获取符合人眼舒适度的标准亮度,并将所述标准亮度作为目标亮度。When the target brightness corresponding to the target distance is not included in the correspondence, a standard brightness conforming to the comfort level of the human eye is acquired, and the standard brightness is used as the target brightness.
在一个可能的实施方式中,所述分别获取以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动参数,包括:In a possible implementation, the acquiring a first sliding parameter that slides with the position where the first touch point is located as a starting position, and sliding with the position where the second touch point is located as a starting position The second sliding parameter includes:
检测以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动操作,并获取在所述第一滑动操作结束前的第一滑动轨迹;Detecting a first sliding operation of sliding with the position where the first touch point is located as a starting position, and acquiring a first sliding track before the end of the first sliding operation;
以及,检测以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动操作,并获取在所述第二滑动操作结束前的第二滑动轨迹,所述第一滑动轨迹和所述第二滑动轨迹不在同一条直线上;And detecting a second sliding operation that slides with the position where the second touch point is located as a starting position, and acquiring a second sliding track before the end of the second sliding operation, the first sliding track and the The second sliding track is not on the same straight line;
所述根据所述第一滑动参数和所述第二滑动参数,确定目标滑动参数,包括:Determining the target sliding parameter according to the first sliding parameter and the second sliding parameter, including:
将所述第一滑动轨迹的轨迹起始点与所述第二滑动轨迹的轨迹起始点进行连接,以及将所述第一滑动轨迹的轨迹终止点与所述第二滑动轨迹的轨迹终止点进行连接,以确定目标滑动区域;Connecting a track start point of the first sliding track to a track start point of the second sliding track, and connecting a track ending point of the first sliding track to a track ending point of the second sliding track To determine the target sliding area;
所述根据预存储的滑动参数与亮度的对应关系,查询所述目标滑动参数对应的目标亮度,包括:The querying the target brightness corresponding to the target sliding parameter according to the correspondence between the pre-stored sliding parameter and the brightness includes:
根据预存储的区域与亮度的对应关系,查询所述目标滑动区域对应的目标亮度;Querying a target brightness corresponding to the target sliding area according to a correspondence between the pre-stored area and the brightness;
所述调节所述屏幕的亮度至所述目标亮度,包括:The adjusting the brightness of the screen to the target brightness comprises:
调节所述屏幕的所述目标滑动区域的亮度为所述目标亮度。Adjusting the brightness of the target sliding area of the screen to the target brightness.
在一个可能的实施方式中,所述调节所述屏幕的所述目标滑动区域的亮度为所述目标亮度之后,所述方法还包括:In a possible implementation, after the adjusting the brightness of the target sliding area of the screen is the target brightness, the method further includes:
将所述屏幕的显示区域中除所述目标滑动区域之外的剩余区域的亮度调节为第一亮度,所述第一亮度低于所述目标亮度。Adjusting a brightness of a remaining area of the display area of the screen other than the target sliding area to a first brightness, the first brightness being lower than the target brightness.
本发明实施例第二方面公开了一种用户终端,所述用户终端包括用于执行本发明实施例第一方面任一方法的部分或全部步骤的功能单元。其中,该用户 终端执行第一方面任一方法的部分或全部步骤时可以满足对屏幕亮度精细化的调节。A second aspect of the embodiments of the present invention discloses a user terminal, where the user terminal includes a functional unit for performing some or all of the steps of any of the methods of the first aspect of the embodiments of the present invention. Among them, the user The adjustment of the screen brightness refinement can be satisfied when the terminal performs some or all of the steps of any of the methods of the first aspect.
发明实施例第三方面公开了一种用户终端,所述用户终端包括:处理器、以及存储器,所述存储器被配置用于存储指令,所述处理器被配置用于运行所述指令,所述处理器运行所述指令以执行本发明实施例第一方面任一方法的部分或全部步骤。其中,该用户终端执行第一方面任一方法的部分或全部步骤时可以满足对屏幕亮度精细化的调节。In a third aspect of the invention, a user terminal is disclosed, the user terminal comprising: a processor, and a memory configured to store an instruction, the processor being configured to execute the instruction, The processor runs the instructions to perform some or all of the steps of any of the methods of the first aspect of the embodiments of the present invention. The user terminal can satisfy the adjustment of the screen brightness refinement when performing some or all of the steps of any of the methods.
本发明实施例第四方面公开了一种计算机存储介质,所述计算机存储介质存储有程序,所述程序具体包括用于执行本发明实施例第一方面任一方法的部分或全部步骤的指令。A fourth aspect of the embodiments of the present invention discloses a computer storage medium storing a program, the program specifically comprising instructions for performing some or all of the steps of any of the first aspects of the embodiments of the present invention.
本发明实施例中,用户终端可以检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度是否匹配,若是,则分别获取以第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以第二触摸点所在的位置为起始位置进行滑动的第二滑动参数,进一步地,用户终端可以根据第一滑动参数和第二滑动参数,确定目标滑动参数,并根据预存储的滑动参数与亮度的对应关系,查询目标滑动参数对应的目标亮度,这样,用户终端就可以调节屏幕的亮度至目标亮度。可见,通过本发明实施例,用户终端可以根据不同用户触摸屏幕的触摸力度以及滑动参数来自动调节屏幕的亮度,使得即使在同一光环境下,调节后的屏幕亮度符合每一个用户个性化的要求,同时,可以满足对屏幕亮度精细化的调节。In the embodiment of the present invention, the user terminal may detect whether the first touch strength of the first touch point on the screen and the second touch strength of the second touch point match, and if yes, obtain the position where the first touch point is located respectively. a first sliding parameter in which the initial position is slid and a second sliding parameter in which the position at which the second touch point is located is a starting position. Further, the user terminal may determine the target sliding according to the first sliding parameter and the second sliding parameter. The parameter, and according to the correspondence between the pre-stored sliding parameter and the brightness, the target brightness corresponding to the target sliding parameter is queried, so that the user terminal can adjust the brightness of the screen to the target brightness. It can be seen that, by using the embodiment of the present invention, the user terminal can automatically adjust the brightness of the screen according to the touch force of different users touching the screen and the sliding parameter, so that the adjusted screen brightness meets the individualized requirements of each user even in the same light environment. At the same time, it can meet the adjustment of the screen brightness refinement.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1是本发明实施例公开的一种调节屏幕亮度的方法的流程示意图;1 is a schematic flow chart of a method for adjusting brightness of a screen according to an embodiment of the present invention;
图2是本发明实施例公开的另一种调节屏幕亮度的方法的流程示意图;2 is a schematic flow chart of another method for adjusting screen brightness according to an embodiment of the present invention;
图3是本发明实施例公开的另一种调节屏幕亮度的方法的流程示意图; 3 is a schematic flow chart of another method for adjusting screen brightness according to an embodiment of the present invention;
图4是本发明实施例公开的一种用户终端的结构示意图;4 is a schematic structural diagram of a user terminal according to an embodiment of the present invention;
图5是本发明实施例公开的另一种用户终端的结构示意图;FIG. 5 is a schematic structural diagram of another user terminal according to an embodiment of the present disclosure;
图6是本发明实施例公开的另一种用户终端的结构示意图;FIG. 6 is a schematic structural diagram of another user terminal according to an embodiment of the present disclosure;
图7是本发明实施例公开的另一种用户终端的结构示意图。FIG. 7 is a schematic structural diagram of another user terminal according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例公开了一种调节屏幕亮度的方法及用户终端,可以满足对屏幕亮度精细化的调节。以下分别进行详细说明。Embodiments of the present invention disclose a method for adjusting screen brightness and a user terminal, which can satisfy adjustment of screen brightness refinement. The details are described below separately.
本发明实施例中,用户终端可以包括但不限于智能手机、笔记本电脑、个人计算机(Personal Computer,PC)、个人数字助理(Personal Digital Assistant,PDA)、移动互联网设备(Mobile Internet Device,MID)、智能穿戴设备(如智能手表、智能手环)等各类用户终端。其中,该用户终端的操作系统可包括但不限于Android操作系统、IOS操作系统、Symbian(塞班)操作系统、Black Berry(黑莓)操作系统、Windows Phone8操作系统等等,本发明实施例不做限定。In the embodiment of the present invention, the user terminal may include, but is not limited to, a smart phone, a notebook computer, a personal computer (PC), a personal digital assistant (PDA), a mobile internet device (MID), Various types of user terminals such as smart wearable devices (such as smart watches and smart bracelets). The operating system of the user terminal may include, but is not limited to, an Android operating system, an IOS operating system, a Symbian operating system, a Blackberry operating system, a Windows Phone 8 operating system, and the like. limited.
请参见图1,图1是本发明实施例公开的一种调节屏幕亮度的方法的流程示意图。如图1所示,该方法可以包括以下步骤。Referring to FIG. 1 , FIG. 1 is a schematic flowchart diagram of a method for adjusting brightness of a screen according to an embodiment of the present invention. As shown in FIG. 1, the method can include the following steps.
S101、检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度是否匹配,若是,执行步骤S102,若否,结束本流程。S101. Detect whether the first touch strength of the first touch point on the screen and the second touch strength of the second touch point match, and if yes, execute step S102, and if not, end the process.
本发明实施例中,用户终端上预先安装有压力传感器,可以实时检测用户终端屏幕上的触摸力度。In the embodiment of the present invention, a pressure sensor is pre-installed on the user terminal, and the touch force on the screen of the user terminal can be detected in real time.
本发明实施例中,用户可以使用任意两个手指同时触摸用户终端屏幕上的两个点,或者,用户可以使用任意两个手指先后触摸用户终端屏幕上的两个点,本发明实施例不作限定。用户触摸屏幕时将会给屏幕施加不同大小的压力,用户终端可以通过压力传感器实时检测屏幕上的第一触摸点的第一触摸力度和 第二触摸点的第二触摸力度。In the embodiment of the present invention, the user can use two fingers to simultaneously touch two points on the screen of the user terminal, or the user can touch two points on the screen of the user terminal by using any two fingers, which is not limited in the embodiment of the present invention. . When the user touches the screen, different pressures are applied to the screen, and the user terminal can detect the first touch intensity of the first touch point on the screen in real time through the pressure sensor. The second touch intensity of the second touch point.
本发明实施例中,用户终端获取到第一触摸点的第一触摸力度和第二触摸点的第二触摸力度之后,用户终端可以进一步检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度是否匹配。In the embodiment of the present invention, after the user terminal acquires the first touch velocity of the first touch point and the second touch strength of the second touch point, the user terminal may further detect the first touch strength and the first touch point of the first touch point on the screen. Whether the second touch strength of the two touch points matches.
具体的,用户终端检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度是否匹配的具体实施方式可以为:Specifically, the specific implementation manner of the user terminal detecting whether the first touch strength of the first touch point on the screen and the second touch strength of the second touch point match are:
用户终端检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度之差的绝对值是否小于或等于预设阈值,若是,则确定所述第一触摸点的第一触摸力度和第二触摸点的第二触摸力度匹配。The user terminal detects whether an absolute value of a difference between the first touch velocity of the first touch point on the screen and the second touch velocity of the second touch point is less than or equal to a preset threshold, and if yes, determining the first touch point A touch force matches a second touch force of the second touch point.
S102、分别获取以第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以第二触摸点所在的位置为起始位置进行滑动的第二滑动参数。S102: Acquire a first sliding parameter that slides with the position where the first touch point is located as a starting position, and a second sliding parameter that slides with the position where the second touch point is located as a starting position.
本发明实施例中,用户终端在检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度匹配之后,用户终端可以分别获取以第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以第二触摸点所在的位置为起始位置进行滑动的第二滑动参数。其中,该第一滑动参数可以包括但不限于滑动速度、滑动距离、滑动轨迹以及滑动时间,该第二滑动参数可以包括但不限于滑动速度、滑动速度距离、滑动轨迹、滑动终止位置以及滑动时间。以第一触摸点所在的位置为起始位置进行滑动的滑动方向与以第二触摸点所在的位置为起始位置进行滑动的滑动方向可以相同,也可以不相同,且滑动方向均可以为任意方向,本发明实施例不作限定。In the embodiment of the present invention, after the user terminal detects the first touch force of the first touch point on the screen and the second touch force of the second touch point, the user terminal can respectively obtain the position where the first touch point is located. a first sliding parameter in which the starting position is slid and a second sliding parameter in which the position at which the second touch point is located is the starting position. The first sliding parameter may include, but is not limited to, a sliding speed, a sliding distance, a sliding track, and a sliding time, and the second sliding parameter may include, but is not limited to, a sliding speed, a sliding speed distance, a sliding track, a sliding end position, and a sliding time. . The sliding direction in which the position where the first touch point is located is the same as the sliding direction in which the position where the second touch point is located may be the same, or may be different, and the sliding direction may be any The direction of the embodiment of the present invention is not limited.
本发明实施例中,用户用两个手指触摸屏幕的任意位置后,用户可以使用该两个手指在屏幕上同时进行滑动,或者,用户可以使用该两个手指在屏幕上先后进行滑动,其中,滑动的初始位置均为两个触摸点所在的位置,即:以第一触摸点所在的位置为起始位置进行滑动,以及以第二触摸点所在的位置为起始位置进行滑动。In the embodiment of the present invention, after the user touches any position of the screen with two fingers, the user can use the two fingers to slide on the screen at the same time, or the user can use the two fingers to slide on the screen successively, wherein The initial position of the slide is the position where the two touch points are located, that is, the position where the first touch point is located is the start position, and the position where the second touch point is located is the start position.
S103、根据第一滑动参数和第二滑动参数,确定目标滑动参数。S103. Determine a target sliding parameter according to the first sliding parameter and the second sliding parameter.
本发明实施例中,用户终端在分别获取到以第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以第二触摸点所在的位置为起始位置进行滑动的第二滑动参数之后,用户终端可以根据第一滑动参数和第二滑动参数, 确定目标滑动参数。In the embodiment of the present invention, the user terminal obtains a first sliding parameter that slides with the position where the first touch point is located as the starting position and a second sliding that slides with the position where the second touch point is located as the starting position. After the parameter, the user terminal may according to the first sliding parameter and the second sliding parameter, Determine the target sliding parameters.
S104、根据预存储的滑动参数与亮度的对应关系,查询目标滑动参数对应的目标亮度。S104. Query a target brightness corresponding to the target sliding parameter according to a correspondence between the pre-stored sliding parameter and the brightness.
本发明实施例中,用户预先通过多次实验获得了滑动参数与亮度的对应关系,并将该对应关系存储在用户终端中。用户终端根据第一滑动参数和第二滑动参数,确定目标滑动参数之后,用户终端就可以根据预存储的滑动参数与亮度的对应关系,查询目标滑动参数对应的目标亮度。In the embodiment of the present invention, the user obtains the correspondence between the sliding parameter and the brightness in advance through multiple experiments, and stores the corresponding relationship in the user terminal. After the user terminal determines the target sliding parameter according to the first sliding parameter and the second sliding parameter, the user terminal may query the target brightness corresponding to the target sliding parameter according to the correspondence between the pre-stored sliding parameter and the brightness.
S105、调节屏幕的亮度至目标亮度,并结束本流程。S105. Adjust the brightness of the screen to the target brightness, and end the process.
本发明实施例中,用户终端查询到目标滑动参数对应的目标亮度之后,用户终端就可以调节屏幕的亮度至目标亮度。In the embodiment of the present invention, after the user terminal queries the target brightness corresponding to the target sliding parameter, the user terminal can adjust the brightness of the screen to the target brightness.
在图1所描述的方法流程中,用户终端可以检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度是否匹配,若是,则分别获取以第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以第二触摸点所在的位置为起始位置进行滑动的第二滑动参数,进一步地,用户终端可以根据第一滑动参数和第二滑动参数,确定目标滑动参数,并根据预存储的滑动参数与亮度的对应关系,查询目标滑动参数对应的目标亮度,这样,用户终端就可以调节屏幕的亮度至目标亮度。可见,通过本发明实施例,用户终端可以根据不同用户触摸屏幕的触摸力度以及滑动参数来自动调节屏幕的亮度,使得即使在同一光环境下,调节后的屏幕亮度符合每一个用户个性化的要求,同时,可以满足对屏幕亮度精细化的调节。In the method flow described in FIG. 1 , the user terminal may detect whether the first touch strength of the first touch point on the screen and the second touch strength of the second touch point match, and if yes, obtain the first touch point respectively. a position of the first sliding parameter for sliding the starting position and a second sliding parameter for sliding the position of the second touch point as a starting position, and further, the user terminal may according to the first sliding parameter and the second sliding parameter The target sliding parameter is determined, and the target brightness corresponding to the target sliding parameter is queried according to the correspondence between the pre-stored sliding parameter and the brightness, so that the user terminal can adjust the brightness of the screen to the target brightness. It can be seen that, by using the embodiment of the present invention, the user terminal can automatically adjust the brightness of the screen according to the touch force of different users touching the screen and the sliding parameter, so that the adjusted screen brightness meets the individualized requirements of each user even in the same light environment. At the same time, it can meet the adjustment of the screen brightness refinement.
请参见图2,图2是本发明实施例公开的另一种调节屏幕亮度的方法的流程示意图。如图2所示,该方法可以包括以下步骤。Referring to FIG. 2, FIG. 2 is a schematic flowchart diagram of another method for adjusting screen brightness according to an embodiment of the present invention. As shown in FIG. 2, the method can include the following steps.
S201、用户终端检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度是否匹配,若是,执行步骤S202,若否,结束本流程。S201: The user terminal detects whether the first touch strength of the first touch point on the screen and the second touch strength of the second touch point match, and if yes, step S202 is performed, and if not, the process ends.
S202、用户终端获取当前环境亮度,以及获取屏幕的当前亮度。S202. The user terminal acquires a current ambient brightness and acquires a current brightness of the screen.
本发明实施例中,用户终端可以通过内置的光传感器检测当前环境亮度以及屏幕的当前亮度,以获得当前环境亮度和屏幕的当前亮度。其中,该当前环境亮度为用户终端当前所处环境的亮度。 In the embodiment of the present invention, the user terminal can detect the current ambient brightness and the current brightness of the screen through the built-in light sensor to obtain the current ambient brightness and the current brightness of the screen. The current ambient brightness is the brightness of the environment in which the user terminal is currently located.
S203、用户终端判断环境亮度与屏幕的当前亮度是否匹配,若否,执行步骤S204,若是,结束本流程。S203. The user terminal determines whether the ambient brightness matches the current brightness of the screen. If not, step S204 is performed, and if so, the process ends.
本发明实施例中,环境亮度是实时变化的,环境亮度的亮暗会影响到用户观看用户终端的视觉感受。用户终端在获取到当前环境亮度和屏幕的当前亮度之后,用户终端可以判断环境亮度与屏幕的当前亮度是否匹配。In the embodiment of the present invention, the ambient brightness changes in real time, and the brightness and darkness of the ambient brightness may affect the user's visual perception of viewing the user terminal. After the user terminal obtains the current ambient brightness and the current brightness of the screen, the user terminal can determine whether the ambient brightness matches the current brightness of the screen.
具体地,用户终端判断环境亮度与屏幕的当前亮度是否匹配的具体实施方式可以为:Specifically, the specific implementation manner in which the user terminal determines whether the ambient brightness matches the current brightness of the screen may be:
用户终端判断环境亮度与屏幕的当前亮度之差的绝对值是否小于或等于预设亮度阈值,若否,则确定环境亮度与屏幕的当前亮度不匹配。The user terminal determines whether the absolute value of the difference between the ambient brightness and the current brightness of the screen is less than or equal to the preset brightness threshold. If not, it determines that the ambient brightness does not match the current brightness of the screen.
S204、用户终端检测以第一触摸点所在的位置为起始位置进行滑动的第一滑动操作,并获取在第一滑动操作结束时的第一终止位置,以及检测以第二触摸点所在的位置为起始位置进行滑动的第二滑动操作,并获取在第二滑动操作结束时的第二终止位置。S204. The user terminal detects a first sliding operation of sliding at a position where the first touch point is located, and acquires a first end position at the end of the first sliding operation, and detects a position where the second touch point is located. A second sliding operation for sliding the starting position and acquiring a second end position at the end of the second sliding operation.
本发明实施例中,用户终端在判断环境亮度与屏幕的当前亮度不匹配之后,用户终端可以根据用户的操作来实现对屏幕亮度的精细化调节。In the embodiment of the present invention, after the user terminal determines that the ambient brightness does not match the current brightness of the screen, the user terminal may implement fine adjustment of the screen brightness according to the operation of the user.
具体地,用户终端可以检测以第一触摸点所在的位置为起始位置进行滑动的第一滑动操作,并获取在第一滑动操作结束时的第一终止位置,以及检测以第二触摸点所在的位置为起始位置进行滑动的第二滑动操作,并获取在第二滑动操作结束时的第二终止位置。其中,以第一触摸点所在的位置为起始位置进行滑动的滑动方向与以第二触摸点所在的位置为起始位置进行滑动的滑动方向可以相同,也可以不相同,且滑动方向均可以为任意方向,本发明实施例不作限定。该第一终止位置可以为第一滑动操作结束时的终止坐标,该第二终止位置可以为第二滑动操作结束时的终止坐标。Specifically, the user terminal may detect a first sliding operation that slides with the position where the first touch point is located as a starting position, and acquire a first ending position at the end of the first sliding operation, and detect that the second touch point is located The position is a second sliding operation of sliding the starting position, and a second end position at the end of the second sliding operation is acquired. Wherein, the sliding direction in which the position where the first touch point is located is the same as the sliding direction in which the position where the second touch point is located may be the same, or may be different, and the sliding direction may be The embodiment of the present invention is not limited in any direction. The first end position may be a stop coordinate at the end of the first slide operation, and the second end position may be a stop coordinate at the end of the second slide operation.
S205、用户终端根据第一终止位置和第二终止位置,确定第一终止位置和第二终止位置之间的目标距离。S205. The user terminal determines a target distance between the first termination location and the second termination location according to the first termination location and the second termination location.
本发明实施例中,用户终端获取到第一终止位置和第二终止位置之后,用户终端就可以根据第一终止位置的坐标和第二终止位置的坐标,计算第一终止位置和第二终止位置之间的目标距离。In the embodiment of the present invention, after the user terminal acquires the first termination location and the second termination location, the user terminal may calculate the first termination location and the second termination location according to the coordinates of the first termination location and the coordinates of the second termination location. The distance between the targets.
S206、用户终端根据预存储的距离与亮度的对应关系,判断对应关系中是 否包括目标距离对应的目标亮度,若是,执行步骤S207,若否,执行步骤S208。S206. The user terminal determines, according to the correspondence between the pre-stored distance and the brightness, that the correspondence relationship is No, the target brightness corresponding to the target distance is included. If yes, step S207 is performed, and if no, step S208 is performed.
本发明实施例中,用户预先通过多次实验获得距离与亮度的对应关系,并将该对应关系存储在用户终端中。用户终端在确定目标距离之后,就可以根据预存储的距离与亮度的对应关系,判断对应关系中是否包括目标距离对应的目标亮度,若包括,执行步骤S207,若不包括,执行步骤S208。In the embodiment of the present invention, the user obtains the correspondence between the distance and the brightness through multiple experiments in advance, and stores the corresponding relationship in the user terminal. After determining the target distance, the user terminal may determine whether the target brightness corresponding to the target distance is included in the correspondence according to the correspondence between the pre-stored distance and the brightness. If yes, step S207 is performed, and if not, step S208 is performed.
S207、用户终端提取目标距离对应的目标亮度,并执行步骤S209。S207. The user terminal extracts the target brightness corresponding to the target distance, and performs step S209.
S208、用户终端获取符合人眼舒适度的标准亮度,并将标准亮度作为目标亮度,并执行步骤S209。S208. The user terminal acquires a standard brightness that meets the comfort level of the human eye, and uses the standard brightness as the target brightness, and performs step S209.
S209、用户终端调节屏幕的亮度至目标亮度。S209. The user terminal adjusts the brightness of the screen to the target brightness.
在图2所描述的方法流程中,用户终端在检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度匹配之后,用户终端可以获取当前环境亮度,以及获取屏幕的当前亮度,当判断述环境亮度与屏幕的当前亮度不匹配时,用户终端可以检测以第一触摸点所在的位置为起始位置进行滑动的第一滑动操作,并获取在第一滑动操作结束时的第一终止位置,以及,检测以第二触摸点所在的位置为起始位置进行滑动的第二滑动操作,并获取在第二滑动操作结束时的第二终止位置,进一步地,用户终端可以根据第一终止位置和第二终止位置,确定第一终止位置和第二终止位置之间的目标距离,并根据预存储的距离与亮度的对应关系,判断对应关系中是否包括目标距离对应的目标亮度,若包括,则提取目标距离对应的目标亮度,若不包括,则获取符合人眼舒适度的标准亮度,并将标准亮度作为目标亮度,这样,用户终端就可以调节屏幕的亮度至目标亮度。可见,通过本发明实施例,用户终端可以根据不同用户触摸用户终端屏幕并进行滑动而获得的目标距离来确定目标亮度,并调节屏幕的亮度至目标亮度,使得即使在同一光环境下,调节后的屏幕亮度符合每一个用户个性化的要求,同时,可以满足对屏幕亮度精细化的调节。In the method flow described in FIG. 2, after the user terminal detects the first touch velocity of the first touch point on the screen and the second touch velocity of the second touch point, the user terminal can acquire the current ambient brightness and acquire the screen. The current brightness, when it is determined that the ambient brightness does not match the current brightness of the screen, the user terminal may detect a first sliding operation that slides with the position where the first touch point is located as the starting position, and acquires at the end of the first sliding operation a first end position of the time, and detecting a second sliding operation of sliding at a position where the second touch point is located, and acquiring a second end position at the end of the second sliding operation, further, the user terminal Determining, according to the first end position and the second end position, a target distance between the first end position and the second end position, and determining, according to the correspondence between the pre-stored distance and the brightness, whether the corresponding distance is included in the correspondence relationship Target brightness, if included, extracts the target brightness corresponding to the target distance, if not included, obtains the matching person The standard brightness of eye comfort, and the standard brightness as the target brightness, so that the user terminal can adjust the brightness of the screen to the target brightness. It can be seen that, by using the embodiment of the present invention, the user terminal can determine the target brightness according to the target distance obtained by different users touching the screen of the user terminal and performing sliding, and adjust the brightness of the screen to the target brightness, so that even in the same light environment, after adjustment The brightness of the screen meets the individual requirements of each user, and at the same time, it can meet the adjustment of the brightness of the screen.
请参见图3,图3是本发明实施例公开的另一种调节屏幕亮度的方法的流程示意图。如图3所示,该方法可以包括以下步骤。Referring to FIG. 3, FIG. 3 is a schematic flowchart diagram of another method for adjusting screen brightness according to an embodiment of the present invention. As shown in FIG. 3, the method can include the following steps.
S301、用户终端检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度是否匹配,若是,执行步骤S302,若否,结束本流程。 S301. The user terminal detects whether the first touch strength of the first touch point on the screen and the second touch strength of the second touch point match. If yes, step S302 is performed, and if not, the process ends.
S302、用户终端获取当前环境亮度,以及获取屏幕的当前亮度S302. The user terminal acquires a current ambient brightness and obtains a current brightness of the screen.
S303、用户终端判断环境亮度与屏幕的当前亮度是否匹配,若否,执行步骤S304,若是,结束本流程。S303. The user terminal determines whether the ambient brightness matches the current brightness of the screen. If not, step S304 is performed, and if so, the process ends.
S304、用户终端检测以第一触摸点所在的位置为起始位置进行滑动的第一滑动操作,并获取在第一滑动操作结束前的第一滑动轨迹,以及检测以第二触摸点所在的位置为起始位置进行滑动的第二滑动操作,并获取在第二滑动操作结束前的第二滑动轨迹。S304. The user terminal detects a first sliding operation that performs sliding by using a position where the first touch point is located, and acquires a first sliding track before the end of the first sliding operation, and detects a position where the second touch point is located. A second sliding operation for sliding the starting position and acquiring a second sliding track before the end of the second sliding operation.
本发明实施例中,用户终端在判断环境亮度与屏幕的当前亮度不匹配之后,用户终端可以根据用户的操作来实现对屏幕亮度的精细化调节。In the embodiment of the present invention, after the user terminal determines that the ambient brightness does not match the current brightness of the screen, the user terminal may implement fine adjustment of the screen brightness according to the operation of the user.
具体地,用户终端可以检测以第一触摸点所在的位置为起始位置进行滑动的第一滑动操作,并获取在第一滑动操作结束前的第一滑动轨迹,以及检测以第二触摸点所在的位置为起始位置进行滑动的第二滑动操作,并获取在第二滑动操作结束前的第二滑动轨迹。其中,以第一触摸点所在的位置为起始位置进行滑动的滑动方向与以第二触摸点所在的位置为起始位置进行滑动的滑动方向可以相同,也可以不相同,但是,第一滑动轨迹和第二滑动轨迹不能在同一条直线上。Specifically, the user terminal may detect a first sliding operation that slides with the position where the first touch point is located as a starting position, and acquire a first sliding track before the end of the first sliding operation, and detect that the second touch point is located The position is a second sliding operation of sliding the starting position, and a second sliding trajectory before the end of the second sliding operation is acquired. The sliding direction in which the position where the first touch point is located as the starting position and the sliding direction in which the position where the second touch point is located may be the same or different, but the first sliding The trajectory and the second sliding trajectory cannot be on the same line.
S305、用户终端将第一滑动轨迹的轨迹起始点与第二滑动轨迹的轨迹起始点进行连接,以及将第一滑动轨迹的轨迹终止点与第二滑动轨迹的轨迹终止点进行连接,以确定目标滑动区域。S305. The user terminal connects the track start point of the first sliding track with the track start point of the second sliding track, and connects the track ending point of the first sliding track with the track ending point of the second sliding track to determine the target. Sliding area.
S306、用户终端根据预存储的区域与亮度的对应关系,查询目标滑动区域对应的目标亮度。S306. The user terminal queries the target brightness corresponding to the target sliding area according to the correspondence between the pre-stored area and the brightness.
本发明实施例中,用户预先通过多次实验获得区域与亮度的对应关系,并将该对应关系存储在用户终端中。用户终端在确定目标滑动区域之后,用户终端就可以根据预存储的区域与亮度的对应关系,查询目标滑动区域对应的目标亮度。In the embodiment of the present invention, the user obtains the correspondence between the area and the brightness in advance through multiple experiments, and stores the corresponding relationship in the user terminal. After determining the target sliding area, the user terminal may query the target brightness corresponding to the target sliding area according to the correspondence between the pre-stored area and the brightness.
S307、用户终端调节屏幕的目标滑动区域的亮度为目标亮度。S307. The brightness of the target sliding area of the user terminal adjustment screen is the target brightness.
S308、用户终端将屏幕的显示区域中除目标滑动区域之外的剩余区域的亮度调节为第一亮度。S308. The user terminal adjusts the brightness of the remaining area except the target sliding area in the display area of the screen to the first brightness.
本发明实施例中,用户终端调节屏幕的目标滑动区域的亮度为目标亮度之 后,用户终端还可以将屏幕的显示区域中除目标滑动区域之外的剩余区域的亮度调节为第一亮度,其中,该第一亮度低于目标亮度。这样,整个屏幕的亮度看起来有种阴影的层次感,可以提高视觉效果,同时,还可以降低用户终端的功耗,并延长待机时间。In the embodiment of the present invention, the user terminal adjusts the brightness of the target sliding area of the screen to be the target brightness. Thereafter, the user terminal may further adjust the brightness of the remaining area of the display area of the screen except the target sliding area to a first brightness, wherein the first brightness is lower than the target brightness. In this way, the brightness of the entire screen seems to have a layered shadow, which can improve the visual effect, and at the same time, can reduce the power consumption of the user terminal and extend the standby time.
在图3所描述的方法流程中,用户终端在检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度匹配之后,用户终端可以获取当前环境亮度,以及获取屏幕的当前亮度,当判断述环境亮度与屏幕的当前亮度不匹配时,用户终端可以检测以第一触摸点所在的位置为起始位置进行滑动的第一滑动操作,并获取在第一滑动操作结束前的第一滑动轨迹,以及,检测以第二触摸点所在的位置为起始位置进行滑动的第二滑动操作,并获取在第二滑动操作结束前的第二滑动轨迹,进一步地,用户终端可以将第一滑动轨迹的轨迹起始点与第二滑动轨迹的轨迹起始点进行连接,以及将第一滑动轨迹的轨迹终止点与第二滑动轨迹的轨迹终止点进行连接,以确定目标滑动区域,并根据预存储的区域与亮度的对应关系,查询目标滑动区域对应的目标亮度,这样,用户终端就可以调节屏幕的目标滑动区域的亮度为目标亮度,并将屏幕的显示区域中除目标滑动区域之外的剩余区域的亮度调节为第一亮度,第一亮度低于目标亮度。可见,用户终端可以根据用户的需求调节屏幕的目标滑动区域的亮度为目标亮度值,并将屏幕的显示区域中除目标滑动区域之外的剩余区域的亮度调节为第一亮度,这样,就可以满足对屏幕亮度精细化的调节,满足个性化需求,提高用户体验,同时,还可以提高视觉效果,降低用户终端的功耗,并延长待机时间。In the method flow described in FIG. 3, after the user terminal detects the first touch velocity of the first touch point on the screen and the second touch velocity of the second touch point, the user terminal can acquire the current ambient brightness and acquire the screen. The current brightness, when it is determined that the ambient brightness does not match the current brightness of the screen, the user terminal may detect a first sliding operation that slides with the position where the first touch point is located as the starting position, and acquires at the end of the first sliding operation a first sliding track, and a second sliding operation for detecting a position where the second touch point is located as a starting position, and acquiring a second sliding track before the end of the second sliding operation, further, the user terminal The track start point of the first slide track may be connected with the track start point of the second slide track, and the track end point of the first slide track may be connected with the track end point of the second slide track to determine the target sliding area, And querying the target brightness corresponding to the target sliding area according to the correspondence between the pre-stored area and the brightness, so that The user terminal can adjust the brightness of the target sliding area of the screen to the target brightness, and adjust the brightness of the remaining area except the target sliding area in the display area of the screen to the first brightness, and the first brightness is lower than the target brightness. It can be seen that the user terminal can adjust the brightness of the target sliding area of the screen to the target brightness value according to the user's needs, and adjust the brightness of the remaining area except the target sliding area in the display area of the screen to the first brightness, so that It satisfies the adjustment of the brightness of the screen to meet the individual needs and improve the user experience. At the same time, it can also improve the visual effect, reduce the power consumption of the user terminal, and extend the standby time.
下面为本发明装置实施例,本发明装置实施例用于执行本发明方法实施例中的方法,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明上述方法实施例。The following is an embodiment of the device of the present invention. The device embodiment of the present invention is used to perform the method in the method embodiment of the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown, and the specific technical details are not disclosed. Reference is made to the above method embodiments of the present invention.
请参见图4,图4是本发明实施例公开的一种用户终端的结构示意图,如图4所示,该用户终端400可以包括:检测单元401、第一获取单元402、确定单元403、查询单元404以及调节单元405,其中:Referring to FIG. 4, FIG. 4 is a schematic structural diagram of a user terminal according to an embodiment of the present invention. As shown in FIG. 4, the user terminal 400 may include: a detecting unit 401, a first obtaining unit 402, a determining unit 403, and a query. Unit 404 and adjustment unit 405, wherein:
检测单元401,用于检测屏幕上的第一触摸点的第一触摸力度和第二触摸 点的第二触摸力度是否匹配。The detecting unit 401 is configured to detect a first touch force and a second touch of the first touch point on the screen Whether the second touch strength of the point matches.
本发明实施例中,用户终端上预先安装有压力传感器,可以实时检测用户终端屏幕上的触摸力度。In the embodiment of the present invention, a pressure sensor is pre-installed on the user terminal, and the touch force on the screen of the user terminal can be detected in real time.
本发明实施例中,用户可以使用任意两个手指同时触摸用户终端屏幕上的两个点,或者,用户可以使用任意两个手指先后触摸用户终端屏幕上的两个点,本发明实施例不作限定。用户触摸屏幕时将会给屏幕施加不同大小的压力,用户终端可以通过压力传感器实时检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度。In the embodiment of the present invention, the user can use two fingers to simultaneously touch two points on the screen of the user terminal, or the user can touch two points on the screen of the user terminal by using any two fingers, which is not limited in the embodiment of the present invention. . When the user touches the screen, different pressures are applied to the screen, and the user terminal can detect the first touch force of the first touch point on the screen and the second touch force of the second touch point in real time through the pressure sensor.
本发明实施例中,检测单元401获取到第一触摸点的第一触摸力度和第二触摸点的第二触摸力度之后,检测单元401可以进一步检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度是否匹配。In the embodiment of the present invention, after the detecting unit 401 acquires the first touch velocity of the first touch point and the second touch velocity of the second touch point, the detecting unit 401 may further detect the first touch strength of the first touch point on the screen. Whether the second touch strength of the second touch point matches.
具体的,检测单元401检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度是否匹配的具体实施方式可以为:Specifically, the specific implementation manner that the detecting unit 401 detects whether the first touch force of the first touch point on the screen and the second touch force of the second touch point match is:
检测单元401检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度之差的绝对值是否小于或等于预设阈值,若是,则确定所述第一触摸点的第一触摸力度和第二触摸点的第二触摸力度匹配。The detecting unit 401 detects whether the absolute value of the difference between the first touch velocity of the first touch point on the screen and the second touch velocity of the second touch point is less than or equal to a preset threshold, and if yes, determining the first touch point The first touch velocity matches the second touch velocity of the second touch point.
第一获取单元402,用于当检测单元401检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度匹配时,分别获取以第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以第二触摸点所在的位置为起始位置进行滑动的第二滑动参数。The first obtaining unit 402 is configured to: when the detecting unit 401 detects the first touch velocity of the first touch point on the screen and the second touch velocity of the second touch point, respectively, starting from the position where the first touch point is located a first sliding parameter in which the starting position is slid and a second sliding parameter in which the position at which the second touch point is located is the starting position.
本发明实施例中,检测单元401在检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度匹配之后,第一获取单元402可以分别获取以第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以第二触摸点所在的位置为起始位置进行滑动的第二滑动参数。其中,该第一滑动参数可以包括但不限于滑动速度、滑动距离、滑动轨迹以及滑动时间,该第二滑动参数可以包括但不限于滑动速度、滑动速度距离、滑动轨迹、滑动终止位置以及滑动时间。以第一触摸点所在的位置为起始位置进行滑动的滑动方向与以第二触摸点所在的位置为起始位置进行滑动的滑动方向可以相同,也可以不相同,且滑动方向均可以为任意方向,本发明实施例不作限定。 In the embodiment of the present invention, after the detecting unit 401 detects the first touch force of the first touch point on the screen and the second touch force of the second touch point, the first acquiring unit 402 can respectively obtain the first touch point. The position is a first sliding parameter for sliding the starting position and a second sliding parameter for sliding with the position where the second touch point is located. The first sliding parameter may include, but is not limited to, a sliding speed, a sliding distance, a sliding track, and a sliding time, and the second sliding parameter may include, but is not limited to, a sliding speed, a sliding speed distance, a sliding track, a sliding end position, and a sliding time. . The sliding direction in which the position where the first touch point is located is the same as the sliding direction in which the position where the second touch point is located may be the same, or may be different, and the sliding direction may be any The direction of the embodiment of the present invention is not limited.
本发明实施例中,用户用两个手指触摸屏幕的任意位置后,用户可以使用该两个手指在屏幕上同时进行滑动,或者,用户可以使用该两个手指在屏幕上先后进行滑动,其中,滑动的初始位置均为两个触摸点所在的位置,即:以第一触摸点所在的位置为起始位置进行滑动,以及以第二触摸点所在的位置为起始位置进行滑动。In the embodiment of the present invention, after the user touches any position of the screen with two fingers, the user can use the two fingers to slide on the screen at the same time, or the user can use the two fingers to slide on the screen successively, wherein The initial position of the slide is the position where the two touch points are located, that is, the position where the first touch point is located is the start position, and the position where the second touch point is located is the start position.
确定单元403,用于根据第一滑动参数和第二滑动参数,确定目标滑动参数。The determining unit 403 is configured to determine the target sliding parameter according to the first sliding parameter and the second sliding parameter.
本发明实施例中,第一获取单元402在分别获取到以第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以第二触摸点所在的位置为起始位置进行滑动的第二滑动参数之后,确定单元403可以根据第一滑动参数和第二滑动参数,确定目标滑动参数。In the embodiment of the present invention, the first acquiring unit 402 respectively obtains a first sliding parameter that slides with the position where the first touch point is located as the starting position, and slides with the position where the second touch point is located as the starting position. After the second sliding parameter, the determining unit 403 may determine the target sliding parameter according to the first sliding parameter and the second sliding parameter.
查询单元404,用于根据预存储的滑动参数与亮度的对应关系,查询目标滑动参数对应的目标亮度。The query unit 404 is configured to query the target brightness corresponding to the target sliding parameter according to the correspondence between the pre-stored sliding parameter and the brightness.
本发明实施例中,用户预先通过多次实验获得了滑动参数与亮度的对应关系,并将该对应关系存储在用户终端中。确定单元403根据第一滑动参数和第二滑动参数,确定目标滑动参数之后,查询单元404就可以根据预存储的滑动参数与亮度的对应关系,查询目标滑动参数对应的目标亮度。In the embodiment of the present invention, the user obtains the correspondence between the sliding parameter and the brightness in advance through multiple experiments, and stores the corresponding relationship in the user terminal. After the determining unit 403 determines the target sliding parameter according to the first sliding parameter and the second sliding parameter, the query unit 404 can query the target brightness corresponding to the target sliding parameter according to the correspondence between the pre-stored sliding parameter and the brightness.
调节单元405,用于调节屏幕的亮度至目标亮度。The adjusting unit 405 is configured to adjust the brightness of the screen to the target brightness.
本发明实施例中,查询单元404查询到目标滑动参数对应的目标亮度之后,调节单元405就可以调节屏幕的亮度至目标亮度。In the embodiment of the present invention, after the query unit 404 queries the target brightness corresponding to the target sliding parameter, the adjusting unit 405 can adjust the brightness of the screen to the target brightness.
请参见图5,图5是本发明实施例公开的另一种用户终端的结构示意图,其中,图5所示的用户终端是在图4所示的用户终端的基础上进一步优化得到的,与图4所示的用户终端相比,图5所示的用户终端除了包括图4所示的用户终端的所有单元外,还可以包括:Referring to FIG. 5, FIG. 5 is a schematic structural diagram of another user terminal according to an embodiment of the present invention. The user terminal shown in FIG. 5 is further optimized based on the user terminal shown in FIG. The user terminal shown in FIG. 4 may include: in addition to all the units of the user terminal shown in FIG. 4, the user terminal shown in FIG.
第二获取单元406,用于在检测单元401检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度匹配之后,以及在第一获取单元402分别获取以第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以第二触摸点所在的位置为起始位置进行滑动的第二滑动参数之前,获取当前 环境亮度,以及获取屏幕的当前亮度。a second obtaining unit 406, configured to: after the detecting unit 401 detects the first touch velocity of the first touch point on the screen and the second touch velocity of the second touch point, and acquire the first touch unit 402 respectively Before the touch point is located, the first sliding parameter for sliding the starting position and the second sliding parameter for sliding the position of the second touch point are used to obtain the current Ambient brightness, as well as the current brightness of the screen.
本发明实施例中,第二获取单元406可以通过内置的光传感器检测当前环境亮度以及屏幕的当前亮度,以获得当前环境亮度和屏幕的当前亮度。其中,该当前环境亮度为用户终端当前所处环境的亮度。In the embodiment of the present invention, the second obtaining unit 406 can detect the current ambient brightness and the current brightness of the screen through the built-in light sensor to obtain the current ambient brightness and the current brightness of the screen. The current ambient brightness is the brightness of the environment in which the user terminal is currently located.
判断单元407,用于判断环境亮度与屏幕的当前亮度是否匹配。The determining unit 407 is configured to determine whether the ambient brightness matches the current brightness of the screen.
本发明实施例中,环境亮度是实时变化的,环境亮度的亮暗会影响到用户观看用户终端的视觉感受。第二获取单元406在获取到当前环境亮度和屏幕的当前亮度之后,判断单元407可以判断环境亮度与屏幕的当前亮度是否匹配。In the embodiment of the present invention, the ambient brightness changes in real time, and the brightness and darkness of the ambient brightness may affect the user's visual perception of viewing the user terminal. After acquiring the current ambient brightness and the current brightness of the screen, the second obtaining unit 406 may determine whether the ambient brightness matches the current brightness of the screen.
具体地,判断单元407判断环境亮度与屏幕的当前亮度是否匹配的具体实施方式可以为:Specifically, the specific implementation manner of the determining unit 407 determining whether the ambient brightness matches the current brightness of the screen may be:
判断单元407判断环境亮度与屏幕的当前亮度之差的绝对值是否小于或等于预设亮度阈值,若否,则确定环境亮度与屏幕的当前亮度不匹配。The determining unit 407 determines whether the absolute value of the difference between the ambient brightness and the current brightness of the screen is less than or equal to the preset brightness threshold, and if not, determines that the ambient brightness does not match the current brightness of the screen.
第一获取单元402,具体用于当判断单元407判断环境亮度与屏幕的当前亮度不匹配时,分别获取以第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以第二触摸点所在的位置为起始位置进行滑动的第二滑动参数。The first obtaining unit 402 is configured to: when the determining unit 407 determines that the ambient brightness does not match the current brightness of the screen, respectively acquire the first sliding parameter that is sliding with the position where the first touch point is located as the starting position, and the second The second sliding parameter in which the touch point is located is the starting position to slide.
作为一种可选的实施方式,上述第一获取单元402可以包括:As an optional implementation manner, the foregoing first obtaining unit 402 may include:
第一检测获取子单元4021,用于检测以第一触摸点所在的位置为起始位置进行滑动的第一滑动操作,并获取在第一滑动操作结束时的第一终止位置。The first detection acquisition sub-unit 4021 is configured to detect a first sliding operation of sliding at a position where the first touch point is located, and acquire a first end position at the end of the first sliding operation.
第二检测获取子单元4022,用于检测以第二触摸点所在的位置为起始位置进行滑动的第二滑动操作,并获取在第二滑动操作结束时的第二终止位置。The second detection acquisition sub-unit 4022 is configured to detect a second sliding operation of sliding at a position where the second touch point is located, and acquire a second end position at the end of the second sliding operation.
具体地,第一检测获取子单元4021可以检测以第一触摸点所在的位置为起始位置进行滑动的第一滑动操作,并获取在第一滑动操作结束时的第一终止位置,以及第二检测获取子单元4022检测以第二触摸点所在的位置为起始位置进行滑动的第二滑动操作,并获取在第二滑动操作结束时的第二终止位置。其中,以第一触摸点所在的位置为起始位置进行滑动的滑动方向与以第二触摸点所在的位置为起始位置进行滑动的滑动方向可以相同,也可以不相同,且滑动方向均可以为任意方向,本发明实施例不作限定。该第一终止位置可以为第一滑动操作结束时的终止坐标,该第二终止位置可以为第二滑动操作结束时的终止坐标。 Specifically, the first detection acquisition sub-unit 4021 may detect a first sliding operation that slides with the position where the first touch point is located as a starting position, and acquire a first end position at the end of the first sliding operation, and a second The detection acquisition sub-unit 4022 detects a second sliding operation of sliding with the position where the second touch point is located as the starting position, and acquires the second end position at the end of the second sliding operation. Wherein, the sliding direction in which the position where the first touch point is located is the same as the sliding direction in which the position where the second touch point is located may be the same, or may be different, and the sliding direction may be The embodiment of the present invention is not limited in any direction. The first end position may be a stop coordinate at the end of the first slide operation, and the second end position may be a stop coordinate at the end of the second slide operation.
确定单元403,具体用于根据第一终止位置和第二终止位置,确定第一终止位置和第二终止位置之间的目标距离。The determining unit 403 is specifically configured to determine a target distance between the first ending position and the second ending position according to the first ending position and the second ending position.
查询单元404可以包括:The query unit 404 can include:
判断子单元4041,用于根据预存储的距离与亮度的对应关系,判断对应关系中是否包括目标距离对应的目标亮度。The determining sub-unit 4041 is configured to determine, according to the correspondence between the pre-stored distance and the brightness, whether the target brightness corresponding to the target distance is included in the correspondence.
提取子单元4042,用于当判断子单元4041根据预存储的距离与亮度的对应关系,判断对应关系中包括目标距离对应的目标亮度时,提取目标距离对应的目标亮度。The extracting sub-unit 4042 is configured to: when determining that the sub-unit 4041 determines the target brightness corresponding to the target distance according to the correspondence between the pre-stored distance and the brightness, extract the target brightness corresponding to the target distance.
可选的,查询单元404还可以包括:Optionally, the query unit 404 may further include:
获取子单元4043,用于当对应关系中未包括目标距离对应的目标亮度时,获取符合人眼舒适度的标准亮度,并将标准亮度作为目标亮度。The obtaining sub-unit 4043 is configured to obtain a standard brightness conforming to human eye comfort when the target brightness corresponding to the target distance is not included in the correspondence, and use the standard brightness as the target brightness.
本发明实施例中,用户预先通过多次实验获得距离与亮度的对应关系,并将该对应关系存储在用户终端中。确定单元403在确定目标距离之后,判断子单元4041就可以根据预存储的距离与亮度的对应关系,判断对应关系中是否包括目标距离对应的目标亮度,若包括,提取子单元4042提取目标距离对应的目标亮度,若不包括,获取子单元4043获取符合人眼舒适度的标准亮度,并将标准亮度作为目标亮度。In the embodiment of the present invention, the user obtains the correspondence between the distance and the brightness through multiple experiments in advance, and stores the corresponding relationship in the user terminal. After determining the target distance, the determining unit 403 may determine, according to the correspondence between the pre-stored distance and the brightness, whether the target brightness corresponding to the target distance is included in the correspondence, and if so, the extracting sub-unit 4042 extracts the target distance. The target brightness, if not included, the acquisition sub-unit 4043 obtains a standard brightness that meets the comfort level of the human eye, and uses the standard brightness as the target brightness.
请参见图6,图6是本发明实施例公开的另一种用户终端的结构示意图,其中,图6所示的用户终端是在图4所示的用户终端的基础上进一步优化得到的,与图4所示的用户终端相比,图6所示的用户终端除了包括图4所示的用户终端的所有单元外,第一获取单元402可以包括:Referring to FIG. 6, FIG. 6 is a schematic structural diagram of another user terminal according to an embodiment of the present invention, wherein the user terminal shown in FIG. 6 is further optimized based on the user terminal shown in FIG. In the user terminal shown in FIG. 4, the first obtaining unit 402 may include:
第三检测获取子单元4023,用于检测以第一触摸点所在的位置为起始位置进行滑动的第一滑动操作,并获取在第一滑动操作结束前的第一滑动轨迹。The third detection acquisition sub-unit 4023 is configured to detect a first sliding operation that slides with the position where the first touch point is located as a starting position, and acquire a first sliding track before the end of the first sliding operation.
第四检测获取子单元4024,用于检测以第二触摸点所在的位置为起始位置进行滑动的第二滑动操作,并获取在第二滑动操作结束前的第二滑动轨迹,第一滑动轨迹和第二滑动轨迹不在同一条直线上。a fourth detecting acquisition sub-unit 4024, configured to detect a second sliding operation that slides with the position where the second touch point is located as a starting position, and acquire a second sliding track before the end of the second sliding operation, the first sliding track It is not on the same line as the second sliding track.
具体地,第三检测获取子单元4023可以检测以第一触摸点所在的位置为起始位置进行滑动的第一滑动操作,并获取在第一滑动操作结束前的第一滑动 轨迹,以及第四检测获取子单元4024检测以第二触摸点所在的位置为起始位置进行滑动的第二滑动操作,并获取在第二滑动操作结束前的第二滑动轨迹。其中,以第一触摸点所在的位置为起始位置进行滑动的滑动方向与以第二触摸点所在的位置为起始位置进行滑动的滑动方向可以相同,也可以不相同,但是,第一滑动轨迹和第二滑动轨迹不能在同一条直线上。Specifically, the third detection acquisition sub-unit 4023 may detect a first sliding operation that slides with the position where the first touch point is located as a starting position, and acquire a first sliding before the end of the first sliding operation The trajectory, and the fourth detection acquisition sub-unit 4024 detects a second sliding operation that slides with the position where the second touch point is located as the starting position, and acquires the second sliding trajectory before the end of the second sliding operation. The sliding direction in which the position where the first touch point is located as the starting position and the sliding direction in which the position where the second touch point is located may be the same or different, but the first sliding The trajectory and the second sliding trajectory cannot be on the same line.
确定单元403,具体用于将第一滑动轨迹的轨迹起始点与第二滑动轨迹的轨迹起始点进行连接,以及将第一滑动轨迹的轨迹终止点与第二滑动轨迹的轨迹终止点进行连接,以确定目标滑动区域。The determining unit 403 is specifically configured to connect the track starting point of the first sliding track with the track starting point of the second sliding track, and connect the track ending point of the first sliding track with the track ending point of the second sliding track, Determine the target sliding area.
查询单元404,具体用于根据预存储的区域与亮度的对应关系,查询目标滑动区域对应的目标亮度。The query unit 404 is specifically configured to query the target brightness corresponding to the target sliding area according to the correspondence between the pre-stored area and the brightness.
调节单元405,具体用于调节屏幕的目标滑动区域的亮度为目标亮度。The adjusting unit 405 is specifically configured to adjust the brightness of the target sliding area of the screen to the target brightness.
可选的,调节单元405还用于将屏幕的显示区域中除目标滑动区域之外的剩余区域的亮度调节为第一亮度,第一亮度低于目标亮度。Optionally, the adjusting unit 405 is further configured to adjust a brightness of a remaining area of the display area of the screen except the target sliding area to a first brightness, where the first brightness is lower than the target brightness.
本发明实施例中,调节单元405调节屏幕的目标滑动区域的亮度为目标亮度之后,调节单元405还可以将屏幕的显示区域中除目标滑动区域之外的剩余区域的亮度调节为第一亮度,其中,该第一亮度低于目标亮度。这样,整个屏幕的亮度看起来有种阴影的层次感,可以提高视觉效果,同时,还可以降低用户终端的功耗,并延长待机时间。In the embodiment of the present invention, after the adjusting unit 405 adjusts the brightness of the target sliding area of the screen to the target brightness, the adjusting unit 405 may further adjust the brightness of the remaining area except the target sliding area in the display area of the screen to the first brightness. Wherein the first brightness is lower than the target brightness. In this way, the brightness of the entire screen seems to have a layered shadow, which can improve the visual effect, and at the same time, can reduce the power consumption of the user terminal and extend the standby time.
在图4~图6所描述的方法流程中,检测单元401可以检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度是否匹配,若是,则第一获取单元402分别获取以第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以第二触摸点所在的位置为起始位置进行滑动的第二滑动参数,进一步地,确定单元403可以根据第一滑动参数和第二滑动参数,确定目标滑动参数,查询单元404根据预存储的滑动参数与亮度的对应关系,查询目标滑动参数对应的目标亮度,这样,调节单元405就可以调节屏幕的亮度至目标亮度。可见,通过本发明实施例,调节单元405可以根据不同用户触摸屏幕的触摸力度以及滑动参数来自动调节屏幕的亮度,使得即使在同一光环境下,调节后的屏幕亮度符合每一个用户个性化的要求,同时,可以满足对屏幕亮度精细化的调节。 In the method flow described in FIG. 4 to FIG. 6 , the detecting unit 401 may detect whether the first touch strength of the first touch point on the screen and the second touch strength of the second touch point match, and if yes, the first acquiring unit The first sliding parameter that slides with the position where the first touch point is located as the starting position and the second sliding parameter that slides with the position where the second touch point is located as the starting position, and further, the determining unit 403 can Determining the target sliding parameter according to the first sliding parameter and the second sliding parameter, the query unit 404 queries the target brightness corresponding to the target sliding parameter according to the correspondence between the pre-stored sliding parameter and the brightness, so that the adjusting unit 405 can adjust the screen. Brightness to target brightness. It can be seen that, by using the embodiment of the present invention, the adjusting unit 405 can automatically adjust the brightness of the screen according to the touch force of different users touching the screen and the sliding parameter, so that the adjusted screen brightness conforms to each user's personalized even in the same light environment. At the same time, it can meet the adjustment of the brightness of the screen.
请参见图7,图7是本发明实施例公开的另一种用户终端的结构示意图,在图7所描述的用户终端中,该用户终端可以包括处理器701以及存储器702,其中,处理器701通过总线连接存储器702,其中,存储器702可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器702可选的还可以是至少一个位于远离前述处理器701的存储装置。而处理器701用于读取存储器702存储的应用程序执行下述操作:Referring to FIG. 7, FIG. 7 is a schematic structural diagram of another user terminal according to an embodiment of the present invention. In the user terminal described in FIG. 7, the user terminal may include a processor 701 and a memory 702, where the processor 701 The memory 702 is connected by a bus, wherein the memory 702 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory. The memory 702 can also optionally be at least one storage device located remotely from the aforementioned processor 701. The application stored by the processor 701 for reading the memory 702 performs the following operations:
检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度是否匹配;Detecting whether the first touch velocity of the first touch point on the screen and the second touch velocity of the second touch point match;
若是,则分别获取以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动参数;If yes, acquiring a first sliding parameter that slides with the position where the first touch point is located as a starting position, and a second sliding parameter that slides with the position where the second touch point is located as a starting position;
根据所述第一滑动参数和所述第二滑动参数,确定目标滑动参数;Determining a target sliding parameter according to the first sliding parameter and the second sliding parameter;
根据预存储的滑动参数与亮度的对应关系,查询所述目标滑动参数对应的目标亮度;Querying a target brightness corresponding to the target sliding parameter according to a correspondence between the pre-stored sliding parameter and the brightness;
调节所述屏幕的亮度至所述目标亮度。Adjusting the brightness of the screen to the target brightness.
可选的,在检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度匹配之后,以及在分别获取以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动参数之前,处理器701用于读取存储器702存储的应用程序执行下述操作:Optionally, after detecting that the first touch velocity of the first touch point on the screen matches the second touch velocity of the second touch point, and respectively acquiring the position where the first touch point is located as the starting position Before the sliding first sliding parameter and the second sliding parameter sliding with the position where the second touch point is located as the starting position, the processor 701 is configured to read the application stored in the memory 702 to perform the following operations:
获取当前环境亮度,以及获取所述屏幕的当前亮度;Obtaining a current ambient brightness and obtaining a current brightness of the screen;
判断所述环境亮度与所述屏幕的当前亮度是否匹配;Determining whether the ambient brightness matches the current brightness of the screen;
若否,则执行所述分别获取以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动参数的步骤。If not, performing, respectively, acquiring a first sliding parameter that slides with the position where the first touch point is located as a starting position, and a second sliding parameter that slides with the position where the second touch point is located as a starting position The step of sliding the parameters.
可选的,所述分别获取以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动参数,包括: Optionally, the first sliding parameter that slides with the position where the first touch point is located as a starting position and the second sliding that slides with the position where the second touch point is located as a starting position are respectively acquired. Parameters, including:
检测以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动操作,并获取在所述第一滑动操作结束时的第一终止位置;Detecting a first sliding operation that slides with the position where the first touch point is located as a starting position, and acquires a first ending position at the end of the first sliding operation;
以及,检测以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动操作,并获取在所述第二滑动操作结束时的第二终止位置;And detecting a second sliding operation of sliding at a position where the second touch point is located, and acquiring a second end position at the end of the second sliding operation;
所述根据所述第一滑动参数和所述第二滑动参数,确定目标滑动参数,包括:Determining the target sliding parameter according to the first sliding parameter and the second sliding parameter, including:
根据所述第一终止位置和所述第二终止位置,确定所述第一终止位置和所述第二终止位置之间的目标距离;Determining a target distance between the first end position and the second end position according to the first end position and the second end position;
所述根据预存储的滑动参数与亮度的对应关系,查询所述目标滑动参数对应的目标亮度,包括:The querying the target brightness corresponding to the target sliding parameter according to the correspondence between the pre-stored sliding parameter and the brightness includes:
根据预存储的距离与亮度的对应关系,判断所述对应关系中是否包括所述目标距离对应的目标亮度;Determining, according to a correspondence between the pre-stored distance and the brightness, whether the target brightness corresponding to the target distance is included in the correspondence relationship;
若包括,则提取所述目标距离对应的目标亮度。If included, the target brightness corresponding to the target distance is extracted.
可选的,处理器701用于读取存储器702存储的应用程序执行下述操作:Optionally, the application stored by the processor 701 for reading the memory 702 performs the following operations:
当所述对应关系中未包括所述目标距离对应的目标亮度时,获取符合人眼舒适度的标准亮度,并将所述标准亮度作为目标亮度。When the target brightness corresponding to the target distance is not included in the correspondence, a standard brightness conforming to the comfort level of the human eye is acquired, and the standard brightness is used as the target brightness.
可选的,所述分别获取以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动参数,包括:Optionally, the first sliding parameter that slides with the position where the first touch point is located as a starting position and the second sliding that slides with the position where the second touch point is located as a starting position are respectively acquired. Parameters, including:
检测以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动操作,并获取在所述第一滑动操作结束前的第一滑动轨迹;Detecting a first sliding operation of sliding with the position where the first touch point is located as a starting position, and acquiring a first sliding track before the end of the first sliding operation;
以及,检测以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动操作,并获取在所述第二滑动操作结束前的第二滑动轨迹,所述第一滑动轨迹和所述第二滑动轨迹不在同一条直线上;And detecting a second sliding operation that slides with the position where the second touch point is located as a starting position, and acquiring a second sliding track before the end of the second sliding operation, the first sliding track and the The second sliding track is not on the same straight line;
所述根据所述第一滑动参数和所述第二滑动参数,确定目标滑动参数,包括:Determining the target sliding parameter according to the first sliding parameter and the second sliding parameter, including:
将所述第一滑动轨迹的轨迹起始点与所述第二滑动轨迹的轨迹起始点进行连接,以及将所述第一滑动轨迹的轨迹终止点与所述第二滑动轨迹的轨迹终止点进行连接,以确定目标滑动区域; Connecting a track start point of the first sliding track to a track start point of the second sliding track, and connecting a track ending point of the first sliding track to a track ending point of the second sliding track To determine the target sliding area;
所述根据预存储的滑动参数与亮度的对应关系,查询所述目标滑动参数对应的目标亮度,包括:The querying the target brightness corresponding to the target sliding parameter according to the correspondence between the pre-stored sliding parameter and the brightness includes:
根据预存储的区域与亮度的对应关系,查询所述目标滑动区域对应的目标亮度;Querying a target brightness corresponding to the target sliding area according to a correspondence between the pre-stored area and the brightness;
所述调节所述屏幕的亮度至所述目标亮度,包括:The adjusting the brightness of the screen to the target brightness comprises:
调节所述屏幕的所述目标滑动区域的亮度为所述目标亮度。Adjusting the brightness of the target sliding area of the screen to the target brightness.
可选的,所述调节所述屏幕的所述目标滑动区域的亮度为所述目标亮度之后,处理器701用于读取存储器702存储的应用程序执行下述操作:Optionally, after the brightness of the target sliding area of the screen is adjusted to be the target brightness, the application stored by the processor 701 for reading the memory 702 performs the following operations:
将所述屏幕的显示区域中除所述目标滑动区域之外的剩余区域的亮度调节为第一亮度,所述第一亮度低于所述目标亮度。Adjusting a brightness of a remaining area of the display area of the screen other than the target sliding area to a first brightness, the first brightness being lower than the target brightness.
需要说明的是,对于前述的各个方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某一些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和单元并不一定是本申请所必须的。It should be noted that, for the foregoing various method embodiments, for the sake of brevity, they are all described as a series of action combinations, but those skilled in the art should understand that the present application is not limited by the described action sequence. Because some steps may be performed in other orders or concurrently in accordance with the present application. In the following, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and units involved are not necessarily required by the present application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the parts that are not described in detail in a certain embodiment can be referred to the related descriptions of other embodiments.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。 The above is only the preferred embodiment of the present invention, and the scope of the present invention is not limited thereto, and thus equivalent changes made in the claims of the present invention are still within the scope of the present invention.

Claims (18)

  1. 一种调节屏幕亮度的方法,其特征在于,包括:A method for adjusting brightness of a screen, comprising:
    检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度是否匹配;Detecting whether the first touch velocity of the first touch point on the screen and the second touch velocity of the second touch point match;
    若是,则分别获取以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动参数;If yes, acquiring a first sliding parameter that slides with the position where the first touch point is located as a starting position, and a second sliding parameter that slides with the position where the second touch point is located as a starting position;
    根据所述第一滑动参数和所述第二滑动参数,确定目标滑动参数;Determining a target sliding parameter according to the first sliding parameter and the second sliding parameter;
    根据预存储的滑动参数与亮度的对应关系,查询所述目标滑动参数对应的目标亮度;Querying a target brightness corresponding to the target sliding parameter according to a correspondence between the pre-stored sliding parameter and the brightness;
    调节所述屏幕的亮度至所述目标亮度。Adjusting the brightness of the screen to the target brightness.
  2. 根据权利要求1所述的方法,其特征在于,在检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度匹配之后,以及在分别获取以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动参数之前,所述方法还包括:The method according to claim 1, wherein after detecting the first touch velocity of the first touch point on the screen and the second touch velocity of the second touch point, and respectively acquiring the first touch Before the position of the point is the first sliding parameter for sliding the starting position and the second sliding parameter for sliding the position of the second touch point as the starting position, the method further includes:
    获取当前环境亮度,以及获取所述屏幕的当前亮度;Obtaining a current ambient brightness and obtaining a current brightness of the screen;
    判断所述环境亮度与所述屏幕的当前亮度是否匹配;Determining whether the ambient brightness matches the current brightness of the screen;
    若否,则执行所述分别获取以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动参数的步骤。If not, performing, respectively, acquiring a first sliding parameter that slides with the position where the first touch point is located as a starting position, and a second sliding parameter that slides with the position where the second touch point is located as a starting position The step of sliding the parameters.
  3. 根据权利要求1或2所述的方法,其特征在于,所述分别获取以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动参数,包括:The method according to claim 1 or 2, wherein the acquiring the first sliding parameter that slides with the position where the first touch point is located as the starting position and the location where the second touch point is located The second sliding parameter in which the position is the starting position to slide, including:
    检测以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动操作,并获取在所述第一滑动操作结束时的第一终止位置;Detecting a first sliding operation that slides with the position where the first touch point is located as a starting position, and acquires a first ending position at the end of the first sliding operation;
    以及,检测以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动操作,并获取在所述第二滑动操作结束时的第二终止位置;And detecting a second sliding operation of sliding at a position where the second touch point is located, and acquiring a second end position at the end of the second sliding operation;
    所述根据所述第一滑动参数和所述第二滑动参数,确定目标滑动参数,包 括:Determining a target sliding parameter according to the first sliding parameter and the second sliding parameter, include:
    根据所述第一终止位置和所述第二终止位置,确定所述第一终止位置和所述第二终止位置之间的目标距离;Determining a target distance between the first end position and the second end position according to the first end position and the second end position;
    所述根据预存储的滑动参数与亮度的对应关系,查询所述目标滑动参数对应的目标亮度,包括:The querying the target brightness corresponding to the target sliding parameter according to the correspondence between the pre-stored sliding parameter and the brightness includes:
    根据预存储的距离与亮度的对应关系,判断所述对应关系中是否包括所述目标距离对应的目标亮度;Determining, according to a correspondence between the pre-stored distance and the brightness, whether the target brightness corresponding to the target distance is included in the correspondence relationship;
    若包括,则提取所述目标距离对应的目标亮度。If included, the target brightness corresponding to the target distance is extracted.
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method of claim 3, wherein the method further comprises:
    当所述对应关系中未包括所述目标距离对应的目标亮度时,获取符合人眼舒适度的标准亮度,并将所述标准亮度作为目标亮度。When the target brightness corresponding to the target distance is not included in the correspondence, a standard brightness conforming to the comfort level of the human eye is acquired, and the standard brightness is used as the target brightness.
  5. 根据权利要求1或2所述的方法,其特征在于,所述分别获取以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动参数,包括:The method according to claim 1 or 2, wherein the acquiring the first sliding parameter that slides with the position where the first touch point is located as the starting position and the location where the second touch point is located The second sliding parameter in which the position is the starting position to slide, including:
    检测以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动操作,并获取在所述第一滑动操作结束前的第一滑动轨迹;Detecting a first sliding operation of sliding with the position where the first touch point is located as a starting position, and acquiring a first sliding track before the end of the first sliding operation;
    以及,检测以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动操作,并获取在所述第二滑动操作结束前的第二滑动轨迹,所述第一滑动轨迹和所述第二滑动轨迹不在同一条直线上;And detecting a second sliding operation that slides with the position where the second touch point is located as a starting position, and acquiring a second sliding track before the end of the second sliding operation, the first sliding track and the The second sliding track is not on the same straight line;
    所述根据所述第一滑动参数和所述第二滑动参数,确定目标滑动参数,包括:Determining the target sliding parameter according to the first sliding parameter and the second sliding parameter, including:
    将所述第一滑动轨迹的轨迹起始点与所述第二滑动轨迹的轨迹起始点进行连接,以及将所述第一滑动轨迹的轨迹终止点与所述第二滑动轨迹的轨迹终止点进行连接,以确定目标滑动区域;Connecting a track start point of the first sliding track to a track start point of the second sliding track, and connecting a track ending point of the first sliding track to a track ending point of the second sliding track To determine the target sliding area;
    所述根据预存储的滑动参数与亮度的对应关系,查询所述目标滑动参数对应的目标亮度,包括:The querying the target brightness corresponding to the target sliding parameter according to the correspondence between the pre-stored sliding parameter and the brightness includes:
    根据预存储的区域与亮度的对应关系,查询所述目标滑动区域对应的目标亮度;Querying a target brightness corresponding to the target sliding area according to a correspondence between the pre-stored area and the brightness;
    所述调节所述屏幕的亮度至所述目标亮度,包括: The adjusting the brightness of the screen to the target brightness comprises:
    调节所述屏幕的所述目标滑动区域的亮度为所述目标亮度。Adjusting the brightness of the target sliding area of the screen to the target brightness.
  6. 根据权利要求5所述的方法,其特征在于,所述调节所述屏幕的所述目标滑动区域的亮度为所述目标亮度之后,所述方法还包括:The method according to claim 5, wherein after the adjusting the brightness of the target sliding area of the screen is the target brightness, the method further comprises:
    将所述屏幕的显示区域中除所述目标滑动区域之外的剩余区域的亮度调节为第一亮度,所述第一亮度低于所述目标亮度。Adjusting a brightness of a remaining area of the display area of the screen other than the target sliding area to a first brightness, the first brightness being lower than the target brightness.
  7. 一种用户终端,其特征在于,包括:A user terminal, comprising:
    检测单元,用于检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度是否匹配;a detecting unit, configured to detect whether a first touch strength of the first touch point on the screen and a second touch strength of the second touch point match;
    第一获取单元,用于当所述检测单元检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度匹配时,分别获取以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动参数;a first acquiring unit, configured to acquire, when the detecting unit detects the first touch velocity of the first touch point on the screen and the second touch velocity of the second touch point, respectively, where the first touch point is located a first sliding parameter for sliding the starting position and a second sliding parameter for sliding the starting position of the second touch point;
    确定单元,用于根据所述第一滑动参数和所述第二滑动参数,确定目标滑动参数;a determining unit, configured to determine a target sliding parameter according to the first sliding parameter and the second sliding parameter;
    查询单元,用于根据预存储的滑动参数与亮度的对应关系,查询所述目标滑动参数对应的目标亮度;a query unit, configured to query, according to a correspondence between the pre-stored sliding parameter and the brightness, a target brightness corresponding to the target sliding parameter;
    调节单元,用于调节所述屏幕的亮度至所述目标亮度。And an adjustment unit, configured to adjust brightness of the screen to the target brightness.
  8. 根据权利要求7所述的用户终端,其特征在于,所述用户终端还包括:The user terminal according to claim 7, wherein the user terminal further comprises:
    第二获取单元,用于在所述检测单元检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度匹配之后,以及在所述第一获取单元分别获取以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动参数之前,获取当前环境亮度,以及获取所述屏幕的当前亮度;a second acquiring unit, configured to: after the detecting unit detects the first touch velocity of the first touch point on the screen and the second touch velocity of the second touch point, and acquire the Obtaining the current ambient brightness and obtaining the first sliding parameter where the first touch point is located is the first sliding parameter for sliding the starting position and the second sliding parameter for sliding the position of the second touch point is used as the starting position The current brightness of the screen;
    判断单元,用于判断所述环境亮度与所述屏幕的当前亮度是否匹配;a determining unit, configured to determine whether the ambient brightness matches a current brightness of the screen;
    所述第一获取单元,具体用于当所述判断单元判断所述环境亮度与所述屏幕的当前亮度不匹配时,分别获取以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动参数。The first obtaining unit is configured to: when the determining unit determines that the brightness of the environment does not match the current brightness of the screen, respectively, obtain the position where the first touch point is located as a starting position for sliding a first sliding parameter and a second sliding parameter that slides with the position where the second touch point is located as a starting position.
  9. 根据权利要求7或8所述的用户终端,其特征在于,所述第一获取单 元包括:The user terminal according to claim 7 or 8, wherein the first acquisition order The yuan includes:
    第一检测获取子单元,用于检测以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动操作,并获取在所述第一滑动操作结束时的第一终止位置;a first detecting acquisition subunit, configured to detect a first sliding operation that slides with the position where the first touch point is located as a starting position, and acquire a first ending position at the end of the first sliding operation;
    第二检测获取子单元,用于检测以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动操作,并获取在所述第二滑动操作结束时的第二终止位置;a second detecting acquisition subunit, configured to detect a second sliding operation that slides with the position where the second touch point is located as a starting position, and acquire a second ending position at the end of the second sliding operation;
    所述确定单元,具体用于根据所述第一终止位置和所述第二终止位置,确定所述第一终止位置和所述第二终止位置之间的目标距离;The determining unit is specifically configured to determine a target distance between the first termination location and the second termination location according to the first termination location and the second termination location;
    所述查询单元包括:The query unit includes:
    判断子单元,用于根据预存储的距离与亮度的对应关系,判断所述对应关系中是否包括所述目标距离对应的目标亮度;a determining subunit, configured to determine, according to a correspondence between the pre-stored distance and the brightness, whether the target brightness corresponding to the target distance is included in the correspondence relationship;
    提取子单元,用于当所述判断子单元根据预存储的距离与亮度的对应关系,判断所述对应关系中包括所述目标距离对应的目标亮度时,提取所述目标距离对应的目标亮度。And an extraction subunit, configured to: when the determining subunit determines the target brightness corresponding to the target distance according to the correspondence between the pre-stored distance and the brightness, extract the target brightness corresponding to the target distance.
  10. 根据权利要求9所述的用户终端,其特征在于,所述查询单元还包括:The user terminal according to claim 9, wherein the query unit further comprises:
    获取子单元,用于当所述对应关系中未包括所述目标距离对应的目标亮度时,获取符合人眼舒适度的标准亮度,并将所述标准亮度作为目标亮度。And acquiring a sub-unit, configured to acquire a standard brightness conforming to human eye comfort when the target brightness corresponding to the target distance is not included in the correspondence, and use the standard brightness as the target brightness.
  11. 根据权利要求7或8所述的用户终端,其特征在于,所述第一获取单元包括:The user terminal according to claim 7 or 8, wherein the first obtaining unit comprises:
    第三检测获取子单元,用于检测以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动操作,并获取在所述第一滑动操作结束前的第一滑动轨迹;a third detecting acquisition subunit, configured to detect a first sliding operation that slides with the position where the first touch point is located as a starting position, and acquire a first sliding track before the end of the first sliding operation;
    第四检测获取子单元,用于检测以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动操作,并获取在所述第二滑动操作结束前的第二滑动轨迹,所述第一滑动轨迹和所述第二滑动轨迹不在同一条直线上;a fourth detecting acquisition subunit, configured to detect a second sliding operation that slides with the position where the second touch point is located as a starting position, and acquire a second sliding track before the end of the second sliding operation, The first sliding track and the second sliding track are not on the same straight line;
    所述确定单元,具体用于将所述第一滑动轨迹的轨迹起始点与所述第二滑动轨迹的轨迹起始点进行连接,以及将所述第一滑动轨迹的轨迹终止点与所述第二滑动轨迹的轨迹终止点进行连接,以确定目标滑动区域; The determining unit is specifically configured to connect a track start point of the first sliding track with a track start point of the second sliding track, and a track ending point of the first sliding track and the second The trajectory termination point of the sliding track is connected to determine the target sliding area;
    所述查询单元,具体用于根据预存储的区域与亮度的对应关系,查询所述目标滑动区域对应的目标亮度;The query unit is configured to query a target brightness corresponding to the target sliding area according to a correspondence between the pre-stored area and the brightness;
    所述调节单元,具体用于调节所述屏幕的所述目标滑动区域的亮度为所述目标亮度。The adjusting unit is specifically configured to adjust a brightness of the target sliding area of the screen to be the target brightness.
  12. 根据权利要求11所述的用户终端,其特征在于,所述调节单元还用于将所述屏幕的显示区域中除所述目标滑动区域之外的剩余区域的亮度调节为第一亮度,所述第一亮度低于所述目标亮度。The user terminal according to claim 11, wherein the adjusting unit is further configured to adjust a brightness of a remaining area of the display area of the screen other than the target sliding area to a first brightness, The first brightness is lower than the target brightness.
  13. 一种用户终端,其特征在于,包括:处理器以及存储,所述存储器中存储一组程序代码,且所述处理器用于调用所述存储器中存储的程序代码,用于执行以下步骤:A user terminal, comprising: a processor and a storage, wherein the memory stores a set of program codes, and the processor is configured to invoke program code stored in the memory for performing the following steps:
    检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度是否匹配;Detecting whether the first touch velocity of the first touch point on the screen and the second touch velocity of the second touch point match;
    若是,则分别获取以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动参数;If yes, acquiring a first sliding parameter that slides with the position where the first touch point is located as a starting position, and a second sliding parameter that slides with the position where the second touch point is located as a starting position;
    根据所述第一滑动参数和所述第二滑动参数,确定目标滑动参数;Determining a target sliding parameter according to the first sliding parameter and the second sliding parameter;
    根据预存储的滑动参数与亮度的对应关系,查询所述目标滑动参数对应的目标亮度;Querying a target brightness corresponding to the target sliding parameter according to a correspondence between the pre-stored sliding parameter and the brightness;
    调节所述屏幕的亮度至所述目标亮度。Adjusting the brightness of the screen to the target brightness.
  14. 根据权利要求13所述的用户终端,其特征在于,在检测屏幕上的第一触摸点的第一触摸力度和第二触摸点的第二触摸力度匹配之后,以及在分别获取以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动参数之前,所述处理器用于调用所述存储器中存储的程序代码,用于执行以下步骤:The user terminal according to claim 13, wherein after detecting the first touch velocity of the first touch point on the screen and the second touch velocity of the second touch point, and respectively acquiring the first touch The processor is configured to call the memory before the first sliding parameter of the position where the touch point is slid and the second sliding parameter for sliding the position of the second touch point as a starting position Stored program code to perform the following steps:
    获取当前环境亮度,以及获取所述屏幕的当前亮度;Obtaining a current ambient brightness and obtaining a current brightness of the screen;
    判断所述环境亮度与所述屏幕的当前亮度是否匹配;Determining whether the ambient brightness matches the current brightness of the screen;
    若否,则执行所述分别获取以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动参数的步骤。 If not, performing, respectively, acquiring a first sliding parameter that slides with the position where the first touch point is located as a starting position, and a second sliding parameter that slides with the position where the second touch point is located as a starting position The step of sliding the parameters.
  15. 根据权利要求13或14所述的用户终端,其特征在于,所述分别获取以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动参数,包括:The user terminal according to claim 13 or 14, wherein the first sliding parameter for sliding with the position where the first touch point is located as a starting position and the second touch point are located The position of the second sliding parameter for the starting position to slide, including:
    检测以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动操作,并获取在所述第一滑动操作结束时的第一终止位置;Detecting a first sliding operation that slides with the position where the first touch point is located as a starting position, and acquires a first ending position at the end of the first sliding operation;
    以及,检测以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动操作,并获取在所述第二滑动操作结束时的第二终止位置;And detecting a second sliding operation of sliding at a position where the second touch point is located, and acquiring a second end position at the end of the second sliding operation;
    所述根据所述第一滑动参数和所述第二滑动参数,确定目标滑动参数,包括:Determining the target sliding parameter according to the first sliding parameter and the second sliding parameter, including:
    根据所述第一终止位置和所述第二终止位置,确定所述第一终止位置和所述第二终止位置之间的目标距离;Determining a target distance between the first end position and the second end position according to the first end position and the second end position;
    所述根据预存储的滑动参数与亮度的对应关系,查询所述目标滑动参数对应的目标亮度,包括:The querying the target brightness corresponding to the target sliding parameter according to the correspondence between the pre-stored sliding parameter and the brightness includes:
    根据预存储的距离与亮度的对应关系,判断所述对应关系中是否包括所述目标距离对应的目标亮度;Determining, according to a correspondence between the pre-stored distance and the brightness, whether the target brightness corresponding to the target distance is included in the correspondence relationship;
    若包括,则提取所述目标距离对应的目标亮度。If included, the target brightness corresponding to the target distance is extracted.
  16. 根据权利要求15所述的用户终端,其特征在于,所述处理器用于调用所述存储器中存储的程序代码,用于执行以下步骤:The user terminal according to claim 15, wherein the processor is configured to invoke program code stored in the memory for performing the following steps:
    当所述对应关系中未包括所述目标距离对应的目标亮度时,获取符合人眼舒适度的标准亮度,并将所述标准亮度作为目标亮度。When the target brightness corresponding to the target distance is not included in the correspondence, a standard brightness conforming to the comfort level of the human eye is acquired, and the standard brightness is used as the target brightness.
  17. 根据权利要求13或14所述的用户终端,其特征在于,所述分别获取以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动参数以及以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动参数,包括:The user terminal according to claim 13 or 14, wherein the first sliding parameter for sliding with the position where the first touch point is located as a starting position and the second touch point are located The position of the second sliding parameter for the starting position to slide, including:
    检测以所述第一触摸点所在的位置为起始位置进行滑动的第一滑动操作,并获取在所述第一滑动操作结束前的第一滑动轨迹;Detecting a first sliding operation of sliding with the position where the first touch point is located as a starting position, and acquiring a first sliding track before the end of the first sliding operation;
    以及,检测以所述第二触摸点所在的位置为起始位置进行滑动的第二滑动操作,并获取在所述第二滑动操作结束前的第二滑动轨迹,所述第一滑动轨迹和所述第二滑动轨迹不在同一条直线上;And detecting a second sliding operation that slides with the position where the second touch point is located as a starting position, and acquiring a second sliding track before the end of the second sliding operation, the first sliding track and the The second sliding track is not on the same straight line;
    所述根据所述第一滑动参数和所述第二滑动参数,确定目标滑动参数,包 括:Determining a target sliding parameter according to the first sliding parameter and the second sliding parameter, include:
    将所述第一滑动轨迹的轨迹起始点与所述第二滑动轨迹的轨迹起始点进行连接,以及将所述第一滑动轨迹的轨迹终止点与所述第二滑动轨迹的轨迹终止点进行连接,以确定目标滑动区域;Connecting a track start point of the first sliding track to a track start point of the second sliding track, and connecting a track ending point of the first sliding track to a track ending point of the second sliding track To determine the target sliding area;
    所述根据预存储的滑动参数与亮度的对应关系,查询所述目标滑动参数对应的目标亮度,包括:The querying the target brightness corresponding to the target sliding parameter according to the correspondence between the pre-stored sliding parameter and the brightness includes:
    根据预存储的区域与亮度的对应关系,查询所述目标滑动区域对应的目标亮度;Querying a target brightness corresponding to the target sliding area according to a correspondence between the pre-stored area and the brightness;
    所述调节所述屏幕的亮度至所述目标亮度,包括:The adjusting the brightness of the screen to the target brightness comprises:
    调节所述屏幕的所述目标滑动区域的亮度为所述目标亮度。Adjusting the brightness of the target sliding area of the screen to the target brightness.
  18. 根据权利要求17所述的用户终端,其特征在于,所述调节所述屏幕的所述目标滑动区域的亮度为所述目标亮度之后,所述处理器用于调用所述存储器中存储的程序代码,用于执行以下步骤:The user terminal according to claim 17, wherein after the adjusting the brightness of the target sliding area of the screen is the target brightness, the processor is configured to invoke a program code stored in the memory, Used to perform the following steps:
    将所述屏幕的显示区域中除所述目标滑动区域之外的剩余区域的亮度调节为第一亮度,所述第一亮度低于所述目标亮度。 Adjusting a brightness of a remaining area of the display area of the screen other than the target sliding area to a first brightness, the first brightness being lower than the target brightness.
PCT/CN2016/080430 2015-08-27 2016-04-27 Screen brightness adjusting method and user terminal WO2017032019A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510541287.3 2015-08-27
CN201510541287.3A CN105204762B (en) 2015-08-27 2015-08-27 A kind of method and user terminal for adjusting screen intensity

Publications (1)

Publication Number Publication Date
WO2017032019A1 true WO2017032019A1 (en) 2017-03-02

Family

ID=54952482

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/080430 WO2017032019A1 (en) 2015-08-27 2016-04-27 Screen brightness adjusting method and user terminal

Country Status (2)

Country Link
CN (1) CN105204762B (en)
WO (1) WO2017032019A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204762B (en) * 2015-08-27 2017-08-25 广东欧珀移动通信有限公司 A kind of method and user terminal for adjusting screen intensity
CN105549744B (en) * 2016-01-20 2019-03-26 Oppo广东移动通信有限公司 A kind of screen luminance of terminal adjusting method and device
CN107025033A (en) * 2016-02-01 2017-08-08 百度在线网络技术(北京)有限公司 A kind of method and apparatus for adjusting screen intensity
CN105872211A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Screen brightness adjusting method and terminal
CN107463316A (en) * 2016-06-03 2017-12-12 北京小米移动软件有限公司 The method of adjustment and device of screen intensity
CN107170423B (en) * 2017-07-04 2020-10-20 深圳传音通讯有限公司 Mobile terminal and mobile terminal screen brightness adjusting method
CN113709302B (en) * 2021-07-23 2023-02-03 青岛海尔科技有限公司 Method and system for adjusting brightness of light-emitting device, electronic device and storage medium
CN116052616A (en) * 2023-03-01 2023-05-02 深圳市领天智杰科技有限公司 Automatic screen light adjusting method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035934A (en) * 2009-09-30 2011-04-27 李晓 Dual-screen portable electronic equipment and management method
CN103092322A (en) * 2012-11-16 2013-05-08 阎跃鹏 Area-controllable dual-display screen window, energy-saving display method and electronic equipment
CN103164066A (en) * 2011-12-19 2013-06-19 联想(北京)有限公司 Touch controlling method
US20140223388A1 (en) * 2013-02-04 2014-08-07 Samsung Electronics Co., Ltd. Display control method and apparatus
CN104182143A (en) * 2014-08-22 2014-12-03 惠州Tcl移动通信有限公司 Backlight brightness adjustment method and system for mobile terminals
CN105204762A (en) * 2015-08-27 2015-12-30 广东欧珀移动通信有限公司 Method for regulating screen brightness and user terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103135889B (en) * 2011-12-05 2017-06-23 Lg电子株式会社 Mobile terminal and its 3D rendering control method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035934A (en) * 2009-09-30 2011-04-27 李晓 Dual-screen portable electronic equipment and management method
CN103164066A (en) * 2011-12-19 2013-06-19 联想(北京)有限公司 Touch controlling method
CN103092322A (en) * 2012-11-16 2013-05-08 阎跃鹏 Area-controllable dual-display screen window, energy-saving display method and electronic equipment
US20140223388A1 (en) * 2013-02-04 2014-08-07 Samsung Electronics Co., Ltd. Display control method and apparatus
CN104182143A (en) * 2014-08-22 2014-12-03 惠州Tcl移动通信有限公司 Backlight brightness adjustment method and system for mobile terminals
CN105204762A (en) * 2015-08-27 2015-12-30 广东欧珀移动通信有限公司 Method for regulating screen brightness and user terminal

Also Published As

Publication number Publication date
CN105204762B (en) 2017-08-25
CN105204762A (en) 2015-12-30

Similar Documents

Publication Publication Date Title
WO2017032019A1 (en) Screen brightness adjusting method and user terminal
WO2017032018A1 (en) Screen brightness adjustment method and user terminal
US10613740B2 (en) Method for controlling screen of user terminal and user terminal
WO2017032013A1 (en) Screen control method and user terminal
US10379732B2 (en) Method for adjusting screen brightness and user terminal
KR102218901B1 (en) Method and apparatus for correcting color
EP3035656B1 (en) Method and apparatus for controlling an electronic device
WO2017032007A1 (en) Screen brightness adjusting method and mobile terminal
US9131060B2 (en) System and method for adapting an attribute magnification for a mobile communication device
EP3086275A1 (en) Numerical value transfer method, terminal, cloud server, computer program and recording medium
KR20150128303A (en) Method and apparatus for controlling displays
US9823779B2 (en) Method and device for controlling a head-mounted display by a terminal device
US20170131893A1 (en) Terminal control method and device
CN106778623A (en) A kind of terminal screen control method, device and electronic equipment
CN103106031A (en) Operation method and operation device of mobile terminal
CN108108117B (en) Screen capturing method and device and terminal
US9958967B2 (en) Method and electronic device for operating electronic pen
US20150153827A1 (en) Controlling connection of input device to electronic devices
CN111857484A (en) Screen brightness adjusting method and device, electronic equipment and readable storage medium
KR20180029745A (en) Method for displying soft key and electronic device thereof
KR20150113572A (en) Electronic Apparatus and Method for Acquiring of Image Data
CN111736793B (en) Screen light adjusting method and device
WO2020135397A1 (en) Screen display control method and apparatus
CN104536560B (en) A kind of method and device for adjusting terminal font size
KR102277217B1 (en) Electronic device and method for setting up blocks

Legal Events

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

Ref document number: 16838281

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16838281

Country of ref document: EP

Kind code of ref document: A1