CN108848260B - Control method, control device, electronic device, computer storage medium, and apparatus - Google Patents

Control method, control device, electronic device, computer storage medium, and apparatus Download PDF

Info

Publication number
CN108848260B
CN108848260B CN201810574213.3A CN201810574213A CN108848260B CN 108848260 B CN108848260 B CN 108848260B CN 201810574213 A CN201810574213 A CN 201810574213A CN 108848260 B CN108848260 B CN 108848260B
Authority
CN
China
Prior art keywords
display area
electronic device
display
light
incoming call
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
CN201810574213.3A
Other languages
Chinese (zh)
Other versions
CN108848260A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810574213.3A priority Critical patent/CN108848260B/en
Publication of CN108848260A publication Critical patent/CN108848260A/en
Application granted granted Critical
Publication of CN108848260B publication Critical patent/CN108848260B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Abstract

The invention discloses a control method of an electronic device. The electronic device comprises a light-transmitting display screen and an infrared sensor, the light-transmitting display screen comprises a display area, the display area comprises a first display area and a second display area surrounding the first display area, the infrared sensor is arranged below the second display area, and the control method comprises the following steps: judging whether the electronic device is in an incoming call state or not; when the electronic device is in an incoming call state, controlling the first display area to display incoming call information; controlling the second display area to display at a lower brightness than the first display area; and controlling the infrared sensor to be started to detect the distance from the object to the electronic device. The invention also discloses a control device, an electronic device, a computer readable storage medium and equipment. According to the control method, the control device, the electronic device, the computer readable storage medium and the equipment, when the electronic device is in an incoming call, the influence of the infrared sensor on the flicker of the second display area is weakened by reducing the brightness of the second display area.

Description

Control method, control device, electronic device, computer storage medium, and apparatus
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a control method for an electronic device, a control device, an electronic device, a computer-readable storage medium, and a computer apparatus.
Background
With the development of mobile phones, a full screen is a development trend of mobile phones, and in order to improve the screen occupation ratio of the mobile phones, an infrared sensor originally arranged at the top of a mobile phone screen needs to be arranged below a display screen. However, the infrared light emitted by the infrared sensor under the screen during operation easily causes electronic migration of components in the display screen, thereby causing a local flicker phenomenon of the display screen and causing poor user experience.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a control method of an electronic device, a control device, an electronic device, a computer-readable storage medium, and a computer apparatus.
The invention provides a control method of an electronic device, wherein the electronic device comprises a light-transmitting display screen and an infrared sensor, the light-transmitting display screen comprises a display area, the display area comprises a first display area and a second display area surrounding the first display area, the first display area is used for displaying incoming call information when the electronic device is in an incoming call state, the infrared sensor is arranged below the second display area, the infrared sensor is used for emitting infrared light and receiving the infrared light reflected by an object so as to detect the distance from the object to the electronic device, and the control method comprises the following steps:
judging whether the electronic device is in the incoming call state or not;
when the electronic device is in the incoming call state, controlling the first display area to display the incoming call information;
controlling the second display area to display at a lower brightness than the first display area; and
and controlling the infrared sensor to be started to detect the distance from the object to the electronic device.
In some embodiments, the controlling the brightness of the second display region to be lower than the brightness of the first display region comprises:
and controlling the second display area to be turned off or kept turned off.
In some embodiments, the controlling the brightness of the second display region to be lower than the brightness of the first display region comprises:
and controlling the second display area to display in a predetermined color, wherein the predetermined color comprises black.
In some embodiments, the step of controlling the first display area to display the incoming call information comprises:
judging whether a user watches the light-transmitting display screen; and
and when the user watches the light-transmitting display screen, controlling the first display area to display the incoming call information.
In some embodiments, the step of determining whether the user views the light-transmissive display screen comprises:
acquiring an environment image;
judging whether the environment image contains human eyes or not; and
determining that the user views the light-transmissive display screen when the human eye is included in the environmental image.
In some embodiments, the step of determining whether the user views the light-transmissive display screen comprises:
acquiring a motion state of the electronic device;
judging whether the motion state accords with a preset motion state or not; and
and when the motion state accords with the preset motion state, determining that the user watches the light-transmitting display screen.
The present invention provides a control device for an electronic device, the electronic device including a light-transmissive display screen and an infrared sensor, the light-transmissive display screen including a display area, the display area including a first display area and a second display area surrounding the first display area, the first display area being configured to display incoming call information when the electronic device is in an incoming call state, the infrared sensor being disposed below the second display area, the infrared sensor being configured to emit infrared light and receive infrared light reflected by an object to detect a distance from the object to the electronic device, the control device including:
the judging module is used for judging whether the electronic device is in the incoming call state or not; and
the control module is used for controlling the first display area to display the incoming call information when the electronic device is in the incoming call state, controlling the second display area to display at a brightness lower than that of the first display area, and controlling the infrared sensor to be started to detect the distance from the object to the electronic device.
The present invention provides an electronic device, comprising:
the display device comprises a light-transmitting display screen, a light-transmitting display screen and a light-transmitting display screen, wherein the light-transmitting display screen comprises a display area, the display area comprises a first display area and a second display area surrounding the first display area, and the first display area is used for displaying incoming call information when the electronic device is in an incoming call state;
an infrared sensor disposed below the second display area, the infrared sensor being configured to emit infrared light and receive infrared light reflected by an object to detect a distance from the object to the electronic device; and
the processor is used for judging whether the electronic device is in the incoming call state, controlling the first display area to display the incoming call information when the electronic device is in the incoming call state, controlling the second display area to display at a brightness lower than that of the first display area, and controlling the infrared sensor to be started to detect the distance from the object to the electronic device.
In some embodiments, the processor is configured to control the second display to go off or remain off.
In some embodiments, the processor is configured to control the second display area to display in a predetermined color, the predetermined color comprising black.
In some embodiments, the processor is configured to determine whether a user views the light-transmissive display screen, and control the first display area to display the incoming call information when the user views the light-transmissive display screen.
In some embodiments, the electronic device includes a camera module for capturing an image, and the processor is configured to acquire an environmental image captured by the camera module, determine whether the environmental image includes human eyes, and determine that the user views the light-transmissive display screen when the environmental image includes the human eyes.
In some embodiments, the electronic device includes an acceleration sensor for detecting a motion state of the electronic device, and the processor is configured to acquire the motion state of the electronic device detected by the acceleration sensor, determine whether the motion state corresponds to a predetermined motion state, and determine that the user views the light-transmissive display screen when the motion state corresponds to the predetermined motion state.
The present invention provides one or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the control methods of the electronic devices described above.
The invention provides computer equipment which comprises a memory and a processor, wherein computer readable instructions are stored in the memory, and when the computer readable instructions are executed by the processor, the processor is enabled to execute the control method of the electronic device.
In the control method, the control device, the electronic device, the computer-readable storage medium and the computer device according to the embodiments of the present invention, when an incoming call is received by the electronic device, the influence of the infrared sensor on the flicker of the second display area can be weakened by reducing the brightness of the second display area without affecting the display of the incoming call information in the first display area.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic perspective view of an electronic device according to an embodiment of the invention;
FIG. 2 is a schematic flow chart of a control method of an embodiment of the present invention;
FIG. 3 is a block schematic diagram of a control device according to an embodiment of the present invention;
FIG. 4 is a block diagram of an electronic device according to an embodiment of the invention;
FIG. 5 is a block schematic diagram of a computer device of an embodiment of the present invention;
FIG. 6 is a schematic diagram of a scenario in accordance with an embodiment of the present invention;
FIG. 7 is another schematic flow chart diagram of a control method according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of another scenario in accordance with an embodiment of the present invention;
FIG. 9 is a schematic diagram of another scenario in accordance with an embodiment of the present invention;
FIG. 10 is a schematic diagram of another scenario in accordance with an embodiment of the present invention;
FIG. 11 is a schematic diagram of yet another scenario in accordance with an embodiment of the present invention;
FIG. 12 is another schematic flow chart diagram of a control method according to an embodiment of the present invention;
FIG. 13 is another schematic flow chart diagram of a control method according to an embodiment of the present invention;
FIG. 14 is a further schematic flow chart diagram of the control method of the embodiment of the invention;
FIG. 15 is a schematic diagram of yet another scenario in accordance with an embodiment of the present invention; and
fig. 16 is a further flowchart of the control method according to the embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
The control method, the control apparatus 200, the electronic apparatus 100, the computer-readable storage medium, and the computer device 300 according to the embodiments of the present invention are described in detail below with reference to fig. 1 to 16.
Referring to fig. 1 to 5, an embodiment of the invention provides a control method of an electronic device 100. The electronic device 100 includes a light-transmissive display 13 and an infrared sensor 161, the light-transmissive display 13 includes a display area 131, the display area 131 includes a first display area and a second display area surrounding the first display area, the first display area is used for displaying incoming call information when the electronic device 100 is in an incoming call state, the infrared sensor 161 is disposed below the second display area, and the infrared sensor 161 is used for emitting infrared light and receiving infrared light emitted by an object to detect a distance from the object to the electronic device 100. The control method comprises the following steps:
s10: judging whether the electronic device is in an incoming call state or not;
s20: when the electronic device is in an incoming call state, controlling the first display area to display incoming call information;
s30: controlling the second display area to display at a lower brightness than the first display area; and
s40: and controlling the infrared sensor to be started to detect the distance from the object to the electronic device.
The embodiment of the invention provides a control device 200 for an electronic device 100. The control method of the electronic device 100 according to the embodiment of the present invention can be realized by the control device 200 according to the embodiment of the present invention. The control device 200 includes a determination module 21 and a control module 22. The step S10 may be implemented by the determination module 21, and the steps S20, S30, and S40 may be implemented by the control module 22. That is, the determining module 21 is used for determining whether the electronic device 100 is in an incoming call state. The control module 22 is configured to control the first display area to display the incoming call information, control the second display area to display at a brightness lower than that of the first display area, and control the infrared sensor 161 to be turned on to detect a distance from an object to the electronic device 100 when the electronic device 100 is in an incoming call state.
The embodiment of the invention provides an electronic device 100. The electronic device 100 comprises a light transmissive display 13, an infrared sensor 161 and a processor 10. The light-transmissive display 13 includes a display region 131, the display region 131 includes a first display region for displaying incoming call information when the electronic device 100 is in an incoming call state and a second display region surrounding the first display region, the infrared sensor 161 is disposed below the second display region, and the infrared sensor 161 is configured to emit infrared light and receive infrared light emitted by an object to detect a distance from the object to the electronic device 100. Step S10, step S20, step S30, and step S40 may be implemented by the processor 10. That is, the processor 10 may be configured to determine whether the electronic device 100 is in an incoming call state, control the first display area to display incoming call information when the electronic device 100 is in the incoming call state, control the second display area to display at a lower brightness than the first display area, and control the infrared sensor 161 to be turned on to detect a distance from an object to the electronic device 100.
The embodiment of the invention provides a computer device 300. In the embodiment of the present invention, the control device 200 may also be applied to the computer apparatus 300. The computer device 300 may be a mobile phone, a tablet computer, a notebook computer, an intelligent bracelet, an intelligent watch, an intelligent helmet, an intelligent glasses, a game console, and the like, and the electronic apparatus 100 according to the embodiment of the present invention may also be one of the computer devices 300.
The embodiment of the present invention is described by taking the electronic device 100 as a mobile phone as an example. The top position of the mobile phone screen is generally provided with an infrared sensor to judge the distance between the mobile phone and the barrier and make corresponding adjustment, so that misoperation of a user can be prevented, and the electric quantity of the mobile phone can be saved. When a user answers or makes a call, the infrared sensor starts to perform distance detection. When a user brings a mobile phone close to the head, the infrared sensor generates detection information by calculating the time for the emitter to emit infrared light and the receiver to receive reflected infrared light, or generates detection information according to the intensity of the infrared light emitted by the emitter and the intensity of the infrared light received by the receiver, the processor sends a corresponding instruction to the controller according to the detection information, and the controller controls the screen to be turned off according to the instruction. When the mobile phone is far away from the head, the processor sends a corresponding instruction to the controller according to the detection information fed back by the infrared sensor again, and the controller lights the screen again according to the instruction.
With the development of mobile phones, a comprehensive screen becomes a new development trend, and in order to improve the screen occupation ratio of the mobile phone, an infrared sensor is placed in the lower area of a display screen. However, when a user answers or makes a call, the infrared sensor located below the screen is turned on and emits infrared light to perform distance detection, the infrared light emitted by the infrared sensor irradiates on the TFT substrate of the display screen, and due to a photoelectric effect, electrons inside the TFT substrate are excited by infrared photons to form a current under irradiation of the infrared light, and the infrared sensor emits infrared light pulses, which causes a flicker phenomenon of the display screen.
In the control method according to the embodiment of the invention, it is first determined whether the electronic device 100 is in the incoming call state, when the electronic device 100 is in the incoming call state, the first display area is controlled to display the incoming call information, the second display area is controlled to display at a lower brightness than the first display area, and then the infrared sensor 161 is controlled to be turned on to detect the distance between the object and the electronic device 100. In this way, when the electronic device 100 receives a call, the influence of the infrared sensor 161 on the flicker of the second display area can be weakened by reducing the brightness of the second display area without affecting the display of the call information in the first display area.
Referring to fig. 6, when the electronic device 100 makes an incoming call, the first display area 1311 displays incoming call information, where the incoming call information includes an incoming call number, a name, an avatar, a region, an operator, and the like, and the first display area 1311 may also display function options of the system, such as answering, hanging up, muting, and the like. The second display area 1312 is mainly used as a background of the incoming call program interface, and can be used for displaying some other pictures such as colors or animations for decoration. Therefore, without affecting the user's browsing of the incoming call information, the brightness of the second display region 1312 can be appropriately reduced to weaken the influence of the infrared sensor 161 on the flicker of the second display region 1312.
The specific division form of the first display area 1311 and the second display area 1312 is set according to actual conditions. For example, the second display area 1312 may be divided according to the position of the infrared sensor 161, or the first display area 1311 may be divided according to the position of the incoming call information, or divided into a plurality of first display areas 1311, which is not limited herein. In addition, the connection boundary between the first display area 1311 and the second display area 1312 may be in the form of a transition display with a gradual color, or may be in the form of a highlight to improve the viewing quality of the incoming program interface, or of course, may be in the form of a light display to reduce the visual obtrusiveness, which is not limited herein.
The control method according to the embodiment of the invention is also applicable to the situation that the electronic device 100 is in the power-off state. Specifically, it is possible to detect whether the electronic apparatus 100 is calling out a call. When the electronic device 100 is calling, the first display area 1311 displays outgoing call information and other function options, and the second display area 1312 displays other pictures as background decorations, so that the brightness of the second display area 1312 can be reduced appropriately to weaken the flicker effect caused by the infrared sensor 161.
It is understood that the incoming call state and the outgoing call state also include incoming call forms and outgoing call forms in other voice call applications, and are not limited herein.
It should be noted that, when the electronic device 100 is not in the incoming call state, the electronic device 100 maintains the original state and determines whether the electronic device 100 is in the incoming call state again.
Referring to fig. 3, 4 and 7, further, in such an embodiment, the step S30 of controlling the second display area to display at a lower brightness than the first display area includes:
s310: and controlling the second display area to be extinguished or kept extinguished.
Further, in such embodiments, step S310 may be implemented by the control module 22. That is, the control module 22 is used to control the second display area to be turned off or to remain turned off.
Further, in such embodiments, the processor 10 of the electronic device 100 may implement step S310. That is, the processor 10 is configured to control the second display area to be extinguished or to remain extinguished.
Specifically, the flicker phenomenon is caused by the infrared light emitted from the infrared sensor 161 in the energized state of the light-transmissive display 13, so that the flicker phenomenon does not occur on the screen when the second display region 1312 provided in the light-transmissive display 13 opposite to the infrared sensor 161 is extinguished. The light-transmitting display 13 can be an organic light-Emitting Diode (OLED) display, and the OLED display can address and drive pixel points, so that the second display area 1312 can be controlled to keep the first display area 1311 displaying when turned off. Of course, the light-transmitting display 13 may also be a Micro LED display, which is not limited herein.
Specifically, please refer to fig. 8, in which the user operates the electronic device 100. When the electronic device 100 is in the incoming call state, please refer to fig. 9, at this time, the first display area 1311 displays the incoming call information, the second display area 1312 is turned off, and the infrared sensor 161 is turned on to detect the distance from the object to the electronic device 100.
Alternatively, please refer to fig. 10, in which the user does not operate the electronic device 100. Referring to fig. 11, when the electronic device 100 is in the incoming call state, the first display area 1311 displays incoming call information, the second display area 1312 remains off, and the infrared sensor 161 is turned on to detect a distance from an object to the electronic device 100.
Referring to fig. 3, 4 and 12, further, in such an embodiment, the step S30 of controlling the second display area to display at a lower brightness than the first display area includes:
s320: and controlling the second display area to display in a predetermined color, wherein the predetermined color comprises black.
Further, in such embodiments, step S320 may be implemented by the control module 22. That is, the control module 22 is configured to control the second display area to display in a predetermined color, which includes black.
Further, in such embodiments, the processor 10 of the electronic device 100 may implement step S320. That is, the processor 10 is configured to control the second display region to be displayed in a predetermined color, which includes black.
Specifically, the light-transmitting display 13 may be an OLED display or a Micro LED display, and these light-emitting types are self-light-emitting and can address and drive pixel points, so that when displaying a black image, the pixel points corresponding to the second display area may not emit light, that is, may be in an off state. Therefore, when the infrared sensor 161 emits infrared light, no flicker occurs in the transparent display 13, and user experience can be improved better.
Referring to fig. 3, 4 and 13, further, in such an embodiment, the step S20 of controlling the first display area to display the incoming call information includes:
s210: judging whether a user watches the light-transmitting display screen; and
s220: when a user watches the light-transmitting display screen, the first display area is controlled to display the incoming call information.
Further, in such an embodiment, step S210 may be implemented by the determination module 21, and step S220 may be implemented by the control module 22. That is, the determination module 21 is used for determining whether the user views the translucent display 13. The control module 22 is configured to control the first display area to display the incoming call information when the user views the light-transmitting display 13.
Further, in such embodiments, the processor 10 of the electronic device 100 may implement steps S210 and S220. That is, the processor 10 is configured to determine whether the user views the transparent display 13, and control the first display area to display the incoming call information when the user views the transparent display 13.
Specifically, when the electronic device 100 detects that the user watches the electronic device 100 when the electronic device 100 calls, the first display area is controlled to display the incoming call information, so that the user can browse the incoming call information and decide whether to answer the call. When the user is not detected to watch the electronic device 100 when the electronic device 100 is powered on, the user may be far away from the electronic device 100, the electronic device 100 may continue to keep the phone ring, and the incoming call information is displayed in the first display area when the user watches the electronic device 100. Thus, power of the electronic device 100 can be saved.
It should be noted that, when the user does not watch the transparent display 13, the transparent display 13 maintains the original state and determines whether the user watches the transparent display 13 again.
Referring to fig. 3, 4 and 14, further, in such an embodiment, the step S210 of determining whether the user views the transparent display screen includes:
s2111: acquiring an environment image;
s2112: judging whether the environment image contains human eyes or not; and
s2113: and when the human eyes are included in the environment image, determining that the user watches the light-transmitting display screen.
Further, in such an embodiment, the control device 200 includes an obtaining module 23 and a determining module 24, and step S2111 may be implemented by the obtaining module 23, step S2112 may be implemented by the judging module 21, and step S2113 may be implemented by the determining module 24. That is, the acquisition module 23 is used to acquire an environment image. The judging module 21 is used for judging whether the environment image contains human eyes. The determination module 24 is configured to determine that the user views the translucent display 13 when the environment image includes the human eye.
Further, in such an embodiment, the electronic device 100 includes a camera module 162 for capturing an image, and the processor 10 is configured to acquire an environment image captured by the camera module 162, determine whether human eyes are included in the environment image, and determine that the user views the translucent display 13 when human eyes are included in the environment image.
Specifically, when the electronic device 100 is in the incoming call state, it can be determined that the user views the transparent display 13 by capturing an environment image of the side of the electronic device 100 opposite to the transparent display 13 through the camera module 162. For example, whether the user views the transparent display 13 may be determined by recognizing whether a face region exists in the current environment image and further recognizing whether the face region includes a human eye region. Referring to fig. 15, when it is recognized that a face region of the user exists in the current environment image and an eye region exists in the face region, it may be determined that the user views the electronic apparatus 100.
The detection of human eyes can be performed based on a portrait template, colors and the like preset in a database, when a human face exists in a recognition scene, a part connected with the human face can be determined to be a portrait area, and then whether the portrait area is included is judged, and a specific implementation mode is not limited herein. The human eye may also be determined, for example, by matching with a portrait template. It is understood that the human eye region may be identified by identifying whether there are continuous color blocks and then identifying the contour to determine the human face and the human eye region.
It should be noted that, if it is determined that the environment image does not include the face region or the face region does not include the human eye region, the environment image may be re-acquired and it may be continuously identified whether the acquired environment image includes human eyes.
The camera module 162 may be a front camera of the electronic device 100. The camera module 162 can obtain an RGB image of the environment where the electronic device 100 is located. The camera module 162 may also be a depth camera, and in the depth image, the depth data corresponding to the features of the nose, the eyes, the ears, and the like in the face region are different, for example, when the face is directly facing the electronic device 100, in the captured depth image, the depth data corresponding to the nose may be smaller than the depth data corresponding to the eyes, and the depth data corresponding to the ears may be larger. The number of the camera modules 162 may be plural, and for example, may be two front cameras.
Referring to fig. 3, 4 and 16, further, in such an embodiment, the step S210 of determining whether the user views the transparent display screen includes:
s2121: acquiring a motion state of the electronic device;
s2122: judging whether the motion state accords with a preset motion state; and
s2123: and when the motion state accords with the preset motion state, determining that the user watches the light-transmitting display screen.
Further, in such an embodiment, step S2121 may be implemented by the obtaining module 23, step S2122 may be implemented by the determining module 21, and step S2123 may be implemented by the determining module 24. That is, the obtaining module 23 is used for obtaining the motion state of the electronic device 100. The judging module 21 is used for judging whether the motion state conforms to a preset motion state. The determination module 24 is configured to determine that the user views the transparent display 13 when the motion state corresponds to the predetermined motion state.
Further, in such an embodiment, the electronic device 100 includes an acceleration sensor 163 for detecting a motion state of the electronic device 100, and the processor 10 is configured to acquire the motion state of the electronic device 100 detected by the acceleration sensor 163, determine whether the motion state corresponds to a predetermined motion state, and determine that the user views the transparent display 13 when the motion state corresponds to the predetermined motion state.
Specifically, whether the user views the translucent display 13 may be determined by detecting whether the electronic device 100 is lifted by the user. Upon detecting that the electronic device 100 is lifted, it may be determined that the user is viewing the translucent display 13. The detection of the hand-raising motion of the user may be realized by a gyroscope, an acceleration sensor 163, and the like of the electronic device 100. In general, a gyroscope can measure the rotational angular velocity of the electronic device 100 when it is deflected and tilted. The acceleration sensor 163 can capture several typical motion patterns of the electronic device 100, such as shaking, flicking, flipping, etc. The gyroscope and the acceleration sensor 163 can detect the motion state of the electronic device 100, such as picking up, shaking, etc. In this way, it is possible to determine whether or not the user has an operation to lift the electronic apparatus 100, based on the detection data of the gyroscope or the acceleration sensor 163. The specific motion data of the predetermined motion state is set according to actual conditions, and is not limited herein.
The embodiment of the invention also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors 10, cause the processors 10 to perform the method of controlling the electronic device 100 of any of the embodiments described above. For example, step S10 is executed: judging whether the electronic device is in an incoming call state or not; step S20: when the electronic device is in an incoming call state, controlling the first display area to display incoming call information; step S30: controlling the second display area to display at a lower brightness than the first display area; and step S40: and controlling the infrared sensor to be started to detect the distance from the object to the electronic device.
Referring to fig. 5, the embodiment of the invention further provides a computer device 300. The computer device 300 includes a memory 32 and a processor 10, wherein the memory 32 stores computer readable instructions, and when the instructions are executed by the processor 10, the processor 10 executes the control method of the electronic apparatus 100 according to any of the above embodiments. For example, step S10 is executed: judging whether the electronic device is in an incoming call state or not; step S20: when the electronic device is in an incoming call state, controlling the first display area to display incoming call information; step S30: controlling the second display area to display at a lower brightness than the first display area; and step S40: and controlling the infrared sensor to be started to detect the distance from the object to the electronic device.
FIG. 5 is a schematic diagram of internal modules of computer device 300, under an embodiment. As shown in fig. 5, the computer apparatus 300 includes a processor 10, a memory 32 (e.g., a nonvolatile storage medium), an internal memory 33, a light-transmitting display 13, an input device 34, an infrared sensor 161, a camera module 162, and an acceleration sensor 163, which are connected by a system bus 31. The memory 32 of the computer device 300 has stored therein an operating system and computer readable instructions. The computer readable instructions can be executed by the processor 10 to implement the control method of any one of the above embodiments. The processor 10 may be used to provide computing and control capabilities to support the operation of the overall computer device 300. The internal memory 33 of the computer device 300 provides an environment for the execution of computer readable instructions in the memory 32. The transparent display screen 13 of the computer device 300 may be an OLED display screen or a Micro LED display screen, and the input device 34 may be a touch screen covered on the transparent display screen 13, a key, a trackball or a touch pad arranged on the housing of the computer device 300, or an external keyboard, a touch pad or a mouse. The computer device 300 may be a mobile phone, a tablet computer, a notebook computer, etc. It will be appreciated by those skilled in the art that the configuration shown in fig. 5 is merely a schematic diagram of a portion of the configuration associated with the inventive arrangements and is not intended to limit the computing device 300 to which the inventive arrangements may be applied, and that a particular computing device 300 may include more or less components than those shown in fig. 5, or may combine certain components, or have a different arrangement of components.
The above disclosure provides many different embodiments, or examples, for implementing different features of the invention. The components and arrangements of the specific examples are described above to simplify the present disclosure. Of course, they are merely examples and are not intended to limit the present invention. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples, such repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. In addition, the present invention provides examples of various specific processes and materials, but one of ordinary skill in the art may recognize applications of other processes and/or uses of other materials.
In the description of the present specification, reference to the description of the terms "one embodiment", "some embodiments", "an illustrative embodiment", "an example", "a specific example", or "some examples", etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims (13)

1. A control method of an electronic device is characterized in that the electronic device comprises a light-transmitting display screen and an infrared sensor, the light-transmitting display screen is an organic light-emitting diode display screen, the light-transmitting display screen comprises a display area, the display area comprises a first display area and a second display area surrounding the first display area, the first display area and the second display area are divided according to display contents, the first display area is used for displaying incoming call information when the electronic device is in an incoming call state, the infrared sensor is arranged below the second display area, the infrared sensor is used for emitting infrared light and receiving the infrared light reflected by an object to detect the distance from the object to the electronic device, and the control method comprises the following steps:
judging whether the electronic device is in the incoming call state or not;
judging whether a user watches the light-transmitting display screen;
when the electronic device is in the incoming call state and the user watches the light-transmitting display screen, controlling the first display area to display the incoming call information;
controlling the second display area to display at a lower brightness than the first display area, and controlling the connection boundary of the first display area and the second display area to display in a gradient manner so as to realize transition from the first display area to the second display area; and
and controlling the infrared sensor to be started to detect the distance from the object to the electronic device.
2. The control method according to claim 1, wherein the step of controlling the luminance of the second display region to be lower than the luminance of the first display region comprises:
and controlling the second display area to be turned off or kept turned off.
3. The control method according to claim 1, wherein the step of controlling the luminance of the second display region to be lower than the luminance of the first display region comprises:
and controlling the second display area to display in a predetermined color, wherein the predetermined color comprises black.
4. The control method of claim 1, wherein the step of determining whether the user views the light-transmissive display screen comprises:
acquiring an environment image;
judging whether the environment image contains human eyes or not; and
determining that the user views the light-transmissive display screen when the human eye is included in the environmental image.
5. The control method of claim 1, wherein the step of determining whether the user views the light-transmissive display screen comprises:
acquiring a motion state of the electronic device;
judging whether the motion state accords with a preset motion state or not; and
and when the motion state accords with the preset motion state, determining that the user watches the light-transmitting display screen.
6. The utility model provides a controlling means for electronic device, its characterized in that, electronic device includes printing opacity display screen and infrared sensor, printing opacity display screen is organic light emitting diode display screen, printing opacity display screen includes the display area, the display area includes first display area and surrounds the second display area of first display area, first display area with the second display area is divided according to the display content, first display area is used for showing caller ID information when electronic device is in the incoming telegram state, infrared sensor sets up second display area below, infrared sensor is used for emitting infrared light and receives the infrared light that is reflected by the object in order to detect the object is to electronic device's distance, controlling means includes:
the judging module is used for judging whether the electronic device is in the incoming call state or not; and
the control module is used for controlling the first display area to display the incoming call information when the electronic device is in the incoming call state, controlling the second display area to display at a brightness lower than that of the first display area, and controlling the infrared sensor to be started to detect the distance from the object to the electronic device.
7. An electronic device, comprising:
the display device comprises a light-transmitting display screen, a first display screen and a second display screen, wherein the light-transmitting display screen is an organic light-emitting diode display screen and comprises a display area, the display area comprises a first display area and a second display area surrounding the first display area, the first display area and the second display area are divided according to display contents, and the first display area is used for displaying incoming call information when the electronic device is in an incoming call state;
an infrared sensor disposed below the second display area, the infrared sensor being configured to emit infrared light and receive infrared light reflected by an object to detect a distance from the object to the electronic device; and
the processor is used for judging whether the electronic device is in the incoming call state or not and judging whether a user watches the light-transmitting display screen or not, controlling the first display area to display the incoming call information when the electronic device is in the incoming call state and the user watches the light-transmitting display screen, controlling the second display area to display at a brightness lower than that of the first display area, and controlling the infrared sensor to be started to detect the distance from the object to the electronic device.
8. The electronic device of claim 7, wherein the processor is configured to control the second display to go out or remain going out.
9. The electronic device of claim 7, wherein the processor is to control the second display area to display in a predetermined color, the predetermined color comprising black.
10. The electronic device of claim 7, wherein the electronic device comprises a camera module for capturing an image, and the processor is configured to obtain an environmental image captured by the camera module, determine whether a human eye is included in the environmental image, and determine that the user views the transparent display screen when the human eye is included in the environmental image.
11. The electronic device of claim 7, wherein the electronic device comprises an acceleration sensor for detecting a motion state of the electronic device, and the processor is configured to obtain that the acceleration sensor detects the motion state of the electronic device, determine whether the motion state corresponds to a predetermined motion state, and determine that the user views the light-transmissive display screen when the motion state corresponds to the predetermined motion state.
12. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the control method of any one of claims 1 to 5.
13. A computer apparatus comprising a memory and a processor, the memory having stored therein computer-readable instructions that, when executed by the processor, cause the processor to perform the control method of any one of claims 1 to 5.
CN201810574213.3A 2018-06-06 2018-06-06 Control method, control device, electronic device, computer storage medium, and apparatus Active CN108848260B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810574213.3A CN108848260B (en) 2018-06-06 2018-06-06 Control method, control device, electronic device, computer storage medium, and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810574213.3A CN108848260B (en) 2018-06-06 2018-06-06 Control method, control device, electronic device, computer storage medium, and apparatus

Publications (2)

Publication Number Publication Date
CN108848260A CN108848260A (en) 2018-11-20
CN108848260B true CN108848260B (en) 2021-04-16

Family

ID=64210347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810574213.3A Active CN108848260B (en) 2018-06-06 2018-06-06 Control method, control device, electronic device, computer storage medium, and apparatus

Country Status (1)

Country Link
CN (1) CN108848260B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131345A (en) * 2016-08-29 2016-11-16 广东欧珀移动通信有限公司 The control method of a kind of proximity transducer, device and mobile terminal
CN107767835A (en) * 2017-11-22 2018-03-06 广东欧珀移动通信有限公司 Display screen component and electronic equipment
CN107948419A (en) * 2017-11-22 2018-04-20 广东欧珀移动通信有限公司 Electronic device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4661875B2 (en) * 2008-01-15 2011-03-30 ソニー株式会社 Display device and brightness adjustment method for display device
US10122847B2 (en) * 2014-07-20 2018-11-06 Google Technology Holdings LLC Electronic device and method for detecting presence and motion
CN106775246B (en) * 2016-12-19 2020-03-03 北京小米移动软件有限公司 Screen brightness adjusting method and device
CN107945733B (en) * 2017-11-22 2019-10-25 Oppo广东移动通信有限公司 Brightness of display screen method of adjustment, device, storage medium and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131345A (en) * 2016-08-29 2016-11-16 广东欧珀移动通信有限公司 The control method of a kind of proximity transducer, device and mobile terminal
CN107767835A (en) * 2017-11-22 2018-03-06 广东欧珀移动通信有限公司 Display screen component and electronic equipment
CN107948419A (en) * 2017-11-22 2018-04-20 广东欧珀移动通信有限公司 Electronic device

Also Published As

Publication number Publication date
CN108848260A (en) 2018-11-20

Similar Documents

Publication Publication Date Title
CN111486950B (en) Ambient light detection method, ambient light detection device, electronic apparatus, and storage medium
CN110809878B (en) Ambient light and proximity detection method, shooting method, terminal and computer storage medium
JP6273026B2 (en) Method and apparatus for controlling light emission
JP4087390B2 (en) Image quality improvement method of mobile communication terminal
WO2020133953A1 (en) Display panel luminance correction method and display panel luminance correction device
US20190155501A1 (en) Method for detecting ambient light intensity, storage medium and electronic device
CN108833694B (en) Control method, control device, electronic device, computer storage medium, and apparatus
CN104575445A (en) Method and apparatus for controlling screen brightness in electronic device
US10379610B2 (en) Information processing device and information processing method
US20050281475A1 (en) Method and system for reducing effects of undesired signals in an infrared imaging system
US10056021B2 (en) Method and apparatus for adjusting light-emitting pixels using light-receiving pixels
WO2010047256A1 (en) Imaging device, display image device, and electronic device
CN107566628B (en) Display module, display method thereof and terminal
CN115798365A (en) Display panel, photoelectric detection method, photoelectric detection device and computer-readable storage medium
CN111309135B (en) Photosensitive control method and photosensitive control device of display screen and display device
WO2019128270A1 (en) Fingerprint operation prompting method and display panel, and display device
US20070096935A1 (en) Method of Updating Luminance of Light Emitting Elements according to Ambient Light Intensity Sensed by Image Capturing Units of a Portable Electronic Device
CN108833695B (en) Control method, control device, electronic device, computer storage medium, and apparatus
CN109215578B (en) Screen display method and device
CN107968939B (en) Display screen processing method and device, storage medium and electronic device
JP6065477B2 (en) Image processing apparatus and program
CN108848260B (en) Control method, control device, electronic device, computer storage medium, and apparatus
TWI668995B (en) Software control system and method for increasing the lens function
CN114489410A (en) Light spot display method, electronic device and computer readable storage medium
CN108989544B (en) Control method, control device, electronic device, computer storage medium, and apparatus

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