CN108696630B - 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
CN108696630B
CN108696630B CN201810267109.XA CN201810267109A CN108696630B CN 108696630 B CN108696630 B CN 108696630B CN 201810267109 A CN201810267109 A CN 201810267109A CN 108696630 B CN108696630 B CN 108696630B
Authority
CN
China
Prior art keywords
light
electronic device
display screen
proximity sensor
transmitting display
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.)
Expired - Fee Related
Application number
CN201810267109.XA
Other languages
Chinese (zh)
Other versions
CN108696630A (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 CN201810267109.XA priority Critical patent/CN108696630B/en
Publication of CN108696630A publication Critical patent/CN108696630A/en
Application granted granted Critical
Publication of CN108696630B publication Critical patent/CN108696630B/en
Expired - Fee Related 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/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 a proximity sensor, wherein the proximity sensor is arranged below the light-transmitting display screen. The control method of the electronic device comprises the following steps: when the electronic device is in a call state, detecting whether a user watches the light-transmitting display screen; the proximity sensor is turned off when the user views the light-transmissive display screen. The invention also discloses a control device of the electronic device, a computer readable storage medium and equipment. When the electronic device is in a call state, the proximity sensor is controlled to be closed when the user is detected to watch the light-transmitting display screen. Therefore, when a user makes a call and reads characters or pictures at the same time, the situation that the proximity sensor emits infrared light to cause flicker of the light-transmitting display screen and shield the screen from the proximity sensor unintentionally can be avoided, and the user experience is improved.

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
Generally, an electronic device such as a mobile phone is provided with a proximity sensor, which can be used to detect a distance between an object outside the mobile phone and a screen of the mobile phone, and control on/off of a display screen according to the detected distance. With the development of mobile phone technology and the demand of users, a full-screen mobile phone has become a development trend of mobile phones, and in order to improve the screen occupation ratio of the mobile phone, a proximity sensor can be arranged below a display screen. During the conversation, the user may use the mobile phone to read and browse pictures. At this moment, the proximity sensor is turned on, the display screen flickers and the screen may be turned off by mistake, and the user experience is reduced.
Disclosure of Invention
The embodiment of the invention provides a control method of an electronic device, the control device, the electronic device, a computer readable storage medium and a computer device.
The invention provides a control method, which is used for an electronic device, wherein the electronic device comprises a light-transmitting display screen and a proximity sensor positioned below the light-transmitting display screen, and the proximity 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; the control method comprises the following steps:
when the electronic device is in a call state, detecting whether a user watches the light-transmitting display screen;
turning off the proximity sensor while a user views the light-transmissive display screen.
In some embodiments, the step of detecting whether the user views the light-transmissive display screen comprises:
acquiring a current image on one side opposite to the light-transmitting display screen;
identifying a face region in the current image;
judging whether the human face area comprises a human eye area or not; and
and when the human face area comprises a human eye area, determining that a user watches the light-transmitting display screen.
In some embodiments, the step of detecting whether the user views the light-transmissive display screen comprises:
when the electronic device is in a call state, detecting whether the electronic device starts a reading application program or not;
and if so, determining that the user watches the light-transmitting display screen.
In some embodiments, the step of detecting whether the user views the light-transmissive display screen comprises:
detecting a motion state of the electronic device;
and detecting whether a user watches the light-transmitting display screen according to the motion state of the electronic device.
The invention provides a control device of an electronic device, which comprises a light-transmitting display screen and a proximity sensor positioned below the light-transmitting display screen, wherein the proximity 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; the control device includes:
the detection module is used for detecting whether a user watches the light-transmitting display screen when the electronic device is in a conversation state;
and the control module is used for closing the proximity sensor when a user watches the light-transmitting display screen.
The present invention provides an electronic device, comprising:
the light-transmitting display screen comprises an upper surface and a lower surface opposite to the upper surface, and the light-transmitting display screen is used for emitting light through the upper surface to display;
the proximity sensor is positioned below the light-transmitting display screen and 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
a processor to:
when the electronic device is in a call state, detecting whether a user watches the light-transmitting display screen;
turning off the proximity sensor while a user views the light-transmissive display screen.
In certain embodiments, the processor is configured to:
acquiring a current image on one side opposite to the light-transmitting display screen;
identifying a face region in the current image;
judging whether the human face area comprises a human eye area or not; and
and when the human face area comprises a human eye area, determining that a user watches the light-transmitting display screen.
In certain embodiments, the processor is configured to:
when the electronic device is in a call state, detecting whether the electronic device starts a reading application program or not;
and if so, determining that the user watches the light-transmitting display screen.
In certain embodiments, the processor is configured to:
detecting a motion state of the electronic device;
and detecting whether a user watches the light-transmitting display screen according to the motion state of the electronic device.
In some embodiments, the electronic device further includes a first coating layer applied to the lower surface and covering the proximity sensor, the first coating layer being configured to transmit infrared light and intercept visible light, the proximity sensor being configured to transmit and/or receive infrared light through the first coating layer and the light transmissive display screen.
In some embodiments, the proximity sensor includes an emitter for emitting infrared light through the first coating layer and the light transmissive display screen and a receiver for receiving infrared light reflected by an object to detect a distance of the object from the electronic device.
In certain embodiments, an orthographic projection of the proximity sensor on the lower surface is within an orthographic projection of the first coating layer on the lower surface.
In certain embodiments, the first coating layer comprises an IR ink having a transmittance of greater than 85% for infrared light, a transmittance of less than 6% for visible light, and a wavelength of infrared light that is transparent to the IR ink is from 850nm to 940 nm.
In some embodiments, the electronic device further comprises a second coating layer coated on the lower surface and contiguous with the first coating layer.
In certain embodiments, the second coating layer comprises a black ink having a light transmittance to visible light and a light transmittance to infrared light of less than 3%.
In some embodiments, the light transmissive display screen comprises an OLED display screen.
In some embodiments, the electronic device further includes a buffer layer covering the lower surface and avoiding the proximity sensor.
In some embodiments, the electronic device further includes a metal sheet covering the buffer layer and avoiding the proximity sensor.
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 instructions are executed by the processor, the instructions cause the processor 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 apparatus according to the embodiments of the present invention, the light-transmitting display screen is used, and the proximity sensor is disposed under the light-transmitting display screen, and when the electronic device is in a call state, the proximity sensor is controlled to be turned off when it is detected that a user is watching the light-transmitting display screen. Therefore, when a user makes a call and reads characters or pictures at the same time, the situation that the proximity sensor emits infrared light to cause flicker of the light-transmitting display screen and shield the screen from the proximity sensor unintentionally can be avoided, and the user experience is improved.
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 flow chart of a control method according to certain embodiments of the present invention;
FIG. 2 is a block schematic diagram of a control device according to certain embodiments of the present invention;
FIG. 3 is a schematic cross-sectional view of an electronic device according to some embodiments of the invention;
FIG. 4 is a schematic plan view of an electronic device according to some embodiments of the invention;
FIG. 5 is a schematic diagram of a scenario in accordance with some embodiments of the present invention;
FIG. 6 is a schematic flow chart of a control method according to certain embodiments of the present invention;
FIG. 7 is a block diagram of a control device of an electronic device according to some embodiments of the present invention;
FIG. 8 is a schematic diagram of a scenario in accordance with some embodiments of the present invention;
FIG. 9 is a schematic flow chart of a control method according to certain embodiments of the present invention;
FIG. 10 is a block schematic diagram of a control device of an electronic device according to some embodiments of the invention;
FIG. 11 is a schematic diagram of a scenario in accordance with some embodiments of the present invention;
FIG. 12 is a flow chart illustrating a method for controlling an electronic device according to some embodiments of the invention;
fig. 13-15 are cross-sectional schematic views of electronic devices according to some embodiments of the invention;
FIG. 16 is a block diagram of a computer device in accordance with certain embodiments of the invention.
Description of the main element symbols: the touch panel comprises an electronic device 100, a light-transmitting cover plate 11, a light-transmitting touch panel 12, a light-transmitting display screen 13, a first coating layer 14, a second coating layer 15, a proximity sensor 16, a processor 17, a buffer layer 18, a metal sheet 19, an upper surface 131, a lower surface 132, a transmitter 161, a receiver 162, a control device 20 and an image acquisition device 30.
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.
Referring to fig. 1 and fig. 3 together, 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 a proximity sensor 16, the proximity sensor 16 being disposed below the light-transmissive display 13, the proximity sensor 16 being configured to emit infrared light and receive the infrared light emitted by an object to detect a distance of the object from the electronic device 100. The control method comprises the following steps:
01: when the electronic device is in a call state, detecting whether a user watches the light-transmitting display screen;
02: the proximity sensor is turned off when the user views the light-transmissive display screen.
Referring to fig. 2, the embodiment of the invention further provides a control device 20 of the 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 20 according to the embodiment of the present invention. The control device 20 includes a detection module 21 and a control module 22. Step 01 may be implemented by the detection module 21 and step 02 may be implemented by the control module 22. That is, the detecting module 21 is used for detecting whether the user views the transparent display 13 when the electronic device 100 is in a call. The control module 22 is used to turn off the proximity sensor 16 when the user views the light transmissive display 13.
Referring to fig. 3 and fig. 4, an electronic device 100 is further provided according to an embodiment of the invention. The electronic device 100 includes a light transmissive display 13, a proximity sensor 16 and a processor 17. The light-transmitting display 13 includes an upper surface 131 and a lower surface 132, the lower surface 132 is opposite to the upper surface 131, and the light-transmitting display 13 emits light through the upper surface 131 for displaying. A proximity sensor 16 is disposed below the light-transmissive display 13, and the proximity sensor 16 is used to emit infrared light and receive infrared light emitted by an object to detect a distance from the object to the electronic device 100. Steps 01 and 02 may be implemented by the processor 17. That is, the processor 17 is configured to detect whether the user views the transmissive display 13 when the electronic device 100 is in a call state and to turn off the proximity sensor 16 when the user views the transmissive display 13.
Specifically, in the embodiment of the present invention, the control device 20 may be applied to a computer device, where the computer device may be a mobile phone, a tablet computer, a notebook computer, or the like, and the electronic device 100 according to the embodiment of the present invention may also be one of the computer devices.
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 a proximity sensor to determine the distance between the mobile phone and the obstacle and make corresponding adjustment, so that misoperation of a user can be prevented, and the power of the mobile phone can be saved. When a user answers or calls a call and brings the mobile phone close to the head, the proximity sensor generates detection information by calculating the time for the emitter to emit infrared light and the receiver to receive reflected infrared light, and the processor sends a corresponding instruction to control the transparent display screen to be closed according to the detection information. When the mobile phone is far away from the head, the processor calculates and sends out an instruction according to the detection information fed back by the proximity sensor again, and the transparent display screen is controlled to be opened again.
With the development of mobile terminals, a full screen is a new development trend, generally, a proximity sensor is disposed at the top of a screen display area, and in order to increase the screen occupation ratio of a mobile phone, the proximity sensor needs to be disposed below the display area of the display screen. However, infrared light emitted from the proximity sensor may be irradiated on the TFT of the display panel, and under the irradiation of the infrared light, electrons of some substances inside the TFT may be excited by photons to form a current. The infrared light pulse emitted by the proximity sensor can cause the display screen to flicker.
Typically, during a call, the proximity sensor will be on. However, if the user needs to use the electronic device to perform operations such as note recording or web browsing during a call, the infrared light emitted by the proximity sensor may cause the display screen to blink and may cause a screen to be touched by mistake due to inadvertent shielding.
Referring to fig. 5, in the control method according to the embodiment of the invention, when the electronic device 100 is in a call state, whether to turn off the proximity sensor 16 is determined by detecting whether the user views the transparent display 13. When it is detected that the user is looking at the light-transmissive display 13, for example, for notes, reading, etc., the proximity sensor 16 is turned off. Therefore, the situation that the light-transmitting display 13 flickers to reduce user experience caused by the proximity sensor 16 when a user uses the electronic device 100 to perform other operations such as note recording or web browsing during a call can be avoided.
It should be noted that the above-mentioned call state may be a process of making or receiving a call, or a call process through a voice application.
Referring to fig. 6, in some embodiments, step 01 includes the steps of:
011: acquiring a current image on one side opposite to the light-transmitting display screen;
012: identifying a face region in a current image;
013: judging whether the human face area comprises a human eye area or not; and
014: and when the human face area comprises the human eye area, determining that the user watches the light-transmitting display screen.
Referring to fig. 7, in some embodiments, the detection module 21 includes an obtaining unit 211, a recognition unit 212, a determining unit 213, and a determining unit 214. The obtaining unit 211 is configured to implement step 011. The identification unit 212 is used to implement step 012. The judging unit 213 is configured to implement step 013. Determination unit 214 is configured to implement step 014. That is, the acquisition unit 211 is configured to acquire a current image on the side opposite to the translucent display 13. The recognition unit 212 is used for recognizing a face region in the current image. The determination unit 213 is configured to determine whether the face region includes human eyes. The determination unit 214 is configured to determine that the user views the transparent display 13 when the face area includes the eye area.
Referring to fig. 4 and 8, in some embodiments, the electronic device 100 further includes an image capturing device 30. The image capturing device 30 is used to capture an image of the side opposite the light transmissive display 13. Processor 17 of electronic device 100 is configured to implement step 011, step 012, step 013, and step 014. That is, the processor 17 is configured to: first, an image of the side opposite to the light-transmissive display 13 acquired by the image acquisition device 30 is acquired. Then, a face region in the current image is identified. Subsequently, it is determined whether the face region includes a human eye region. Finally, when the face region includes the eye region, it is determined that the user views the translucent display 13.
Specifically, during the call, the image capturing device 30 is turned on in the background to capture the image of the user. The processor 17 then acquires the acquired image and identifies the face region in the image. Subsequently, it is determined whether the face region includes a human eye region. Referring to fig. 8, when the face area includes the eye area, it indicates that the user is looking at the transparent display 13. It can be determined that the user is using the electronic device 100 to perform reading, picture browsing, web browsing, and other functions. At this time, turning off the proximity sensor 16 can avoid causing the translucent display 13 to flicker or causing a false screen-off due to an inadvertent occlusion by the user. It is understood that when the face region is not recognized or the eye region does not exist in the face region, it may be judged that the user does not intend to view the light-transmitting display 13.
The detection of the face may be performed based on a preset face template, color, and the like, and when the face exists in the recognition scene, the part connected with the face may be continuously determined to be the portrait area, and the specific implementation manner is not limited herein. The determination of the portrait may also be performed, for example, by matching with a portrait template. It is understood that the identification of the face region may also be to identify whether there are consecutive color patches and then identify the contour to determine the face and the human eye region.
The image capture device 30 may be a visible light camera, such as a front facing camera of the electronic device 100. It is understood that the image capture device 30 is disposed in front of the electronic device 100 and faces the user. The image capture device 30 may capture an RGB image of the current image at which the user is located. The image capturing device 30 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, and the depth of the eyes may be larger. The number of the image capturing devices 30 may be plural, for example, two visible light cameras.
Referring to fig. 9, in some embodiments, step 01 includes the steps of:
015: when the electronic device is in a call state, detecting whether the electronic device starts a reading application program or not;
016: and when the electronic device is detected to start the reading application program, determining that the user watches the light-transmitting display screen.
Referring to fig. 10, in some embodiments, the detection module 21 includes a detection unit 215 and a determination unit 214. Step 015 may be implemented by the detection unit 215. Step 016 may be implemented by the determining unit 214. That is, the detecting unit 215 is used for detecting whether the electronic device 100 starts the reading application when the electronic device 100 is in the call state. The determining unit 214 is configured to determine that the user is watching the transparent display 13 when the electronic device is detected to start the reading application.
Referring to fig. 4, in some embodiments, processor 17 is configured to implement steps 015 and 016. That is, the processor 17 is configured to detect whether the electronic device 100 starts a reading application when the electronic device 100 is in a call state, and determine that the user is viewing the transparent display 13 at the time when the electronic device 100 is detected to start the reading application.
Specifically, referring to fig. 11, it can be determined whether the reading application is started by detecting whether the user touches the reading application icon on the transparent display 13, for example, clicking a browser application icon. If a touch input is detected, it indicates that the user is opening a reading-type application. It is understood that the reading-type application includes reading software, picture browsing software, web browsing software, and the like.
Referring to fig. 12, in some embodiments, step 01 includes the steps of:
017: detecting a motion state of the electronic device;
018: and detecting whether the user watches the light-transmitting display screen according to the motion state of the electronic device.
Referring to fig. 10, step 017 may be performed by the detecting unit 215. Step 018 may be performed by the determining unit 214. That is, the detecting unit 215 may be used to detect the motion state of the electronic device 100. The determination unit 214 may be configured to detect whether the user views the transmissive display 13 according to the motion state of the electronic device 100.
Referring to fig. 4, in certain embodiments, processor 17 may be configured to implement steps 017 and 018. That is, the processor 17 may be used to detect a motion state of the electronic device 100 and detect whether the user views the transmissive display 13 according to the motion state of the electronic device 100.
Specifically, during a call, the user brings the electronic device 100 close to the ear in order to receive the call. When the user wants to use the memo software of the electronic device 100 to record the call content or read and view the pictures, the user takes the electronic device 100 away from the ear and faces the user. In this process, the motion state of the electronic device 100 may change. In this way, it can be determined whether the user will view the light-transmissive display 13 by detecting the motion state of the electronic device 100. Detecting the motion of the electronic device 100 may be implemented by a gyroscope, an acceleration sensor, or the like of the electronic device 100. In general, a gyroscope measures rotational angular velocity of the electronic device 100 when it is deflected and tilted. The gyroscope can detect and sense the linearity and motion of a 3D space, and thus can recognize a direction, determine a posture, and calculate an angular velocity. The acceleration sensor is a sensor which can sense acceleration and convert the acceleration into a usable output signal, and can capture several typical motion modes of the mobile phone, such as shaking, shaking and overturning and the like. The gyroscope and the acceleration sensor can detect the state of the electronic device 100, such as picking up, shaking, etc. Therefore, whether the user takes the electronic device 100 off the ear can be accurately judged according to the detection data of the gyroscope and the acceleration sensor.
Referring to fig. 13, in some embodiments, the electronic device 100 further includes a first coating layer 14. The first coating layer 14 is applied to the lower surface 132 and covers the proximity sensor 16. The first coating layer 14 is for transmitting infrared light and intercepting visible light, and the proximity sensor 16 is for emitting and/or receiving infrared light through the first coating layer 14 and the light transmissive display 13. The proximity sensor 16 may be disposed anywhere below the lower surface 132. The first coating layer 14 may be an IR ink, and since the IR ink has a characteristic of low transmittance to visible light, the proximity sensor 16 disposed under the first coating layer 14 may not be perceived based on the vision of human eyes when the electronic device 100 is viewed from the outside. Meanwhile, the IR ink has a characteristic of high transmittance to infrared light, so that the proximity sensor 16 can stably emit and receive infrared light, thereby ensuring normal operation of the proximity sensor 16.
In some embodiments, the proximity sensor 16 includes an emitter 161 and a receiver 162, the emitter 161 for emitting infrared light through the first coating layer 14 and the light transmissive display 13, the receiver 162 for receiving the infrared light emitted through the object to detect the distance of the object from the electronic device 100.
Specifically, when the user is answering or making a call, the electronic device 100 is close to the head, the emitter 161 emits infrared light, the receiver 162 receives reflected infrared light, the processor 17 calculates the time from emission to reflection of infrared light, and then sends a corresponding instruction to control the screen to be off, and when the electronic device 100 is far away from the head, the processor 17 calculates again according to the data fed back and sends an instruction to re-light the screen. Therefore, misoperation of the user is prevented, and the electric quantity of the mobile phone is saved.
In the above embodiment, the orthographic projection of the proximity sensor 16 on the lower surface 132 is located within the orthographic projection of the first coating layer 14 on the lower surface 132.
Specifically, in the process of process assembly, an assembly gap is usually required to be reserved for the installation of the proximity sensor 16, so that a gap occurs between the proximity sensor 16 and other elements, visible light enters from the gap, and a light leakage phenomenon occurs. Therefore, in the direction in which the proximity sensor 16 and the light-transmitting display 13 are stacked, the area of the orthographic projection of the first coating layer 14 on the lower surface 132 is larger than the area of the orthographic projection of the proximity sensor 16 on the lower surface 132, so that the proximity sensor 16 can be sufficiently shielded by the first coating layer 14 without affecting the normal operation of the proximity sensor 16, and the effect that the proximity sensor 16 is invisible when the electronic device 100 is viewed from the outside can be achieved.
In the above embodiment, the first coating layer 14 includes an IR ink having a transmittance of greater than 85% for infrared light and a transmittance of less than 6% for visible light, and the IR ink transmits infrared light having a wavelength of 850nm to 940 nm.
Specifically, since the IR ink has a characteristic of low transmittance to visible light, the proximity sensor 16 disposed under the first coating layer 14 is not observed based on the visual sense of human eyes when the electronic device 100 is viewed from the outside. Meanwhile, the IR ink has a characteristic of high transmittance to infrared light, so that the proximity sensor 16 can stably emit and receive infrared light, thereby ensuring normal operation of the proximity sensor 16.
Referring to fig. 14, in some embodiments, the electronic device 100 further includes a second coating layer 15 coated on the bottom surface 132 and connected to the first coating layer 14.
Specifically, the first coating layer 14 is mainly used for transmitting infrared light and blocking the proximity sensor 16, but since the cost of the IR ink used for the first coating layer 14 is higher than that of the ordinary black ink, it is not favorable to reduce the production cost if the lower surface 132 is entirely coated with the IR ink, and the ordinary black ink can achieve lower transmittance of visible light than the IR ink and more excellent blocking effect. Therefore, the second coating layer 15 is arranged, so that the production cost is reduced, and the shielding effect meets the process requirement.
In certain embodiments, the second coating layer 15 includes a black ink having a transmittance to visible light and a transmittance to infrared light of less than 3%.
Specifically, on one hand, the black ink has lower light transmittance to visible light and more obvious shielding effect compared with the IR ink, and meets the process requirements better. On the other hand, the black ink has lower cost than the IR ink, which is beneficial to reducing the production cost.
In some embodiments, the light transmissive display 13 comprises an OLED display.
In particular, an Organic Light-Emitting Diode (OLED) display screen has good Light transmittance and can pass visible Light and infrared Light. Therefore, the OLED display screen does not affect the emission and reception of infrared light by the proximity sensor 16 in the case of exhibiting the content effect. The light-transmitting display screen 13 may also be a Micro LED display screen, and the Micro LED display screen also has good light transmittance for visible light and infrared light. Of course, these display screens are merely exemplary and embodiments of the present invention are not limited in this respect.
Referring to fig. 14, in some embodiments, the electronic device 100 further includes a light-transmissive cover 11 and a light-transmissive touch panel 12. The light-transmitting cover plate 11 is formed on the light-transmitting touch panel 12, the light-transmitting touch panel 12 is disposed on the light-transmitting display screen 13, the upper surface 131 of the light-transmitting display screen 13 faces the light-transmitting touch panel 12, and the light-transmitting cover plate 11 and the light-transmitting touch panel 12 have a visible light transmittance and an infrared light transmittance greater than 90%.
Specifically, the light-transmitting touch panel 12 is mainly used for receiving an input signal generated when a user touches the light-transmitting touch panel 12 and transmitting the input signal to the circuit board for data processing, so as to obtain a specific position where the user touches the light-transmitting touch panel 12. The light-transmitting touch panel 12 and the light-transmitting display screen 13 can be attached by adopting an In-Cell or On-Cell attaching technology, so that the weight of the display screen can be effectively reduced, and the overall thickness of the display screen can be reduced. In addition, the transparent cover 11 is disposed on the transparent touch panel 12, so as to effectively protect the transparent touch panel 12 and the internal structure thereof, and prevent the transparent touch panel 12 and the transparent display 13 from being damaged by external force. The light transmittance of the light-transmitting cover plate 11 and the light-transmitting touch panel 12 to visible light and infrared light is greater than 90%, which is not only beneficial to the light-transmitting display screen 13 to better display the content effect, but also beneficial to the proximity sensor 16 arranged below the light-transmitting display screen 13 to stably emit and receive infrared light, and ensures the normal work of the proximity sensor 16.
Referring to FIG. 14, in some embodiments, electronic device 100 further includes a buffer layer 18 covering lower surface 132 and avoiding proximity sensor 16.
Specifically, the buffer layer 18 is used to buffer impact and prevent shock so as to protect the light-transmitting touch panel 12, the light-transmitting display screen 13 and the internal structure thereof, and prevent the display screen from being damaged due to external impact. Cushioning layer 18 may be made of foam or rubber or other soft material. Of course, these cushioning materials are merely exemplary and embodiments of the present invention are not limited in this respect. Furthermore, avoiding the proximity sensor 16 during the placement of the buffer layer 18 may prevent the buffer layer 18 from obscuring the proximity sensor 16, thereby preventing the proximity sensor 16 from being affected during the emission and reception of infrared light.
Referring to FIG. 15, in such an embodiment, electronic device 100 further includes a metal sheet 19 covering buffer layer 18 and avoiding proximity sensor 16.
Specifically, the metal sheet 19 is used for shielding electromagnetic interference and grounding, and has a function of diffusing temperature rise. The metal sheet 19 may be cut out of a metal material such as copper foil or aluminum foil. Of course, these metal materials are merely exemplary and embodiments of the present invention are not limited thereto. Furthermore, avoiding the proximity sensor 16 during the process of disposing the metal sheet 19 can prevent the metal sheet 19 from shielding the proximity sensor 16, thereby avoiding the proximity sensor 16 from being affected during the process of emitting and receiving infrared light.
In the above embodiment, the electronic device 100 further includes a housing. The shell is used for receiving the elements for protection. By providing a housing enclosing the components and the assembly, direct damage to these components by external factors is avoided. The housing may be formed by CNC machining of an aluminium alloy, or may be injection moulded from Polycarbonate (PC) or PC + ABS material.
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 the one or more processors 17, cause the processors 17 to perform the method of controlling the electronic device 100 of any of the embodiments described above. For example, step 01 is performed: when the electronic device is in a call state, detecting whether a user watches the light-transmitting display screen; step 02: the proximity sensor is turned off when the user views the light-transmissive display screen.
Referring to fig. 16, the embodiment of the invention further provides a computer device 200. The computer device 200 includes a memory 40 and a processor 17, the memory 40 stores computer readable instructions, and when the instructions are executed by the processor 17, the processor 17 executes the control method of the electronic apparatus 100 according to any of the above embodiments, for example, execute step 01: when the electronic device is in a call state, detecting whether a user watches the light-transmitting display screen; step 02: the proximity sensor is turned off when the user views the light-transmissive display screen. FIG. 16 is a schematic diagram of internal modules of computer device 200, under an embodiment. As shown in fig. 16, the computer apparatus 200 includes a processor 17, a memory 40 (e.g., a nonvolatile storage medium), an internal memory 50, a display screen 60, and an input device 70, which are connected by a system bus 80. The memory 40 of the computer device 200 has stored therein an operating system and computer readable instructions. The computer readable instructions can be executed by the processor 17 to implement the control method according to any one of the above embodiments. The processor 17 may be used to provide computing and control capabilities to support the operation of the overall computer device 200. The internal memory 50 of the computer device 200 provides an environment for the execution of computer readable instructions in the memory 40. The display screen 60 of the computer device 200 may be an OLED display screen, and the input device 70 may be a touch layer covered on the display screen 60, a key, a track ball or a touch pad arranged on a housing of the computer device 200, or an external keyboard, a touch pad or a mouse. The computer device 200 may be a mobile phone, a tablet computer, a notebook computer, etc. It will be understood by those skilled in the art that the configuration shown in fig. 16 is merely a schematic diagram of a portion of the configuration associated with the inventive arrangements and does not constitute a limitation on the computer device 200 to which the inventive arrangements may be applied, and that a particular computer device 200 may include more or less components than those shown in fig. 16, or may combine certain components, or have a different arrangement of components.
In the present invention, unless otherwise expressly stated or limited, "above" or "below" a first feature means that the first and second features are in direct contact, or that the first and second features are not in direct contact but are in contact with each other via another feature therebetween. Also, the first feature being "on," "above" and "over" the second feature includes the first feature being directly on and obliquely above the second feature, or merely indicating that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature includes the first feature being directly under and obliquely below the second feature, or simply meaning that the first feature is at a lesser elevation than the second feature.
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 invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", and the like, indicate orientations and positional relationships based on those shown in the drawings, and are used only for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be considered as limiting the present invention. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
In the description of the present invention, it should be noted that the terms "mounted," "connected," and "connected" are to be construed broadly and may be, for example, fixedly connected, detachably connected, or integrally connected unless otherwise explicitly stated or limited. Either mechanically or electrically. Either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
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 (14)

1. A control method is used for an electronic device, and the electronic device comprises a light-transmitting display screen and a proximity sensor positioned below the light-transmitting display screen, wherein the proximity sensor is used for transmitting infrared light through a first coating layer and the light-transmitting display screen and receiving the infrared light reflected by an object so as to detect the distance from the object to the electronic device; the control method comprises the following steps:
when the electronic device is in a call state, detecting whether a user watches the light-transmitting display screen;
when a user watches the light-transmitting display screen, the proximity sensor is closed so as to avoid the light-transmitting display screen from flickering caused by infrared light emitted by the proximity sensor and screen from being extinguished due to the proximity sensor being shielded unintentionally;
the step of detecting whether the user views the light-transmitting display screen comprises:
acquiring a current image on one side opposite to the light-transmitting display screen;
identifying a face region in the current image;
judging whether the human face area comprises a human eye area or not; and
when the face area comprises a human eye area, determining that a user watches the light-transmitting display screen;
alternatively, the first and second electrodes may be,
when the electronic device is in a call state, detecting whether the electronic device starts a reading application program or not;
when the electronic device is detected to start a reading application program, determining that a user watches the light-transmitting display screen;
alternatively, the first and second electrodes may be,
detecting a motion state of the electronic device;
and detecting whether a user watches the light-transmitting display screen according to the motion state of the electronic device.
2. A control device is used for an electronic device and is characterized by comprising a light-transmitting display screen and a proximity sensor positioned below the light-transmitting display screen, wherein the proximity sensor is used for transmitting infrared light through a first coating layer and the light-transmitting display screen and receiving the infrared light reflected by an object so as to detect the distance from the object to the electronic device; the control device includes:
the detection module is used for detecting whether a user watches the light-transmitting display screen when the electronic device is in a conversation state;
the control module is used for closing the proximity sensor when a user watches the light-transmitting display screen so as to avoid flicker of the light-transmitting display screen caused by infrared light emitted by the proximity sensor and screen turn-off caused by inadvertent shielding of the proximity sensor;
wherein said detecting whether a user views said light-transmissive display screen comprises:
acquiring a current image on one side opposite to the light-transmitting display screen;
identifying a face region in the current image;
judging whether the human face area comprises a human eye area or not; and
when the face area comprises a human eye area, determining that a user watches the light-transmitting display screen;
alternatively, the first and second electrodes may be,
when the electronic device is in a call state, detecting whether the electronic device starts a reading application program or not;
when the electronic device is detected to start a reading application program, determining that a user watches the light-transmitting display screen;
alternatively, the first and second electrodes may be,
detecting a motion state of the electronic device;
and detecting whether a user watches the light-transmitting display screen according to the motion state of the electronic device.
3. An electronic device, comprising:
the light-transmitting display screen comprises an upper surface and a lower surface opposite to the upper surface, and the light-transmitting display screen is used for emitting light through the upper surface to display;
the proximity sensor is positioned below the light-transmitting display screen and used for transmitting infrared light through the first coating layer and the light-transmitting display screen and receiving the infrared light reflected by the object so as to detect the distance from the object to the electronic device; and
a processor to:
when the electronic device is in a call state, detecting whether a user watches the light-transmitting display screen;
turning off the proximity sensor while a user views the light-transmissive display screen;
wherein said detecting whether a user views said light-transmissive display screen comprises:
acquiring a current image on one side opposite to the light-transmitting display screen;
identifying a face region in the current image;
judging whether the human face area comprises a human eye area or not; and
when the face area comprises a human eye area, determining that a user watches the light-transmitting display screen;
alternatively, the first and second electrodes may be,
when the electronic device is in a call state, detecting whether the electronic device starts a reading application program or not;
when the electronic device is detected to start a reading application program, determining that a user watches the light-transmitting display screen;
alternatively, the first and second electrodes may be,
detecting a motion state of the electronic device;
and detecting whether a user watches the light-transmitting display screen according to the motion state of the electronic device.
4. The electronic device of claim 3, further comprising a first coating layer applied to the bottom surface and covering the proximity sensor, the first coating layer configured to transmit infrared light and intercept visible light, the proximity sensor configured to transmit and/or receive infrared light through the first coating layer and the light transmissive display screen.
5. The electronic device of claim 4, wherein the proximity sensor comprises an emitter for emitting infrared light through the first coating layer and the light transmissive display screen and a receiver for receiving infrared light reflected by an object to detect a distance of the object from the electronic device.
6. The electronic device of claim 4, wherein an orthographic projection of the proximity sensor on the lower surface is within an orthographic projection of the first coating layer on the lower surface.
7. The electronic device of claim 4, wherein the first coating layer comprises an IR ink having a transmittance of greater than 85% for infrared light and a transmittance of less than 6% for visible light, the IR ink transmitting infrared light at a wavelength of 850nm to 940 nm.
8. The electronic device of claim 4, further comprising a second coating layer applied to the bottom surface and contiguous with the first coating layer.
9. The electronic device of claim 8, wherein the second coating layer comprises a black ink having a transmittance of less than 3% for visible light and a transmittance of less than 3% for infrared light.
10. The electronic device of claim 3, wherein the light transmissive display screen comprises an OLED display screen.
11. The electronic device of claim 3, further comprising a buffer layer covering the lower surface and avoiding the proximity sensor.
12. The electronic device of claim 11, further comprising a metal sheet covering the buffer layer and avoiding the proximity sensor.
13. 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 claim 1.
14. A computer device 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 claim 1.
CN201810267109.XA 2018-03-28 2018-03-28 Control method, control device, electronic device, computer storage medium, and apparatus Expired - Fee Related CN108696630B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810267109.XA CN108696630B (en) 2018-03-28 2018-03-28 Control method, control device, electronic device, computer storage medium, and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810267109.XA CN108696630B (en) 2018-03-28 2018-03-28 Control method, control device, electronic device, computer storage medium, and apparatus

Publications (2)

Publication Number Publication Date
CN108696630A CN108696630A (en) 2018-10-23
CN108696630B true CN108696630B (en) 2020-06-26

Family

ID=63844349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810267109.XA Expired - Fee Related CN108696630B (en) 2018-03-28 2018-03-28 Control method, control device, electronic device, computer storage medium, and apparatus

Country Status (1)

Country Link
CN (1) CN108696630B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369142A (en) * 2013-07-09 2013-10-23 广东欧珀移动通信有限公司 Method and system for avoiding call-up malfunction
CN103383595A (en) * 2012-05-02 2013-11-06 三星电子株式会社 Apparatus and method of controlling mobile terminal based on analysis of user's face
CN107767835A (en) * 2017-11-22 2018-03-06 广东欧珀移动通信有限公司 Display screen component and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060274B (en) * 2016-07-14 2019-08-30 Oppo广东移动通信有限公司 A kind of report method, device and the mobile terminal of ambient light sensor data
CN107330415A (en) * 2017-07-10 2017-11-07 广东欧珀移动通信有限公司 Electronic installation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103383595A (en) * 2012-05-02 2013-11-06 三星电子株式会社 Apparatus and method of controlling mobile terminal based on analysis of user's face
CN103369142A (en) * 2013-07-09 2013-10-23 广东欧珀移动通信有限公司 Method and system for avoiding call-up malfunction
CN107767835A (en) * 2017-11-22 2018-03-06 广东欧珀移动通信有限公司 Display screen component and electronic equipment

Also Published As

Publication number Publication date
CN108696630A (en) 2018-10-23

Similar Documents

Publication Publication Date Title
CN108521480B (en) Control method, control device, electronic device, computer storage medium, and apparatus
EP3544268B1 (en) Electronic device and manufacturing method for an electronic device
US10560568B2 (en) Control method, control device and electronic device
CN110581904B (en) Control method, control device, electronic device, and storage medium
CN108534891B (en) Optical sensor, electronic device and manufacturing method thereof
CN108494909B (en) Electronic device and manufacturing method
CN108848259B (en) Control method, control device, electronic device, computer storage medium, and apparatus
CN109040417B (en) Control method, control device, electronic device, storage medium, and computer apparatus
CN107979663B (en) Sensor assembly, display screen assembly and electronic equipment
EP3562131A1 (en) Display screen state control method and apparatus, storage medium, and electronic device
CN108461044B (en) Electronic device and method for manufacturing the same
CN108810195B (en) Electronic device and method for manufacturing the same
CN108512960B (en) Electronic device and method for manufacturing the same
CN108769354B (en) Control method, control device, electronic device, storage medium, and computer apparatus
CN111984155B (en) Electronic device and method for manufacturing the same
CN108600418B (en) Electronic device and method for manufacturing the same
CN108718349B (en) Control method, control device, electronic device, storage medium, and computer apparatus
CN108833615B (en) Electronic device
CN108803947B (en) Control method, control device, electronic device, computer storage medium, and apparatus
CN108924278B (en) Electronic device and method for manufacturing the same
CN108683751B (en) Control method, control device, electronic device, computer storage medium and equipment
CN108989490B (en) Control method, control device, electronic device, storage medium, and computer apparatus
CN109710109B (en) Control method, control device, electronic device, and storage medium
CN108696630B (en) Control method, control device, electronic device, computer storage medium, and apparatus
CN109710119B (en) Control method, control device, electronic device, and storage medium

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

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200626

CF01 Termination of patent right due to non-payment of annual fee