CN103885675A - Control method and electronic device - Google Patents

Control method and electronic device Download PDF

Info

Publication number
CN103885675A
CN103885675A CN201410058802.8A CN201410058802A CN103885675A CN 103885675 A CN103885675 A CN 103885675A CN 201410058802 A CN201410058802 A CN 201410058802A CN 103885675 A CN103885675 A CN 103885675A
Authority
CN
China
Prior art keywords
parameter
display
abscissa
area
equal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410058802.8A
Other languages
Chinese (zh)
Other versions
CN103885675B (en
Inventor
许奔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410058802.8A priority Critical patent/CN103885675B/en
Publication of CN103885675A publication Critical patent/CN103885675A/en
Application granted granted Critical
Publication of CN103885675B publication Critical patent/CN103885675B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a control method and an electronic device. The control method is applied to the electronic device which comprises a display screen. The control method includes: acquiring a first operation used for selecting an area range on the display screen; parsing the first operation to obtain a first parameter and a second parameter corresponding to the first operation, wherein the first parameter is used for representing the area range selected on the display screen by the first operation, and the second parameter is used for representing a display parameter in the area range; determining a first area on the display screen according to the first parameter; determining a display parameter of the first area according to the second parameter; adjusting screen brightness of the first area on the display screen as the display parameter according to the second parameter.

Description

Control method and electronic equipment
Technical Field
The present invention relates to control technologies, and in particular, to a control method and an electronic device.
Background
With the intelligent development of electronic devices, users have higher and higher requirements for the functions of the electronic devices. One of the functions of the electronic device is that the electronic device can change its screen brightness according to the user's setting, or the electronic device can automatically adjust its screen brightness according to the light intensity of the environment in which it is located. The conventional electronic equipment adjusts the screen brightness aiming at the full screen, and in some scenes, for example, when a user locates the content of a certain area of the screen, the user wants the electronic equipment to adjust the screen brightness of the certain area.
Disclosure of Invention
In order to solve the above technical problem, embodiments of the present invention provide a control method and an electronic device.
The control method provided by the embodiment of the invention is applied to electronic equipment, wherein the electronic equipment comprises a display screen; the control method comprises the following steps:
obtaining a first operation; the first operation is used for selecting an area range on the display screen;
analyzing the first operation to obtain a first parameter and a second parameter corresponding to the first operation; the first parameter is used for representing the area range selected by the first operation on the display screen; the second parameter is used for representing the display parameter in the area range;
determining a first area on the display screen according to the first parameter; determining display parameters of the first area according to the second parameters;
and adjusting the screen brightness of the first area on the display screen to be the display parameter corresponding to the second parameter.
The electronic equipment provided by the embodiment of the invention comprises a display unit; the electronic device further includes: the device comprises an acquisition unit, an analysis unit, a determination unit and an adjustment unit; wherein,
the acquisition unit is used for acquiring a first operation; the first operation is used for selecting an area range on the display screen;
the analysis unit is used for analyzing the first operation to obtain a first parameter and a second parameter corresponding to the first operation; the first parameter is used for representing the area range selected by the first operation on the display screen; the second parameter is used for representing the display parameter in the area range;
the determining unit is used for determining a first area on the display screen according to the first parameter; determining display parameters of the first area according to the second parameters;
the adjusting unit is configured to adjust the screen brightness of the first area on the display screen to a display parameter corresponding to the second parameter.
According to the technical scheme of the embodiment of the invention, a user selects an area range of screen brightness to be adjusted on a display screen of electronic equipment, and triggers a first operation; the electronic equipment obtains the first operation and analyzes the first operation to obtain a first parameter and a second parameter corresponding to the first operation; the first parameter in the embodiment of the invention represents the area range selected by the first operation on the display screen, and the second parameter in the embodiment of the invention represents the display parameter in the area range; therefore, the electronic equipment can determine the first area on the display screen according to the first parameter and determine the display parameter of the first area according to the second parameter, then the screen brightness of the first area of the display screen is adjusted to the display parameter corresponding to the second parameter, the electronic equipment realizes the adjustment of the screen brightness of a certain area, and the user experience is improved.
Drawings
Fig. 1 is a schematic flowchart of a control method according to a first embodiment of the invention;
FIG. 2 is a flowchart illustrating a control method according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating a control method according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to a first embodiment of the invention;
fig. 5 is a schematic structural diagram of an electronic device according to a second embodiment of the invention;
fig. 6 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
So that the manner in which the features and aspects of the embodiments of the present invention can be understood in detail, a more particular description of the embodiments of the invention, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings.
Fig. 1 is a flowchart illustrating a control method according to a first embodiment of the present invention, where the control method in this example is applied to an electronic device, and the electronic device includes a display screen; as shown in fig. 1, the control method includes the steps of:
step 101: a first operation is obtained.
In the embodiment of the present invention, the electronic device may be any electronic device with a display screen, such as a mobile phone, a tablet computer, and the like. The display screen of the electronic device may be a touch display screen with a touch display function, or may be a display screen with only a display function.
In an embodiment of the present invention, the first operation is used to select an area range on the display screen.
Specifically, when the display screen of the electronic device is a touch display screen with a touch display function, a user may trigger a first operation by touching a certain area of the display screen of the electronic device; the area triggered by the user is also the area of the screen brightness to be adjusted; preferably, the electronic device further includes a camera, and the electronic device acquires gesture operation of the user by using the camera, where the gesture operation is also the first operation;
when the display screen of the electronic equipment is the display screen only with the display function, a user can select a certain area in the display screen through a key of the electronic equipment to trigger a first operation; preferably, the electronic device further includes a camera, and the electronic device collects gesture operations of the user by using the camera, where the gesture operations are also the first operations.
Step 102: and analyzing the first operation to obtain a first parameter and a second parameter corresponding to the first operation.
In the embodiment of the invention, the first parameter is used for representing the area range selected by the first operation on the display screen; the second parameter is used for representing the display parameter in the area range.
Specifically, when the display screen of the electronic device is a touch display screen with a touch display function, position coordinates corresponding to a first operation can be acquired through the touch display screen, and a first parameter corresponding to the first operation can be determined based on the position coordinates; for example, when a user touches the touch display screen with two fingers, the touch display screen may detect two position coordinates corresponding to the two fingers, and the electronic device determines a rectangular area by using a connection line of the two position coordinates as a diagonal line, where the rectangular area is an area range selected on the display screen. Similarly, when the display screen of the electronic device is a display screen with only a display function, the position coordinate corresponding to the first operation can be obtained through the key operation of the electronic device, and then the first parameter corresponding to the first operation can be determined based on the position coordinate.
Specifically, when the display screen of the electronic device is a touch display screen with a touch display function, a pressure value corresponding to a first operation can be acquired through the touch display screen, and a second parameter corresponding to the first operation can be determined based on the pressure value; for example, when the user presses the touch display screen with a certain force, the touch display screen can detect the force and determine the corresponding second parameter according to the magnitude of the force; here, the second parameter may be represented by a screen brightness level, such as a-level brightness, B-level brightness, C-level brightness, etc., and a difference between adjacent two levels of screen brightness may be preset. Generally, the larger the force is, the brighter the screen brightness corresponding to the set second parameter is, whereas the smaller the force is, the darker the screen brightness corresponding to the set second parameter is. When the display screen of the electronic device is a display screen having only a display function, the second parameter may be set in advance.
Step 103: determining a first area on the display screen according to the first parameter; and determining the display parameters of the first area according to the second parameters.
A step 102 of adapting, wherein a first parameter represents a region range selected by a first operation on the display screen; therefore, a display area, namely the first area on the display screen, can be determined according to the first parameter. The second parameter represents the display parameter in the selected area range on the display screen, so that the screen brightness of the first area can be determined according to the second parameter.
Step 104: and adjusting the screen brightness of the first area on the display screen to be the display parameter corresponding to the second parameter.
In the embodiment of the invention, the display screen of the electronic equipment consists of a Light Emitting Diode (LED) dot matrix;
correspondingly, the adjusting the screen brightness of the first area on the display screen to the display parameter corresponding to the second parameter includes:
and adjusting the brightness of the LED dot matrix of the first area on the display screen to be the display parameter corresponding to the second parameter.
In the embodiment of the invention, the electronic equipment can determine the first area on the display screen according to the first parameter, determine the display parameter of the first area according to the second parameter, and then adjust the screen brightness of the first area of the display screen to the display parameter corresponding to the second parameter, so that the electronic equipment realizes the adjustment of the screen brightness of a certain area, and the user experience is improved.
Fig. 2 is a flowchart illustrating a control method according to a second embodiment of the present invention, where the control method in this example is applied to an electronic device, and the electronic device includes a display screen; as shown in fig. 2, the control method includes the steps of:
step 201: a first touch operation is obtained.
In the embodiment of the present invention, the electronic device may be any electronic device with a display screen, such as a mobile phone, a tablet computer, and the like. The display screen of the electronic equipment can be a touch display screen with a touch display function.
In an embodiment of the present invention, the first touch operation is used to select an area range on the display screen. Specifically, a user can trigger a first touch operation by touching a certain area of a display screen of the electronic device; the area triggered by the user is also the area of which the screen brightness is to be adjusted.
Step 202: and judging whether the touch track of the touch operation meets a first preset condition or not to obtain a first judgment result.
In the embodiment of the present invention, for a touch operation triggered by a user, not all touch operations may adjust the brightness of the screen, for example, when the user slides the touch display screen, the page content of the touch display screen may be switched, but not the brightness of the screen may be adjusted.
Step 203: and analyzing the first touch operation to obtain a first parameter and a second parameter corresponding to the first touch operation.
In the embodiment of the invention, the first parameter is used for representing the area range selected by the first touch operation on the display screen; the second parameter is used for representing the display parameter in the area range.
Specifically, when the display screen of the electronic device is a touch display screen with a touch display function, position coordinates corresponding to a first touch operation can be acquired through the touch display screen, and a first parameter corresponding to the first touch operation can be determined based on the position coordinates; for example, when a user touches the touch display screen with two fingers, the touch display screen may detect two position coordinates corresponding to the two fingers, and the electronic device determines a rectangular area by using a connection line of the two position coordinates as a diagonal line, where the rectangular area is an area range selected on the display screen. Similarly, when the display screen of the electronic device is a display screen with only a display function, the position coordinate corresponding to the first touch operation can be obtained through the key operation of the electronic device, and then the first parameter corresponding to the first touch operation can be determined based on the position coordinate.
Specifically, when the display screen of the electronic device is a touch display screen with a touch display function, a pressure value corresponding to a first touch operation can be acquired through the touch display screen, and a second parameter corresponding to the first touch operation can be determined based on the pressure value; for example, when the user presses the touch display screen with a certain force, the touch display screen can detect the force and determine the corresponding second parameter according to the magnitude of the force; here, the second parameter may be represented by a screen brightness level, such as a-level brightness, B-level brightness, C-level brightness, etc., and a difference between adjacent two levels of screen brightness may be preset. Generally, the larger the force is, the brighter the screen brightness corresponding to the set second parameter is, whereas the smaller the force is, the darker the screen brightness corresponding to the set second parameter is. When the display screen of the electronic device is a display screen having only a display function, the second parameter may be set in advance.
Step 204: determining a first area on the display screen according to the first parameter; and determining the display parameters of the first area according to the second parameters.
In the step 203, a first parameter represents a region range selected by a first touch operation on the display screen; therefore, a display area, namely the first area on the display screen, can be determined according to the first parameter. The second parameter represents the display parameter in the selected area range on the display screen, so that the screen brightness of the first area can be determined according to the second parameter.
Step 205: and adjusting the screen brightness of the first area on the display screen to be the display parameter corresponding to the second parameter.
In the embodiment of the invention, a display screen of the electronic equipment consists of an LED dot matrix;
correspondingly, the adjusting the screen brightness of the first area on the display screen to the display parameter corresponding to the second parameter includes:
and adjusting the brightness of the LED dot matrix of the first area on the display screen to be the display parameter corresponding to the second parameter.
In the embodiment of the invention, the electronic equipment can determine the first area on the display screen according to the first parameter, determine the display parameter of the first area according to the second parameter, and then adjust the screen brightness of the first area of the display screen to the display parameter corresponding to the second parameter, so that the electronic equipment realizes the adjustment of the screen brightness of a certain area, and the user experience is improved.
Fig. 3 is a flowchart illustrating a control method according to a third embodiment of the present invention, where the control method in this example is applied to an electronic device, and the electronic device includes a display screen; as shown in fig. 3, the control method includes the steps of:
step 301: a first touch operation is obtained.
In the embodiment of the present invention, the electronic device may be any electronic device with a display screen, such as a mobile phone, a tablet computer, and the like. The display screen of the electronic equipment can be a touch display screen with a touch display function.
In an embodiment of the present invention, the first touch operation is used to select an area range on the display screen. Specifically, a user can trigger a first touch operation by touching a certain area of a display screen of the electronic device; the area triggered by the user is also the area of which the screen brightness is to be adjusted.
Step 302: and judging whether the touch track of the touch operation meets a first preset condition or not to obtain a first judgment result.
In the embodiment of the present invention, for a touch operation triggered by a user, not all touch operations may adjust the brightness of the screen, for example, when the user slides the touch display screen, the page content of the touch display screen may be switched, but not the brightness of the screen may be adjusted.
Step 303: and analyzing the first touch operation to obtain a position parameter of a touch track of the first touch operation and a pressure parameter applied to the display screen by the first operation.
Here, the determining, according to the position parameter of the touch trajectory, a first parameter corresponding to the first operation includes:
determining a first abscissa parameter, a second abscissa parameter, a first ordinate parameter and a second ordinate parameter of the first area according to the position parameter of the touch track; the second abscissa parameter is greater than or equal to the first abscissa parameter, and the second ordinate parameter is greater than or equal to the first ordinate parameter;
when the difference value between the second abscissa parameter and the first abscissa parameter is smaller than or equal to a first preset threshold value, the abscissa of the display area represented by the first parameter is larger than or equal to the first abscissa parameter and smaller than or equal to the second abscissa parameter; specifically, the display area represented by the first parameter is a certain horizontal screen display area, the horizontal screen display area is determined by two horizontal coordinates, and all areas between two horizontal seats are areas to be adjusted in screen brightness.
When the difference value between the second vertical coordinate parameter and the first vertical coordinate parameter is smaller than or equal to a second preset threshold value, the vertical coordinate of the display area represented by the first parameter is larger than or equal to the first vertical coordinate parameter and smaller than or equal to the second vertical coordinate parameter; specifically, the display area represented by the first parameter does not have a certain vertical screen display area, the vertical screen display area is determined by two vertical coordinates, and all areas between the two vertical coordinates are areas of which the screen brightness is to be adjusted.
When the difference value between the second abscissa parameter and the first abscissa parameter is greater than a first preset threshold value, and the difference value between the second ordinate parameter and the first ordinate parameter is greater than a second preset threshold value, the abscissa of the display area represented by the first parameter is greater than or equal to the first abscissa parameter and less than or equal to the second abscissa parameter, and the ordinate of the display area represented by the first parameter is greater than or equal to the first ordinate parameter and less than or equal to the second ordinate parameter; specifically, the display area represented by the first parameter is not a rectangular display area, the rectangular display area is determined by two pairs of horizontal and vertical coordinates, and the rectangular area taking the connecting line of the two rows of horizontal and vertical coordinates as a diagonal line is the area of the screen brightness to be adjusted.
Step 304: determining a first parameter corresponding to the first operation according to the position parameter of the touch track; and determining a second parameter corresponding to the first operation according to the pressure parameter applied to the display screen by the first operation.
In the embodiment of the invention, the first parameter is used for representing the area range selected by the first touch operation on the display screen; the second parameter is used for representing the display parameter in the area range.
Specifically, when the display screen of the electronic device is a touch display screen with a touch display function, position coordinates corresponding to a first touch operation can be acquired through the touch display screen, and a first parameter corresponding to the first touch operation can be determined based on the position coordinates; for example, when a user touches the touch display screen with two fingers, the touch display screen may detect two position coordinates corresponding to the two fingers, and the electronic device determines a rectangular area by using a connection line of the two position coordinates as a diagonal line, where the rectangular area is an area range selected on the display screen. Similarly, when the display screen of the electronic device is a display screen with only a display function, the position coordinate corresponding to the first touch operation can be obtained through the key operation of the electronic device, and then the first parameter corresponding to the first touch operation can be determined based on the position coordinate.
Specifically, when the display screen of the electronic device is a touch display screen with a touch display function, a pressure value corresponding to a first touch operation can be acquired through the touch display screen, and a second parameter corresponding to the first touch operation can be determined based on the pressure value; for example, when the user presses the touch display screen with a certain force, the touch display screen can detect the force and determine the corresponding second parameter according to the magnitude of the force; here, the second parameter may be represented by a screen brightness level, such as a-level brightness, B-level brightness, C-level brightness, etc., and a difference between adjacent two levels of screen brightness may be preset. Generally, the larger the force is, the brighter the screen brightness corresponding to the set second parameter is, whereas the smaller the force is, the darker the screen brightness corresponding to the set second parameter is. When the display screen of the electronic device is a display screen having only a display function, the second parameter may be set in advance.
Step 305: determining a first area on the display screen according to the first parameter; and determining the display parameters of the first area according to the second parameters.
In a receiving step 304, a first parameter represents a region range selected by a first touch operation on the display screen; therefore, a display area, namely the first area on the display screen, can be determined according to the first parameter. The second parameter represents the display parameter in the selected area range on the display screen, so that the screen brightness of the first area can be determined according to the second parameter.
Step 306: and adjusting the screen brightness of the first area on the display screen to be the display parameter corresponding to the second parameter.
In the embodiment of the invention, a display screen of the electronic equipment consists of an LED dot matrix;
correspondingly, the adjusting the screen brightness of the first area on the display screen to the display parameter corresponding to the second parameter includes:
and adjusting the brightness of the LED dot matrix of the first area on the display screen to be the display parameter corresponding to the second parameter.
In the embodiment of the invention, the electronic equipment can determine the first area on the display screen according to the first parameter, determine the display parameter of the first area according to the second parameter, and then adjust the screen brightness of the first area of the display screen to the display parameter corresponding to the second parameter, so that the electronic equipment realizes the adjustment of the screen brightness of a certain area, and the user experience is improved.
Fig. 4 is a schematic structural composition diagram of an electronic device according to a first embodiment of the present invention, where the electronic device in this example includes a display unit 40; as shown in fig. 4, the electronic device further includes: an acquisition unit 41, an analysis unit 42, a determination unit 43, and an adjustment unit 44; wherein,
the obtaining unit 41 is configured to obtain a first operation; the first operation is used for selecting an area range on the display screen unit;
the parsing unit 42 is configured to parse the first operation to obtain a first parameter and a second parameter corresponding to the first operation; the first parameter is used for representing the area range selected by the first operation on the display screen unit; the second parameter is used for representing the display parameter in the area range;
the determining unit 43 is configured to determine a first area on the display screen unit according to the first parameter; determining display parameters of the first area according to the second parameters;
the adjusting unit 44 is configured to adjust the screen brightness of the first area on the display screen unit to a display parameter corresponding to the second parameter.
In the embodiment of the present invention, the display unit 40 is composed of a light emitting diode LED dot matrix;
correspondingly, the adjusting unit 44 is further configured to adjust the brightness of the LED dot matrix of the first area on the display unit 40 to the display parameter corresponding to the second parameter.
Those skilled in the art will understand that the implementation functions of the units in the electronic device shown in fig. 4 can be understood by referring to the related description of the control method.
Fig. 5 is a schematic structural composition diagram of an electronic device according to a second embodiment of the present invention, where the electronic device in this example includes a display unit 50; as shown in fig. 5, the electronic device further includes: an acquisition unit 51, an analysis unit 52, a determination unit 53, and an adjustment unit 54; wherein,
the obtaining unit 51 is configured to obtain a first operation; the first operation is used for selecting an area range on the display screen unit;
the analyzing unit 52 is configured to analyze the first operation to obtain a first parameter and a second parameter corresponding to the first operation; the first parameter is used for representing the area range selected by the first operation on the display screen unit; the second parameter is used for representing the display parameter in the area range;
the determining unit 53 is configured to determine a first area on the display screen unit according to the first parameter; determining display parameters of the first area according to the second parameters;
the adjusting unit 54 is configured to adjust the screen brightness of the first area on the display screen unit to a display parameter corresponding to the second parameter.
In the embodiment of the present invention, the display unit 50 is composed of a light emitting diode LED dot matrix;
correspondingly, the adjusting unit 54 is further configured to adjust the brightness of the LED dot matrix of the first area on the display unit 50 to the display parameter corresponding to the second parameter.
Preferably, the obtaining unit 51 includes: an acquisition subunit 511, a judgment subunit 512, and a first determination subunit 513; wherein,
the obtaining subunit 511 is configured to obtain a first touch operation;
the determining subunit 512 is configured to determine whether a touch trajectory of the touch operation meets a first preset condition, so as to obtain a first determination result;
the first determining subunit 513 is configured to determine to obtain a first operation when the first determination result indicates that the touch trajectory of the touch operation meets a first preset condition.
Those skilled in the art will understand that the implementation functions of each unit and its sub-units in the electronic device shown in fig. 5 can be understood by referring to the related description of the aforementioned control method.
Fig. 6 is a schematic structural composition diagram of an electronic device according to a third embodiment of the present invention, where the electronic device in this example includes a display unit 60; as shown in fig. 6, the electronic device further includes: an acquisition unit 61, an analysis unit 62, a determination unit 63, and an adjustment unit 64; wherein,
the obtaining unit 61 is configured to obtain a first operation; the first operation is used for selecting an area range on the display screen unit;
the analyzing unit 62 is configured to analyze the first operation to obtain a first parameter and a second parameter corresponding to the first operation; the first parameter is used for representing the area range selected by the first operation on the display screen unit; the second parameter is used for representing the display parameter in the area range;
the determining unit 63 is configured to determine a first area on the display screen unit according to the first parameter; determining display parameters of the first area according to the second parameters;
the adjusting unit 64 is configured to adjust the screen brightness of the first area on the display screen unit to a display parameter corresponding to the second parameter.
In the embodiment of the present invention, the display unit 60 is composed of a light emitting diode LED dot matrix;
correspondingly, the adjusting unit 64 is further configured to adjust the brightness of the LED dot matrix of the first area on the display unit 60 to the display parameter corresponding to the second parameter.
Preferably, the acquiring unit 61 includes: an acquisition subunit 611, a judgment subunit 612, and a first determination subunit 613; wherein,
the obtaining subunit 611 is configured to obtain a first touch operation;
the determining subunit 612 is configured to determine whether a touch trajectory of the touch operation meets a first preset condition, so as to obtain a first determination result;
the first determining subunit 613 is configured to determine to obtain a first operation when the first determination result indicates that the touch trajectory of the touch operation meets a first preset condition.
Preferably, the parsing unit 62 includes: an analysis subunit 621, a second determination subunit 622, and a third determination subunit 623; wherein,
the analyzing subunit 621 is configured to analyze the first operation to obtain a position parameter of a touch trajectory of the first operation and a pressure parameter applied to the display unit by the first operation;
the second determining subunit 622 is configured to determine, according to the position parameter of the touch trajectory, a first parameter corresponding to the first operation;
the third determining subunit 623 is configured to determine, according to the pressure parameter applied to the display unit by the first operation, a second parameter corresponding to the first operation.
Preferably, the second determining subunit 622 includes: a first determining module 6221, a judging module 6222, and a second determining module 6223; wherein,
the first determining module 6221 is configured to determine a first abscissa parameter, a second abscissa parameter, a first ordinate parameter, and a second ordinate parameter of the first area according to the position parameter of the touch trajectory; the second abscissa parameter is greater than or equal to the first abscissa parameter, and the second ordinate parameter is greater than or equal to the first ordinate parameter;
the judging module 6222 is configured to judge whether a difference between the second abscissa parameter and the first abscissa parameter is smaller than or equal to a first preset threshold; judging whether the difference value of the second vertical coordinate parameter and the first vertical coordinate parameter is less than or equal to a second preset threshold value or not;
the second determining module 6223 is configured to, when the difference between the second abscissa parameter and the first abscissa parameter is smaller than or equal to a first preset threshold, determine that the abscissa of the display area represented by the first parameter is greater than or equal to the first abscissa parameter and is smaller than or equal to the second abscissa parameter; when the difference value between the second vertical coordinate parameter and the first vertical coordinate parameter is smaller than or equal to a second preset threshold value, the vertical coordinate of the display area represented by the first parameter is larger than or equal to the first vertical coordinate parameter and smaller than or equal to the second vertical coordinate parameter; when the difference value between the second abscissa parameter and the first abscissa parameter is greater than a first preset threshold value, and the difference value between the second ordinate parameter and the first ordinate parameter is greater than a second preset threshold value, the abscissa of the display area represented by the first parameter is greater than or equal to the first abscissa parameter and less than or equal to the second abscissa parameter, and the ordinate of the display area represented by the first parameter is greater than or equal to the first ordinate parameter and less than or equal to the second ordinate parameter.
Those skilled in the art will understand that the implementation functions of each unit and its sub-units in the electronic device shown in fig. 6 can be understood by referring to the related description of the aforementioned control method.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (10)

1. A control method is applied to an electronic device, and the electronic device comprises a display screen; the method comprises the following steps:
obtaining a first operation; the first operation is used for selecting an area range on the display screen;
analyzing the first operation to obtain a first parameter and a second parameter corresponding to the first operation; the first parameter is used for representing the area range selected by the first operation on the display screen; the second parameter is used for representing the display parameter in the area range;
determining a first area on the display screen according to the first parameter; determining display parameters of the first area according to the second parameters;
and adjusting the screen brightness of the first area on the display screen to be the display parameter corresponding to the second parameter.
2. The control method of claim 1, the obtaining a first operation, comprising:
obtaining a first touch operation, and judging whether a touch track of the touch operation meets a first preset condition to obtain a first judgment result; and when the first judgment result shows that the touch track of the touch operation meets a first preset condition, determining to obtain a first operation.
3. The control method according to claim 2, wherein the analyzing the first operation to obtain a first parameter and a second parameter corresponding to the first operation includes:
analyzing the first operation to obtain a position parameter of a touch track of the first operation and a pressure parameter applied to the display screen by the first operation;
determining a first parameter corresponding to the first operation according to the position parameter of the touch track;
and determining a second parameter corresponding to the first operation according to the pressure parameter applied to the display screen by the first operation.
4. The control method according to claim 3, wherein the determining a first parameter corresponding to the first operation according to the position parameter of the touch trajectory includes:
determining a first abscissa parameter, a second abscissa parameter, a first ordinate parameter and a second ordinate parameter of the first area according to the position parameter of the touch track; the second abscissa parameter is greater than or equal to the first abscissa parameter, and the second ordinate parameter is greater than or equal to the first ordinate parameter;
when the difference value between the second abscissa parameter and the first abscissa parameter is smaller than or equal to a first preset threshold value, the abscissa of the display area represented by the first parameter is larger than or equal to the first abscissa parameter and smaller than or equal to the second abscissa parameter;
when the difference value between the second vertical coordinate parameter and the first vertical coordinate parameter is smaller than or equal to a second preset threshold value, the vertical coordinate of the display area represented by the first parameter is larger than or equal to the first vertical coordinate parameter and smaller than or equal to the second vertical coordinate parameter;
when the difference value between the second abscissa parameter and the first abscissa parameter is greater than a first preset threshold value, and the difference value between the second ordinate parameter and the first ordinate parameter is greater than a second preset threshold value, the abscissa of the display area represented by the first parameter is greater than or equal to the first abscissa parameter and less than or equal to the second abscissa parameter, and the ordinate of the display area represented by the first parameter is greater than or equal to the first ordinate parameter and less than or equal to the second ordinate parameter.
5. The control method according to any one of claims 1 to 4, wherein the display screen is composed of a Light Emitting Diode (LED) dot matrix;
correspondingly, the adjusting the screen brightness of the first area on the display screen to the display parameter corresponding to the second parameter includes:
and adjusting the brightness of the LED dot matrix of the first area on the display screen to be the display parameter corresponding to the second parameter.
6. An electronic device includes a display unit; the electronic device further includes: the device comprises an acquisition unit, an analysis unit, a determination unit and an adjustment unit; wherein,
the acquisition unit is used for acquiring a first operation; the first operation is used for selecting an area range on the display unit;
the analysis unit is used for analyzing the first operation to obtain a first parameter and a second parameter corresponding to the first operation; the first parameter is used for representing the area range selected by the first operation on the display unit; the second parameter is used for representing the display parameter in the area range;
the determining unit is used for determining a first area on the display unit according to the first parameter; determining display parameters of the first area according to the second parameters;
the adjusting unit is used for adjusting the screen brightness of the first area on the display unit to the display parameter corresponding to the second parameter.
7. The electronic device of claim 6, the acquisition unit comprising: the method comprises the steps of obtaining a subunit, judging the subunit and a first determining subunit; wherein,
the obtaining subunit is configured to obtain a first touch operation;
the judging subunit is configured to judge whether a touch trajectory of the touch operation meets a first preset condition, so as to obtain a first judgment result;
the first determining subunit is configured to determine to obtain a first operation when the first determination result indicates that the touch trajectory of the touch operation satisfies a first preset condition.
8. The electronic device of claim 7, the parsing unit comprising: the analysis subunit, the second determination subunit and the third determination subunit; wherein,
the analysis subunit is configured to analyze the first operation to obtain a position parameter of a touch trajectory of the first operation and a pressure parameter applied to the display unit by the first operation;
the second determining subunit is configured to determine, according to the position parameter of the touch trajectory, a first parameter corresponding to the first operation;
the third determining subunit is configured to determine, according to the pressure parameter applied to the display unit by the first operation, a second parameter corresponding to the first operation.
9. The electronic device of claim 8, the second determining subunit comprising: the device comprises a first determining module, a judging module and a second determining module; wherein,
the first determining module is used for determining a first abscissa parameter, a second abscissa parameter, a first ordinate parameter and a second ordinate parameter of the first area according to the position parameter of the touch track; the second abscissa parameter is greater than or equal to the first abscissa parameter, and the second ordinate parameter is greater than or equal to the first ordinate parameter;
the judging module is used for judging whether the difference value of the second abscissa parameter and the first abscissa parameter is smaller than or equal to a first preset threshold value; judging whether the difference value of the second vertical coordinate parameter and the first vertical coordinate parameter is less than or equal to a second preset threshold value or not;
the second determining module is configured to, when a difference between the second abscissa parameter and the first abscissa parameter is smaller than or equal to a first preset threshold, determine that an abscissa of a display area represented by the first parameter is greater than or equal to the first abscissa parameter and is smaller than or equal to the second abscissa parameter; when the difference value between the second vertical coordinate parameter and the first vertical coordinate parameter is smaller than or equal to a second preset threshold value, the vertical coordinate of the display area represented by the first parameter is larger than or equal to the first vertical coordinate parameter and smaller than or equal to the second vertical coordinate parameter; when the difference value between the second abscissa parameter and the first abscissa parameter is greater than a first preset threshold value, and the difference value between the second ordinate parameter and the first ordinate parameter is greater than a second preset threshold value, the abscissa of the display area represented by the first parameter is greater than or equal to the first abscissa parameter and less than or equal to the second abscissa parameter, and the ordinate of the display area represented by the first parameter is greater than or equal to the first ordinate parameter and less than or equal to the second ordinate parameter.
10. The electronic device of any one of claims 6 to 9, the display unit consisting of a light emitting diode, LED, dot matrix;
correspondingly, the adjusting unit is further configured to adjust the brightness of the LED dot matrix of the first area on the display unit to the display parameter corresponding to the second parameter.
CN201410058802.8A 2014-02-20 2014-02-20 A kind of control method and electronic equipment Active CN103885675B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410058802.8A CN103885675B (en) 2014-02-20 2014-02-20 A kind of control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410058802.8A CN103885675B (en) 2014-02-20 2014-02-20 A kind of control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN103885675A true CN103885675A (en) 2014-06-25
CN103885675B CN103885675B (en) 2018-10-12

Family

ID=50954600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410058802.8A Active CN103885675B (en) 2014-02-20 2014-02-20 A kind of control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN103885675B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105045515A (en) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 Screen brightness adjusting method and user terminal
CN105159590A (en) * 2015-08-27 2015-12-16 广东欧珀移动通信有限公司 Method for controlling screen of user terminal and user terminal
CN105159499A (en) * 2015-09-09 2015-12-16 魅族科技(中国)有限公司 Luminance enhancing method and device, luminance reduction method and device, and terminal
CN105338696A (en) * 2015-10-29 2016-02-17 苏州美达瑞电子有限公司 Socket LED lamp based on brightness automatic regulation control
WO2017032007A1 (en) * 2015-08-27 2017-03-02 广东欧珀移动通信有限公司 Screen brightness adjusting method and mobile terminal
WO2017032032A1 (en) * 2015-08-27 2017-03-02 广东欧珀移动通信有限公司 Screen brightness adjusting method and user terminal
CN107284597A (en) * 2016-04-01 2017-10-24 纳恩博(北京)科技有限公司 A kind of control method and mobile device
CN107741825A (en) * 2016-03-31 2018-02-27 广东欧珀移动通信有限公司 A kind of adjusting method of brightness, adjusting means and terminal and medium product
CN108932101A (en) * 2017-05-27 2018-12-04 南宁富桂精密工业有限公司 interface control method, electronic device and computer readable storage medium
CN110689861A (en) * 2019-09-29 2020-01-14 联想(北京)有限公司 Brightness adjusting method and device and electronic equipment
CN113885734A (en) * 2021-11-01 2022-01-04 浙江方泰显示技术有限公司 Control method based on integrated LED display screen

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110418003B (en) * 2019-07-30 2020-09-18 Oppo广东移动通信有限公司 Brightness adjusting method, brightness adjusting device and mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110063248A1 (en) * 2009-09-14 2011-03-17 Samsung Electronics Co. Ltd. Pressure-sensitive degree control method and system for touchscreen-enabled mobile terminal
CN102216885A (en) * 2008-11-19 2011-10-12 索尼爱立信移动通讯有限公司 Piezoresistive force sensor integrated in a display
CN103064587A (en) * 2012-12-26 2013-04-24 东莞宇龙通信科技有限公司 Terminal and terminal control method
CN103092322A (en) * 2012-11-16 2013-05-08 阎跃鹏 Area-controllable dual-display screen window, energy-saving display method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102216885A (en) * 2008-11-19 2011-10-12 索尼爱立信移动通讯有限公司 Piezoresistive force sensor integrated in a display
US20110063248A1 (en) * 2009-09-14 2011-03-17 Samsung Electronics Co. Ltd. Pressure-sensitive degree control method and system for touchscreen-enabled mobile terminal
CN103092322A (en) * 2012-11-16 2013-05-08 阎跃鹏 Area-controllable dual-display screen window, energy-saving display method and electronic equipment
CN103064587A (en) * 2012-12-26 2013-04-24 东莞宇龙通信科技有限公司 Terminal and terminal control method

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10379732B2 (en) 2015-08-27 2019-08-13 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for adjusting screen brightness and user terminal
CN105159590A (en) * 2015-08-27 2015-12-16 广东欧珀移动通信有限公司 Method for controlling screen of user terminal and user terminal
WO2017032007A1 (en) * 2015-08-27 2017-03-02 广东欧珀移动通信有限公司 Screen brightness adjusting method and mobile terminal
WO2017032018A1 (en) * 2015-08-27 2017-03-02 广东欧珀移动通信有限公司 Screen brightness adjustment method and user terminal
WO2017032032A1 (en) * 2015-08-27 2017-03-02 广东欧珀移动通信有限公司 Screen brightness adjusting method and user terminal
US10613740B2 (en) 2015-08-27 2020-04-07 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for controlling screen of user terminal and user terminal
CN105045515A (en) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 Screen brightness adjusting method and user terminal
CN105159499A (en) * 2015-09-09 2015-12-16 魅族科技(中国)有限公司 Luminance enhancing method and device, luminance reduction method and device, and terminal
CN105338696A (en) * 2015-10-29 2016-02-17 苏州美达瑞电子有限公司 Socket LED lamp based on brightness automatic regulation control
CN107741825A (en) * 2016-03-31 2018-02-27 广东欧珀移动通信有限公司 A kind of adjusting method of brightness, adjusting means and terminal and medium product
CN107284597B (en) * 2016-04-01 2019-04-02 纳恩博(北京)科技有限公司 A kind of control method and mobile device
CN107284597A (en) * 2016-04-01 2017-10-24 纳恩博(北京)科技有限公司 A kind of control method and mobile device
CN108932101A (en) * 2017-05-27 2018-12-04 南宁富桂精密工业有限公司 interface control method, electronic device and computer readable storage medium
CN108932101B (en) * 2017-05-27 2020-08-28 南宁富桂精密工业有限公司 Interface control method, electronic device and computer readable storage medium
CN110689861A (en) * 2019-09-29 2020-01-14 联想(北京)有限公司 Brightness adjusting method and device and electronic equipment
CN113885734A (en) * 2021-11-01 2022-01-04 浙江方泰显示技术有限公司 Control method based on integrated LED display screen

Also Published As

Publication number Publication date
CN103885675B (en) 2018-10-12

Similar Documents

Publication Publication Date Title
CN103885675B (en) A kind of control method and electronic equipment
US11257459B2 (en) Method and apparatus for controlling an electronic device
CN104394278B (en) Method, device and mobile terminal for regulating screen brightness
US20200241735A1 (en) Suspend button display method and terminal device
CN106060417B (en) A kind of flash lamp control method and terminal
CN106793046B (en) Screen display adjusting method and mobile terminal
CN107085508B (en) Information processing method and electronic equipment
KR102362042B1 (en) Method and apparatus for controling an electronic device
MY195861A (en) Information Processing Method, Electronic Device, and Computer Storage Medium
CN108701365B (en) Light spot identification method, device and system
CN102662554B (en) Information processing apparatus and code input mode switching method thereof
US8929679B1 (en) Systems and methods for changing contrast based on brightness of an output for presentation on a display
US9338338B2 (en) Electronic device and method of camera control
US20160048214A1 (en) Using distance between objects in touchless gestural interfaces
CN102402382A (en) Information processing device and information processing method
CN108958587B (en) Split screen processing method and device, storage medium and electronic equipment
CN108108117B (en) Screen capturing method and device and terminal
CN109451172A (en) A kind of method and apparatus of adjusting backlight luminance
CN103076954B (en) The method of adjustment display effect and device
WO2017206383A1 (en) Method and device for controlling terminal, and terminal
CN107861620B (en) Information processing method and electronic equipment
CN106802732A (en) Object selection method and device
CN105549927A (en) Display method and terminal
CN106331346B (en) Contrast adjusting method and device, display screen with device and portable equipment
CN112416172A (en) Electronic equipment control method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant