CN106681471B - Electronic device and display control method thereof - Google Patents

Electronic device and display control method thereof Download PDF

Info

Publication number
CN106681471B
CN106681471B CN201510758810.8A CN201510758810A CN106681471B CN 106681471 B CN106681471 B CN 106681471B CN 201510758810 A CN201510758810 A CN 201510758810A CN 106681471 B CN106681471 B CN 106681471B
Authority
CN
China
Prior art keywords
function
processing unit
sensor
electronic device
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510758810.8A
Other languages
Chinese (zh)
Other versions
CN106681471A (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.)
Shenzhen Futaihong Precision Industry Co Ltd
Chiun Mai Communication Systems Inc
Original Assignee
Shenzhen Futaihong Precision Industry Co Ltd
Chiun Mai Communication Systems Inc
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 Shenzhen Futaihong Precision Industry Co Ltd, Chiun Mai Communication Systems Inc filed Critical Shenzhen Futaihong Precision Industry Co Ltd
Priority to CN201510758810.8A priority Critical patent/CN106681471B/en
Publication of CN106681471A publication Critical patent/CN106681471A/en
Application granted granted Critical
Publication of CN106681471B publication Critical patent/CN106681471B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Telephone Function (AREA)
  • Electronic Switches (AREA)

Abstract

The invention provides an electronic device and a display control method thereof, wherein the electronic device comprises a display unit, a sensing unit and a processing unit, the sensing unit is used for sensing the brightness of the ambient light of the electronic device and converting the sensed brightness of the ambient light into corresponding electric signals to be output, and the processing unit is electrically connected with the sensing unit and the display unit; the processing unit is used for comparing the output result of the electric signal of the sensing unit with a preset value and executing a first function or a second function different from the first function according to the comparison result. The sensing unit in the electronic device has the functions of a common optical sensor and a proximity sensor at the same time, so that the cost of the electronic device can be effectively reduced, and the circuit structure of the electronic device is simplified.

Description

Electronic device and display control method thereof
Technical Field
The invention relates to an electronic device and a display control method thereof.
Background
With the continuous progress and development of technology, people increasingly use electronic devices such as mobile phones, tablet computers and the like to perform work, for example, reading documents or browsing web page information on the internet by using mobile phones. Electronic devices commonly used at present are usually provided with a plurality of sensors, such as an ambient light sensor and a proximity sensor, to realize different functions. The ambient light sensor is used for automatically adjusting the backlight brightness of the electronic device so as to achieve the effects of comfort and power saving of a user. The proximity sensor is used for turning off or turning on the corresponding display unit when a user approaches or leaves the electronic device (for example, talking), so as to achieve the effect of saving electricity. However, the arrangement of a plurality of sensors with different functions results in a high cost of the electronic device and a significantly complicated circuit connection structure.
Disclosure of Invention
In view of the above, it is desirable to provide an electronic device with a low cost and a simple structure.
In addition, it is also necessary to provide a display control method.
An electronic device comprises a display unit, a sensing unit and a processing unit, wherein the sensing unit is used for sensing the brightness of ambient light of the electronic device and converting the sensed brightness of the ambient light into corresponding electric signals to be output, and the processing unit is electrically connected with the sensing unit and the display unit; the processing unit is used for comparing the output result of the electric signal of the sensing unit with a preset value and executing a first function or a second function different from the first function according to the comparison result.
A display control method is applied to an electronic device and comprises the following steps:
(a) sensing the ambient light brightness of the electronic device, and converting the sensed ambient light brightness into an electric signal for output;
(b) and receiving the electric signal, and comparing the output result of the electric signal with a preset value so as to execute a first function or a second function different from the first function according to the comparison result.
The electronic device is provided with the sensing unit and the processing unit, and the processing unit can execute different functions according to the ambient light brightness sensed by the sensing unit, namely the sensing unit has the functions of a common optical sensor and a proximity sensor. Therefore, the cost of the electronic device can be effectively reduced, and the circuit structure of the electronic device can be simplified.
Drawings
Fig. 1 is a schematic view of an electronic device according to a first preferred embodiment of the invention.
Fig. 2 is a functional block diagram of the electronic device shown in fig. 1.
FIG. 3 is a functional block diagram of an electronic device according to a second preferred embodiment of the invention.
FIG. 4 is a functional block diagram of an electronic device according to a third preferred embodiment of the invention.
Fig. 5 is a functional block diagram of an electronic device according to a fourth preferred embodiment of the invention.
FIG. 6 is a flowchart illustrating a display control method according to a preferred embodiment of the invention.
Description of the main elements
Electronic device 100、200、300、400
Main body part 11
First surface 111
Second surface 113
Display unit 13、23、33、43
Induction unit 15、25、35、45
Optical sensor 151
First inductor 251、351、451
Second inductor 253、353、453
Processing unit 17、27、37、47
The following detailed description will further illustrate the invention in conjunction with the above-described figures.
Detailed Description
Referring to fig. 1 and fig. 2, a first preferred embodiment of the present invention provides an electronic device 100, which may be a mobile phone, a Personal Digital Assistant (PDA), or a palm computer. The electronic device 100 includes a main body 11, a display unit 13, a sensing unit 15, and a processing unit 17.
The main body 11 includes a first surface 111 and a second surface 113 opposite to the first surface 111. The display unit 13 is disposed on the first surface 111 of the main body 11 for a user to browse information, such as browsing a web page or reading a document. In this embodiment, the display unit 13 is a touch display screen. Of course, in other embodiments, the display unit 13 may also be a light emitting diode display device, an organic light emitting diode display device, or the like.
The sensing unit 15 is disposed on the main body 11 and is configured to sense the brightness of the ambient light of the electronic device 100, convert the sensed brightness of the ambient light into a corresponding electrical signal, and output the electrical signal to the processing unit 17. The electrical signal is indicative of the brightness of the ambient light sensed by the sensing unit 15, i.e. a change in the magnitude of the value of the electrical signal is representative of a change in the brightness of the ambient light sensed by the sensing unit 15. In this embodiment, the value of the electrical signal is proportional to the brightness of the ambient light sensed by the sensing unit 15, that is, the greater the brightness of the ambient light sensed by the sensing unit 15 is, the greater the value of the electrical signal output by the sensing unit is. Of course, in other embodiments, the value of the electrical signal may be inversely proportional to the brightness of the ambient light sensed by the sensing unit 15, that is, the greater the brightness of the ambient light sensed by the sensing unit 15, the smaller the value of the electrical signal output therefrom.
The processing unit 17 may be a Central Processing Unit (CPU). The processing unit 17 is electrically connected to the sensing unit 15, and is configured to analyze and process the electrical signal transmitted from the sensing unit 15, compare an output result of the electrical signal with a preset value, and execute a first function or a second function different from the first function according to the comparison result.
In this embodiment, the processing unit 17 can further determine the ambient light brightness of the electronic device 100 and whether an object is close to or far from the electronic device 100 according to the comparison result. Specifically, when the processing unit 17 determines that an object is close to or far from the electronic device 100 according to the comparison result (described in detail below), the sensing unit 15 can be used as a proximity sensor (proximity sensor), and the processing unit 17 performs a first function. If the processing unit 17 determines that there is no object approaching or departing from the electronic device 100 according to the comparison result (e.g. only the ambient light brightness of the electronic device 100 changes), the sensing unit 15 serves as a general light sensor, and the processing unit 17 performs a second function. In the present embodiment, the first function is a display unit 13 switching function. For example, when the processing unit 17 determines that an object is close to the display unit 13 (for example, a user makes or receives a call), the display unit 13 is turned off to save power; and when the processing unit 17 judges that the object is far away from the display unit 13, the display unit 13 is turned on so that the user can operate the display unit 13 conveniently. The second function is to adjust the brightness of the display unit 13, that is, the processing unit 17 can adjust the screen brightness of the display unit 13 according to the ambient light brightness detected by the sensing unit 15.
In this embodiment, the sensing unit 15 includes a sensor 151, and the sensor 151 is electrically connected to the processing unit 17. The sensor 151 is configured to sense the brightness of the ambient light around the electronic device 100, and convert the sensed brightness of the ambient light into a corresponding electrical signal, and send the electrical signal to the processing unit 17. The processing unit 17 compares the output value of the electrical signal with a preset value and executes a corresponding first function or second function according to the comparison result. For example, when the processing unit 17 senses that the output value of the sensor 151, i.e., the value of the output electrical signal, decreases by an amount greater than or equal to a predetermined value within a predetermined time, for example, the head of the user blocks the sensor 151 due to the user making or receiving a call, so that the value of the output electrical signal of the sensor 151 decreases, it is determined that an object is close to the display unit 13. When the processing unit 17 senses that the increment of the output value of the sensing unit 15 in the preset time is greater than or equal to the preset value, for example, after the user hangs up the phone, the head of the user is far away from the sensing unit 15, so that the value of the electric signal output by the sensing unit 15 without being blocked is increased, it is determined that the object is far away from the display unit 13. At this time, the sensing unit 15 is used as a proximity sensor, and the processing unit 17 performs the first function, that is, when the processing unit 17 determines that an object is close to the display unit 13, the display unit 13 is turned off to save power; and when the processing unit 17 judges that the object is far away from the display unit 13, the display unit 13 is started so as to facilitate the user to operate the display unit 13.
When the processing unit 17 determines that the output value of the sensor 151 does not satisfy the above condition, that is, the processing unit 17 determines that the variation of the output value of the sensing unit 15 in the preset time is smaller than the preset value, the processing unit 17 determines that no object is close to or away from the display unit 13, the sensing unit 15 serves as a general optical sensor, and the processing unit 17 performs a second function, that is, the processing unit 17 adjusts the screen brightness of the display unit 13 according to the ambient light brightness detected by the sensor 151.
Referring to fig. 3, an electronic device 200 according to a second preferred embodiment of the invention is shown. The electronic device 200 includes a display unit 23, a sensing unit 25 and a processing unit 27. The electronic device 200 is different from the electronic device 100 in that the sensing unit 25 includes two sensors, i.e., a first sensor 251 and a second sensor 253. The first sensor 251 and the second sensor 253 can be disposed at different positions of the display unit 23. For example, the first sensor 251 is disposed above the display unit 23, and the second sensor 253 is disposed below the display unit 23.
The first sensor 251 and the second sensor 253 are used for sensing the ambient light brightness of the electronic device 200, and converting the sensed ambient light brightness into an electrical signal to be output to the processing unit 27. The processing unit 27 receives the electrical signals output by the first sensor 251 and the second sensor 253. The processing unit 27 is configured to compare a variation of the output value of the first sensor 251 and a variation of the output value of the second sensor 253 within a predetermined time with a predetermined value, and execute a corresponding first function or a corresponding second function according to the comparison result. When the variation of the output value of the first sensor 251 received by the processing unit 27 in a preset time is greater than or equal to a preset value, and the variation of the output value of the second sensor 253 in the preset time is smaller than the preset value, the sensing unit 25 can be used as a proximity sensor, and the processing unit 27 executes a first function. For example, when the user makes or receives a call while his head only shields the first sensor 251 but not the second sensor 253, the value of the electric signal output by the first sensor 251 is decreased, and the value of the electric signal output by the second sensor 253 is not changed much. At this time, the variation of the output value of the first sensor 251 in a preset time is greater than or equal to the preset value, and the variation of the output value of the second sensor 253 in the preset time is less than the preset value. The processing unit 27 therefore determines that an object is near the display unit 23 and turns off the display unit 23 to save power (i.e., perform the first function).
When the processing unit 27 determines that the electrical signals output by the first sensor 251 and the second sensor 253 do not satisfy the above condition, that is, the processing unit 27 receives a variation of the output value of the first sensor 251 and a variation of the output value of the second sensor 253 within a predetermined time period, which are both smaller than the predetermined value, the sensing unit 25 serves as a common optical sensor, and the processing unit 27 performs a second function. That is, the processing unit 27 determines that there is no object approaching or departing from the display unit 23, and adjusts the screen brightness of the display unit 23 according to the ambient light brightness detected by the sensing unit 25 (i.e., performs the second function).
Obviously, the sensing unit 25 in the second embodiment includes the first sensor 251 and the second sensor 253, so that the erroneous determination of the processing unit 27 caused by the event of turning off or on the light can be effectively avoided, and the accuracy of the determination of the processing unit 27 can be improved.
It is understood that, in the second embodiment, the sensing unit 25 is not limited to include the first sensor 251 and the second sensor 2523, i.e. to include two sensors, and may also be configured to include a plurality of sensors, e.g. at least two sensors. The at least two sensors are configured to sense the brightness of the ambient light around the electronic device 200, and convert the ambient light sensed by the at least two sensors into at least two corresponding electrical signals, and send the electrical signals to the processing unit 27. When the processing unit 27 determines that the variation of at least one of the corresponding electrical signals in a predetermined time is greater than or equal to a predetermined value, and the variation of the other corresponding electrical signals is smaller than the predetermined value, the first function is executed. And when the processing unit 27 determines that the variation of each corresponding electrical signal within a predetermined time is smaller than the predetermined value, the second function is executed.
Referring to fig. 4, an electronic device 300 according to a third preferred embodiment of the invention is shown. The electronic device 300 includes a display unit 33, a sensing unit 35 and a processing unit 37. The sensing unit 35 includes two sensors, i.e., a first sensor 351 and a second sensor 353. The electronic device 300 is different from the electronic device 200 in that the processing unit 37 determines whether an object is approaching or departing from the display unit 33 in a different manner from the processing unit 27. Specifically, the processing unit 37 is configured to compare the output value of the first sensor 351 with the output value of the second sensor 353, and then execute a corresponding first function or second function according to the difference between the two output values. When the difference between the output value of the first sensor 351 and the output value of the second sensor 353 received by the processing unit 37 is greater than or equal to a preset value, the first function is executed. For example, when the user makes or receives a call and the head of the user only covers the first sensor 351 but not the second sensor 353, the difference between the output value of the first sensor 351 and the output value of the second sensor 353 is greater than or equal to a preset value, the processing unit 37 determines that an object is close to the display unit 33, and then the display unit 33 is turned off, so as to save the electric quantity. When the difference between the output value of the first sensor 351 and the output value of the second sensor 353 received by the processing unit 37 is smaller than the preset value, a second function is performed, that is, the screen brightness of the display unit 33 is adjusted according to the ambient light brightness detected by the sensing unit 35.
It is to be understood that, in the third embodiment, the sensing unit 35 is not limited to include the first sensor 351 and the second sensor 353, that is, is not limited to include two sensors, and may be configured to include a plurality of sensors, for example, at least two sensors. The at least two sensors are configured to sense the brightness of the ambient light around the electronic device 300, and convert the ambient light sensed by the at least two sensors into at least two corresponding electrical signals, and send the electrical signals to the processing unit 37. When the processing unit 37 determines that the difference between the maximum value and the minimum value of the at least two corresponding electrical signals is greater than or equal to a preset value, a first function is executed. And when the processing unit 37 determines that the difference between the maximum value and the minimum value of the at least two corresponding electrical signals is smaller than the preset value, a second function is performed.
Referring to fig. 5, an electronic device 400 according to a fourth preferred embodiment of the invention is shown. The electronic device 400 includes a display unit 43, a sensing unit 45 and a processing unit 47. The sensing unit 45 includes two sensors, i.e., a first sensor 451 and a second sensor 453. The electronic device 400 differs from the electronic device 300 in that the processing unit 47 also imposes a time limit. Specifically, the processing unit 47 is configured to compare the output value of the first sensor 451 with the output value of the second sensor 453, and execute a corresponding first function or a second function according to a difference between the two output values and a time for maintaining the difference. When the difference between the output value of the first sensor 451 and the output value of the second sensor 453 received by the processing unit 47 is greater than or equal to a predetermined value, and the difference is maintained for a predetermined time, the first function is performed. For example, when the user makes or receives a call and the head of the user only covers the first sensor 451 but not the second sensor 453, the difference between the output value of the first sensor 451 and the output value of the second sensor 453 is greater than or equal to a predetermined value, and if the difference is maintained for a predetermined period of time, the processing unit 37 determines that an object is close to the display unit 43, and turns off the display unit 43, so as to save power.
When the difference between the output value of the first sensor 451 and the output value of the second sensor 453 received by the processing unit 47 is smaller than a predetermined value, or although the difference between the output value of the first sensor 451 and the output value of the second sensor 453 is greater than or equal to a predetermined value, the difference is not maintained for a predetermined time, a second function is performed, that is, the screen brightness of the display unit 43 is adjusted according to the ambient light brightness detected by the sensing unit 45.
It is to be understood that, in the fourth embodiment, the sensing unit 45 is not limited to include the first sensor 451 and the second sensor 453, that is, to include two sensors, but may be configured to include a plurality of sensors, for example, at least two sensors. The at least two sensors are configured to sense the brightness of the ambient light around the electronic device 400, and convert the ambient light sensed by the at least two sensors into at least two corresponding electrical signals, and send the electrical signals to the processing unit 47. When the processing unit 47 determines that the difference between the maximum value and the minimum value of the at least two corresponding electrical signals is greater than or equal to a predetermined value, and the difference is maintained for a predetermined time, the first function is executed. And when the processing unit 47 determines that the difference between the maximum value and the minimum value of the at least two corresponding electrical signals is smaller than the preset value, or although the difference is greater than or equal to the preset value, the difference is not maintained for a preset time, the second function is executed.
Referring to fig. 6, the display control method according to the preferred embodiment of the present invention includes the following steps:
step S1: the electronic device 100 is started.
Step S2: the processing unit 17 activates the sensing unit 15, for example, the processing unit 17 sends a driving signal to the sensing unit 15 to drive the sensing unit 15 to start working.
Step S3: the sensing unit 15 senses the brightness of the ambient light around the electronic device 100, converts the sensed brightness of the ambient light into a corresponding electrical signal, and outputs the electrical signal to the processing unit 17.
Step S4: the processing unit 17 receives the electrical signal from the sensing unit 15, and compares the output result of the electrical signal with a preset value, so as to perform a first function or a second function different from the first function according to the comparison result.
In this embodiment, the processing unit 17 can further determine the ambient light brightness of the electronic device 100 and whether an object is close to or far from the electronic device 100 according to the comparison result. Specifically, when the processing unit 17 determines that an object is close to or far from the electronic device 100 according to the comparison result (described in detail below), the sensing unit 15 can be used as a proximity sensor (proximity sensor), and the processing unit 17 performs a first function. If the processing unit 17 determines that there is no object approaching or departing from the electronic device 100 according to the comparison result (e.g. only the ambient light brightness of the electronic device 100 changes), the sensing unit 15 serves as a general light sensor, and the processing unit 17 performs a second function. In the present embodiment, the first function is a display unit 13 switching function. For example, when the processing unit 17 determines that an object is close to the display unit 13 (for example, a user makes or receives a call), the display unit 13 is turned off to save power; and when the processing unit 17 judges that the object is far away from the display unit 13, the display unit 13 is turned on so that the user can operate the display unit 13 conveniently. The second function is to adjust the brightness of the display unit 13, that is, the processing unit 17 can adjust the screen brightness of the display unit 13 according to the ambient light brightness detected by the sensing unit 15.
Wherein, in the first embodiment, the sensing unit 15 includes one sensor 151. The processing unit 17 is configured to compare an output value of the electrical signal output by the sensor 151 with a preset value, and execute a corresponding first function or second function according to a comparison result. For example, when the processing unit 17 senses that the variation of the output value of the sensor 151 in a predetermined time is greater than or equal to a predetermined value, the sensing unit 15 acts as a proximity sensor, and the processing unit 17 performs the first function. When the processing unit 17 determines that the variation of the output value of the sensor 151 in the preset time is smaller than the preset value, the processing unit 17 performs a second function.
In the second embodiment, the sensing unit 25 includes a first sensor 251 and a second sensor 253. The processing unit 27 is configured to compare a variation of the output value of the first sensor 251 and a variation of the output value of the second sensor 253 within a predetermined time with a predetermined value, and execute a corresponding first function or a corresponding second function according to the comparison result. For example, when the variation of the output value of the first sensor 251 received by the processing unit 27 in a preset time is greater than or equal to a preset value, and the variation of the output value of the second sensor 253 in the preset time is smaller than the preset value, the processing unit 27 executes the first function. When the processing unit 27 determines that the variation of the output value of the first sensor 251 and the variation of the output value of the second sensor 253 within a predetermined time are both smaller than the predetermined value, the processing unit 27 performs a second function.
It is understood that, in the second embodiment, the sensing unit 25 is not limited to include the first sensor 251 and the second sensor 2523, i.e. to include two sensors, and may also be configured to include a plurality of sensors, e.g. at least two sensors. When the processing unit 27 determines that the variation of at least one of the corresponding electrical signals in a predetermined time is greater than or equal to a predetermined value, and the variation of the other corresponding electrical signals is smaller than the predetermined value, the first function is executed. And when the processing unit 27 determines that the variation of each corresponding electrical signal within a predetermined time is smaller than the predetermined value, the second function is executed.
In the third embodiment, the sensing unit 35 includes a first sensor 351 and a second sensor 353. The processing unit 37 is configured to compare the output value of the first sensor 351 with the output value of the second sensor 353, and then execute a corresponding first function or second function according to the difference between the two output values. For example, when the difference between the output value of the first sensor 351 and the output value of the second sensor 353 received by the processing unit 37 is greater than or equal to a preset value, the first function is executed. And when the difference between the output value of the first sensor 351 and the output value of the second sensor 353 received by the processing unit 37 is smaller than the preset value, the second function is executed.
It is to be understood that, in the third embodiment, the sensing unit 35 is not limited to include the first sensor 351 and the second sensor 353, that is, is not limited to include two sensors, and may be configured to include a plurality of sensors, for example, at least two sensors. When the processing unit 37 determines that the difference between the maximum value and the minimum value of the at least two corresponding electrical signals is greater than or equal to a preset value, a first function is executed. And when the processing unit 37 determines that the difference between the maximum value and the minimum value of the at least two corresponding electrical signals is smaller than the preset value, a second function is performed.
In the fourth embodiment, the sensing unit 45 includes a first sensor 451 and a second sensor 453. The processing unit 47 is used for comparing the output value of the first sensor 451 with the output value of the second sensor 453, and performing a corresponding first function or a second function according to the difference between the two output values and the time for maintaining the difference. For example, when the difference between the output value of the first sensor 451 and the output value of the second sensor 453 received by the processing unit 47 is greater than or equal to a predetermined value, and the difference is maintained for a predetermined time, the first function is performed. And when the difference between the output value of the first sensor 451 and the output value of the second sensor 453 received by the processing unit 47 is smaller than a predetermined value, or although the difference between the output value of the first sensor 451 and the output value of the second sensor 453 is greater than or equal to a predetermined value, the difference is not maintained for a predetermined period of time, the second function is performed.
It is to be understood that, in the fourth embodiment, the sensing unit 45 is not limited to include the first sensor 451 and the second sensor 453, that is, to include two sensors, but may be configured to include a plurality of sensors, for example, at least two sensors. When the processing unit 47 determines that the difference between the maximum value and the minimum value of the at least two corresponding electrical signals is greater than or equal to a predetermined value, and the difference is maintained for a predetermined time, the first function is executed. And when the processing unit 47 determines that the difference between the maximum value and the minimum value of the at least two corresponding electrical signals is smaller than the preset value, or although the difference is greater than or equal to the preset value, the difference is not maintained for a preset time, the second function is executed.
Obviously, by providing the sensing unit 15 and the processing unit 17 in the electronic device 100, the processing unit 17 can perform different functions according to the ambient light brightness sensed by the sensing unit 15, that is, the sensing unit 15 has the functions of a common optical sensor and a proximity sensor. Therefore, the cost of the electronic device 100 can be effectively reduced, and the circuit structure of the electronic device 100 can be simplified.

Claims (2)

1. An electronic device comprises a display unit, a sensing unit and a processing unit, wherein the sensing unit is used for sensing the brightness of ambient light of the electronic device and converting the sensed brightness of the ambient light into corresponding electric signals to be output, and the processing unit is electrically connected with the sensing unit and the display unit; the method is characterized in that: the processing unit is used for comparing the electric signal output result of the sensing unit with a preset value and executing a first function or a second function different from the first function according to the comparison result, wherein the sensing unit comprises at least two sensors, the at least two sensors sense the brightness of the ambient light of the electronic device and convert the brightness into at least two corresponding electric signals to be output to the processing unit, and when the processing unit judges that the difference between the maximum value and the minimum value of the at least two corresponding electric signals is larger than or equal to the preset value and maintains a preset time, the first function is executed; and when the processing unit judges that the difference between the maximum value and the minimum value in the at least two corresponding electric signals is smaller than the preset value or the difference is larger than or equal to the preset value but the preset time is not maintained, executing a second function, wherein the first function is a display unit switch function, and the second function is a display unit brightness adjusting function.
2. A display control method is applied to an electronic device, and is characterized in that: the method comprises the following steps:
(a) sensing the ambient light brightness of the electronic device, and converting the sensed ambient light brightness into an electric signal for output;
(b) receiving the electric signal, and comparing the output result of the electric signal with a preset value so as to execute a first function or a second function different from the first function according to the comparison result;
in step (b), when the difference between the maximum value and the minimum value of the electrical signals output by the at least two corresponding sensors is greater than or equal to the preset value and the difference is maintained for a preset time, executing a first function; and executing a second function when the difference between the maximum value and the minimum value in the electric signals output by the sensor is smaller than the preset value or the difference is larger than or equal to the preset value but the difference does not maintain the preset time, wherein the first function is a display unit switch function, and the second function is a display unit brightness adjusting function.
CN201510758810.8A 2015-11-10 2015-11-10 Electronic device and display control method thereof Active CN106681471B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510758810.8A CN106681471B (en) 2015-11-10 2015-11-10 Electronic device and display control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510758810.8A CN106681471B (en) 2015-11-10 2015-11-10 Electronic device and display control method thereof

Publications (2)

Publication Number Publication Date
CN106681471A CN106681471A (en) 2017-05-17
CN106681471B true CN106681471B (en) 2020-07-14

Family

ID=58864414

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510758810.8A Active CN106681471B (en) 2015-11-10 2015-11-10 Electronic device and display control method thereof

Country Status (1)

Country Link
CN (1) CN106681471B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107734791A (en) * 2017-11-22 2018-02-23 广东工业大学 LED light group control method, device, LED advisement lamp case and control system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789230A (en) * 2009-01-24 2010-07-28 联想(北京)有限公司 Electronic equipment and display device screen brightness adjusting method thereof
CN102122499A (en) * 2011-02-23 2011-07-13 西南交通大学 Light environment adaptive regulating system for screen display equipment
CN103124314A (en) * 2013-03-07 2013-05-29 上海斐讯数据通信技术有限公司 Screen switching achieving method and mobile terminal
CN103391365A (en) * 2013-07-16 2013-11-13 广东欧珀移动通信有限公司 Mobile terminal backlight intensity accurately adjusted method, system and mobile terminal
CN104240680A (en) * 2014-09-16 2014-12-24 青岛海信电器股份有限公司 Method for adjusting brightness of touch screen and touch display device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI451160B (en) * 2012-03-05 2014-09-01 原相科技股份有限公司 Automatic detection method and portable electronic device using the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789230A (en) * 2009-01-24 2010-07-28 联想(北京)有限公司 Electronic equipment and display device screen brightness adjusting method thereof
CN102122499A (en) * 2011-02-23 2011-07-13 西南交通大学 Light environment adaptive regulating system for screen display equipment
CN103124314A (en) * 2013-03-07 2013-05-29 上海斐讯数据通信技术有限公司 Screen switching achieving method and mobile terminal
CN103391365A (en) * 2013-07-16 2013-11-13 广东欧珀移动通信有限公司 Mobile terminal backlight intensity accurately adjusted method, system and mobile terminal
CN104240680A (en) * 2014-09-16 2014-12-24 青岛海信电器股份有限公司 Method for adjusting brightness of touch screen and touch display device

Also Published As

Publication number Publication date
CN106681471A (en) 2017-05-17

Similar Documents

Publication Publication Date Title
US9582101B2 (en) Method and electronic apparatus for adjusting display frames by detecting touch of cover
EP2869594B1 (en) Method and device for controlling terminal by using headset wire, and apparatus
US9134832B2 (en) Portable electronic device and method of controlling a portable electronic device having a proximity-sensing user interface
US10649559B2 (en) Handheld electronic apparatus and touch detection method thereof
US20190034022A1 (en) Method, mobile terminal and non-transitory computer-readable storage medium for adjusting scanning frequency of touch screen
CN104640184A (en) Screen wake-up method and device
US20140021801A1 (en) Proximity sensing structure and electronic device having proximity sensing capability
CN104363012A (en) Portable terminal and implementing method for pressing key of side of capacitor type touch screen by touching
CN107580134B (en) Display method of mobile terminal and mobile terminal
CN204808288U (en) Forced induction touch -sensitive screen and display device
US20210278945A1 (en) Touch system and electronic device
CN107959759A (en) Electronic equipment, display control method and related product
CN106909244B (en) Touch key, touch operation detection method, touch IC and electronic equipment
CN109565171B (en) Charging protection method, terminal and charger
CN106681471B (en) Electronic device and display control method thereof
US9213457B2 (en) Driving method for touch panel and touch control system
US20140347316A1 (en) Touch device and measuring voltage dynamic adjustment method thereof
US10001868B2 (en) Information processing method, information processing device, and electronic apparatus
WO2020010917A1 (en) Split-screen display opening method and device, storage medium and electronic equipment
CN108519849B (en) Touch information processing method and device, storage medium and electronic equipment
KR101210991B1 (en) Touch-screen controller integrated circuit
JP6349419B2 (en) Method, apparatus and terminal for adjusting mobile terminal interface
CN114063824A (en) Pressure sensing module, pressure sensing detection method and device and electronic equipment
CN111342519B (en) Charging control method and device, storage medium and mobile terminal
US9639259B2 (en) Portable electronic device and method for controlling displayed information thereof

Legal Events

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