CN111818221A - Screen control method, screen control device, electronic device, and storage medium - Google Patents

Screen control method, screen control device, electronic device, and storage medium Download PDF

Info

Publication number
CN111818221A
CN111818221A CN202010546085.9A CN202010546085A CN111818221A CN 111818221 A CN111818221 A CN 111818221A CN 202010546085 A CN202010546085 A CN 202010546085A CN 111818221 A CN111818221 A CN 111818221A
Authority
CN
China
Prior art keywords
screen
temperature
state
shielding object
controlling
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
CN202010546085.9A
Other languages
Chinese (zh)
Other versions
CN111818221B (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.)
OFilm Microelectronics Technology Co Ltd
Original Assignee
OFilm Microelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OFilm Microelectronics Technology Co Ltd filed Critical OFilm Microelectronics Technology Co Ltd
Priority to CN202010546085.9A priority Critical patent/CN111818221B/en
Publication of CN111818221A publication Critical patent/CN111818221A/en
Application granted granted Critical
Publication of CN111818221B publication Critical patent/CN111818221B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0267Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components
    • H04W52/027Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components by controlling a display operation or backlight unit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention provides a screen control method which is applied to electronic equipment with a screen, a proximity sensor and a first temperature sensor. The screen control method includes: when the electronic equipment enters a call mode, starting the proximity sensor and the first temperature sensor; acquiring proximity sensing information output by the proximity sensor and first temperature information output by the first temperature sensor; determining whether a shielding object exists in front of a screen of the electronic equipment according to the proximity sensing information, and controlling the screen state of the electronic equipment by combining the first temperature information, wherein the first temperature information is a temperature value of the shielding object, and the screen state comprises a lighting state and a screen extinguishing state. The method can prevent the user from touching the screen by mistake and avoid inconvenience to the user caused by mistakenly starting and turning off the screen. The invention also provides a screen control device, electronic equipment and a storage medium.

Description

Screen control method, screen control device, electronic device, and storage medium
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a screen control method, a screen control apparatus, an electronic device, and a storage medium.
Background
With the development of terminal products, the screen of the terminal is larger and larger. When a user places a mobile phone with a large screen at the ear for conversation, the situation of mistaken touch is easy to occur because the face or the head touches the screen. In order to solve the problem of the false touch, a proximity sensor is generally provided in a mobile phone. In the conversation process, if the proximity sensor detects that an external object is close to the mobile phone, the mobile phone controls the screen to be turned off, and therefore mistaken touch is avoided.
In the process of implementing the present application, the inventor finds that at least the following problems exist in the prior art: when the conversation process, the user often needs to check the data on the mobile phone at the same time to exchange, but when the hand passes through the screen of the mobile phone, the mobile phone can be shielded, and the operation originality of the user is influenced.
Disclosure of Invention
In view of the above, it is necessary to provide a screen control method, a screen control apparatus, an electronic device, and a storage medium to solve the above problems.
An embodiment of the present application provides a screen control method applied to an electronic device including a screen, a proximity sensor, and a first temperature sensor, the screen control method including:
when the electronic equipment enters a call mode, starting the proximity sensor and the first temperature sensor, wherein the proximity sensor is used for judging whether a shielding object exists in front of a screen of the electronic equipment and outputting proximity sensing information, and the first temperature sensor is used for sensing the temperature of the shielding object and outputting first temperature information;
acquiring proximity sensing information output by the proximity sensor and first temperature information output by the first temperature sensor;
and controlling the screen state of the electronic equipment according to the proximity sensing information and the first temperature information, wherein the screen state comprises a lighting state and a screen extinguishing state.
The screen control method combines the proximity sensing information and the first temperature information to control the screen state of the electronic equipment. After the electronic equipment enters a conversation state, whether a shielding object exists before the proximity sensing information feedback screen or not, and the temperature of the shielding object is fed back by the first temperature information, whether the shielding object is the shielding object related to the screen extinguishing state or not is identified, such as a face, so that the method can control the screen to be extinguished when the shielding object exists in front of the screen, otherwise, the screen is kept in a bright state, the electric quantity of the electronic equipment can be saved, the screen is prevented from being touched by a user by mistake, and inconvenience caused by screen extinguishing due to mistaken starting can be avoided.
Further, the determining whether a shielding object exists in front of a screen of the electronic device according to the proximity sensing information and controlling a screen state of the electronic device by combining the first temperature information includes:
judging whether a shielding object exists in front of a screen of the electronic equipment or not according to the proximity sensing information;
if no shielding object exists, controlling the screen state to be a bright screen state;
and if the shielding object exists, controlling the screen state of the electronic equipment according to the first temperature information.
In the conversation mode, if no shielding object is arranged in front of the screen, the screen does not need to be prevented from being touched by mistake, and the state of the screen is controlled to be the display state. If the shielding object exists, whether the shielding object is the shielding object related to the screen extinguishing state, such as a face, needs to be judged according to the first temperature information.
Further, the controlling the screen state of the electronic device according to the first temperature information includes:
comparing the first temperature information with a preset face temperature range to judge whether the shelter is a face or not;
when the shielding object is judged to be the face, controlling the screen to be in a screen-off state;
and when the non-face part of the shielding object is judged, controlling the screen state to be a bright screen state.
In a normal state, the temperature of the face of the human body is kept in a preset temperature range relatively constantly, so that whether the shielding object is the face or not can be judged by comparing the first temperature information with the preset face temperature range. When judging that the sheltering object is the face, the control screen state is the state of putting out the screen to prevent that the face from touching the screen by mistake, save electronic equipment's energy consumption and electric quantity simultaneously.
Further, the electronic device further includes a second temperature sensor for sensing an ambient temperature and outputting second temperature information, and the method further includes:
simultaneously activating the second temperature sensor while activating the proximity sensor and the first temperature sensor;
acquiring second temperature information output by the second temperature sensor;
and matching the second temperature information with a plurality of facial temperature ranges in a preset human body temperature database to obtain the corresponding facial temperature ranges.
Because the temperature of the human face is related to the ambient temperature, the facial temperature range corresponding to the current environment can be obtained by matching the second temperature information with a plurality of facial temperature ranges in a preset human body temperature database, so that the accuracy of the screen control method is improved.
Further, the controlling the screen state of the electronic device according to the first temperature information includes:
comparing the first temperature information with a preset face temperature range and a preset finger temperature range to judge that the shielding object is a face or a finger;
when the shielding object is judged to be the face, controlling the screen to be in a screen-off state;
and when the shielding object is judged to be a finger, controlling the screen to be in a bright screen state.
Since there is a preset difference range (e.g., 2 to 3 ℃) between the face temperature range and the finger temperature range of the human body under normal conditions, it can be specifically determined that the blocking object is a face or a finger by comparing the first temperature information with the preset face temperature range and finger temperature range, thereby performing a corresponding screen state.
Further, the electronic device further includes a second temperature sensor for sensing an ambient temperature and outputting second temperature information, and the method further includes:
simultaneously activating the second temperature sensor while activating the proximity sensor and the first temperature sensor;
acquiring second temperature information output by the second temperature sensor;
and matching the second temperature information with a plurality of facial temperature ranges and a plurality of finger temperatures in a preset human body temperature database to obtain corresponding facial temperature ranges and finger temperature ranges, wherein a preset difference range is formed between the facial temperature range and the finger temperature range.
Because the temperature of the human face and the finger temperature are both related to the ambient temperature, the second temperature information is matched with a plurality of facial temperature ranges in a preset human body temperature database, the facial temperature range and the finger temperature range corresponding to the current environment can be obtained, and the accuracy of the screen control method is improved.
Further, after controlling the screen state of the electronic device, the method further includes:
continuously acquiring proximity sensing information output by the proximity sensor and first temperature information output by the first temperature sensor;
and keeping or switching the screen state of the electronic equipment according to the proximity sensing information and the first temperature information.
The shielding object in front of the screen can be continuously monitored through the steps so as to control the screen state of the electronic equipment.
An embodiment of the present application further provides a screen control apparatus operating in an electronic device having a screen, a proximity sensor, and a first temperature sensor, the screen control apparatus including:
the starting module is used for starting the proximity sensor and the first temperature sensor when the electronic equipment enters a call mode;
the acquisition module is used for acquiring proximity sensing information output by the proximity sensor and first temperature information output by the first temperature sensor;
the control module is used for determining whether a shielding object exists in front of a screen of the electronic equipment according to the proximity sensing information and controlling the screen state of the electronic equipment by combining the first temperature information, wherein the first temperature information is the temperature value of the shielding object, and the screen state comprises a lighting state and a screen extinguishing state.
The screen control device can control the screen state of the electronic equipment by combining the proximity sensing information and the first temperature information. After electronic equipment gets into the conversation state, control module judges whether there is the shielding thing before the screen according to being close response information, obtain the temperature of shielding thing according to first temperature information, whether to discern the shielding thing for with the shielding thing that puts out the screen state relevant, for example facial, thereby screen controlling means can only have the facial screen of control to put out the screen when sheltering from in front of the screen, otherwise continue to keep the state of bright screen, can not only save electronic equipment's electric quantity, prevent that facial mistake from touching the screen, can also avoid the mistake to start the state of putting out the screen and cause the inconvenience for the user.
Further, the control module is further configured to:
judging whether a shielding object exists in front of a screen of the electronic equipment or not according to the proximity sensing information;
if no shielding object exists, controlling the screen state to be a bright screen state;
and if the shielding object exists, controlling the screen state of the electronic equipment according to the first temperature information.
In the conversation mode, if no shielding object is arranged in front of the screen, the screen does not need to be prevented from being touched by mistake, and the state of the screen is controlled to be the display state. If the shielding object exists, whether the shielding object is the shielding object related to the screen extinguishing state, such as a face, needs to be judged according to the first temperature information.
Further, the control module is further configured to: comparing the first temperature information with a preset face temperature range to judge whether the shelter is a face or not;
when the shielding object is judged to be the face, controlling the screen to be in a screen-off state;
and when the non-face part of the shielding object is judged, controlling the screen state to be a bright screen state.
In a normal state, the temperature of the face of the human body is kept in a preset temperature range relatively constantly, so that whether the shielding object is the face or not can be judged by comparing the first temperature information with the preset face temperature range. When judging that the sheltering object is the face, the control screen state is the state of putting out the screen to prevent that the face from touching the screen by mistake, save electronic equipment's energy consumption and electric quantity simultaneously.
An embodiment of the present application also provides an electronic device, including a processor and a screen, a proximity sensor and a first temperature sensor electrically connected to the processor, wherein the processor is configured to implement the screen control method according to any one of the above aspects when executing a computer program stored in a memory.
Embodiments of the present application also provide a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the screen control method according to any one of the above embodiments.
Drawings
Fig. 1 is a schematic diagram of an electronic device according to an embodiment of the present invention.
Fig. 2 is a flowchart of a screen control method according to an embodiment of the present invention.
Fig. 3 is a flowchart of a screen control method according to another embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a screen control device according to an embodiment of the present invention.
Description of the main elements
Electronic equipment 1
Processor 10
Memory 20
Computer program 30
Screen 40
Proximity sensor 50
First temperature sensor 60
Second temperature sensor 70
Screen control device 100
Start module 101
Acquisition module 102
Control module 103
Matching module 104
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It will be understood that when an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. When an element is referred to as being "disposed on" another element, it can be directly on the other element or intervening elements may also be present.
It is further noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Referring to fig. 1, an embodiment of the present application provides an electronic device 1. The electronic device 1 comprises a processor 10, a memory 20, a screen 40, a proximity sensor 50 and a first temperature sensor 60, wherein the memory 20, the screen 40, the proximity sensor 50 and the first temperature sensor 60 are respectively electrically connected with the processor 10.
The electronic device 1 may be any of various types of computer system devices that are mobile or portable and perform wireless communications. In particular, the electronic device 1 may be a mobile phone or a smart phone, a portable gaming device, a laptop, a PDA, a portable internet appliance, a music player and a data storage device, other handheld devices and headsets such as watches, in-ear headphones, pendant, headphones, etc., the electronic device 1 may also be other wearable devices (e.g. a headset such as electronic glasses, electronic clothing, electronic necklace or smart watch).
The electronic device 1 may also be any one of a plurality of electronic devices 1, the plurality of electronic devices 1 including, but not limited to, cellular telephones, smart phones, other wireless communication devices, personal digital assistants, audio players, other media players, music recorders, video recorders, cameras, other media recorders, radios, medical devices, vehicle transportation equipment, calculators, programmable remote controls, pagers, laptop computers, desktop computers, printers, netbook computers, Personal Digital Assistants (PDAs), Portable Multimedia Players (PMPs), moving Picture experts group (MPEG-1 or MPEG-2) Audio layer 3(MP3) players, portable medical devices, and digital cameras, and combinations thereof.
Processor 10 may include one or more processing units, such as: the processor 10 may include an Application Processor (AP), a modem processor, a graphics processor 10 (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors 10.
The memory 20 may be used to store computer programs 30 and/or modules/units, and the processor 10 implements various functions of the electronic device 1 by running or executing the computer programs 30 and/or modules/units stored in the memory 20 and invoking data stored in the memory 20. The memory 20 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data) created according to the use of the electronic apparatus 1, and the like. Further, the memory 20 may include a high speed random access memory 20, and may also include a non-volatile memory 20, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one piece of disk storage 20, a Flash memory device, or other volatile solid state storage 20.
The processor 10, when executing the computer program 30, implements the steps in an embodiment of the screen control method, such as steps S10-S30 shown in fig. 2 or steps S31-S33 shown in fig. 3. Alternatively, the processor 10, when executing the computer program, implements the functions of each module/unit in the control embodiment of the screen 40, such as the modules 101 to 104 in fig. 4.
Illustratively, the computer program 30 may be partitioned into one or more modules/units that are stored in the memory 20 and executed by the processor 10 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 30 in the electronic device 1. For example, the computer program 30 may be divided into modules in fig. 4.
The screen 40 is a touch display screen for displaying images, videos, and the like. The screen 40 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 1 may include one or more screens 40.
The proximity sensor 50 is used to determine whether there is a blocking object in front of the screen 40 of the electronic device 1, and output proximity sensing information. In the present embodiment, it is determined that there is a blocking object in front of the screen 40 only when the blocking object is close to the screen 40 (for example, the distance is less than 5 cm).
In one embodiment, the proximity sensor 50 includes an infrared emitter and an infrared receiver, the infrared emitter is configured to emit infrared rays outwards, the infrared receiver is configured to receive infrared rays reflected by an object, a distance between the object and the proximity sensor 50 can be determined by measuring intensity of the infrared rays reflected by the object, and a stronger intensity of the received infrared rays indicates a smaller distance between the object and the object. In another embodiment, the distance between the proximity sensor 50 and the object may also be calculated by the time difference between the infrared light emitted by the infrared emitter and the infrared light received by the infrared receiver.
The first temperature sensor 60 is configured to sense a temperature of the shielding object and output first temperature information, where the first temperature information is a temperature value of the shielding object. In an embodiment, the first temperature sensor 60 is a thermocouple type temperature sensor, which has advantages of small size and high temperature measurement precision, and is convenient to integrate in the electronic device 1.
In some embodiments, the electronic device 1 further comprises a second temperature sensor 70, the second temperature sensor 70 being adapted to sense the ambient temperature. The second temperature sensor 70 may be a thermistor type temperature sensor, and has a measurement error of less than 0.01 deg.c with respect to the ambient temperature. The ambient temperature is a temperature of the nature of the electronic device 1.
It is understood that the electronic device 1 may further include other functional components, such as a battery, an antenna, a mobile communication module, a wireless communication module, a speaker, a camera, and the like, which are not described in detail.
Fig. 2 is a flowchart of a screen control method according to an embodiment of the present invention. The screen control method is applicable to the electronic device 1 shown in fig. 1. The order of the steps in the flow chart may be changed and some steps may be omitted according to different needs.
In step S10, when the electronic device 1 enters the talk mode, the proximity sensor 50 and the first temperature sensor 60 are activated.
Specifically, the call mode includes answering an incoming call or initiating a call. When the electronic device 1 enters the call mode, the proximity sensor 50 and the first temperature sensor 60 are activated, so that the proximity sensor 50 and the first temperature sensor 60 start to acquire sensing information.
The proximity sensor 50 is used to determine whether there is a blocking object in front of the screen 40 of the electronic device 1 and output proximity sensing information.
In one embodiment, the proximity sensor 50 includes an infrared emitter and an infrared receiver, the infrared emitter is configured to emit infrared rays outwards, the infrared receiver is configured to receive infrared rays reflected by an object, a distance between the object and the proximity sensor 50 can be determined by measuring intensity of the infrared rays reflected by the object, and a stronger intensity of the received infrared rays indicates a smaller distance between the object and the object. In another embodiment, the distance between the proximity sensor 50 and the object may also be calculated by the time difference between the infrared light emitted by the infrared emitter and the infrared light received by the infrared receiver.
Typically, the obstruction is, but not limited to, a face or a finger. When the mask is a face, it may be forehead, ear or cheek. It will be appreciated that the covering may also be a glove, stylus, etc.
The first temperature sensor 60 is used for sensing the temperature of the shielding object and outputting first temperature information.
In step S20, the proximity sensing information output by the proximity sensor 50 and the first temperature information output by the first temperature sensor 60 are acquired.
Specifically, the proximity sensing information is used to feed back whether a blocking object is blocked in front of the screen 40. In the present embodiment, it is determined that there is a blocking object in front of the screen 40 only when the blocking object is close to the screen 40 (for example, the distance is less than 5 cm). The first temperature information may be used to determine whether the obstruction is a face of a user.
Step S30, determining whether there is a shelter in front of the screen 40 according to the proximity sensing information, and controlling the screen state of the electronic device 1 according to the first temperature information.
The screen states include a lit state and an off state. When the screen state is the off-screen state, the screen 40 no longer displays information, which can prevent the user's face from touching the screen 40 by mistake and can save the electric power of the electronic device 1.
Specifically, the screen state of the electronic device 1 is controlled to be a display state or a screen off state according to the proximity sensing information and the first temperature information. Whether a shielding object is shielded in front of the screen 40 can be fed back by the proximity sensing information, and the temperature of the shielding object can be fed back by the first temperature information, so that whether the shielding object is a shielding object related to the screen extinguishing state, such as a face, can be judged by combining the proximity sensing information and the first temperature information, and the screen state of the electronic device 1 is controlled.
For example, if it can be determined that the blocking object is a face according to the proximity sensing information and the first temperature information, the screen state of the electronic device 1 is controlled to be a screen-off state. When the electronic device 1 enters the talk mode, the screen state is usually the bright screen state, and at this time, the screen state needs to be switched to the off screen state.
For another example, if it can be determined that the shielding object is not a face according to the proximity sensing information and the first temperature information, the screen state of the electronic device 1 is controlled to be a bright screen state. Since the screen state of the electronic device 1 is usually a bright screen state when entering the talk mode, it is only necessary to keep the screen 40 in the display state.
The screen control method combines the proximity sensing information and the first temperature information to control the screen state of the electronic device 1. After the electronic device 1 enters a call state, whether a shielding object exists in front of the proximity sensing information feedback screen 40 or not is determined, and the temperature of the shielding object is fed back by the first temperature information, so as to identify whether the shielding object is a shielding object related to a screen extinguishing state, such as a face, therefore, the method can control the screen 40 to be extinguished when the shielding object exists in front of the screen 40, otherwise, the screen is kept on being lighted, the electric quantity of the electronic device 1 can be saved, the screen 40 is prevented from being touched by the face by mistake, and inconvenience caused by screen extinguishing due to mistaken starting can be avoided, therefore, the screen control method can accurately adapt to the requirements of users, and the use convenience of the electronic device 1 is improved.
In some embodiments, after step S30, the method further comprises:
continuously acquiring the proximity sensing information output by the proximity sensor 50 and the first temperature information output by the first temperature sensor 60;
and keeping or switching the screen state of the electronic equipment 1 according to the proximity sensing information and the first temperature information.
The shielding object in front of the screen can be continuously monitored through the steps so as to control the screen state of the electronic equipment 1.
For example, if there is no more shielding object before the proximity sensing information feedback screen 40, the screen state of the electronic device 1 may be switched from the off-screen state to the on-screen state; for another example, if the proximity sensing information feeds back that a blocking object is close to the screen 40, the screen state of the electronic device 1 can be switched from a bright screen state to a dark screen state; for another example, if the acquired proximity sensing information and the first temperature information remain unchanged, the current screen state of the electronic device 1 continues to be maintained.
It is understood that the method may be ended after the electronic device 1 ends the talk mode.
Referring to fig. 3, in an embodiment, the method for controlling the screen status of the electronic device 1 (step S30) includes the following steps:
step S31: whether a blocking object exists in front of the screen 40 is determined according to the proximity sensing information.
In one embodiment, if the value of the proximity sensing information is yes (Y) or no (N), in step S31, it may be determined whether there is an obstruction in front of the screen directly from the proximity sensing information. In another embodiment, the proximity sensing information may also be a distance between the shielding object and the screen, and step S31 is to compare the distance between the shielding object and the screen with a preset proximity distance to determine whether there is a shielding object in front of the screen. The predetermined approach distance is, for example, 0cm to 5cm, but is not limited thereto.
If there is no blocking object, the process proceeds to step S32, and the screen state of the electronic device 1 is controlled to be the display state.
Since there is no shielding object in front of the screen 40 in the call mode, it is not necessary to prevent the false touch at this time, and the screen state is controlled to display the state.
If the shielding object exists, the process proceeds to step S33, and the screen status of the electronic device 1 is controlled according to the first temperature information.
When the shielding object is judged to be present, whether the shielding object is the shielding object related to the screen extinguishing state, such as a face, needs to be judged according to the first temperature information.
It can be understood that, determining whether there is a shielding object in front of the screen according to the proximity sensing information may form a first determination condition, and the first temperature information becomes a second determination condition, and when controlling the screen state, the determination may be performed by combining the first determination condition and the second determination condition, and is not limited to the step sequence shown in fig. 2. In an embodiment, the step S33 "controlling the screen state of the electronic device 1 according to the first temperature information" includes:
comparing the first temperature information with a preset face temperature range to judge whether the shelter is a face or not;
when the shielding object is judged to be the face, controlling the screen to be in a screen-off state;
and when the non-face part of the shielding object is judged, controlling the screen state to be a bright screen state.
Specifically, the first temperature information is compared with a preset face temperature range, and if the first temperature information is within the face temperature range, the shelter is judged to be a face; otherwise, judging that the obstruction is not a face.
In a normal state, the temperature of the face of the human body is kept in a preset temperature range relatively constantly, so that whether the shielding object is the face or not can be judged by comparing the first temperature information with the preset face temperature range. When the shielding object is judged to be the face, the screen state is controlled to be the screen-off state, so that the screen 40 is prevented from being touched by mistake by the face, and meanwhile, the energy consumption and the electric quantity of the electronic equipment 1 are saved.
If the obstruction is not facial, for example, the obstruction can be a finger, a glove, a stylus, etc., the user may need to touch the touch screen 40 to operate the electronic device 1, for example, the touch screen 40 to search for new information, and then the screen status needs to be controlled to be bright, so as not to affect the normal use of the user.
Further, in an embodiment, the method further comprises:
simultaneously activating the second temperature sensor 70 when activating the proximity sensor 50 and the first temperature sensor 60, the second temperature sensor 70 being used to sense the ambient temperature;
acquiring second temperature information output by the second temperature sensor 70;
and matching the second temperature information with a plurality of facial temperature ranges in a preset human body temperature database to obtain the corresponding facial temperature ranges.
Because the temperature of the human face is related to the ambient temperature, the facial temperature range corresponding to the current environment can be obtained by matching the second temperature information with a plurality of facial temperature ranges in a preset human body temperature database, so that the accuracy of the screen control method is improved.
In another embodiment, the step S33 "controlling the screen state of the electronic device 1 according to the first temperature information" includes:
comparing the first temperature information with a preset face temperature range and a preset finger temperature range to judge that the shielding object is a face or a finger;
when the shielding object is judged to be the face, controlling the screen to be in a screen-off state;
and when the shielding object is judged to be a finger, controlling the screen to be in a bright screen state.
Since there is a preset difference range (e.g., 2 to 3 ℃) between the face temperature range and the finger temperature range of the human body under normal conditions, it can be specifically determined that the blocking object is a face or a finger by comparing the first temperature information with the preset face temperature range and finger temperature range, thereby performing a corresponding screen state. The preset difference range is suitable for normal situations, and abnormal situations such as sick fever or sauna of the user are eliminated.
Further, in an embodiment, the method further comprises:
simultaneously activating the second temperature sensor 70 while activating the proximity sensor 50 and the first temperature sensor 60;
acquiring second temperature information output by the second temperature sensor 70;
and matching the second temperature information with a plurality of facial temperature ranges and a plurality of finger temperature ranges in a preset human body temperature database to obtain the corresponding facial temperature ranges and finger temperature ranges.
Because the temperature of the human face and the finger temperature are both related to the ambient temperature, the second temperature information is matched with a plurality of facial temperature ranges in a preset human body temperature database, the facial temperature range and the finger temperature range corresponding to the current environment can be obtained, and the accuracy of the screen control method is improved.
Referring to fig. 4, fig. 4 is a structural diagram of a screen control device 100 according to an embodiment of the present invention.
In some embodiments, the screen control device 100 is operated in the electronic apparatus 1. The screen control apparatus 100 may include a plurality of functional modules composed of program code segments. Program code for various program segments in the screen control device may be stored in the memory 20 of the screen control device and executed by the at least one processor 10 to implement the screen 40 control function.
In this embodiment, the screen control device 100 may be divided into a plurality of functional modules according to the functions performed by the screen control device. Referring to fig. 4, the functional modules may include: a starting module 101, an obtaining module 102, a control module 103 and a matching module 104. The module referred to in the present invention refers to a series of computer program segments capable of being executed by at least one processor 10 and performing a fixed function, which are stored in a memory 20.
The starting module 101 is configured to start the proximity sensor 50 and the first temperature sensor 60 when the electronic device 1 enters a call mode.
In an embodiment, the starting module 101 is further configured to start the second temperature sensor 70 when the electronic device 1 enters the call mode.
The obtaining module 102 is configured to obtain proximity sensing information output by the proximity sensor 50 and first temperature information output by the first temperature sensor 60.
In an embodiment, the obtaining module 102 is further configured to obtain second temperature information output by the second temperature sensor 70.
The control module 103 is configured to determine whether a shielding object exists in front of the screen according to the proximity sensing information, and control a screen state of the electronic device 1 in combination with the first temperature information, where the screen state includes a lighting state and a screen-off state.
In an embodiment, the control module 103 determines whether there is a blocking object in front of the screen 40 of the electronic device 1 according to the proximity sensing information; if no shielding object exists, controlling the screen state to be a bright screen state; and if the shielding object exists, controlling the screen state of the electronic equipment 1 according to the first temperature information.
Further, in an embodiment, the controlling the screen state of the electronic device 1 according to the first temperature information includes: comparing the first temperature information with a preset face temperature range to judge whether the shelter is a face or not; when the shielding object is judged to be the face, controlling the screen to be in a screen-off state; and when the non-face part of the shielding object is judged, controlling the screen state to be a bright screen state.
In an embodiment, the control module 103 compares the first temperature information with a preset face temperature range and a preset finger temperature range to determine that the obstruction is a face or a finger; when the shielding object is judged to be the face, controlling the screen to be in a screen-off state; and when the shielding object is judged to be a finger, controlling the screen to be in a bright screen state.
The matching module 104 is configured to match the second temperature information with a plurality of facial temperature ranges in a preset human body temperature database, so as to obtain the corresponding facial temperature ranges.
The matching module 104 is further configured to match the second temperature information with a plurality of finger temperature ranges in a preset human body temperature database to obtain corresponding finger temperature ranges.
The screen control device 100 can control the screen state of the electronic apparatus 1 by combining the proximity sensing information and the first temperature information. After electronic device 1 enters the conversation state, control module 103 judges whether there is the shielding object before screen 40 according to being close to the response information, obtain the temperature of shielding object according to first temperature information, whether to discern the shielding object for with the shielding object that puts out the screen state relevant, for example facial, thereby screen controlling means can only have the facial shielding time control screen 40 to put out the screen in front of screen 40, otherwise continue to keep the state of bright screen, can not only save electronic device 1's electric quantity, prevent that facial mistake from touching screen 40, can also avoid the mistake to start the state of putting out the screen and cause the inconvenience for the user.
In the embodiments provided in the present invention, it should be understood that the disclosed electronic device 1 and method may be implemented in other ways. For example, the above-described embodiment of the electronic device 1 is only illustrative, and for example, the division of the unit is only one logic function division, and there may be another division manner in actual implementation.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein.
Finally, it should be noted that the above embodiments are only used for illustrating the technical solutions of the present application and not for limiting, and although the present application is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions can be made on the technical solutions of the present application without departing from the spirit and scope of the technical solutions of the present application.

Claims (12)

1. A screen control method applied to an electronic device having a screen, a proximity sensor, and a first temperature sensor, the screen control method comprising:
when the electronic equipment enters a call mode, starting the proximity sensor and the first temperature sensor;
acquiring proximity sensing information output by the proximity sensor and first temperature information output by the first temperature sensor;
determining whether a shielding object exists in front of a screen of the electronic equipment according to the proximity sensing information, and controlling the screen state of the electronic equipment by combining the first temperature information, wherein the first temperature information is a temperature value of the shielding object, and the screen state comprises a lighting state and a screen extinguishing state.
2. The screen control method of claim 1, wherein the determining whether there is a shelter in front of a screen of the electronic device according to the proximity sensing information and controlling a screen state of the electronic device in combination with the first temperature information comprises:
determining whether a shelter exists in front of a screen of the electronic equipment according to the proximity sensing information;
if no shielding object exists, controlling the screen state to be a bright screen state;
and if the shielding object exists, controlling the screen state of the electronic equipment according to the first temperature information.
3. The screen control method of claim 2, wherein the controlling the screen state of the electronic device according to the first temperature information comprises:
comparing the first temperature information with a preset face temperature range to judge whether the shelter is a face or not;
when the shielding object is judged to be the face, controlling the screen to be in a screen-off state;
and when the non-face part of the shielding object is judged, controlling the screen state to be a bright screen state.
4. The screen control method of claim 3, wherein the electronic device further comprises a second temperature sensor for sensing an ambient temperature and outputting second temperature information, the method further comprising:
simultaneously activating the second temperature sensor while activating the proximity sensor and the first temperature sensor;
acquiring second temperature information output by the second temperature sensor;
and matching the second temperature information with a plurality of facial temperature ranges in a preset human body temperature database to obtain the corresponding facial temperature ranges.
5. The screen control method of claim 2, wherein the controlling the screen state of the electronic device according to the first temperature information comprises:
comparing the first temperature information with a preset face temperature range and a preset finger temperature range to judge that the shielding object is a face or a finger;
when the shielding object is judged to be the face, controlling the screen to be in a screen-off state;
and when the shielding object is judged to be a finger, controlling the screen to be in a bright screen state.
6. The screen control method of claim 5, wherein the electronic device further comprises a second temperature sensor for sensing an ambient temperature and outputting second temperature information, the method further comprising:
simultaneously activating the second temperature sensor while activating the proximity sensor and the first temperature sensor;
acquiring second temperature information output by the second temperature sensor;
and matching the second temperature information with a plurality of facial temperature ranges and a plurality of finger temperatures in a preset human body temperature database to obtain corresponding facial temperature ranges and finger temperature ranges, wherein a preset difference range is formed between the facial temperature range and the finger temperature range.
7. The screen control method of claim 1, wherein after controlling the screen state of the electronic device, the method further comprises:
continuously acquiring proximity sensing information output by the proximity sensor and first temperature information output by the first temperature sensor;
and keeping or switching the screen state of the electronic equipment according to the proximity sensing information and the first temperature information.
8. A screen control apparatus operable with an electronic device having a screen, a proximity sensor, and a first temperature sensor, the screen control apparatus comprising:
the starting module is used for starting the proximity sensor and the first temperature sensor when the electronic equipment enters a call mode;
the acquisition module is used for acquiring proximity sensing information output by the proximity sensor and first temperature information output by the first temperature sensor;
the control module is used for determining whether a shielding object exists in front of a screen of the electronic equipment according to the proximity sensing information and controlling the screen state of the electronic equipment by combining the first temperature information, wherein the first temperature information is the temperature value of the shielding object, and the screen state comprises a lighting state and a screen extinguishing state.
9. The screen control device of claim 8, wherein the control module is further configured to determine whether a blocking object exists in front of the screen of the electronic device according to the proximity sensing information;
if no shielding object exists, controlling the screen state to be a bright screen state;
and if the shielding object exists, controlling the screen state of the electronic equipment according to the first temperature information.
10. The screen control device of claim 9, wherein the control module is further configured to compare the first temperature information to a preset face temperature range to determine whether the covering is a face;
when the shielding object is judged to be the face, controlling the screen to be in a screen-off state;
and when the non-face part of the shielding object is judged, controlling the screen state to be a bright screen state.
11. An electronic device comprising a processor and a screen, a proximity sensor and a first temperature sensor electrically connected to the processor, the processor being configured to implement the screen control method of any one of claims 1-7 when executing a computer program stored in a memory.
12. A computer-readable storage medium on which a computer program is stored, the program, when being executed by a processor, implementing the screen control method according to any one of claims 1 to 7.
CN202010546085.9A 2020-06-16 2020-06-16 Screen control method, screen control device, electronic device, and storage medium Active CN111818221B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010546085.9A CN111818221B (en) 2020-06-16 2020-06-16 Screen control method, screen control device, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010546085.9A CN111818221B (en) 2020-06-16 2020-06-16 Screen control method, screen control device, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN111818221A true CN111818221A (en) 2020-10-23
CN111818221B CN111818221B (en) 2021-06-22

Family

ID=72845180

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010546085.9A Active CN111818221B (en) 2020-06-16 2020-06-16 Screen control method, screen control device, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN111818221B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115014408A (en) * 2021-09-17 2022-09-06 荣耀终端有限公司 Electronic device
CN115242921A (en) * 2022-07-18 2022-10-25 嘉兴博创智能传感科技有限公司 Smart phone screen rapid switching system and using method

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167160A (en) * 2012-10-09 2013-06-19 深圳市金立通信设备有限公司 System and method for achieving awakening and unlocking of mobile phone based on technology of temperature sense and human face recognition
CN103294583A (en) * 2013-05-29 2013-09-11 深圳市金立通信设备有限公司 Terminal screen control method and mobile terminal
US20150133086A1 (en) * 2008-08-15 2015-05-14 At&T Intellectual Property I, L.P. User identification in cell phones based on skin contact
CN105511625A (en) * 2015-12-15 2016-04-20 小米科技有限责任公司 Screen wakeup method and device
CN105827801A (en) * 2015-08-28 2016-08-03 维沃移动通信有限公司 Control method of terminal screen and terminal
US20160255516A1 (en) * 2013-03-15 2016-09-01 AMATIS Controls, Inc. Wireless network design, commissioning, and controls for hvac, water heating, and lighting system optimization
CN106791086A (en) * 2016-12-19 2017-05-31 维沃移动通信有限公司 The control method and mobile terminal of a kind of mobile terminal
CN106851012A (en) * 2017-03-07 2017-06-13 广东欧珀移动通信有限公司 Proximity test method, device and terminal
CN106919314A (en) * 2015-12-24 2017-07-04 小米科技有限责任公司 Mobile terminal and bright screen method
CN107132945A (en) * 2017-04-18 2017-09-05 广东小天才科技有限公司 It is a kind of to prevent the method and mobile terminal of mobile terminal maloperation
CN107690033A (en) * 2017-08-31 2018-02-13 广东欧珀移动通信有限公司 Mobile terminal, call processing method, terminal device and storage medium
CN108462986A (en) * 2018-02-05 2018-08-28 广东欧珀移动通信有限公司 The screen control method and device of terminal, readable storage medium storing program for executing, terminal
CN108594942A (en) * 2018-04-25 2018-09-28 维沃移动通信有限公司 A kind of personal identification method and mobile terminal
CN108600537A (en) * 2018-04-23 2018-09-28 Oppo广东移动通信有限公司 Proximity sensor, human body shadowing method, electronic device and readable storage medium storing program for executing
US20180338021A1 (en) * 2015-06-10 2018-11-22 Fairphone B.V. Electronic device
CN109005294A (en) * 2018-08-27 2018-12-14 Tcl移动通信科技(宁波)有限公司 Screen control processing method, mobile terminal and storage medium when mobile terminal call
CN109218527A (en) * 2018-08-31 2019-01-15 努比亚技术有限公司 screen brightness control method, mobile terminal and computer readable storage medium
CN109768605A (en) * 2019-03-22 2019-05-17 江苏航运职业技术学院 Wireless charging method, device, electronic equipment and computer-readable medium
US20190280057A1 (en) * 2018-03-09 2019-09-12 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Electronic device and manufacturing method for same

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150133086A1 (en) * 2008-08-15 2015-05-14 At&T Intellectual Property I, L.P. User identification in cell phones based on skin contact
CN103167160A (en) * 2012-10-09 2013-06-19 深圳市金立通信设备有限公司 System and method for achieving awakening and unlocking of mobile phone based on technology of temperature sense and human face recognition
US20160255516A1 (en) * 2013-03-15 2016-09-01 AMATIS Controls, Inc. Wireless network design, commissioning, and controls for hvac, water heating, and lighting system optimization
CN103294583A (en) * 2013-05-29 2013-09-11 深圳市金立通信设备有限公司 Terminal screen control method and mobile terminal
US20180338021A1 (en) * 2015-06-10 2018-11-22 Fairphone B.V. Electronic device
CN105827801A (en) * 2015-08-28 2016-08-03 维沃移动通信有限公司 Control method of terminal screen and terminal
CN105511625A (en) * 2015-12-15 2016-04-20 小米科技有限责任公司 Screen wakeup method and device
CN106919314A (en) * 2015-12-24 2017-07-04 小米科技有限责任公司 Mobile terminal and bright screen method
CN106791086A (en) * 2016-12-19 2017-05-31 维沃移动通信有限公司 The control method and mobile terminal of a kind of mobile terminal
CN106851012A (en) * 2017-03-07 2017-06-13 广东欧珀移动通信有限公司 Proximity test method, device and terminal
CN107132945A (en) * 2017-04-18 2017-09-05 广东小天才科技有限公司 It is a kind of to prevent the method and mobile terminal of mobile terminal maloperation
CN107690033A (en) * 2017-08-31 2018-02-13 广东欧珀移动通信有限公司 Mobile terminal, call processing method, terminal device and storage medium
CN108462986A (en) * 2018-02-05 2018-08-28 广东欧珀移动通信有限公司 The screen control method and device of terminal, readable storage medium storing program for executing, terminal
US20190280057A1 (en) * 2018-03-09 2019-09-12 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Electronic device and manufacturing method for same
CN108600537A (en) * 2018-04-23 2018-09-28 Oppo广东移动通信有限公司 Proximity sensor, human body shadowing method, electronic device and readable storage medium storing program for executing
CN108594942A (en) * 2018-04-25 2018-09-28 维沃移动通信有限公司 A kind of personal identification method and mobile terminal
CN109005294A (en) * 2018-08-27 2018-12-14 Tcl移动通信科技(宁波)有限公司 Screen control processing method, mobile terminal and storage medium when mobile terminal call
CN109218527A (en) * 2018-08-31 2019-01-15 努比亚技术有限公司 screen brightness control method, mobile terminal and computer readable storage medium
CN109768605A (en) * 2019-03-22 2019-05-17 江苏航运职业技术学院 Wireless charging method, device, electronic equipment and computer-readable medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115014408A (en) * 2021-09-17 2022-09-06 荣耀终端有限公司 Electronic device
CN115242921A (en) * 2022-07-18 2022-10-25 嘉兴博创智能传感科技有限公司 Smart phone screen rapid switching system and using method
CN115242921B (en) * 2022-07-18 2023-10-27 嘉兴博创智能传感科技有限公司 Smart phone screen rapid switching system and use method

Also Published As

Publication number Publication date
CN111818221B (en) 2021-06-22

Similar Documents

Publication Publication Date Title
US11722494B2 (en) Method for limiting usage of application, and terminal
US10824844B2 (en) Fingerprint acquisition method, apparatus and computer-readable storage medium
EP3477423A1 (en) Method and device for preventing terminal from being inadvertently touched
US20150301595A1 (en) Electronic apparatus and eye-gaze input method
US20170265141A1 (en) Method and apparatus of temperature control
US10628649B2 (en) Fingerprint recognition proccess
US20200371666A1 (en) Icon Display Method, and Apparatus
CN111818221B (en) Screen control method, screen control device, electronic device, and storage medium
US11392259B2 (en) Information processing device for facilitating use of functions in a locked state
CN110413148B (en) False touch prevention detection method, device, equipment and storage medium
US10491735B2 (en) Method and apparatus for controlling volume by using touch screen
CN112445407B (en) Display method and electronic device
CN111258659B (en) Screen-off control method, device and storage medium
US10159046B2 (en) Mobile terminal device
KR102536148B1 (en) Method and apparatus for operation of an electronic device
CN108766346A (en) The method and apparatus for protecting screen
CN109918014B (en) Page display method, wearable device and computer-readable storage medium
WO2022247745A1 (en) Touch control method, touch-control apparatus, and electronic device
KR20120138056A (en) Mobile device and method of managing touch using the same
US10909346B2 (en) Electronic apparatus and control method
KR20140078914A (en) Electronic apparatus and method of driving a display
JP2017079001A (en) Information processing device, luminance control method of display device, and program executable by computer
CN112153207A (en) Terminal and control method of display panel
CN111026259A (en) Control method and device of mobile terminal and storage medium
CN106325659B (en) Display control method and device of terminal equipment

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 330096 No.699 Tianxiang North Avenue, Nanchang hi tech Industrial Development Zone, Nanchang City, Jiangxi Province

Applicant after: Jiangxi oumaisi Microelectronics Co., Ltd

Address before: 330096 Jiangxi Nanchang Nanchang hi tech Industrial Development Zone, east of six road, south of Tianxiang Avenue.

Applicant before: Oufei Microelectronics Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant