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

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

Info

Publication number
CN108989490B
CN108989490B CN201810574422.8A CN201810574422A CN108989490B CN 108989490 B CN108989490 B CN 108989490B CN 201810574422 A CN201810574422 A CN 201810574422A CN 108989490 B CN108989490 B CN 108989490B
Authority
CN
China
Prior art keywords
electronic device
light
infrared sensor
controlling
display screen
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
CN201810574422.8A
Other languages
Chinese (zh)
Other versions
CN108989490A (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 CN201810574422.8A priority Critical patent/CN108989490B/en
Publication of CN108989490A publication Critical patent/CN108989490A/en
Priority to PCT/CN2019/085864 priority patent/WO2019233233A1/en
Application granted granted Critical
Publication of CN108989490B publication Critical patent/CN108989490B/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

Abstract

The invention discloses a control method of an electronic device. The electronic device comprises a light-transmitting display screen, a light sensor and an infrared sensor, wherein the light-transmitting display screen comprises a display area, the infrared sensor is arranged below the display area, the infrared sensor is used for emitting infrared light and receiving the infrared light reflected by an object so as to detect the distance from the object to the electronic device, and the control method comprises the following steps: judging whether the electronic device enters a call service or not; controlling a light sensor to start detecting a plurality of environment brightness values when the electronic device enters a call service; and when the absolute value of the difference value between the Nth environment brightness value and the (N-1) th environment brightness value is smaller than a threshold value, controlling the infrared sensor to be started and controlling the transparent display screen to be closed, wherein N is a natural number and is not less than 2. The control method of the embodiment of the invention controls the infrared sensor by utilizing the plurality of environment brightness values when the communication service is entered, so that a user can not observe the interference between the infrared light emitted by the infrared sensor and the light-transmitting display screen, and the user experience can be improved.

Description

Control method, control device, electronic device, storage medium, and computer apparatus
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a control method, a control device, an electronic device, a computer-readable storage medium, and a computer apparatus.
Background
At present, a full-screen mobile phone becomes a main push product for various large mobile phone manufacturers. In the correlation technique, in order to improve the screen of cell-phone and account for the ratio, proximity sensor sets up the below at the display screen, however, because proximity sensor intermittently launches the infrared light at the during operation in order to be used for detecting the distance of cell-phone external object and cell-phone, the infrared light makes the components and parts in the display screen take place electron migration easily for the display screen forms local scintillation phenomenon, is unfavorable for user experience.
Disclosure of Invention
The embodiment of the invention provides a control method, a control device, an electronic device, a computer readable storage medium and computer equipment.
The invention provides a control method of an electronic device, wherein the electronic device comprises a light-transmitting display screen, a light sensor and an infrared sensor, the light-transmitting display screen comprises a display area, the infrared sensor is arranged below the display area, the infrared sensor is used for emitting infrared light and receiving the infrared light reflected by an object so as to detect the distance from the object to the electronic device, and the control method comprises the following steps:
judging whether the electronic device enters a call service or not;
controlling the light sensor to start detecting a plurality of environment brightness values when the electronic device enters the call service; and
and when the absolute value of the difference value between the Nth environment brightness value and the N-1 th environment brightness value is smaller than a threshold value, controlling the infrared sensor to be started and controlling the transparent display screen to be closed, wherein N is a natural number and is not less than 2.
The present invention provides a control device of an electronic device, the electronic device including a light-transmitting display screen, a light sensor, and an infrared sensor, the light-transmitting display screen including a display area, the infrared sensor being disposed below the display area, the infrared sensor being configured to emit infrared light and receive infrared light reflected by an object to detect a distance from the object to the electronic device, the control device including:
the first judgment module is used for judging whether the electronic device enters a conversation service or not;
a first detection module, configured to control the light sensor to start detecting a plurality of ambient brightness values when the electronic device enters the call service; and
the first control module is used for controlling the infrared sensor to be started and controlling the transparent display screen to be closed when the absolute value of the difference value between the Nth environment brightness value and the N-1 th environment brightness value is smaller than a threshold value, wherein N is a natural number and is larger than or equal to 2.
The invention provides an electronic device, which comprises a light-transmitting display screen, a light sensor, an infrared sensor and a processor, wherein the light-transmitting display screen comprises a display area, the infrared sensor is arranged below the display area, the infrared sensor is used for emitting infrared light and receiving the infrared light reflected by an object so as to detect the distance from the object to the electronic device, and the processor is used for:
judging whether the electronic device enters a call service or not;
controlling the light sensor to start detecting a plurality of environment brightness values when the electronic device enters the call service; and
and when the absolute value of the difference value between the Nth environment brightness value and the N-1 th environment brightness value is smaller than a threshold value, controlling the infrared sensor to be started and controlling the transparent display screen to be closed, wherein N is a natural number and is not less than 2.
The present invention provides a non-transitory computer-readable storage medium containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the control method of an electronic device.
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.
The control method, the control device, the electronic device, the computer readable storage medium and the computer equipment of the embodiment of the invention control the infrared sensor by utilizing a plurality of environment brightness values when the communication service is entered, so that a user can not observe the interference between infrared light emitted by the infrared sensor and the light-transmitting display screen, and the user experience can be improved.
Drawings
The foregoing 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 cross-sectional view of an electronic device according to some embodiments of the invention;
FIG. 2 is a schematic flow chart of a control method according to certain embodiments of the present invention;
FIG. 3 is a block schematic diagram of a control device according to certain embodiments of the present invention;
FIG. 4 is a block diagram of an electronic device according to some embodiments of the invention;
FIG. 5 is a flow chart illustrating step S03 of the control method according to some embodiments of the present invention;
FIG. 6 is a block schematic diagram of a first control module of the control apparatus of certain embodiments of the present invention;
FIG. 7 is a schematic flow chart of a control method according to another embodiment of the present invention;
FIG. 8 is a block schematic diagram of a control device according to another embodiment of the present invention;
FIG. 9 is a block diagram of a computer device in accordance with certain embodiments of the invention;
fig. 10-19 are cross-sectional schematic views of electronic devices according to some embodiments of the invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar 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 drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
Referring to fig. 1 and 2, a method 10 for controlling an electronic device 100 is provided. In the control method 10 of the electronic device 100, the electronic device 100 comprises a light-transmitting display screen 13, a light sensor 1a and an infrared sensor 16, the light-transmitting display screen 13 comprises a display area 1311, the infrared sensor 16 is arranged below the display area 1311, and the infrared sensor 16 is used for emitting infrared light and receiving infrared light reflected by an object to detect the distance from the object to the electronic device 100. The control method 10 comprises the steps of:
s01, determining whether the electronic device 100 enters a call service;
s02, controlling the light sensor 1a to start detecting a plurality of ambient brightness values when the electronic device 100 enters the call service; and
s03, when the absolute value of the difference between the Nth environment brightness value and the (N-1) th environment brightness value is smaller than a threshold value, controlling the infrared sensor 16 to be started and controlling the transparent display screen to be closed, wherein N is a natural number and is larger than or equal to 2.
Referring to fig. 3, an embodiment of the invention further provides a control device 200 of the electronic device 100, and the control method 10 of the electronic device 100 according to the embodiment of the invention can be implemented by the control device 200 of the electronic device 100 according to the embodiment of the 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 detecting module 22 is configured to control the light sensor 1a to start detecting a plurality of 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 transparent display screen to be turned off when an absolute value of a difference between an nth environment brightness value and an N-1 st environment brightness value is smaller than a threshold, where N is a natural number and is greater than or equal to 2. That is, the step S01 may be implemented by the first determination module 21, the step S02 may be implemented by the first detection module 22, and the step S03 may be implemented by the first control module 24.
Referring to fig. 4, an electronic device 100 is further provided in an embodiment of the invention. The electronic device 100 comprises a light-transmitting display screen 13, an infrared sensor 16, a light sensor 1a and a processor 23, wherein the light-transmitting display screen 13 comprises a display area 1311, the infrared sensor 16 is arranged below the display area 1311, the infrared sensor 16 is used for emitting infrared light and receiving the infrared light reflected by an object to detect the distance from the object to the electronic device 100, and the processor 23 is used for judging whether the electronic device 100 enters a call service; controlling the light sensor 1a to start detecting a plurality of ambient brightness values when the electronic device 100 enters a call service; and when the absolute value of the difference value between the Nth environment brightness value and the (N-1) th environment brightness value is smaller than the threshold value, controlling the infrared sensor 16 to be started and controlling the transparent display screen to be closed, wherein N is a natural number and is not less than 2. That is, step S01, step S02, and step S03 may be implemented by the processor 23.
The embodiment of the present invention is described by taking the electronic device 100 as a mobile phone as an example. The top position of the mobile phone screen is generally provided with 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 power of the mobile phone can be saved. When the 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 23 closes the light-transmitting display screen 13 according to the detection information. When the mobile phone is far away from the head, the processor 23 turns on the transparent 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 invention control the infrared sensor by using a plurality of environment brightness values when entering a call service, so that a user cannot observe the interference between infrared light emitted by the infrared sensor 16 and the light-transmitting display screen, and the user experience can be improved.
With the development of electronic devices, a full screen has become a development trend of mobile phones. The high screen of full face screen accounts for the characteristics of comparing makes the screen top leave for infrared sensor or other components the position limited, and when infrared sensor set up under the printing opacity display screen, because photoelectric effect, infrared sensor makes the electron in the screen receive arousing thereby arouse printing opacity display screen scintillation at the in-process of emission infrared light to form with the normal demonstration of printing opacity display screen and interfere, influence user's experience.
It can be understood that when the electronic device 100 enters a call service, a user generally puts the electronic device 100 to the ear, and in the process of putting the electronic device 100 to the ear, the ambient brightness detected by the infrared sensor 16 will become small, and when the user puts the electronic device 100 to the ear, the ambient brightness detected by the infrared sensor 16 will tend to be stable, so that it can be determined whether the ambient brightness detected by the infrared sensor 16 tends to be stable by comparing the difference value of two adjacent ambient brightness among a plurality of ambient brightness detected by the infrared sensor 16 with a threshold value, and thus it is determined whether the user has completed the action of putting the electronic device 100 to the ear, and thus whether the infrared sensor 16 is turned on or not is controlled. In addition, since the general user can not observe the screen of the electronic device 100 after the electronic device 100 is placed beside the ear, controlling the transparent display 13 to be closed at this time will not affect the normal conversation of the user, and controlling the infrared sensor 16 to be opened at this time will not reduce the user experience due to the flicker phenomenon while enabling the infrared sensor 16 to sense the distance between the user and the electronic device 100 and enabling the processor 23 to control the on and off of the transparent display 13. In addition, the infrared sensor 16 is turned on after the user puts the electronic device 100 to the ear, that is, the infrared sensor 16 is turned off before the user puts the electronic device 100 to the ear, so that the flicker phenomenon does not occur when the user observes the light-transmitting display screen 13 before the user puts the electronic device 100 to the ear, and the user experience is not reduced.
Specifically, when the light sensor 1a receives different light intensities, currents with different intensities are generated, so as to sense the ambient light brightness.
In some embodiments, the call service includes an incoming call, an outgoing call, or a call.
Therefore, misoperation of a user can be prevented, and electric quantity can be saved. It can be understood that when a user makes a call, leaves a call or connects a call, the user generally puts the electronic device 100 to the ear, and controls the infrared sensor 16 to adjust the on and off of the screen according to the distance between the electronic device 100 and the human body, so that the electronic device 100 lights up when being far away from the human body and lights up when being close to the human body, thereby not only preventing the misoperation of the user, but also saving the electric quantity of the electronic device 100. Further, the call service may be a process of a voice conversation performed by the user, for example, the call service is a process of the user making a call to another person and waiting for the other person to answer the call, and may also be a process of the user having a conversation with another person through voice.
In certain embodiments, step S02 includes:
the photo sensor 1a is controlled to start intermittently detecting a plurality of ambient brightness values.
In certain embodiments, the first detection module 22 includes a first detection unit. The first detecting unit is used for controlling the light sensor 1a to start to intermittently detect a plurality of ambient brightness values.
In some embodiments, the processor 23 is configured to control the light sensor 1a to start detecting a plurality of ambient brightness values intermittently.
In this way, detection of a plurality of ambient brightness values is achieved. It is to be understood that, since the difference between two adjacent environment brightness values in the plurality of environment brightness values is compared in step S03, and the change of the environment brightness is determined according to the magnitude of the difference, the plurality of environment brightness values should be temporally sequenced, so that the light sensor 1a is controlled to detect the plurality of environment brightness values intermittently. Further, the interval time of each detection is the same. In one example, the interval time of each detection is 0.01 s; in another example, the time interval for each test is 0.02s, and in yet another example, the time interval for each test is 0.005 s. Here, the specific duration of the interval time of each detection is not limited.
Referring to fig. 5, in some embodiments, step S03 includes:
s031, determining the posture of the electronic device 100 when the absolute value of the difference is less than the threshold; and
s032, when the posture of the electronic device 100 is the predetermined posture, the infrared sensor 16 is controlled to be turned on and the transparent display 13 is controlled to be turned off.
Referring to fig. 6, in some embodiments, the first control module 24 includes a first determining unit 241 and a first control unit 242. The first determination unit is configured to determine the posture of the electronic apparatus 100 when the absolute value of the difference is smaller than a threshold. The first control unit is used for controlling the infrared sensor 16 to be turned on and controlling the transparent display screen 13 to be turned off when the posture of the electronic device 100 is a preset posture.
In some embodiments, the processor 23 is configured to determine the posture of the electronic device 100 when the absolute value of the difference is smaller than a threshold; and controlling the infrared sensor 16 to be turned on and controlling the light-transmitting display 13 to be turned off when the posture of the electronic device 100 is a predetermined posture.
In this way, it is more accurate to control the infrared sensor 16 to be turned on and the transparent display 13 to be turned off. It can be understood that, in some scenarios, even if the electronic apparatus 100 enters a call service, the user may not necessarily complete the action of placing the electronic apparatus 100 to the ear when the absolute value of the difference between two adjacent environment brightness values in the plurality of environment brightness values is smaller than the threshold. For example, after the electronic device 100 enters a call service, another person delivers the electronic device 100 to the user, and in the process, the electronic device 100 is not placed at the ear of the user, but the ambient brightness may change greatly. And if the absolute value of the difference is smaller than the threshold, the posture of the electronic device 100 is determined, and it can be further determined whether the electronic device 100 is placed beside the ear of the user through the determination of the posture of the electronic device 100. Specifically, the attitude of the electronic apparatus 100 may be determined using a gyroscope. In addition, the electronic apparatus 100 has various postures such as flat, upside down, and vertical, and since the electronic apparatus 100 is generally placed vertically at the ear of the user when the user is in a call, the predetermined posture can be set to the vertical posture.
Referring to fig. 7, in some embodiments, after step S03, the control method further includes:
s04, controlling the infrared sensor 16 to detect a distance between the object and the electronic device 100;
s05, determining whether the distance between the object and the electronic device 100 is greater than a predetermined distance;
s06, controlling the light-transmitting display screen 13 to be opened when the distance between the object and the electronic device 100 is larger than a preset distance;
s07, determining whether the electronic device 100 is in a call service; and
s08, when the electronic device 100 is in the call service, the infrared sensor 16 is controlled to be turned off and the light sensor 1a is controlled to start detecting a plurality of ambient brightness values.
Referring to fig. 8, in some embodiments, the control device 20 includes a second detecting module 25, a second determining module 26, a second control module 27, a third determining module 28 and a third control module 29. The second detection module 25 is used for controlling the infrared sensor 16 to detect the distance between the object and the electronic device 100. The second determining 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 used for controlling the transparent display 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 configured to control the infrared sensor 16 to turn off and control the light sensor 1a to start detecting a plurality of ambient brightness values when the electronic apparatus 100 is in a call service.
In some embodiments, processor 23 is configured to control infrared sensor 16 to detect a distance between an object and electronic device 100; judging whether the distance between the object and the electronic device 100 is greater than a preset distance; controlling the light-transmitting display screen 13 to be opened when the distance between the object and the electronic device 100 is greater than a predetermined distance; judging whether the electronic device 100 is in a call service; when the electronic device 100 is in a call service, the infrared sensor 16 is controlled to be turned off and the light sensor 1a is controlled to start detecting a plurality of ambient brightness values.
Therefore, when the user takes the electronic device 100 away from the ear in the middle of a call, the user is not disturbed by the flicker phenomenon, and the user experience is improved. It is understood that during the call, the user may temporarily take the electronic device 100 away from the ear and operate the electronic device 100 through the transparent display 13, and if the infrared sensor 16 is kept turned on, the flicker caused by the interference between the infrared light emitted from the infrared sensor 16 and the transparent display 13 may deteriorate the user experience. Therefore, when the distance between the object and the electronic device 100 is greater than the predetermined distance, the transparent display 13 is controlled to be opened, so that the user can operate the electronic device 100 through the transparent display 13. Then, when the electronic apparatus 100 is not in the call service, it can be estimated that the call is ended, and therefore, the control method is directly ended. Note that the infrared sensor 16 is turned off at the same time as the control method is ended. When the electronic device 100 is still in the call service, it can be presumed that the user temporarily takes the electronic device 100 away from the ear to operate the electronic device through the transparent display 13, and therefore, the infrared sensor 16 is controlled to be turned off to avoid the infrared light emitted by the infrared sensor 16 interfering with the transparent display 13 to cause the flicker phenomenon. Since the user can take the electronic device 100 away from the ear temporarily and then take the electronic device 100 back to the ear for continuing the conversation, the step S02 of controlling the light sensor to start detecting a plurality of ambient brightness values is entered to control the infrared sensor 16 to turn on and the transparent display 13 to turn off when the user takes the electronic device 100 back to the ear.
The embodiment of the invention also provides a computer readable storage medium. A non-transitory computer-readable storage medium containing computer-executable instructions that, when executed by one or more processors 23, cause the processors 23 to perform the control method of any of the above embodiments.
Referring to fig. 9, a computer device 300 is further provided according to an embodiment of the present invention. The computer device comprises a memory 32 and a processor 23, wherein the memory 32 stores computer readable instructions, and when the instructions are executed by the processor 23, the processor 23 executes the control method of any one of the above embodiments.
FIG. 9 is a schematic diagram of internal modules of computer device 300, under an embodiment. The computer apparatus 300 includes a processor 23, a memory 32 (e.g., a non-volatile storage medium), an internal memory 33, a light-transmissive display 13, and an input device 34 connected by a system bus 31. The memory 32 of the computer device 300 has stored therein an operating system and computer readable instructions. The computer readable instructions are executable by the processor 23 to implement the control method 10 of any one of the above embodiments. The processor 23 may be used to provide computing and control capabilities that support the operation of the overall computer device 300. The internal memory 33 of the computer device 300 provides an environment for the execution of computer readable instructions in the memory 32. The transparent display screen 13 of the computer device 300 may be an OLED transparent display screen or a Micro LED transparent display screen, and the input device 34 may be a touch panel covered on the transparent display screen 13, a button, a trackball or a touch pad arranged on the housing of the computer device 300, or an external keyboard, a touch pad or a mouse. The computer device 300 may be a mobile phone, a tablet computer, a notebook computer, a personal digital assistant, or a wearable device (e.g., a smart bracelet, a smart watch, a smart helmet, smart glasses), etc. It will be appreciated by those skilled in the art that the configurations shown in the figures are merely schematic representations of portions of configurations relevant to the present inventive arrangements and are not intended to limit the computing device 300 to which the present inventive arrangements may be applied, and that a particular computing device 300 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In some embodiments, the light transmissive display 13 comprises an OLED light transmissive display.
Specifically, the OLED light-transmitting display screen has good light-transmitting property and can better transmit visible light and infrared light. Therefore, the OLED transmissive display screen can display the content effect without affecting the infrared sensor 16 to emit and receive infrared light. The transparent display screen 13 may also be a Micro LED transparent display screen, which also has good light transmittance for visible light and infrared light. Of course, these light-transmissive display screens are merely exemplary and embodiments of the present invention are not limited in this respect. In addition, a light transmissive display 13 may be provided in the housing 20.
Referring to fig. 10, 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. In-Cell or On-Cell bonding technology can be adopted to bond the light-transmitting touch panel 12 and the light-transmitting display screen 13, so that the weight of the light-transmitting display screen 13 can be effectively reduced, and the overall thickness of the light-transmitting display screen 13 can be effectively 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. 11, in some embodiments, the light-transmissive 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, the first coating layer 14 is used for transmitting infrared light and intercepting visible light, and the infrared sensor 16 is used for emitting and/or receiving infrared light through the first coating layer 14 and the light-transmissive display 13.
Specifically, the first coating layer 14 is configured to transmit infrared light so as to ensure normal operation of the infrared sensor 16, and the first coating layer 14 intercepts visible light so as to achieve the effect that the infrared sensor 16 is not visible when the electronic device 100 is viewed from the outside.
In some embodiments, infrared sensor 16 comprises a proximity sensor comprising an emitter 1611 and a receiver 1612, emitter 1611 for emitting infrared light through first coating layer 14 and light transmissive display 13, and receiver 1612 for receiving the infrared light emitted by the object to detect the distance of the object from electronic device 100.
Specifically, when the user is answering or making a call, the electronic device 100 is close to the head, the emitter 1611 emits infrared light, the receiver 1612 receives the reflected infrared light, the processor 23 calculates the time from the emission of the infrared light to the reflection of the infrared light, and then emits a corresponding instruction to control the screen to close the background light, and when the electronic device 100 is far away from the head, the processor 23 calculates again according to the data fed back and emits an instruction to turn on the screen background light again. Therefore, misoperation of the user is prevented, and the electric quantity of the mobile phone is saved.
In certain embodiments, the orthographic projection of infrared sensor 16 on lower surface 132 is within the orthographic projection of first coating layer 14 on 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.
Referring to fig. 12, in some embodiments, an orthographic projection of the infrared sensor 16 on the lower surface 132 coincides with the first coating layer 14.
Specifically, in the direction in which the infrared sensor 16 and the light-transmitting display 13 are laminated, the area of the lower surface 132 onto which the first coating layer 14 is orthographically projected may also be set equal to the area of the lower surface 132 onto which the infrared sensor 16 is orthographically projected. Thus, under the condition that the normal operation of the infrared sensor 16 is not affected, the first coating layer 14 just covers the infrared sensor 16, and the effect that the infrared sensor 16 is invisible when the electronic device 100 is viewed from the direction towards and perpendicular to the upper surface 131 of the light-transmitting display screen 13 is achieved.
Referring to fig. 13, in such an embodiment, the electronic device 100 further includes a light shielding layer 17 disposed on the lower surface 132 and surrounding the infrared sensor 16.
Specifically, when the area of the lower surface 132 onto which the first coating layer 14 is disposed is equal to the area of the lower surface 132 onto which the infrared sensor 16 is projected, a light leakage phenomenon occurs in a space around the infrared sensor 16 when the electronic device 100 is viewed from the external environment due to the fact that the volume of the space in which the infrared sensor 16 is placed is larger than the volume of the infrared sensor 16. Therefore, by providing the light shielding layer 17 surrounding the infrared sensor 16, the gap between the infrared sensor 16 and the surrounding space is filled, and this light leakage phenomenon can be eliminated. The light shielding layer 17 may be foam made of black material, or other black foam plastics or rubber. Of course, these materials are merely exemplary and embodiments of the present invention are not limited in this respect.
In some embodiments, infrared sensor 16 comprises a proximity sensor comprising an emitter 1611 and a receiver 1612, emitter 1612 to emit infrared light through first coating layer 14 and light transmissive display 13, receiver 1612 to receive the infrared light reflected by the object to detect the distance of the object from electronic device 100.
Specifically, when the user is answering or making a call, the electronic device 100 is close to the head, the emitter 1611 emits infrared light, the receiver 1612 receives the reflected infrared light, the processor 23 calculates the time from the emission of the infrared light to the reflection of the infrared light, and then emits a corresponding instruction to control the screen to close the background light, and when the electronic device 100 is far away from the head, the processor 23 calculates again according to the data fed back and emits an instruction to turn on the screen background light again. Therefore, misoperation of the user is prevented, and the electric quantity of the mobile phone is saved.
In certain embodiments, the first coating layer comprises an IR ink having a transmittance of greater than 85% for infrared light, a transmittance of less than 6% for visible light, and a wavelength of infrared light that is visible through the IR ink in the range 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. 14 and 15, in some embodiments, the electronic device 100 further includes a second coating layer 15 coated on the lower 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.
Referring to fig. 16 and 17, 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 light-transmitting display screen 13 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 is to prevent the buffer layer 18 from shielding the infrared sensor 16 from being affected during the process of emitting and receiving infrared light by the infrared sensor 16.
Referring to fig. 18 and 19, further, in this 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 is to prevent the metal sheet 19 from shielding the infrared sensor 16 from being affected during the process of emitting and receiving infrared light by the infrared sensor 16.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, and the program may be stored in a non-volatile computer readable storage medium, and when executed, may include the processes of the embodiments of the methods as described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or the like.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (16)

1. A control method of an electronic device, wherein the electronic device includes a light-transmissive display screen including a display area, a light sensor provided below the display area, and an infrared sensor for emitting infrared light and receiving 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 enters a call service or not;
controlling the light sensor to start detecting a plurality of ambient brightness values when the electronic device enters the call service and is placed beside the ear of the user;
and when the absolute value of the difference value between the Nth environment brightness value and the N-1 th environment brightness value is smaller than a threshold value, controlling the infrared sensor to be started and controlling the light-transmitting display screen to be closed, wherein N is a natural number and is not less than 2.
2. The control method of an electronic device according to claim 1, wherein the call service includes an incoming call, an outgoing call, or a call completion.
3. The method as claimed in claim 1, wherein the step of controlling the light sensor to start detecting a plurality of ambient brightness values comprises:
and controlling the light sensor to start to intermittently detect the plurality of ambient brightness values.
4. The method for controlling an electronic device according to claim 1, wherein the step of controlling the infrared sensor to be turned on and the transparent display screen to be turned off comprises:
judging the posture of the electronic device when the absolute value of the difference is smaller than the threshold; and
and when the posture of the electronic device is a preset posture, controlling the infrared sensor to be started and controlling the light-transmitting display screen to be closed.
5. The method for controlling an electronic device according to claim 1, wherein the method for controlling further comprises, after the step of controlling the infrared sensor to be turned on and the transparent display screen to be turned off:
controlling the infrared sensor to detect the distance between an object and the electronic device;
judging whether the distance between the object and the electronic device is larger than a preset distance;
when the distance between the object and the electronic device is larger than the preset distance, controlling the light-transmitting display screen to be opened;
judging whether the electronic device is in the call service; and
when the electronic device is in the call service, the infrared sensor is controlled to be turned off and the light sensor is controlled to start detecting a plurality of environment brightness values.
6. A control device of an electronic device, the electronic device including a light-transmissive display screen including a display area, a light sensor provided below the display area, and an infrared sensor for emitting infrared light and receiving infrared light reflected by an object to detect a distance from the object to the electronic device, the control device comprising:
the first judgment module is used for judging whether the electronic device enters a conversation service or not;
a first detection module, configured to control the light sensor to start detecting a plurality of ambient brightness values when the electronic device enters the call service and is placed near an ear of a user; and
the first control module is used for controlling the infrared sensor to be started and controlling the light-transmitting display screen to be closed when the absolute value of the difference value between the Nth environment brightness value and the N-1 st environment brightness value is smaller than a threshold value, wherein N is a natural number and is larger than or equal to 2.
7. An electronic device comprising a light transmissive display screen, a light sensor, an infrared sensor, and a processor, the light transmissive display screen comprising a display area, the infrared sensor disposed below the display area, the infrared sensor configured to emit infrared light and receive infrared light reflected by an object to detect a distance of the object to the electronic device, the processor configured to:
judging whether the electronic device enters a call service or not;
controlling the light sensor to start detecting a plurality of ambient brightness values when the electronic device enters the call service and is placed beside the ear of the user; and
and when the absolute value of the difference value between the Nth environment brightness value and the N-1 th environment brightness value is smaller than a threshold value, controlling the infrared sensor to be started and controlling the light-transmitting display screen to be closed, wherein N is a natural number and is not less than 2.
8. The electronic device of claim 7, wherein the processor is to:
and controlling the light sensor to start to intermittently detect the plurality of ambient brightness values.
9. The electronic device of claim 7, wherein the processor is to:
judging the posture of the electronic device when the absolute value of the difference is smaller than the threshold;
and when the posture of the electronic device is a preset posture, controlling the infrared sensor to be started and controlling the light-transmitting display screen to be closed.
10. The electronic device of claim 7, wherein the processor is to:
controlling the infrared sensor to detect the distance between an object and the electronic device;
judging whether the distance between the object and the electronic device is larger than a preset distance;
when the distance between the object and the electronic device is larger than the preset distance, controlling the light-transmitting display screen to be opened;
judging whether the electronic device is in the call service; and
when the electronic device is in the call service, the infrared sensor is controlled to be turned off and the light sensor is controlled to start detecting a plurality of environment brightness values.
11. The electronic device of claim 7, wherein the light-transmissive display screen comprises an upper surface and a lower surface opposite the upper surface, the electronic device further comprising a first coating layer coated on the lower surface and covering the infrared sensor, the first coating layer being configured to transmit infrared light and intercept visible light, the infrared sensor being configured to transmit and/or receive infrared light through the first coating layer and the light-transmissive display screen.
12. The electronic device of claim 11, wherein the infrared sensor comprises a proximity sensor comprising an emitter for emitting infrared light through the first coating layer and the light transmissive display screen and a receiver for receiving infrared light reflected by an object to detect a distance of the object from the electronic device.
13. The electronic device of claim 11, 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 according to claim 11, further comprising a light shielding layer provided on the lower surface and surrounding the infrared sensor.
15. A non-transitory computer-readable storage medium containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the method of controlling an electronic device of any one of claims 1-5.
16. A computer apparatus comprising a memory and a processor, the memory having stored therein computer-readable instructions that, when executed by the processor, cause the processor to perform the method of controlling an electronic device of any one of claims 1-5.
CN201810574422.8A 2018-06-06 2018-06-06 Control method, control device, electronic device, storage medium, and computer apparatus Active CN108989490B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810574422.8A CN108989490B (en) 2018-06-06 2018-06-06 Control method, control device, electronic device, storage medium, and computer apparatus
PCT/CN2019/085864 WO2019233233A1 (en) 2018-06-06 2019-05-07 Control method, control device, electronic device, storage medium and computer device

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN108989490A CN108989490A (en) 2018-12-11
CN108989490B true CN108989490B (en) 2020-04-28

Family

ID=64540777

Family Applications (1)

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

Country Status (2)

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

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989490B (en) * 2018-06-06 2020-04-28 Oppo广东移动通信有限公司 Control method, control device, electronic device, storage medium, and computer apparatus
CN112327380A (en) * 2020-10-28 2021-02-05 维沃移动通信有限公司 Infrared sensing device, foreign matter detection method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741983A (en) * 2009-12-10 2010-06-16 中兴通讯股份有限公司 Method and terminal for realizing proximity induction
CN105519086A (en) * 2014-09-30 2016-04-20 华为技术有限公司 Method and device for controlling proximity optical sensor, and mobile terminal
CN106550126A (en) * 2016-10-31 2017-03-29 努比亚技术有限公司 The control device and method of mobile terminal and its screen intensity
CN107911554A (en) * 2017-11-22 2018-04-13 广东欧珀移动通信有限公司 The control method of electronic device and electronic device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8320970B2 (en) * 2011-02-16 2012-11-27 Google Inc. Mobile device display management
WO2015113479A1 (en) * 2014-01-28 2015-08-06 北京中科虹霸科技有限公司 Mobile terminal iris recognition method and device having human-computer interaction mechanism
CN106303023B (en) * 2016-08-12 2020-01-10 青岛海信移动通信技术股份有限公司 Screen state adjusting method and device
CN106797416B (en) * 2016-10-31 2020-06-19 北京小米移动软件有限公司 Screen control method and device
CN107920142B (en) * 2017-11-22 2019-10-25 Oppo广东移动通信有限公司 Electronic device
CN107817936A (en) * 2017-11-22 2018-03-20 广东欧珀移动通信有限公司 Electronic installation and sensor cluster
CN108989490B (en) * 2018-06-06 2020-04-28 Oppo广东移动通信有限公司 Control method, control device, electronic device, storage medium, and computer apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741983A (en) * 2009-12-10 2010-06-16 中兴通讯股份有限公司 Method and terminal for realizing proximity induction
CN105519086A (en) * 2014-09-30 2016-04-20 华为技术有限公司 Method and device for controlling proximity optical sensor, and mobile terminal
CN106550126A (en) * 2016-10-31 2017-03-29 努比亚技术有限公司 The control device and method of mobile terminal and its screen intensity
CN107911554A (en) * 2017-11-22 2018-04-13 广东欧珀移动通信有限公司 The control method of electronic device and electronic device

Also Published As

Publication number Publication date
WO2019233233A1 (en) 2019-12-12
CN108989490A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN110581904B (en) Control method, control device, electronic device, and storage medium
CN109040417B (en) Control method, control device, electronic device, storage medium, and computer apparatus
US10560568B2 (en) Control method, control device and electronic device
CN108848259B (en) Control method, control device, electronic device, computer storage medium, and apparatus
CN109167857B (en) Calibration method, electronic device, storage medium, and computer apparatus
CN108769354B (en) Control method, control device, electronic device, storage medium, and computer apparatus
CN108521480B (en) Control method, control device, electronic device, computer storage medium, and apparatus
CN108718349B (en) Control method, control device, electronic device, storage medium, and computer apparatus
CN108989566A (en) control method, electronic device and computer readable storage medium
CN108989490B (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
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
CN109710119B (en) Control method, control device, electronic device, and storage medium
CN109710109B (en) Control method, control device, electronic device, and storage medium
CN108989489B (en) Control method, control device, electronic device, computer storage medium, and apparatus
CN108874483B (en) Control method, control device, electronic device, storage medium, and computer apparatus
CN109743451B (en) Control method, electronic device, computer apparatus, and storage medium
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
CN108718358B (en) Control method, control device, electronic device, computer storage medium, and apparatus
CN109683750B (en) Control method, electronic device, computer apparatus, and storage medium
CN108769357B (en) Control method, control device, electronic device, computer storage medium, and apparatus
CN108989544B (en) Control method, control device, electronic device, computer storage medium, and apparatus
CN108696630B (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