WO2019233233A1 - 控制方法、控制装置、电子装置、存储介质和计算机设备 - Google Patents

控制方法、控制装置、电子装置、存储介质和计算机设备 Download PDF

Info

Publication number
WO2019233233A1
WO2019233233A1 PCT/CN2019/085864 CN2019085864W WO2019233233A1 WO 2019233233 A1 WO2019233233 A1 WO 2019233233A1 CN 2019085864 W CN2019085864 W CN 2019085864W WO 2019233233 A1 WO2019233233 A1 WO 2019233233A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
light
infrared sensor
controlling
sensor
Prior art date
Application number
PCT/CN2019/085864
Other languages
English (en)
French (fr)
Inventor
张海平
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2019233233A1 publication Critical patent/WO2019233233A1/zh

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

Definitions

  • the present invention relates to the field of electronic technology, and in particular, to a control method, a control device, an electronic device, a computer-readable storage medium, and a computer device.
  • the proximity sensor is disposed below the display screen.
  • the proximity sensor intermittently emits infrared light during working hours to detect the distance between the external object of the mobile phone and the mobile phone, infrared light is easy. Electron migration of components in the display screen causes the display screen to form a local flicker phenomenon, which is not conducive to user experience.
  • Embodiments of the present invention provide a control method, a control device, an electronic device, a computer-readable storage medium, and a computer device.
  • the invention provides a method for controlling an electronic device.
  • the electronic device includes a light-transmitting display screen, a light sensor, and an infrared sensor.
  • the light-transmitting display screen includes a display area, and the infrared sensor is disposed below the display area.
  • the infrared sensor is configured to emit infrared light and receive infrared light reflected by an object to detect a distance from the object to the electronic device, and the control method includes steps:
  • the invention provides a control device for an electronic device.
  • the electronic device includes a light-transmitting display screen, a light sensor, and an infrared sensor.
  • the light-transmitting display screen includes a display area, and the infrared sensor is disposed below the display area.
  • the infrared sensor is configured to emit infrared light and receive infrared light reflected by an object to detect a distance from the object to the electronic device.
  • the control device includes:
  • a first determination module which is used to determine whether the electronic device enters a call service
  • a first detection module for controlling the light sensor to start detecting multiple environmental brightness values when the electronic device enters the call service
  • a first control module configured to control the infrared sensor to be turned on when the absolute value of the difference between the Nth environment brightness value and the N-1th environment brightness value is less than a threshold Control the transparent display to be turned off, where N is a natural number and N ⁇ 2.
  • the invention provides an electronic device including a light-transmissive display screen, a light sensor, an infrared sensor, and a processor.
  • the light-transmissive display screen includes a display area.
  • the infrared sensor is disposed below the display area.
  • the sensor is configured to emit infrared light and receive infrared light reflected by an object to detect a distance from the object to the electronic device, and the processor is configured to:
  • the present invention provides one or more non-volatile computer-readable storage media containing computer-executable instructions.
  • the processors are caused to execute the Control method of electronic device.
  • the present invention provides a computer device including a memory and a processor.
  • the memory stores computer-readable instructions.
  • the processor causes the processor to perform control of the electronic device. method.
  • control method, control device, electronic device, computer-readable storage medium, and computer equipment control the infrared sensor by using multiple ambient brightness values when entering a call service, so that the user cannot observe the infrared light and light transmitted by the infrared sensor
  • the interference of the light display can improve the user experience.
  • FIG. 1 is a schematic cross-sectional view of an electronic device according to some embodiments of the present invention.
  • FIG. 2 is a schematic flowchart of a control method according to some embodiments of the present invention.
  • FIG. 3 is a schematic block diagram of a control device according to some embodiments of the present invention.
  • FIG. 4 is a schematic block diagram of an electronic device according to some embodiments of the present invention.
  • step S03 of a control method is a schematic flowchart of step S03 of a control method according to some embodiments of the present invention.
  • FIG. 6 is a schematic block diagram of a first control module of a control device according to some embodiments of the present invention.
  • FIG. 7 is a schematic flowchart of a control method according to another embodiment of the present invention.
  • FIG. 8 is a schematic block diagram of a control device according to another embodiment of the present invention.
  • FIG. 9 is a schematic block diagram of a computer device according to some embodiments of the present invention.
  • 10 to 19 are schematic cross-sectional views of electronic devices according to some embodiments of the present invention.
  • the present invention provides a control method 10 of an electronic device 100.
  • the electronic device 100 includes a light-transmissive display 13, a light sensor 1a, and an infrared sensor 16.
  • the light-transmissive display 13 includes a display area 1311.
  • the infrared sensor 16 is disposed below the display area 1311.
  • the infrared sensor 16 is for emitting infrared light and receiving infrared light reflected by the object to detect the distance from the object to the electronic device 100.
  • the control method 10 includes steps:
  • an embodiment of the present invention further provides a control device 200 of the electronic device 100.
  • the control method 10 of the electronic device 100 according to the embodiment of the present invention may be implemented by the control device 200 of the electronic device 100 according to the embodiment of the present invention.
  • the control device 200 includes a first determination module 21, a first detection module 22, and a first control module 24.
  • the first determining module 21 is configured to determine whether the electronic device 100 enters a call service.
  • the first detection module 22 is configured to control the light sensor 1a to detect multiple ambient brightness values when the electronic device 100 enters a call service.
  • the first control module 24 is configured to control the infrared sensor 16 to be turned on and control the light-transmitting display to be turned off when the absolute value of the difference between the Nth environment brightness value and the N-1th environment brightness value is less than a threshold value, where N is Natural number, N ⁇ 2. That is, step S01 may be implemented by the first determination module 21, step S02 may be implemented by the first detection module 22, and step S03 may be implemented by the first control module 24.
  • an embodiment of the present invention further provides an electronic device 100.
  • the electronic device 100 includes a light-transmissive display screen 13, an infrared sensor 16, a light sensor 1a, and a processor 23.
  • the light-transmissive display screen 13 includes a display area 1311, the infrared sensor 16 is disposed below the display area 1311, and the infrared sensor 16 is used to emit infrared light.
  • the processor 23 is used to determine whether the electronic device 100 enters the call service; when the electronic device 100 enters the call service, the light sensor 1a is controlled to start detecting multiple Environmental brightness value; and when the absolute value of the difference between the Nth environment brightness value and the N-1th environment brightness value is less than the threshold value, controlling the infrared sensor 16 to turn on and controlling the transparent display to turn off, where N is a natural number, N ⁇ 2. That is, steps S01, S02, and S03 can be implemented by the processor 23.
  • the embodiment of the present invention is described by using the electronic device 100 as a mobile phone as an example.
  • the top position of the mobile phone screen is generally provided with an infrared sensor 16 to determine the distance between the mobile phone and the obstacle and make corresponding adjustments, which can prevent misuse by the user and help save the power of the mobile phone.
  • the infrared sensor 16 calculates the time when the infrared light is emitted by the transmitter and the infrared light reflected by the receiver is generated.
  • the processor 23 turns off the light transmission according to the detection information. Display 13.
  • the processor 23 turns on the light-transmissive display 13 again according to the detection information fed back by the infrared sensor 16.
  • the control method 10, the control device 200, and the electronic device 100 of the embodiment of the present invention control the infrared sensor by using multiple ambient brightness values when entering a call service, so that the user cannot observe the infrared light emitted by the infrared sensor 16 and the transparent display screen. Interference can improve the user experience.
  • full screen has become the development trend of mobile phones.
  • the characteristics of full screen and high screen ratio make the position of the top of the screen for the infrared sensor or other components limited.
  • the infrared sensor When the infrared sensor is set under the light-transmissive display, due to the photoelectric effect, the infrared sensor causes the screen to emit light during the process of emitting infrared light.
  • the excited electrons cause the transparent display to flicker, which interferes with the normal display of the transparent display and affects the user experience.
  • the user when the electronic device 100 enters the call service, the user generally puts the electronic device 100 to the ear.
  • the ambient brightness detected by the infrared sensor 16 will become smaller.
  • the ambient brightness detected by the infrared sensor 16 will tend to be stable. Therefore, two adjacent ambient brightness of the multiple ambient brightness detected by the infrared sensor 16 will be stable.
  • the comparison between the difference value and the threshold value determines whether the ambient brightness detected by the infrared sensor 16 has stabilized, thereby determining whether the user has completed the action of putting the electronic device 100 to the ear, thereby controlling whether the infrared sensor 16 is turned on.
  • the infrared sensor 16 determines the distance between the user and the electronic device 100 so that the processor 23 controls the light on and off of the light-transmissive display screen 13, the user experience will not be reduced due to the flicker phenomenon.
  • the infrared sensor 16 is turned on after the user puts the electronic device 100 to the ear, that is, before the user puts the electronic device 100 to the ear, the infrared sensor 16 is turned off. Therefore, after the user places the electronic device 100 Before the device 100 is placed near the ear, when the user observes the light-transmissive display screen 13, the flicker phenomenon will not occur, and the user experience will not be reduced.
  • the light sensor 1a receives different light intensities, currents with different intensities are generated, thereby sensing ambient light brightness.
  • the call service includes an incoming call, an outgoing call, or a connected call.
  • the call service may be a process of a user having a voice conversation.
  • the call service is a process in which a user dials a phone to another person and waits for the other party to answer, or may be a process in which the user is in a conversation with another person through voice.
  • step S02 includes:
  • the control light sensor 1a starts to intermittently detect a plurality of ambient brightness values.
  • the first detection module 22 includes a first detection unit.
  • the first detection unit is configured to control the light sensor 1a to intermittently detect a plurality of ambient brightness values.
  • the processor 23 is configured to control the light sensor 1a to intermittently detect multiple ambient brightness values.
  • step S03 the difference between two adjacent environmental brightness values among the multiple environmental brightness values is to be compared, and the difference of the environmental brightness is judged by the magnitude of the difference. Therefore, multiple environmental brightness values There should be a sequence in time, so the light sensor 1a should be controlled to intermittently detect multiple ambient brightness values. Further, the interval between each detection is the same. In one example, the interval between each test is 0.01s; in another example, the interval between each test is 0.02s, and in another example, the interval between each test is 0.005s.
  • the specific length of the interval time between each detection is not limited.
  • step S03 includes:
  • the first control module 24 includes a first determination unit 241 and a first control unit 242.
  • the first determination unit is configured to determine the posture of the electronic device 100 when the absolute value of the difference is less than a threshold.
  • the first control unit is configured to control the infrared sensor 16 to be turned on and control the light-transmissive display screen 13 to be turned off when the posture of the electronic device 100 is a predetermined posture.
  • the processor 23 is configured to determine the attitude of the electronic device 100 when the absolute value of the difference is less than a threshold value; and control the infrared sensor 16 to turn on and control the light-transmissive display when the attitude of the electronic device 100 is a predetermined attitude. 13 closed.
  • the infrared sensor 16 it is more accurate to control the infrared sensor 16 to be turned on and the light-transmissive display screen 13 to be turned off. It can be understood that, in some scenarios, even if the electronic device 100 enters the call service, when the absolute value of the difference between two adjacent environmental brightness values among multiple environmental brightness values is less than the threshold value, the user may not necessarily complete the electronic Movement of the device 100 to the ear. For example, after the electronic device 100 enters the call service, another person passes the electronic device 100 to the user. In this process, the electronic device 100 is not placed near the user's ear, but the brightness of the environment may change significantly.
  • the electronic device 100 may be further determined whether the electronic device 100 is placed in the user's ear by judging the posture of the electronic device 100. Specifically, the attitude of the electronic device 100 may be determined by using a gyroscope. In addition, there are many postures of the electronic device 100, such as flat, inverted, and vertical. Since the electronic device 100 is generally placed vertically at the user's ear when a user is in a call, the predetermined posture can be set to vertical attitude.
  • control method after step S03 further includes:
  • the control device 20 includes a second detection module 25, a second determination module 26, a second control module 27, a third determination module 28, and a third control module 29.
  • the second detection module 25 is configured to control the infrared sensor 16 to detect the distance between the object and the electronic device 100.
  • the second determination module 26 is configured to determine whether the distance between the object and the electronic device 100 is greater than a predetermined distance.
  • the second control module 27 is configured to control the transparent display screen 13 to be turned on when the distance between the object and the electronic device 100 is greater than a predetermined distance.
  • the third determining module 28 is configured to determine whether the electronic device 100 is in a call service.
  • the third control module 29 is used to control the infrared sensor 16 to be turned off and control the light sensor 1a to detect multiple ambient brightness values when the electronic device 100 is in a call service.
  • the processor 23 is configured to control the infrared sensor 16 to detect the distance between the object and the electronic device 100; determine whether the distance between the object and the electronic device 100 is greater than a predetermined distance; and the distance between the object and the electronic device 100 is greater than a predetermined
  • the transparent display screen 13 is turned on; whether the electronic device 100 is in a call service is controlled; when the electronic device 100 is in a call service, the infrared sensor 16 is turned off and the light sensor 1a is started to detect multiple ambient brightness values.
  • the user when the user takes the electronic device 100 away from the ear during the call, the user will not be disturbed by the flicker phenomenon, thereby improving the user experience.
  • the user may temporarily remove the electronic device 100 from his ear and operate the electronic device 100 through the transparent display 13. If the infrared sensor 16 remains on at this time, the infrared sensor 16 emits The flicker caused by the interference of the infrared light and the transparent display screen 13 will make the user experience worse. Therefore, when the distance between the object and the electronic device 100 is greater than a predetermined distance, the transparent display screen 13 is controlled to be turned on, so that the user can operate the electronic device 100 through the transparent display screen 13. Then, when the electronic device 100 is not in a call service, it can be presumed that the call has ended, so the control method ends directly.
  • the infrared sensor 16 is turned off at the end of the control method.
  • the infrared sensor 16 is controlled to be turned off to avoid the infrared sensor.
  • the infrared light emitted by 16 interferes with the transparent display screen 13 to cause a flicker phenomenon. Since the user temporarily takes the electronic device 100 away from the ear, the user will also take the electronic device 100 back to the ear to continue the call.
  • step S02 of controlling the light sensor to start detecting multiple ambient brightness values so that the user will
  • the electronic device 100 controls the infrared sensor 16 to turn on and the light-transmissive display 13 to turn off.
  • An embodiment of the present invention also provides a computer-readable storage medium.
  • One or more non-volatile computer-readable storage media containing computer-executable instructions when the computer-executable instructions are executed by one or more processors 23, cause the processor 23 to execute the control method of any one of the foregoing embodiments.
  • an embodiment of the present invention further provides a computer device 300.
  • the computer device includes a memory 32 and a processor 23.
  • the memory 32 stores computer-readable instructions.
  • the processor 23 executes the control method of any one of the foregoing embodiments.
  • FIG. 9 is a schematic diagram of internal modules of a computer device 300 in an embodiment.
  • the computer device 300 includes a processor 23, a memory 32 (for example, a non-volatile storage medium), an internal memory 33, a light-transmissive display screen 13, and an input device 34 connected through a system bus 31.
  • the memory 32 of the computer device 300 stores an operating system and computer-readable instructions.
  • the computer-readable instructions can be executed by the processor 23 to implement the control method 10 of any one of the foregoing embodiments.
  • the processor 23 may be used to provide computing and control capabilities to support the operation of the entire computer device 300.
  • the internal memory 33 of the computer device 300 provides an environment for the execution of computer-readable instructions in the memory 32.
  • the transparent display 13 of the computer device 300 may be an OLED transparent display or a Micro LED transparent display, etc.
  • the input device 34 may be a touch panel covered on the transparent display 13 or the computer device 300 housing
  • the set button, trackball or trackpad can also be an external keyboard, trackpad or mouse.
  • the computer device 300 may be a mobile phone, a tablet computer, a notebook computer, a personal digital assistant, or a wearable device (such as a smart bracelet, a smart watch, a smart helmet, a smart glasses), and the like.
  • the structure shown in the figure is only a schematic diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the computer equipment 300 to which the solution of the present invention is applied, and the specific computer equipment 300 It may include more or fewer components than shown in the figure, or some components may be combined, or have different component arrangements.
  • the light-transmissive display 13 includes an OLED light-transmissive display.
  • the OLED light-transmitting display screen has good light-transmitting property, and can transmit visible light and infrared light well. Therefore, the OLED light-transmitting display screen can not affect the emission and reception of infrared light by the infrared sensor 16 in the case of displaying the content effect.
  • the light-transmissive display 13 can also be a Micro LED translucent display, which also has good light transmittance to visible light and infrared light.
  • these light-transmissive display screens are merely exemplary and embodiments of the present invention are not limited thereto.
  • the light-transmissive display screen 13 may be disposed on the casing 20.
  • the electronic device 100 further includes a transparent cover 11 and a transparent touch panel 12.
  • a light-transmissive cover plate 11 is formed on the light-transmissive touch panel 12, and the light-transmissive touch panel 12 is disposed on the light-transmissive display screen 13.
  • the upper surface 131 of the light-transmissive display 13 faces the light-transmissive touch panel 12. Both the visible light transmittance and infrared light transmittance of the plate 11 and the light-transmissive touch panel 12 are greater than 90%.
  • the light-transmissive touch panel 12 is mainly used to receive an input signal generated when a user touches the light-transmissive touch panel 12 and transmit it to the circuit board for data processing, so as to obtain the specific details of the user's touch of the light-transmissive touch panel 12 position.
  • the In-Cell or On-Cell bonding technology can be used to bond the light-transmissive touch panel 12 and the light-transmissive display 13 to effectively reduce the weight of the light-transmissive display 13 and reduce the light-transmissive display 13.
  • the overall thickness is disposed on the transparent touch panel 12, which can effectively protect the transparent touch panel 12 and its internal structure, and avoid external forces on the transparent touch panel 12 and the transparent display 13 damage.
  • the light-transmitting cover 11 and the light-transmissive touch panel 12 have a transmittance of visible light and infrared light of more than 90%, which is not only beneficial for the light-transmitting display screen 13 to better display the content effect, but also for the light-transmissive display.
  • the infrared sensor 16 under the screen 13 stably emits and receives infrared light, ensuring the normal operation of the infrared sensor 16.
  • the transparent display 13 includes an upper surface 131 and a lower surface 132.
  • the electronic device 100 further includes a first coating layer 14 coated on the lower surface 132 and covering the infrared sensor 16.
  • a coating layer 14 is used for transmitting infrared light and intercepting visible light, and an infrared sensor 16 is used for transmitting and / or receiving infrared light through the first coating layer 14 and the transparent display 13.
  • the first coating layer 14 is configured to transmit infrared light to ensure the normal operation of the infrared sensor 16.
  • the first coating layer 14 intercepts visible light to achieve the effect that the infrared sensor 16 is invisible when the electronic device 100 is viewed from the outside. .
  • the infrared sensor 16 includes a proximity sensor.
  • the proximity sensor includes a transmitter 1611 and a receiver 1612.
  • the transmitter 1611 is configured to emit infrared light through the first coating layer 14 and the transparent display screen 13.
  • the receiver 1612 is configured to receive infrared light emitted by an object to detect a distance between the object and the electronic device 100.
  • the electronic device 100 when the user is answering or making a call, the electronic device 100 is close to the head, the transmitter 1611 emits infrared light, the receiver 1612 receives the reflected infrared light, and the processor 23 calculates the time from when the infrared light is reflected to when it is reflected back. A corresponding instruction is issued to control the screen to turn off the backlight.
  • the processor 23 calculates again and issues an instruction based on the data returned, and then turns on the screen backlight again. In this way, not only the user's misoperation is prevented, but also the power of the mobile phone is saved.
  • 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.
  • the installation of the infrared sensor 16 usually needs to reserve an assembly gap, resulting in a gap between the infrared sensor 16 and other components, allowing visible light to enter through the gap, and a light leakage phenomenon. Therefore, in the direction in which the infrared sensor 16 and the transparent 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 infrared sensor 16 on the lower surface 132, which can affect the infrared sensor without affecting In the case of normal operation, the first coating layer 14 sufficiently covers the infrared sensor 16 to achieve the effect that the infrared sensor 16 is invisible when the electronic device 100 is viewed from the outside.
  • the orthographic projection of the infrared sensor 16 on the lower surface 132 coincides with the first coating layer 14.
  • an area where the first coating layer 14 is orthographically projected on the lower surface 132 may be set equal to an area where the infrared sensor 16 is orthographically projected on the lower surface 132.
  • the first coating layer 14 can just cover the infrared sensor 16 without affecting the normal operation of the infrared sensor 16, so that when the electronic device 100 is viewed from a direction facing and perpendicular to the upper surface 131 of the transparent display screen 13, The effect that the infrared sensor 16 is not visible is achieved.
  • the electronic device 100 further includes a light shielding layer 17 disposed on the lower surface 132 and surrounding the infrared sensor 16.
  • the area where the first coating layer 14 is orthographically projected on the lower surface 132 is equal to the area where the infrared sensor 16 is orthographically projected on the lower surface 132, since the volume of the space where the infrared sensor 16 is placed is larger than the volume of the infrared sensor 16 It is large that when the electronic device 100 is viewed from an external environment, a light leakage phenomenon occurs in a space around the infrared sensor 16. Therefore, by providing a light-shielding layer 17 surrounding the infrared sensor 16 to fill the gap between the infrared sensor 16 and the surrounding space, such a light leakage phenomenon can be eliminated.
  • the light shielding layer 17 may be a foam made of black material, or may be other black foam plastic or rubber. Of course, these materials are only exemplary and embodiments of the present invention are not limited thereto.
  • the infrared sensor 16 includes a proximity sensor.
  • the proximity sensor includes a transmitter 1611 and a receiver 1612.
  • the transmitter 1612 is configured to emit infrared light through the first coating layer 14 and the light-transmissive display screen 13.
  • the receiver 1612 is configured to receive infrared light reflected by an object to detect a distance between the object and the electronic device 100.
  • the electronic device 100 when the user is answering or making a call, the electronic device 100 is close to the head, the transmitter 1611 emits infrared light, the receiver 1612 receives the reflected infrared light, and the processor 23 calculates the time from when the infrared light is reflected to when it is reflected back. A corresponding instruction is issued to control the screen to turn off the backlight.
  • the processor 23 calculates again and issues an instruction based on the data returned, and then turns on the screen backlight again. In this way, not only the user's misoperation is prevented, but also the power of the mobile phone is saved.
  • the first coating layer includes an IR ink.
  • the IR ink has a transmittance to infrared light of more than 85%, the IR ink has a transmittance to visible light of less than 6%, and the IR ink is transparent to the infrared light.
  • the wavelength is 850nm-940nm.
  • the IR ink has a characteristic of low light transmittance to visible light, when the electronic device 100 is viewed from the outside, the infrared sensor 16 provided under the first coating layer 14 cannot be visually observed based on human eyes. At the same time, the IR ink has the characteristics of high light transmittance to infrared light, which enables the infrared sensor 16 to stably emit and receive infrared light, and ensures the normal operation of the infrared sensor 16.
  • the electronic device 100 further includes a second coating layer 15 coated on the lower surface 132 and in contact with the first coating layer 14.
  • the first coating layer 14 is mainly used to transmit infrared light and block the infrared sensor 16.
  • the cost of the IR ink used in the first coating layer 14 is higher than that of ordinary black ink, if the entire lower surface 132 is coated IR inks are not conducive to reducing production costs.
  • ordinary black inks can achieve lower light transmittance and more prominent shielding effects. In this way, by providing the second coating layer 15, not only is it beneficial to reduce production costs, but the shielding effect is more in line with process requirements.
  • the electronic device 100 further includes a buffer layer 18 covering the lower surface 132 and avoiding the infrared sensor 16.
  • the buffer layer 18 is used to reduce the impact force and shock to protect the transparent touch panel 12 and the transparent display screen 13 and their internal structures, so as to prevent the transparent display screen 13 from being damaged by the impact of the outside world.
  • the buffer layer 18 may be made of foam or foam plastic or rubber or other soft materials. Of course, these cushioning materials are only exemplary and embodiments of the present invention are not limited thereto.
  • the avoidance of the infrared sensor 16 during the setting of the buffer layer 18 is to prevent the buffer layer 18 from blocking the infrared sensor 16 so as to prevent the infrared sensor 16 from being affected during the process of transmitting and receiving infrared light.
  • the electronic device 100 further includes a metal sheet 19 covering the buffer layer 18 and avoiding the infrared sensor 16.
  • the metal sheet 19 is used for shielding electromagnetic interference and grounding, and has a function of diffusing temperature rise.
  • the metal sheet 19 can be cut out of a metal material such as copper foil or aluminum foil.
  • these metallic materials are only exemplary and embodiments of the present invention are not limited thereto.
  • avoiding the infrared sensor 16 during the setting of the metal sheet 19 is to prevent the metal sheet 19 from blocking the infrared sensor 16 so as to prevent the infrared sensor 16 from being affected in the process of transmitting and receiving infrared light.
  • the program can be stored in a non-volatile computer-readable storage medium.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Telephone Function (AREA)

Abstract

一种电子装置(100)的控制方法,电子装置(100)的控制方法中,电子装置(100)包括透光显示屏(13)、光感应器(1a)和红外传感器(16),透光显示屏(13)包括显示区(1311),红外传感器(16)设置在显示区(1311)下方,红外传感器(16)用于发射红外光并接收被物体反射的红外光以检测物体至电子装置(100)的距离。控制方法包括步骤:判断电子装置(100)是否进入通话业务;在电子装置(100)进入通话业务时控制光感应器(1a)开始检测多个环境亮度值;和在第N个环境亮度值与第N-1个环境亮度值的差值的绝对值小于阈值时,控制红外传感器(16)开启并控制透光显示屏关闭,其中,N为自然数,N≥2。

Description

控制方法、控制装置、电子装置、存储介质和计算机设备
优先权信息
本申请请求2018年06月06日向中国国家知识产权局提交的、专利申请号为201810574422.8的专利申请的优先权和权益,并且通过参照将其全文并入此处。
技术领域
本发明涉及电子技术领域,特别涉及一种控制方法、控制装置、电子装置、计算机可读存储介质和计算机设备。
背景技术
目前,全面屏手机已经成为各大手机厂商的主推产品。在相关技术中,为了提高手机的屏占比,接近传感器设置在显示屏的下方,然而,由于接近传感器在工作时间断地发射红外光以用于检测手机外部物体与手机的距离,红外光容易使显示屏内的元器件发生电子迁移,使得显示屏形成局部闪烁现象,不利于用户体验。
发明内容
本发明的实施例提供了一种控制方法、控制装置、电子装置、计算机可读存储介质和计算机设备。
本发明提供了一种电子装置的控制方法,所述电子装置包括透光显示屏、光感应器和红外传感器,所述透光显示屏包括显示区,所述红外传感器设置在所述显示区下方,所述红外传感器用于发射红外光并接收被物体反射的红外光以检测所述物体至所述电子装置的距离,所述控制方法包括步骤:
判断所述电子装置是否进入通话业务;
在所述电子装置进入所述通话业务时控制所述光感应器开始检测多个环境亮度值;和
在第N个所述环境亮度值与第N-1个所述环境亮度值的差值的绝对值小于阈值时,控制所述红外传感器开启并控制透光显示屏关闭,其中,N为自然数,N≥2。
本发明提供了一种电子装置的控制装置,所述电子装置包括透光显示屏、光感应器和红外传感器,所述透光显示屏包括显示区,所述红外传感器设置在所述显示区下方,所述红外传感器用于发射红外光并接收被物体反射的红外光以检测所述物体至所述电子装置的距离,所述控制装置包括:
第一判断模块,所述第一判断模块用于判断所述电子装置是否进入通话业务;
第一检测模块,所述第一检测模块用于所述电子装置进入所述通话业务时控制所述光感应器开始检测多个环境亮度值;和
第一控制模块,所述第一控制模块用于在第N个所述环境亮度值与第N-1个所述环境亮度值的差值的绝对值小于阈值时,控制所述红外传感器开启并控制透光显示屏关闭,其中,N为自然数,N≥2。
本发明提供了一种电子装置,包括透光显示屏、光感应器、红外传感器和处理器,所述透光显示屏包括显示区,所述红外传感器设置在所述显示区下方,所述红外传感器用于发射红外光并接收被物体反射的红外光以检测所述物体至所述电子装置的距离,所述处理器用于:
判断所述电子装置是否进入通话业务;
在所述电子装置进入所述通话业务时控制所述光感应器开始检测多个环境亮度值;和
在第N个所述环境亮度值与第N-1个所述环境亮度值的差值的绝对值小于阈值时,控制所述红外传感器开启并控制透光显示屏关闭,其中,N为自然数,N≥2。
本发明提供了一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当所述计算机可执行指令被一个或多个处理器执行时,使得所述处理器执行所述的电子装置的控制方法。
本发明提供了一种计算机设备,包括存储器及处理器,所述存储器中储存有计算机可读指令,所述指令被所述处理器执行时,使得所述处理器执行所述的电子装置的控制方法。
本发明实施方式的控制方法、控制装置、电子装置、计算机可读存储介质和计算机设备利用进入通话业务时的多个环境亮度值控制红外传感器,使用户观察不到红外传感器发射的红外光与透光显示屏发生的干涉,可以提高用户体验。
本申请的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。
附图说明
本申请的上述和/或附加的方面和优点从结合下面附图对实施方式的描述中将变得明显和容易理解,其中:
图1是本发明某些实施方式的电子装置的截面示意图;
图2是本发明某些实施方式的控制方法的流程示意图;
图3是本发明某些实施方式的控制装置的模块示意图;
图4是本发明某些实施方式的电子装置的模块示意图;
图5是本发明某些实施方式的控制方法的步骤S03的流程示意图;
图6是本发明某些实施方式的控制装置的第一控制模块的模块示意图;
图7是本发明另一实施方式的控制方法的流程示意图;
图8是本发明另一实施方式的控制装置的模块示意图;
图9是本发明某些实施方式的计算机设备的模块示意图;
图10至图19是本发明某些实施方式的电子装置的截面示意图。
具体实施方式
下面详细描述本申请的实施方式,所述实施方式的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施方式是示例性的,仅用于解释本申请,而不能理解为对本申请的限制。
请参阅图1和图2,本发明提供了一种电子装置100的控制方法10。电子装置100的控制方法10中,电子装置100包括透光显示屏13、光感应器1a和红外传感器16,透光显示屏13包括显示区1311,红外传感器16设置在显示区1311下方,红外传感器16用于发射红外光并接收被物体反射的红外光以检测物体至电子装置100的距离。控制方法10包括步骤:
S01,判断电子装置100是否进入通话业务;
S02,在电子装置100进入通话业务时控制光感应器1a开始检测多个环境亮度值;和
S03,在第N个环境亮度值与第N-1个环境亮度值的差值的绝对值小于阈值时,控制红外传感器16开启并控制透光显示屏关闭,其中,N为自然数,N≥2。
请参阅图3,本发明实施方式还提供了一种电子装置100的控制装置200,本发明实施方式的电子装置100的控制方法10可以由本发明实施方式的电子装置100的控制装置200实现。控制装置200包括第一判断模块21、第一检测模块22和第一控制模块24。第一判断模块21用于判断电子装置100是否进入通话业务。第一检测模块22用于在电子装置100进入通话业务时控制光感应器1a开始检测多个环境亮度值。第一控制模块24用于在第N个环境亮度值与第N-1个环境亮度值的差值的绝对值小于阈值时,控制红外传感器16开启并控制透光显示屏关闭,其中,N为自然数,N≥2。也即是说,步骤S01可以由第一判断模块21实现,步骤S02可以由第一检测模块22实现,步骤S03可以由第一控制模块24 实现。
请参阅图4,本发明实施方式还提供了一种电子装置100。电子装置100包括透光显示屏13、红外传感器16、光感应器1a和处理器23,透光显示屏13包括显示区1311,红外传感器16设置在显示区1311下方,红外传感器16用于发射红外光并接收被物体反射的红外光以检测物体至电子装置100的距离,处理器23用于判断电子装置100是否进入通话业务;在电子装置100进入通话业务时控制光感应器1a开始检测多个环境亮度值;和在第N个环境亮度值与第N-1个环境亮度值的差值的绝对值小于阈值时,控制红外传感器16开启并控制透光显示屏关闭,其中,N为自然数,N≥2。也即是说,步骤S01、步骤S02和步骤S03可以由处理器23实现。
本发明实施例以电子装置100为手机作为例子进行说明。手机屏幕的顶部位置一般通过设置红外传感器16以确定手机与障碍物之间的距离并做出相应的调整,能够防止用户的误操作和有利于节省手机的电量。当用户在接听或者拨打电话并将手机靠近头部时,红外传感器16经过计算发射器发出红外光和接收器接收反射回来的红外光的时间生成检测信息,处理器23根据该检测信息关闭透光显示屏13。当手机远离头部时,处理器23再次根据红外传感器16反馈回来的检测信息重新打开透光显示屏13。
本发明实施方式的控制方法10、控制装置200和电子装置100利用进入通话业务时的多个环境亮度值控制红外传感器,使用户观察不到红外传感器16发射的红外光与透光显示屏发生的干涉,可以提高用户体验。
随着电子设备的发展,全面屏已经成为手机的发展趋势。全面屏高屏占比的特点使得屏幕顶部留给红外传感器或者其他元件的位置有限,当红外传感器设置在透光显示屏下时,由于光电效应,红外传感器在发射红外光的过程中使屏幕里的电子受到激发从而引起透光显示屏闪烁,从而与透光显示屏的正常显示形成干涉,影响用户的体验。
可以理解,当电子装置100进入通话业务时,用户一般会将电子装置100放至耳边,在用户将电子装置100放至耳边的过程中,红外传感器16检测到的环境亮度会变小,并且,当用户将电子装置100放至耳边后,红外传感器16检测到的环境亮度将趋于稳定,因此可以通过红外传感器16检测到的多个环境亮度中的两个相邻的环境亮度的差值与阈值的比较,判断红外传感器16检测到的环境亮度是否趋于稳定,从而判断用户是否已经完成将电子装置100放至耳边的动作,从而控制红外传感器16是否开启。另外,由于在电子装置100放至耳边之后,一般用户不会再观察到电子装置100的屏幕,此时控制透光显示屏13关闭不会影响到用户正常通话,而且,此时控制红外传感器16开启在使红外传感器16感测用 户与电子装置100的距离从而使处理器23控制透光显示屏13的亮灭的同时,不会因闪烁现象降低用户的体验。另外,在用户将电子装置100放至耳边之后,才开启红外传感器16,也即是说,在用户将电子装置100放至耳边之前,红外传感器16是关闭的,因此,在用户将电子装置100放至耳边之前,用户观察透光显示屏13时,也不会出现闪烁现象,不会降低用户的体验。
具体地,光感应器1a接收不同的光线强度时,会产生强弱不等的电流,从而感知环境光亮度。
在某些实施方式中,通话业务包括来电、去电或接通电话。
如此,可以防止用户的误操作和节约电量。可以理解,在来电、去电或接通电话时,用户一般将电子装置100放至耳边,并控制红外传感器16根据电子装置100与人体的距离调节屏幕的亮和灭,使电子装置100在远离人体时亮屏,在靠近人体时息屏,如此不仅防止了用户的误操作,而且节省了电子装置100的电量。进一步地,通话业务可以为用户进行语音对话的过程,例如,通话业务为用户向他人拨出电话而等待对方接听的过程,也可以为用户通过语音与他人正在对话的过程。
在某些实施方式中,步骤S02包括:
控制光感应器1a开始间断地检测多个环境亮度值。
在某些实施方式中,第一检测模块22包括第一检测单元。第一检测单元用于控制光感应器1a开始间断地检测多个环境亮度值。
在某些实施方式中,处理器23用于控制光感应器1a开始间断地检测多个环境亮度值。
如此,实现对多个环境亮度值的检测。可以理解,由于在步骤S03中要比较的是多个环境亮度值中两个相邻环境亮度值的差值,并通过差值的大小来判断环境亮度变化的情况,因此,多个环境亮度值在时间上应当有着先后顺序,所以,要控制光感应器1a间断地检测多个环境亮度值。进一步地,每次检测的间隔时间相同。在一个例子中,每次检测的间隔时间为0.01s;在另一个例子中,每次检测的间隔时间为0.02s,在又一个例子中,每次检测的间隔时间为0.005s。在此,不对每次检测的间隔时间的具体时长做限制。
请参阅图5,在某些实施方式中,步骤S03包括:
S031,在差值的绝对值小于阈值时判断电子装置100的姿态;和
S032,在电子装置100的姿态为预定姿态时控制红外传感器16开启并控制透光显示屏13关闭。
请参阅图6,在某些实施方式中,第一控制模块24包括第一判断单元241和第一控制 单元242。第一判断单元用于在差值的绝对值小于阈值时判断电子装置100的姿态。第一控制单元用于在电子装置100的姿态为预定姿态时控制红外传感器16开启并控制透光显示屏13关闭。
在某些实施方式中,处理器23用于在差值的绝对值小于阈值时判断电子装置100的姿态;和在电子装置100的姿态为预定姿态时控制红外传感器16开启并控制透光显示屏13关闭。
如此,使得控制红外传感器16开启并控制透光显示屏13关闭更加精确。可以理解,在某些情景下,即使电子装置100进入了通话业务,多个环境亮度值中的两相邻环境亮度值的差值的绝对值也小于阈值时,用户也不一定完成了将电子装置100放至耳边的动作。比如,电子装置100进入通话业务后,他人将电子装置100递给用户,在这个过程中,电子装置100并没有放置在用户的耳边,但是环境亮度的变化有可能较大。而在差值的绝对值小于阈值时判断电子装置100的姿态,则可以通过对电子装置100姿态的判断,进一步确定电子装置100是否被放至用户的耳边。具体地,可以利用陀螺仪对电子装置100的姿态进行判断。另外,电子装置100的姿态有很多,比如平放、倒置和竖直,由于用户在进行通话时,电子装置100一般竖直地放在用户的耳边,因此,可以将预定姿态设置为竖直姿态。
请参阅图7,在某些实施方式中,控制方法在步骤S03后还包括:
S04,控制红外传感器16检测物体与电子装置100之间的距离;
S05,判断物体与电子装置100的距离是否大于预定距离;
S06,在物体与电子装置100的距离大于预定距离时控制透光显示屏13开启;
S07,判断电子装置100是否处于通话业务;和
S08,在电子装置100处于通话业务时控制红外传感器16关闭并控制光感应器1a开始检测多个环境亮度值。
请参阅图8,在某些实施方式中,控制装置20包括第二检测模块25、第二判断模块26、第二控制模块27、第三判断模块28和第三控制模块29。第二检测模块25用于控制红外传感器16检测物体与电子装置100之间的距离。第二判断模块26用于判断物体与电子装置100的距离是否大于预定距离。第二控制模块27用于在物体与电子装置100的距离大于预定距离时控制透光显示屏13开启。第三判断模块28用于判断电子装置100是否处于通话业务。第三控制模块29用于在电子装置100处于通话业务时控制红外传感器16关闭并控制光感应器1a开始检测多个环境亮度值。
在某些实施方式中,处理器23用于控制红外传感器16检测物体与电子装置100之间 的距离;判断物体与电子装置100的距离是否大于预定距离;在物体与电子装置100的距离大于预定距离时控制透光显示屏13开启;判断电子装置100是否处于通话业务;在电子装置100处于通话业务时控制红外传感器16关闭并控制光感应器1a开始检测多个环境亮度值。
如此,使得用户在通话中途将电子装置100拿离耳边时,不会受到闪烁现象的干扰,从而提高用户的体验。可以理解,在通话过程中,用户有可能要将电子装置100暂时拿离耳边并通过透光显示屏13对电子装置100进行操作,如果此时红外传感器16保持开启的话,红外传感器16发射的红外光与透光显示屏13干涉引起的闪烁会使得用户体验变差。因此,在物体与电子装置100的距离大于预定距离时,控制透光显示屏13开启,以使用户可以通过透光显示屏13对电子装置100进行操作。然后,在电子装置100不处于通话业务时,可以推测,通话已结束,因此,控制方法直接结束。
请注意,红外传感器16在控制方法结束的同时关闭。在电子装置100依旧处于通话业务时,可以推测,是用户将电子装置100暂时拿离耳边以通过透光显示屏13对电子装置进行操作的情景,因此,控制红外传感器16关闭以避免红外传感器16发射的红外光与透光显示屏13干涉引起闪烁现象。由于用户在暂时将电子装置100拿离耳边后,还会将电子装置100拿回耳边继续进行通话,因此,进入控制光感应器开始检测多个环境亮度值的步骤S02,以在用户将电子装置100拿回耳边时控制红外传感器16开启并控制透光显示屏13关闭。
本发明实施方式还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当计算机可执行指令被一个或多个处理器23执行时,使得处理器23执行上述任一实施方式的控制方法。
请参阅图9,本发明实施方式还提供了一种计算机设备300。计算机设备包括存储器32及处理器23,存储器32中储存有计算机可读指令,指令被处理器23执行时,处理器23执行上述任一实施方式的控制方法。
图9为一个实施例中的计算机设备300的内部模块示意图。计算机设备300包括通过系统总线31连接的处理器23、存储器32(例如为非易失性存储介质)、内存储器33、透光显示屏13和输入装置34。其中,计算机设备300的存储器32存储有操作系统和计算机可读指令。该计算机可读指令可被处理器23执行,以实现上述任意一项实施方式的控制方法10。处理器23可用于提供计算和控制能力,支撑整个计算机设备300的运行。计算机设备300的内存储器33为存储器32中的计算机可读指令运行提供环境。计算机设备300的 透光显示屏13可以是OLED透光显示屏或者Micro LED透光显示屏等,输入装置34可以是透光显示屏13上覆盖的触控面板,也可以是计算机设备300外壳上设置的按键、轨迹球或触控板,也可以是外接的键盘、触控板或鼠标等。该计算机设备300可以是手机、平板电脑、笔记本电脑、个人数字助理或穿戴式设备(例如智能手环、智能手表、智能头盔、智能眼镜)等。本领域技术人员可以理解,图中示出的结构,仅仅是与本发明方案相关的部分结构的示意图,并不构成对本发明方案所应用于其上的计算机设备300的限定,具体的计算机设备300可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
在某些实施方式中,透光显示屏13包括OLED透光显示屏。
具体地,OLED透光显示屏具有良好的透光性,能够较好地透过可见光和红外光。因此,OLED透光显示屏可以在展现内容效果的情况下,也不影响红外传感器16发射和接收红外光。透光显示屏13也可以采用Micro LED透光显示屏,Micro LED透光显示屏同样具有对可见光和红外光良好的透光率。当然,这些透光显示屏仅作为示例性的而本发明的实施例并不限于此。另外,透光显示屏13可设置在壳体20。
请参阅图10,在一些实施方式中,电子装置100还包括透光盖板11和透光触控面板12。透光盖板11形成于透光触控面板12上,透光触控面板12设置在透光显示屏13上,透光显示屏13的上表面131朝向透光触控面板12,透光盖板11和透光触控面板12对可见光透光率和红外光透光率均大于90%。
具体地,透光触控面板12主要用于接收用户在触碰透光触控面板12时产生的输入信号并传送到电路板进行数据处理,从而获得用户触碰透光触控面板12的具体位置。其中,可以采用In-Cell或者On-Cell贴合技术,将透光触控面板12与透光显示屏13进行贴合,能够有效地减轻透光显示屏13的重量和减少透光显示屏13的整体厚度。另外,将透光盖板11设置在透光触控面板12上,能够有效地保护透光触控面板12及其内部结构,避免了外界作用力对透光触控面板12及透光显示屏13的损坏。透光盖板11和透光触控面板12对可见光和红外光的透光率均大于90%,不仅有利于透光显示屏13较好地展现内容效果,而且还有利于设置在透光显示屏13下的红外传感器16稳定地发射和接收红外光,保证了红外传感器16的正常工作。
请参阅图11,在某些实施方式中,透光显示屏13包括上表面131和下表面132,电子装置100还包括涂布在下表面132且覆盖红外传感器16的第一涂布层14,第一涂布层14用于透过红外光和拦截可见光,红外传感器16用于透过第一涂布层14和透光显示屏13发 射和/或接收红外光。
具体地,设置第一涂布层14透过红外光是为保证红外传感器16的正常工作,第一涂布层14拦截可见光能够实现从外部观看电子装置100时,达到红外传感器16不可见的效果。
在某些实施方式中,红外传感器16包括接近传感器,接近传感器包括发射器1611和接收器1612,发射器1611用于透过第一涂布层14和透光显示屏13发射红外光,接收器1612用于接收经物体发射的红外光以检测物体与电子装置100的距离。
具体地,当用户在接听或者拨打电话时,电子装置100靠近头部,发射器1611发出红外光,接收器1612接收反射回来的红外光,处理器23计算红外光从发射到反射回来的时间,便发出相应指令控制屏幕关闭背景灯,当电子装置100远离头部时,处理器23再次根据反馈回来的数据进行计算并发出指令,便重新打开屏幕背景灯。如此,不仅防止了用户的误操作,而且节省了手机的电量。
在某些实施方式中,红外传感器16在下表面132的正投影位于第一涂布层14在下表面132的正投影内。
具体地,在进行工艺装配的过程中红外传感器16的安装通常需要预留装配间隙,导致红外传感器16与其他元件之间出现缝隙,使可见光从缝隙里进入,出现漏光现象。因此,在红外传感器16和透光显示屏13层叠的方向上,第一涂布层14在下表面132的正投影的面积大于红外传感器16在下表面132的正投影的面积,能够在不影响红外传感器16正常工作的情况下,使第一涂布层14充分遮挡红外传感器16,实现从外部观看电子装置100时,达到红外传感器16不可见的效果。
请参阅图12,在某些实施方式中,红外传感器16在下表面132的正投影与第一涂布层14重合。
具体地,在红外传感器16和透光显示屏13层叠的方向上,也可以设置第一涂布层14正投影于下表面132的面积等于红外传感器16正投影于下表面132的面积。如此,能够在不影响红外传感器16正常工作的情况下,使第一涂布层14刚好遮挡红外传感器16,实现从朝向并垂直于透光显示屏13上表面131的方向观看电子装置100时,达到红外传感器16不可见的效果。
请参阅图13,进一步地,在这样的实施方式中,电子装置100还包括设置在下表面132且包围红外传感器16的遮光层17。
具体地,当设置第一涂布层14正投影于下表面132的面积等于红外传感器16正投影 于下表面132的面积的情况时,由于在放置红外传感器16的空间体积比红外传感器16的体积大,导致从外部环境观看电子装置100时,围绕红外传感器16周围的空间出现漏光现象。因此,通过设置包围红外传感器16的遮光层17,填补了红外传感器16与周围空间的缝隙,可以消除这种漏光现象。遮光层17可以是采用黑色材质制成的泡棉,也可以是其他黑色的泡沫塑料或者橡胶。当然,这些材料仅作为示例性的而本发明的实施例并不限于此。
在某些实施方式中,红外传感器16包括接近传感器,接近传感器包括发射器1611和接收器1612,发射器1612用于透过第一涂布层14和透光显示屏13发射红外光,接收器1612用于接收经物体反射的红外光以检测物体与电子装置100的距离。
具体地,当用户在接听或者拨打电话时,电子装置100靠近头部,发射器1611发出红外光,接收器1612接收反射回来的红外光,处理器23计算红外光从发射到反射回来的时间,便发出相应指令控制屏幕关闭背景灯,当电子装置100远离头部时,处理器23再次根据反馈回来的数据进行计算并发出指令,便重新打开屏幕背景灯。如此,不仅防止了用户的误操作,而且节省了手机的电量。
在某些实施方式中,第一涂布层包括IR油墨,IR油墨对红外光的透光率大于85%,IR油墨对可见光的透光率小于6%,IR油墨可透过的红外光的波长为850nm-940nm。
具体地,由于IR油墨具有对可见光低透光率的特性,所以从外部观看电子装置100时,基于人眼的视觉观察不到设置在第一涂布层14下的红外传感器16。同时,IR油墨兼具对红外光高透光率的特性,能够使红外传感器16稳定地发射和接收红外光,保证了红外传感器16的正常工作。
请参阅图14和图15,在某些实施方式中,电子装置100还包括涂布在下表面132且与第一涂布层14相接的第二涂布层15。
具体地,第一涂布层14主要用于透过红外光和遮挡红外传感器16,但由于第一涂布层14使用的IR油墨的成本较普通黑色油墨高,若将下表面132全部涂布IR油墨,将不利于降低生产成本,并且,普通黑色油墨相比IR油墨对可见光的透光率能够达到更低,遮挡效果更为突出。如此,通过设置第二涂布层15,不仅有利于降低生产成本,而且遮挡效果更符合工艺要求。
请参阅图16和图17,在某些实施方式中,电子装置100还包括覆盖下表面132且避让红外传感器16的缓冲层18。
具体地,缓冲层18用于减缓冲击力和防震以保护透光触控面板12和透光显示屏13及其内部结构,避免透光显示屏13因受到外界的冲击作用而损坏。缓冲层18可以由泡棉或 者泡沫塑料或者橡胶或者其他软质材料制成。当然,这些缓冲材料仅作为示例性的而本发明的实施例并不限于此。此外,在设置缓冲层18的过程中避让红外传感器16,是为了防止缓冲层18遮挡红外传感器16,以免红外传感器16在发射和接收红外光的过程中受到影响。
请参阅图18和图19,进一步地,在这样的实施方式中,电子装置100还包括覆盖缓冲层18且避让红外传感器16的金属片19。
具体地,金属片19用于屏蔽电磁干扰及接地,具有扩散温升的作用。金属片19可以采用铜箔、铝箔等金属材料裁剪而成。当然,这些金属材料仅作为示例性的而本发明的实施例并不限于此。此外,在设置金属片19的过程中避让红外传感器16,是为了防止金属片19遮挡红外传感器16,以免红外传感器16在发射和接收红外光的过程中受到影响。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,的程序可存储于一非易失性计算机可读存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等。
以上实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (20)

  1. 一种电子装置的控制方法,其特征在于,所述电子装置包括透光显示屏、光感应器和红外传感器,所述透光显示屏包括显示区,所述红外传感器设置在所述显示区下方,所述红外传感器用于发射红外光并接收被物体反射的红外光以检测所述物体至所述电子装置的距离,所述控制方法包括步骤:
    判断所述电子装置是否进入通话业务;
    在所述电子装置进入所述通话业务时控制所述光感应器开始检测多个环境亮度值;
    在第N个所述环境亮度值与第N-1个所述环境亮度值的差值的绝对值小于阈值时,控制所述红外传感器开启并控制所述透光显示屏关闭,其中,N为自然数,N≥2。
  2. 根据权利要求1所述的电子装置的控制方法,其特征在于,所述通话业务包括来电、去电或接通电话。
  3. 根据权利要求1所述的电子装置的控制方法,其特征在于,所述控制所述光感应器开始检测多个环境亮度值的步骤包括:
    控制所述光感应器开始间断地检测所述多个环境亮度值。
  4. 根据权利要求1所述的电子装置的控制方法,其特征在于,所述控制所述红外传感器开启并控制所述透光显示屏关闭的步骤包括:
    在所述差值的绝对值小于所述阈值时判断所述电子装置的姿态;和
    在所述电子装置的姿态为预定姿态时控制所述红外传感器开启并控制所述透光显示屏关闭。
  5. 根据权利要求1所述的电子装置的控制方法,其特征在于,所述控制方法在所述控制所述红外传感器开启并控制所述透光显示屏关闭的步骤后还包括:
    控制所述红外传感器检测物体与所述电子装置之间的距离;
    判断所述物体与所述电子装置的距离是否大于预定距离;
    在所述物体与所述电子装置的距离大于所述预定距离时控制所述透光显示屏开启;
    判断所述电子装置是否处于所述通话业务;和
    在所述电子装置处于所述通话业务控制所述红外传感器关闭并控制所述光感应器开始 检测多个环境亮度值。
  6. 一种电子装置的控制装置,其特征在于,所述电子装置包括透光显示屏、光感应器和红外传感器,所述透光显示屏包括显示区,所述红外传感器设置在所述显示区下方,所述红外传感器用于发射红外光并接收被物体反射的红外光以检测所述物体至所述电子装置的距离,所述控制装置包括:
    第一判断模块,所述第一判断模块用于判断所述电子装置是否进入通话业务;
    第一检测模块,所述第一检测模块用于所述电子装置进入所述通话业务时控制所述光感应器开始检测多个环境亮度值;和
    第一控制模块,所述第一控制模块用于在第N个所述环境亮度值与第N-1个所述环境亮度值的差值的绝对值小于阈值时,控制所述红外传感器开启并控制所述透光显示屏关闭,其中,N为自然数,N≥2。
  7. 一种电子装置,其特征在于,包括透光显示屏、光感应器、红外传感器和处理器,所述透光显示屏包括显示区,所述红外传感器设置在所述显示区下方,所述红外传感器用于发射红外光并接收被物体反射的红外光以检测所述物体至所述电子装置的距离,所述处理器用于:
    判断所述电子装置是否进入通话业务;
    在所述电子装置进入所述通话业务时控制所述光感应器开始检测多个环境亮度值;和
    在第N个所述环境亮度值与第N-1个所述环境亮度值的差值的绝对值小于阈值时,控制所述红外传感器开启并控制所述透光显示屏关闭,其中,N为自然数,N≥2。
  8. 根据权利要求7所述的电子装置,其特征在于,所述处理器用于:
    控制所述光感应器开始间断地检测所述多个环境亮度值。
  9. 根据权利要求7所述的电子装置,其特征在于,所述处理器用于:
    在所述差值的绝对值小于所述阈值时判断所述电子装置的姿态;
    在所述电子装置的姿态为预定姿态时控制所述红外传感器开启并控制所述透光显示屏关闭。
  10. 根据权利要求7所述的电子装置,其特征在于,所述处理器用于:
    控制所述红外传感器检测物体与所述电子装置之间的距离;
    判断所述物体与所述电子装置的距离是否大于预定距离;
    在所述物体与所述电子装置的距离大于所述预定距离时控制所述透光显示屏开启;
    判断所述电子装置是否处于所述通话业务;和
    在所述电子装置处于所述通话业务控制所述红外传感器关闭并控制所述光感应器开始检测多个环境亮度值。
  11. 根据权利要求7所述的电子装置,其特征在于,所述透光显示屏包括上表面和与所述上表面相背的下表面,所述电子装置还包括涂布在所述下表面且覆盖所述红外传感器的第一涂布层,所述第一涂布层用于透过红外光和拦截可见光,所述红外传感器用于透过所述第一涂布层和所述透光显示屏发射和/或接收红外光。
  12. 根据权利要求11所述的电子装置,其特征在于,所述红外传感器包括接近传感器,所述接近传感器包括发射器和接收器,所述发射器用于透过所述第一涂布层和所述透光显示屏发射红外光,所述接收器用于接收经物体反射的红外光以检测所述物体与所述电子装置的距离。
  13. 根据权利要求11所述的电子装置,其特征在于,所述红外传感器在所述下表面的正投影位于所述第一涂布层在所述下表面的正投影内。
  14. 根据权利要求11所述的电子装置,其特征在于,所述红外传感器在所述下表面的正投影与所述第一涂布层重合
  15. 根据权利要求11所述的电子装置,其特征在于,所述电子装置还包括设置在所述下表面且包围所述红外传感器的遮光层。
  16. 根据权利要求11所述的电子装置,其特征在于,所述电子装置还包括覆盖所述下表面且避让所述红外传感器的缓冲层。
  17. 根据权利要求7所述的电子装置,其特征在于,所述透光显示屏包括OLED透光显示屏。
  18. 根据权利要求7所述的电子装置,其特征在于,所述电子装置还包括透光盖板和透光触控面板,所述透光盖板形成于所述透光触控面板上,所述透光触控面板设置在所述透光显示屏上,所述透光显示屏的上表面朝向所述透光触控面板,所述透光盖板和所述透光触控面板对可见光透光率和红外光透光率均大于90%。
  19. 一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当所述计算机可执行指令被一个或多个处理器执行时,使得所述处理器执行权利要求1-5中任一项所述的电子装置的控制方法。
  20. 一种计算机设备,包括存储器及处理器,所述存储器中储存有计算机可读指令,所述指令被所述处理器执行时,使得所述处理器执行权利要求1-5中任一项所述的电子装置的控制方法。
PCT/CN2019/085864 2018-06-06 2019-05-07 控制方法、控制装置、电子装置、存储介质和计算机设备 WO2019233233A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810574422.8A CN108989490B (zh) 2018-06-06 2018-06-06 控制方法、控制装置、电子装置、存储介质和计算机设备
CN201810574422.8 2018-06-06

Publications (1)

Publication Number Publication Date
WO2019233233A1 true WO2019233233A1 (zh) 2019-12-12

Family

ID=64540777

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/085864 WO2019233233A1 (zh) 2018-06-06 2019-05-07 控制方法、控制装置、电子装置、存储介质和计算机设备

Country Status (2)

Country Link
CN (1) CN108989490B (zh)
WO (1) WO2019233233A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989490B (zh) * 2018-06-06 2020-04-28 Oppo广东移动通信有限公司 控制方法、控制装置、电子装置、存储介质和计算机设备
CN112327380B (zh) * 2020-10-28 2024-05-28 维沃移动通信有限公司 红外传感装置、异物检测方法、装置和电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303023A (zh) * 2016-08-12 2017-01-04 青岛海信移动通信技术股份有限公司 屏幕状态调节方法及装置
US20170017842A1 (en) * 2014-01-28 2017-01-19 Beijing Irisking Co., Ltd Mobile terminal iris recognition method and device having human-computer interaction mechanism
CN106550126A (zh) * 2016-10-31 2017-03-29 努比亚技术有限公司 移动终端及其屏幕亮度的控制装置和方法
CN106797416A (zh) * 2016-10-31 2017-05-31 北京小米移动软件有限公司 屏幕控制方法及装置
CN108989490A (zh) * 2018-06-06 2018-12-11 Oppo广东移动通信有限公司 控制方法、控制装置、电子装置、存储介质和计算机设备

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741983B (zh) * 2009-12-10 2013-08-07 中兴通讯股份有限公司 一种实现临近感应的方法以及终端
US8320970B2 (en) * 2011-02-16 2012-11-27 Google Inc. Mobile device display management
CN105519086B (zh) * 2014-09-30 2019-04-16 华为技术有限公司 接近光传感器的控制方法、装置和移动终端
CN107920142B (zh) * 2017-11-22 2019-10-25 Oppo广东移动通信有限公司 电子装置
CN107817936A (zh) * 2017-11-22 2018-03-20 广东欧珀移动通信有限公司 电子装置及传感器组件
CN107911554B (zh) * 2017-11-22 2020-05-12 Oppo广东移动通信有限公司 电子装置及电子装置的控制方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170017842A1 (en) * 2014-01-28 2017-01-19 Beijing Irisking Co., Ltd Mobile terminal iris recognition method and device having human-computer interaction mechanism
CN106303023A (zh) * 2016-08-12 2017-01-04 青岛海信移动通信技术股份有限公司 屏幕状态调节方法及装置
CN106550126A (zh) * 2016-10-31 2017-03-29 努比亚技术有限公司 移动终端及其屏幕亮度的控制装置和方法
CN106797416A (zh) * 2016-10-31 2017-05-31 北京小米移动软件有限公司 屏幕控制方法及装置
CN108989490A (zh) * 2018-06-06 2018-12-11 Oppo广东移动通信有限公司 控制方法、控制装置、电子装置、存储介质和计算机设备

Also Published As

Publication number Publication date
CN108989490B (zh) 2020-04-28
CN108989490A (zh) 2018-12-11

Similar Documents

Publication Publication Date Title
CN110581904B (zh) 控制方法、控制装置、电子装置和存储介质
WO2019233232A1 (zh) 控制方法、控制装置、电子装置、计算机存储介质及设备
CN109040417B (zh) 控制方法、控制装置、电子装置、存储介质和计算机设备
CN109167857B (zh) 校准方法、电子装置、存储介质和计算机设备
EP3716588A1 (en) Electronic device and fabrication method therefor
US10560568B2 (en) Control method, control device and electronic device
CN108769354B (zh) 控制方法、控制装置、电子装置、存储介质和计算机设备
CN108718349B (zh) 控制方法、控制装置、电子装置、存储介质和计算机设备
WO2019233233A1 (zh) 控制方法、控制装置、电子装置、存储介质和计算机设备
CN108989566A (zh) 控制方法、电子装置和计算机可读存储介质
CN109710119B (zh) 控制方法、控制装置、电子装置和存储介质
CN108803947B (zh) 控制方法、控制装置、电子装置、计算机存储介质及设备
CN108810271A (zh) 控制方法、控制装置、电子装置、存储介质和计算机设备
CN109710109B (zh) 控制方法、控制装置、电子装置和存储介质
CN109743451B (zh) 控制方法、电子装置、计算机设备和存储介质
CN109388282B (zh) 控制方法、电子装置和存储介质
CN108989489B (zh) 控制方法、控制装置、电子装置、计算机存储介质及设备
CN108874483B (zh) 控制方法、控制装置、电子装置、存储介质和计算机设备
CN108833693A (zh) 控制方法、控制装置、电子装置、存储介质和计算机设备
CN109683750B (zh) 控制方法、电子装置、计算机设备和存储介质
CN109656429B (zh) 控制方法、电子装置和存储介质
CN108848243A (zh) 控制方法、控制装置、电子装置、计算机存储介质及设备
CN108718358B (zh) 控制方法、控制装置、电子装置、计算机存储介质及设备
CN108769357B (zh) 控制方法、控制装置、电子装置、计算机存储介质及设备
CN108919987A (zh) 控制方法、控制装置、电子装置、存储介质和计算机设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19815549

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19815549

Country of ref document: EP

Kind code of ref document: A1