CN108989489B - 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
CN108989489B
CN108989489B CN201810573853.2A CN201810573853A CN108989489B CN 108989489 B CN108989489 B CN 108989489B CN 201810573853 A CN201810573853 A CN 201810573853A CN 108989489 B CN108989489 B CN 108989489B
Authority
CN
China
Prior art keywords
electronic device
light
display screen
infrared sensor
sound
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
CN201810573853.2A
Other languages
Chinese (zh)
Other versions
CN108989489A (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 CN201810573853.2A priority Critical patent/CN108989489B/en
Publication of CN108989489A publication Critical patent/CN108989489A/en
Application granted granted Critical
Publication of CN108989489B publication Critical patent/CN108989489B/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/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a control method of an electronic device. The electronic device comprises a light-transmitting display screen and an infrared sensor, wherein the infrared sensor is arranged below the light-transmitting display screen. The control method of the electronic device comprises the steps of judging whether the electronic device is in a call state; when the electronic device is in a call state, judging whether a microphone of the electronic device receives sound; when the microphone receives sound, the light-transmitting display screen is controlled to be turned off, and the infrared sensor is controlled to be turned on so as to detect the distance between an object and the electronic device. Like this, whether receive sound through detecting the microphone and control printing opacity display screen and extinguish and control infrared sensor and open with the distance that detects object and electron device, can avoid sending the infrared light and arousing printing opacity display screen scintillation from the in-process infrared sensor that the switch-on or dial out the conversation to be close to the people's ear and answer the conversation to improve user experience. The invention also discloses a control device of the electronic device, a computer readable storage medium and equipment.

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
At present, the comprehensive screen becomes the development trend of cell-phone, account for the ratio in order to improve the screen of cell-phone, need set up the infrared sensor setting at cell-phone screen top originally in the display screen below, then, because infrared sensor detects the distance of cell-phone external object and cell-phone at the transmission infrared that the during operation is interrupted, the infrared light makes the components and parts in the display screen take place the electromigration easily, causes the local scintillation phenomenon of display screen, and user experience is relatively poor.
Disclosure of Invention
To solve the above technical problem, 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 infrared sensor is arranged below the light-transmitting display screen, 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 a call state;
when the electronic device is in a call state, judging whether a microphone of the electronic device receives sound;
when the microphone receives sound, the light-transmitting display screen is controlled to be turned off; and
and controlling the infrared sensor to be started to detect the distance between the object and the electronic device.
The invention provides a control device of an electronic device, the electronic device comprises a light-transmitting display screen and an infrared sensor, the infrared sensor is arranged below the light-transmitting display screen, 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 device also comprises:
the judging module is used for judging whether the electronic device is in a call state or not and judging whether a microphone of the electronic device receives sound or not when the electronic device is in the call state; and
and the control module is used for controlling the light-transmitting display screen to be turned off and controlling the infrared sensor to be turned on so as to detect the distance between an object and the electronic device when the microphone receives sound.
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;
an infrared sensor for emitting infrared light and receiving infrared light reflected by an object to detect a distance of the object to the electronic device; and
a processor to:
judging whether the electronic device is in a call state;
when the electronic device is in a call state, judging whether a microphone of the electronic device receives sound;
when the microphone receives sound, the light-transmitting display screen is controlled to be turned off; and
and controlling the infrared sensor to be started to detect the distance between the object and the electronic device.
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, a light-transmitting display screen is used, and the infrared sensor is disposed below the light-transmitting display screen. Whether a microphone of the electronic device receives sound is detected when the electronic device is in a call state, and when the microphone receives the sound, the light-transmitting display screen is controlled to be turned off and the infrared sensor is controlled to be turned on so as to detect the distance between an object and the electronic device. Therefore, the infrared sensor can be prevented from emitting infrared light to cause the light-transmitting display screen to flicker in the process from the connection or the dialing of the call to the call answering by the ear of a person, 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 an embodiment of the present invention;
FIG. 2 is a block schematic diagram of a control device according to an embodiment of the present invention;
FIG. 3 is a schematic cross-sectional view of an electronic device according to an embodiment of the invention;
FIG. 4 is a schematic plan view of an electronic device according to an embodiment of the invention;
FIG. 5 is a schematic view of a scenario of an electronic device according to an embodiment of the invention;
FIG. 6 is a schematic view of another scenario of an electronic device according to an embodiment of the present invention;
FIG. 7 is a schematic view of another scenario of an electronic device according to an embodiment of the present invention;
FIG. 8 is another schematic flow chart diagram of a control method according to an embodiment of the present invention;
FIG. 9 is a further schematic flow chart diagram of the control method of an embodiment of the present invention;
FIG. 10 is another block schematic diagram of a control device according to an embodiment of the present invention;
FIG. 11 is a further flowchart of the control method according to the embodiment of the present invention;
FIG. 12 is another schematic cross-sectional view of an electronic device according to an embodiment of the invention;
FIG. 13 is a further schematic cross-sectional view of an electronic device in accordance with an embodiment of the invention;
FIG. 14 is a schematic cross-sectional view of an electronic device according to an embodiment of the invention;
FIG. 15 is a block diagram of a computer device according to an embodiment of the present invention.
Description of the main element symbols: the touch screen 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, an infrared sensor 16, a processor 17, a buffer layer 18, a metal sheet 19, an upper surface 131, a lower surface 132, a predetermined area 133, a transmitter 161, a receiver 162, a control device 20, a judgment module 21, a control module 22 and a microphone 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.
The proximity detection method, the proximity detection apparatus 20, the electronic apparatus 100, the computer-readable storage medium, and the computer device 200 according to the embodiment of the present invention are described in detail below with reference to fig. 1 to 15.
Referring to fig. 1 to 4, a control method of an electronic device 100 is provided in an embodiment of the invention. The electronic device 100 includes a light-transmissive display 13 and an infrared sensor 16, the infrared sensor 16 being disposed below the light-transmissive display 13, the infrared sensor 16 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 100. The control method comprises the following steps:
01: judging whether the electronic device 100 is in a call state;
02: when the electronic device 100 is in a call state, determining whether the microphone 30 of the electronic device 100 receives a sound;
03: when the microphone 30 receives the sound, the light-transmitting display screen 13 is controlled to be turned off; and
04: the infrared sensor 16 is controlled to be turned on to detect the distance of the object from the electronic device 100.
The embodiment of the invention also 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 determination module 21 and a control module 22. Steps 01 and 02 may be implemented by the determination module 21, and steps 03 and 04 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 a call state and determining whether the microphone 30 of the electronic device 100 receives a sound when the electronic device 100 is in the call state. The control module 22 is configured to control the transparent display 13 to be turned off, and control the infrared sensor 16 to be turned on to detect a distance between an object and the electronic device 100 when the microphone 30 receives a sound.
Referring to fig. 3 and 4, an electronic device 100 is provided according to an embodiment of the invention. The electronic device 100 comprises a light transmissive display 13, an infrared 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. An infrared sensor 16 is disposed below the light-transmissive display 13, and the infrared sensor 16 is used for emitting infrared light and receiving infrared light reflected by an object to detect a distance from the object to the electronic device 100. Step 01, step 02, step 03 and step 04 may be implemented by the processor 17. That is, the processor 17 is configured to determine whether the electronic device 100 is in a call state and determine whether the microphone 30 of the electronic device 100 receives sound when the electronic device 100 is in the call state. The processor 17 is further configured to control the transparent display 13 to be turned off, and control the infrared sensor 16 to be turned on to detect a distance between the object and the electronic device 100 when the microphone 30 receives a sound.
Specifically, in the embodiment of the present invention, the control device 20 may also 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.
Referring to fig. 5 and fig. 6, an electronic device 100 is taken as a mobile phone as an example for describing the embodiment of the present invention. The mobile phone is generally provided with the infrared sensor 16 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 electric quantity of the mobile phone can be saved. When a user answers or makes a call and brings the mobile phone close to the head, the infrared sensor 16 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 screen to be closed according to the detection information. When the mobile phone is far away from the head, the processor calculates and sends an instruction to control the screen to be opened again according to the detection information fed back by the infrared sensor 16.
With the development of mobile terminals, a full screen is a new development trend, generally, an infrared 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 infrared sensor needs to be disposed below the display area of the display screen. However, infrared light emitted from the infrared sensor may irradiate the TFT of the display panel, and under irradiation of the infrared light, electrons of some substances inside the TFT may be excited by photons to form a current. Because the infrared sensor emits infrared light pulses, the display screen can flicker.
Referring to fig. 4 and 6, in the embodiment of the invention, when the electronic device 100 is in a call state, it is detected whether the microphone 30 of the electronic device 100 receives a sound, and when the sound is received, the transparent display 13 is controlled to be turned off and the infrared sensor 16 is controlled to be turned on to detect the distance between the object and the electronic device 100. Therefore, the phenomenon that the light-transmitting display screen 13 flickers due to the fact that infrared light is emitted by the infrared sensor 16 in the process from the time when a call is put through or dialed out to the time when the call is answered close to the ears of a person can be avoided, and therefore user experience is improved.
Specifically, as shown in fig. 4, the microphone 30 of the electronic device 100 is generally located at the bottom of the electronic device 100, and when the user uses the electronic device 100 for a call, the microphone 30 can receive a voice signal of the user. When the microphone 30 does not receive the sound signal, the infrared sensor 16 is in the off state, and the transparent display 13 is lit, and at this time, since the infrared sensor 16 does not operate, the lighting of the transparent display 13 is not caused. When the microphone 30 receives the sound signal, it can be determined that the user is speaking, and at this time, the transparent display 13 is controlled to be turned off and the infrared sensor 16 is turned on, so that the transparent display 13 is prevented from flickering due to infrared light. During the following call, the user will not normally view the transparent display 13 before the call is ended, so the distance detection information of the infrared sensor 16 can directly control the turning-off and turning-on of the transparent display 13. Finally, when the phone is hung up, the infrared sensor 16 is controlled to be turned off and the light-transmitting display 13 is lightened, so that the user can carry out the next operation.
In addition, whether the electronic device 100 is in the call state can be determined by detecting whether the user touches a dial key or an answer key. In the example shown in fig. 7, after the user clicks the dial key, it indicates that the user has made an outgoing telephone call, and at this time, it may be determined that the electronic apparatus 100 is in a call state. It will be appreciated that the microphone 30 of the electronic device 100 will receive sound only when the telephone is switched on, and that the light-transmissive display 13 will be illuminated and the infrared sensor 16 will be in the off state when no sound is received by the microphone 30.
Referring to fig. 8, in some embodiments, the control method further includes, after step 02:
05: it is determined whether the received sound is a human voice.
It is understood that step 03 is entered when it is determined that the microphone 30 receives a voice.
Referring to fig. 2, in some embodiments, step 05 may be implemented by the determining module 21 of the control device 20, that is, the determining module 21 is further configured to determine whether the sound is a human sound.
Referring to fig. 4, in some embodiments, the processor 17 of the electronic device 100 may be configured to implement step 05. That is, the processor 17 is configured to determine whether the sound is a human voice and trigger step 03 when determining that the microphone 30 receives the human voice.
Therefore, whether the user is answering the call or not can be accurately judged through the voice detection, so that the extinguishment of the light-transmitting display screen 13 can be accurately controlled.
Specifically, during a call, the microphone 30 may not be a human voice, such as noise, etc. in the environment, although it receives a sound. At this time, it can be determined that the user is not near the electronic device 100 or browsing other things without speaking. When no human voice is received, the translucent display 13 is kept constantly on and the infrared sensor 16 is kept off.
Further, referring to fig. 9, in some embodiments, step 05 is followed by a step
06: it is detected whether the intensity of the human voice is greater than a predetermined threshold.
It is understood that step 03 is entered when the intensity of the human voice is greater than the predetermined threshold.
Referring to fig. 10, in some embodiments, the control device 20 includes a detection module 23, and step 06 can be implemented by the detection module 23. That is, the detecting module 06 is used to detect whether the intensity of the human voice is greater than a predetermined threshold.
Referring to fig. 4, in some embodiments, the processor 17 of the electronic device 100 may be configured to implement step 06. That is, the processor 17 is configured to detect whether the intensity of the human voice is greater than a predetermined threshold and trigger step 03 when the intensity of the human voice is greater than the predetermined threshold.
Specifically, during the call, the user may be located in a place with many people, and there is voice interference in the surrounding environment, and at this time, the electronic device 100 is closest to the user, and can determine whether the user is answering the call by detecting the strength of the voice, thereby eliminating the voice interference in the surrounding environment.
The predetermined threshold may be a value set by testing before shipping the electronic device 100. For example, 10dB (decibel), indicating that the user is speaking when the intensity of the voice is greater than 10dB, and indicating that the user is not speaking when the intensity of the voice is less than or equal to 10 dB. It is to be understood that the above numerical values are exemplary only and are not to be construed as limiting the present invention, and that specific numerical values may be determined according to specific practical circumstances. In the following embodiments, similar descriptions are also understood with reference to the drawings.
Referring to fig. 11, in some embodiments, the control method further includes the steps of:
07: detecting whether the electronic device 100 is connected with an external microphone;
08: when detecting that the external microphone is connected to the electronic device 100, it is determined whether the external microphone receives a sound.
It will be appreciated that step 06 is entered when the external microphone (not shown) receives the sound. When the electronic device 100 is not connected to the external microphone, step 02 is entered.
Referring to fig. 10, in some embodiments, step 07 and step 08 may be implemented by the determining module 21. That is, the determining module 21 is configured to detect whether the electronic device 100 is connected to an external microphone, and determine whether the external microphone receives a sound when detecting that the electronic device 100 is connected to the external microphone.
Referring to fig. 4, in some embodiments, the processor 17 of the electronic device 100 may be configured to implement step 07 and step 08. That is, the processor 17 is configured to detect whether the external microphone is connected to the electronic device 100, and determine whether the external microphone receives sound when detecting that the external microphone is connected to the electronic device 100. The processor 17 is further configured to trigger step 03 when the external microphone receives a sound.
Further, in such an embodiment, after step 08, the method further comprises the steps of:
05: judging whether the received sound is human voice;
it will be appreciated that step 03 is entered when the external microphone receives the voice.
Referring to fig. 10, in some embodiments, step 09 may be implemented by the determining module 21 of the control device 20, that is, the determining module 21 is further configured to determine whether the sound received by the external microphone is human voice.
Referring to fig. 4, in some embodiments, the processor 17 of the electronic device 100 may be configured to implement step 09. That is, the processor 17 is configured to determine whether the sound received by the external microphone is human voice, and trigger step 03 when the external microphone receives human voice.
Specifically, when the user uses the electronic apparatus 100 to talk, a device provided with an external microphone, such as an external device like an earphone, a bluetooth headset, a sound box, etc., may be used. At this time, during the call, the electronic device 100 receives the voice through the external microphone, and when the voice received by the external microphone is a human voice, it indicates that the user is calling.
Referring to fig. 11, in the above embodiment, the control method further includes the steps of:
06: it is detected whether the intensity of the human voice is greater than a predetermined threshold.
It is understood that step 03 is entered when the intensity of the human voice is greater than the predetermined threshold.
Referring to fig. 10, in some embodiments, step 10 may be implemented by a detection module. That is, the detecting module 23 is used to detect whether the intensity of the human voice is greater than a predetermined threshold.
Referring to fig. 4, in some embodiments, the processor 17 of the electronic device 100 may be configured to implement step 10. That is, the processor 17 is configured to detect whether the intensity of the human voice is greater than a predetermined threshold and trigger step 03 when the intensity of the human voice is greater than the predetermined threshold.
Specifically, when a user uses an external microphone to make a call, the user may be in a place with many people, and the surrounding environment has human voice interference. At this time, the external microphone is closest to the user, and whether the user is answering the call can be judged by detecting the strength of the voice, so that the interference of the voice of the surrounding environment is eliminated.
Referring to fig. 12, 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 infrared sensor 16. The first coating layer 14 is for transmitting infrared light and intercepting visible light, and the infrared sensor 16 is for emitting and/or receiving infrared light through the first coating layer 14 and the light transmissive display 13. Infrared sensor 16 may be disposed at any location below lower surface 132. The first coating layer 14 may employ an IR ink, and since the IR ink has a characteristic of low transmittance to visible light, the infrared sensor 16 disposed under the first coating layer 14 is not perceived based on the vision of human eyes when the electronic device 100 is viewed from the outside. Meanwhile, the IR ink has the characteristic of high light transmittance to infrared light, so that the infrared sensor 16 can stably emit and receive infrared light, and the normal work of the infrared sensor 16 is ensured.
In some embodiments, the infrared 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, and 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 infrared 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 installation of the infrared sensor 16, so that a gap occurs between the infrared sensor 16 and other elements, visible light enters from the gap, and a light leakage phenomenon occurs. Therefore, in the direction in which the infrared sensor 16 and the light-transmitting display screen 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 infrared sensor 16 on the lower surface 132, so that the infrared sensor 16 can be fully shielded by the first coating layer 14 without affecting the normal operation of the infrared sensor 16, and the effect that the infrared sensor 16 is invisible when the electronic device 100 is viewed from the outside is 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 infrared sensor 16 disposed under the first coating layer 14 is not observed based on the visual perception of human eyes when the electronic device 100 is viewed from the outside. Meanwhile, the IR ink has the characteristic of high light transmittance to infrared light, so that the infrared sensor 16 can stably emit and receive infrared light, and the normal work of the infrared sensor 16 is ensured.
Referring to fig. 13, in some embodiments, the electronic device 100 further includes a second coating layer 15 applied 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 infrared 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 infrared sensor 16 to emit and receive infrared light when the content effect is displayed. 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 infrared sensor 16 arranged below the light-transmitting display screen 13 to stably emit and receive infrared light, and ensures the normal work of the infrared sensor 16.
Referring to fig. 13, in some embodiments, electronic device 100 further includes a buffer layer 18 covering lower surface 132 and avoiding infrared 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. In addition, avoiding the infrared sensor 16 during the process of disposing the buffer layer 18 can prevent the buffer layer 18 from shielding the infrared sensor 16, thereby preventing the infrared sensor 16 from being affected during the process of emitting and receiving infrared light.
Referring to fig. 14, in such an embodiment, electronic device 100 further includes a metal sheet 19 covering buffer layer 18 and avoiding infrared 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. In addition, avoiding the infrared sensor 16 during the process of disposing the metal sheet 19 can prevent the metal sheet 19 from shielding the infrared sensor 16, thereby preventing the infrared 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: judging whether the electronic device 100 is in a call state; step 02: when the electronic device 100 is in a call state, determining whether the microphone 30 of the electronic device 100 receives a sound; step 03: when the microphone 30 receives the sound, the light-transmitting display screen 13 is controlled to be turned off; and step 04: the infrared sensor 16 is controlled to be turned on to detect the distance of the object from the electronic device 100.
Referring to fig. 15, a computer device 200 is further provided according to an embodiment of the present invention. 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: judging whether the electronic device 100 is in a call state; step 02: when the electronic device 100 is in a call state, determining whether the microphone 30 of the electronic device 100 receives a sound; step 03: when the microphone 30 receives the sound, the light-transmitting display screen 13 is controlled to be turned off; and step 04: the infrared sensor 16 is controlled to be turned on to detect the distance of the object from the electronic device 100.
FIG. 15 is a schematic diagram of internal modules of computer device 200, under an embodiment. As shown in fig. 15, 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 of any 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. 15 is only a schematic diagram of a portion of the configuration associated with the inventive arrangements and does not constitute a limitation of the computer device 200 to which the inventive arrangements are applied, and that a particular computer device 200 may include more or less components than those shown in fig. 15, 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 (20)

1. A control method of an electronic device, the electronic device including a light-transmissive display screen and an infrared sensor disposed below the light-transmissive display screen, 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 method comprising the steps of:
judging whether the electronic device is in a call state;
when the electronic device is in a call state, judging whether a microphone of the electronic device receives sound, and when the microphone does not receive the sound, the light-transmitting display screen is in a lighting state, and the infrared sensor is in a closing state;
when the microphone receives sound, the light-transmitting display screen is controlled to be turned off; and
and controlling the infrared sensor to be started to detect the distance between the object and the electronic device.
2. The method of claim 1, wherein the step of determining whether a microphone of the electronic device receives sound further comprises:
judging whether the received sound is human voice;
and when the microphone receives the voice, the light-transmitting display screen is controlled to be turned off.
3. The control method of claim 1, further comprising, before the step of determining whether a sound is received by a microphone of the electronic device, the steps of:
detecting whether the electronic device is connected with an external microphone or not;
when the electronic device is detected to be connected with an external microphone, judging whether the external microphone receives sound;
the step of controlling the light-transmitting display screen to be extinguished when the microphone receives sound comprises;
and when the external microphone receives the sound, the light-transmitting display screen is controlled to be turned off.
4. The control method as claimed in claim 3, wherein the step of determining whether the external microphone receives sound further comprises:
judging whether the received sound is human voice;
and when the external microphone receives the voice, the light-transmitting display screen is controlled to be extinguished.
5. The control method according to claim 2 or claim 4, further comprising, after the step of determining whether the sound is a human sound, the steps of:
detecting whether the intensity of the human voice is greater than a preset threshold value;
and when the intensity of the human voice is greater than a preset threshold value, controlling the light-transmitting display screen to be extinguished.
6. The utility model provides an electronic device's controlling means, its characterized in that, electronic device includes printing opacity display screen and infrared sensor, infrared sensor sets up printing opacity display screen below, infrared sensor is used for transmitting 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 still includes:
the judging module is used for judging whether the electronic device is in a call state or not and judging whether a microphone of the electronic device receives sound or not when the electronic device is in the call state, and when the microphone does not receive the sound, the light-transmitting display screen is in a lighting state and the infrared sensor is in a closing state; and
and the control module is used for controlling the light-transmitting display screen to be turned off and controlling the infrared sensor to be turned on so as to detect the distance between an object and the electronic device when the microphone receives sound.
7. 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;
an infrared sensor for emitting infrared light and receiving infrared light reflected by an object to detect a distance of the object to the electronic device; and
a processor to:
judging whether the electronic device is in a call state;
when the electronic device is in a call state, judging whether a microphone of the electronic device receives sound, and when the microphone does not receive the sound, the light-transmitting display screen is in a lighting state, and the infrared sensor is in a closing state;
when the microphone receives sound, the light-transmitting display screen is controlled to be turned off; and
and controlling the infrared sensor to be started to detect the distance between the object and the electronic device.
8. The electronic device of claim 7, wherein the processor is to:
judging whether the received sound is human voice;
and when the microphone receives the voice, the light-transmitting display screen is controlled to be turned off.
9. The electronic device of claim 7, wherein the processor is to:
detecting whether the electronic device is connected with an external microphone or not;
when the electronic device is detected to be connected with an external microphone, judging whether the external microphone receives sound; and
and when the external microphone receives the sound, the light-transmitting display screen is controlled to be turned off.
10. The electronic device of claim 9, wherein the processor is further configured to:
judging whether the received sound is human voice;
and when the external microphone receives the voice, the light-transmitting display screen is controlled to be extinguished.
11. The electronic device of claim 8 or 10, wherein the processor is further configured to:
detecting whether the intensity of the human voice is greater than a preset threshold value; and
and when the intensity of the human voice is greater than a preset threshold value, controlling the light-transmitting display screen to be extinguished.
12. The electronic device of claim 7, further comprising a first coating layer applied to the bottom surface and covering the infrared sensor, the first coating layer configured to transmit infrared light and intercept visible light, the infrared sensor configured to transmit and/or receive infrared light through the first coating layer and the light transmissive display screen.
13. The electronic device of claim 12, wherein an orthographic projection of the infrared sensor on the lower surface is within an orthographic projection of the first coating layer on the lower surface.
14. The electronic device of claim 12, 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.
15. The electronic device of claim 12, further comprising a second coating layer applied to the bottom surface and contiguous with the first coating layer.
16. The electronic device of claim 15, 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.
17. The electronic device of claim 7, further comprising a buffer layer covering the lower surface and avoiding the infrared sensor.
18. The electronic device of claim 17, further comprising a metal sheet covering the buffer layer and avoiding the infrared sensor.
19. 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.
20. 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 any one of claims 1 to 5.
CN201810573853.2A 2018-06-06 2018-06-06 Control method, control device, electronic device, computer storage medium, and apparatus Active CN108989489B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810573853.2A CN108989489B (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
CN201810573853.2A CN108989489B (en) 2018-06-06 2018-06-06 Control method, control device, electronic device, computer storage medium, and apparatus

Publications (2)

Publication Number Publication Date
CN108989489A CN108989489A (en) 2018-12-11
CN108989489B true CN108989489B (en) 2020-06-26

Family

ID=64540794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810573853.2A Active CN108989489B (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) CN108989489B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113986034A (en) * 2019-11-26 2022-01-28 华为技术有限公司 Electronic equipment and display screen control method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101730300A (en) * 2008-10-20 2010-06-09 深圳富泰宏精密工业有限公司 Displayer and keyboard power management system and method
WO2013166803A1 (en) * 2012-05-08 2013-11-14 广东欧珀移动通信有限公司 Detection algorithm for touchscreen mobile phone infrared proximity sensor
CN104092836A (en) * 2014-06-11 2014-10-08 小米科技有限责任公司 Power-saving method and apparatus
CN107767835A (en) * 2017-11-22 2018-03-06 广东欧珀移动通信有限公司 Display screen component and electronic equipment
CN107920142A (en) * 2017-11-22 2018-04-17 广东欧珀移动通信有限公司 Electronic device
CN107948419A (en) * 2017-11-22 2018-04-20 广东欧珀移动通信有限公司 Electronic device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10122847B2 (en) * 2014-07-20 2018-11-06 Google Technology Holdings LLC Electronic device and method for detecting presence and motion

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101730300A (en) * 2008-10-20 2010-06-09 深圳富泰宏精密工业有限公司 Displayer and keyboard power management system and method
WO2013166803A1 (en) * 2012-05-08 2013-11-14 广东欧珀移动通信有限公司 Detection algorithm for touchscreen mobile phone infrared proximity sensor
CN104092836A (en) * 2014-06-11 2014-10-08 小米科技有限责任公司 Power-saving method and apparatus
CN107767835A (en) * 2017-11-22 2018-03-06 广东欧珀移动通信有限公司 Display screen component and electronic equipment
CN107920142A (en) * 2017-11-22 2018-04-17 广东欧珀移动通信有限公司 Electronic device
CN107948419A (en) * 2017-11-22 2018-04-20 广东欧珀移动通信有限公司 Electronic device

Also Published As

Publication number Publication date
CN108989489A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN108848259B (en) Control method, control device, electronic device, computer storage medium, and apparatus
US11387292B2 (en) Electronic device
CN110581904B (en) Control method, control device, electronic device, and storage medium
EP3694192A1 (en) Electronic device with display screen and infrared sensor
CN109040417B (en) Control method, control device, electronic device, storage medium, and computer apparatus
CN108461044B (en) Electronic device and method for manufacturing the same
CN108494909B (en) Electronic device and manufacturing method
CN108534891B (en) Optical sensor, electronic device and manufacturing method thereof
CN108810195B (en) Electronic device and method for manufacturing the same
CN108521480B (en) Control method, control device, electronic device, computer storage medium, and apparatus
CN108540595B (en) Electronic device and method for manufacturing the same
CN111984155B (en) Electronic device and method for manufacturing the same
CN108769354B (en) Control method, control device, electronic device, storage medium, and computer apparatus
CN108718349B (en) Control method, control device, electronic device, storage medium, and computer apparatus
CN108803947B (en) Control method, control device, electronic device, computer storage medium, and apparatus
CN108989489B (en) Control method, control device, electronic device, computer storage medium, and apparatus
CN108989490B (en) Control method, control device, electronic device, storage medium, and computer apparatus
CN108810271A (en) Control method, control device, electronic device, storage medium and computer equipment
CN108762584A (en) Display control method, control device, electronic device, storage medium and equipment
CN108874483B (en) Control method, control device, electronic device, storage medium, and computer apparatus
CN108521481B (en) Electronic device
CN108833693A (en) Control method, control device, electronic device, storage medium and computer equipment
CN108848258B (en) Control method, control device, electronic device, storage medium, and computer apparatus
CN108769357B (en) Control method, control device, electronic device, computer storage medium, and apparatus
CN108718358B (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