CN108989490A - Control method, control device, electronic device, storage medium and computer equipment - Google Patents

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

Info

Publication number
CN108989490A
CN108989490A CN201810574422.8A CN201810574422A CN108989490A CN 108989490 A CN108989490 A CN 108989490A CN 201810574422 A CN201810574422 A CN 201810574422A CN 108989490 A CN108989490 A CN 108989490A
Authority
CN
China
Prior art keywords
electronic device
infrared sensor
light transmission
display screen
control
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.)
Granted
Application number
CN201810574422.8A
Other languages
Chinese (zh)
Other versions
CN108989490B (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

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 the control methods of electronic device.Electronic device includes light transmission display screen, optical inductor and infrared sensor, light transmission display screen includes viewing area, infrared sensor is arranged below viewing area, infrared sensor is used to emit infrared light and receives the infrared light being reflected by the object with the distance of detection object to electronic device, and control method is comprising steps of judge whether electronic device enters talk business;Optical inductor is controlled when electronic device enters talk business to start to detect multiple ambient brightness values;With when the absolute value of n-th ambient brightness value and the difference of the N-1 ambient brightness value is less than threshold value, control infrared sensor is opened and controls the closing of light transmission display screen, wherein N is natural number, N >=2.The control method of embodiment of the present invention utilizes multiple ambient brightness values when entering talk business to control infrared sensor, makes the interference that user does not observe the infrared light of infrared sensor transmitting and light transmission display screen occurs, user experience can be improved.

Description

Control method, control device, electronic device, storage medium and computer equipment
Technical field
The present invention relates to electronic technology field, in particular to a kind of control method, control device, electronic device, computer Readable storage medium storing program for executing and computer equipment.
Background technique
Currently, screen mobile phone has become the mainstay product of major cell phone manufacturer comprehensively.In the related art, in order to improve hand The lower section of display screen is arranged in the screen accounting of machine, proximity sensor, however, since proximity sensor discontinuously emits at work Infrared light is with for detecting outer handset object at a distance from mobile phone, infrared light is easy to make the component in display screen that electronics occurs Migration is unfavorable for user experience so that display screen forms winking phenomenon.
Summary of the invention
The embodiment provides a kind of control method, control device, electronic device, computer readable storage mediums And computer equipment.
The present invention provides a kind of control method of electronic device, the electronic device includes light transmission display screen, photoinduction Device and infrared sensor, the light transmission display screen includes viewing area, and the infrared sensor is arranged below the viewing area, institute Infrared sensor is stated to fill for emitting infrared light and receiving the infrared light being reflected by the object to detect the object to the electronics The distance set, the control method comprising steps of
Judge whether the electronic device enters talk business;
The optical inductor is controlled when the electronic device enters the talk business to start to detect multiple ambient brightness Value;With
When the absolute value of the difference of the ambient brightness value described in n-th and the N-1 ambient brightness values is less than threshold value, It controls the infrared sensor to open and control the closing of light transmission display screen, wherein N is natural number, N >=2.
The present invention provides a kind of control device of electronic device, the electronic device includes light transmission display screen, photoinduction Device and infrared sensor, the light transmission display screen includes viewing area, and the infrared sensor is arranged below the viewing area, institute Infrared sensor is stated to fill for emitting infrared light and receiving the infrared light being reflected by the object to detect the object to the electronics The distance set, the control device include:
First judgment module, the first judgment module is for judging whether the electronic device enters talk business;
First detection module, the first detection module control institute when entering the talk business for the electronic device Optical inductor is stated to start to detect multiple ambient brightness values;With
First control module, first control module is for the ambient brightness value described in n-th and the N-1 rings When the absolute value of the difference of border brightness value is less than threshold value, controls the infrared sensor and opens and control the closing of light transmission display screen, Wherein, N is natural number, N >=2.
The present invention provides a kind of electronic device, including light transmission display screen, optical inductor, infrared sensor and processor, The light transmission display screen includes viewing area, and the infrared sensor is arranged below the viewing area, and the infrared sensor is used In transmitting infrared light and the infrared light that is reflected by the object is received to detect the distance of the object to the electronic device, the place Reason device is used for:
Judge whether the electronic device enters talk business;
The optical inductor is controlled when the electronic device enters the talk business to start to detect multiple ambient brightness Value;With
When the absolute value of the difference of the ambient brightness value described in n-th and the N-1 ambient brightness values is less than threshold value, It controls the infrared sensor to open and control the closing of light transmission display screen, wherein N is natural number, N >=2.
The present invention provides one or more non-volatile computer readable storage mediums comprising computer executable instructions Matter, when the computer executable instructions are executed by one or more processors, so that the processor executes the electricity The control method of sub-device.
The present invention provides a kind of computer equipment, including memory and processor, calculating is stored in the memory Machine readable instruction, when described instruction is executed by the processor, so that the processor executes the control of the electronic device Method.
Control method, control device, electronic device, computer readable storage medium and the computer of embodiment of the present invention Equipment utilization enters multiple ambient brightness values control infrared sensor when talk business, and user is made not observe infrared sensor The interference that the infrared light and light transmission display screen of transmitting occur, can be improved user experience.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is the schematic cross-section of the electronic device of certain embodiments of the present invention;
Fig. 2 is the flow diagram of the control method of certain embodiments of the present invention;
Fig. 3 is the module diagram of the control device of certain embodiments of the present invention;
Fig. 4 is the module diagram of the electronic device of certain embodiments of the present invention;
Fig. 5 is the flow diagram of the step S03 of the control method of certain embodiments of the present invention;
Fig. 6 is the module diagram of the first control module of the control device of certain embodiments of the present invention;
Fig. 7 is the flow diagram of the control method of another embodiment of the present invention;
Fig. 8 is the module diagram of the control device of another embodiment of the present invention;
Fig. 9 is the module diagram of the computer equipment of certain embodiments of the present invention;
Figure 10 to Figure 19 is the schematic cross-section of the electronic device of certain embodiments of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Fig. 1 and Fig. 2 are please referred to, the present invention provides a kind of control methods 10 of electronic device 100.Electronic device 100 In control method 10, electronic device 100 includes light transmission display screen 13, optical inductor 1a and infrared sensor 16, light transmission display screen 13 include viewing area 1311, and infrared sensor 16 is arranged below viewing area 1311, and infrared sensor 16 is for emitting infrared light And receive distance of the infrared light being reflected by the object with detection object to electronic device 100.Control method 10 comprising steps of
S01, judges whether electronic device 100 enters talk business;
S02, when electronic device 100 enters talk business, control optical inductor 1a starts to detect multiple ambient brightness values; With
S03, when the absolute value of n-th ambient brightness value and the difference of the N-1 ambient brightness value is less than threshold value, control Infrared sensor 16 is opened and controls the closing of light transmission display screen, wherein N is natural number, N >=2.
Referring to Fig. 3, embodiment of the present invention additionally provides a kind of control device 200 of electronic device 100, the present invention is real The control method 10 for applying the electronic device 100 of mode can be by the control device 200 of the electronic device 100 of embodiment of the present invention It realizes.Control device 200 includes first judgment module 21, first detection module 22 and the first control module 24.First judges mould Block 21 is for judging whether electronic device 100 enters talk business.First detection module 22 is used to enter in electronic device 100 logical Optical inductor 1a is controlled when call business to start to detect multiple ambient brightness values.First control module 24 is used for bright in n-th environment When the absolute value of the difference of angle value and the N-1 ambient brightness value is less than threshold value, control infrared sensor 16 is opened and is controlled Light display screen is closed, wherein N is natural number, N >=2.In other words, step S01 can be realized by first judgment module 21, step Rapid S02 can be realized that step S03 can be realized by the first control module 24 by first detection module 22.
Referring to Fig. 4, embodiment of the present invention additionally provides a kind of electronic device 100.Electronic device 100 is aobvious including light transmission Display screen 13, infrared sensor 16, optical inductor 1a and processor 23, light transmission display screen 13 include viewing area 1311, infrared sensing Device 16 is arranged below viewing area 1311, infrared sensor 16 be used to emit infrared light and receive the infrared light that is reflected by the object with Detection object is to the distance of electronic device 100, and processor 23 is for judging whether electronic device 100 enters talk business;In electricity Control optical inductor 1a starts to detect multiple ambient brightness values when sub-device 100 enters talk business;With in n-th ambient brightness When the absolute value of value and the difference of the N-1 ambient brightness value is less than threshold value, control infrared sensor 16 is opened and controls light transmission Display screen is closed, wherein N is natural number, N >=2.In other words, step S01, step S02 and step S03 can be by processors 23 realize.
The embodiment of the present invention is that mobile phone is illustrated as an example with electronic device 100.The top position one of mobile phone screen As by setting infrared sensor 16 to determine the distance between mobile phone and barrier and make corresponding adjustment, can prevent from using The maloperation at family and the electricity for being conducive to save mobile phone.When user answer or make a phone call and by mobile phone close to head when, Infrared sensor 16 receives the time generation inspection of reflected infrared light by calculating transmitter sending infrared light and receiver Measurement information, processor 23 close light transmission display screen 13 according to the detection information.When mobile phone is far from head, the root again of processor 23 Light transmission display screen 13 is reopened according to the detection information that infrared sensor 16 is fed back.
When control method 10, control device 200 and the electronic device 100 of embodiment of the present invention are using talk business is entered Multiple ambient brightness values control infrared sensor, make user do not observe the transmitting of infrared sensor 16 infrared light and light transmission it is aobvious The interference that display screen occurs, can be improved user experience.
With the development of electronic equipment, screen has become the development trend of mobile phone comprehensively.Screen high the characteristics of shielding accounting comprehensively So that the top of screen leaves infrared sensor for or the position of other elements is limited, when infrared sensor is arranged in light transmission display screen When lower, due to photoelectric effect, infrared sensor makes the electronics in screen by excitation to draw during emitting infrared light The flashing of light transmission display screen is played, so that the normal display with light transmission display screen forms interference, influences the experience of user.
It is appreciated that user can generally put electronic device 100 in one's ear when electronic device 100 enters talk business, User by electronic device 100 put in one's ear during, the ambient brightness that infrared sensor 16 detects can become smaller, also, When user by electronic device 100 put in one's ear after, the ambient brightness that infrared sensor 16 detects will tend towards stability, therefore can be with The difference of the two adjacent ambient brightness in multiple ambient brightness detected by infrared sensor 16 compared with threshold value, Judge whether the ambient brightness that infrared sensor 16 detects tends towards stability, to judge whether user has completed to fill electronics It sets 100 to put to movement in one's ear, to control whether infrared sensor 16 is opened.In addition, due to putting in electronic device 100 to ear After side, general user will not observe the screen of electronic device 100 again, and controlling the closing of light transmission display screen 13 at this time will not influence To user's normal talking, moreover, control infrared sensor 16 unlatching at this time makes infrared sensor 16 sense user and electronics dress While 100 distance is set to make processor 23 control the light on and off of light transmission display screen 13, user will not be reduced because of scintillation Experience.In addition, putting electronic device 100 in user to after in one's ear, just open infrared sensor 16, in other words, with Family puts electronic device 100 to before in one's ear, and infrared sensor 16 is to close, therefore, user by electronic device 100 put to Before in one's ear, when user observes light transmission display screen 13, scintillation will not occur, the experience of user will not be reduced.
Specifically, when optical inductor 1a receives different light intensities, the strong and weak electric current not waited can be generated, to perceive ring Border brightness.
In some embodiments, talk business includes incoming call, removes electricity or connect phone.
In this way, the maloperation of user can be prevented and save electricity.It is appreciated that when sending a telegram here, removing electricity or connect phone, User generally puts electronic device 100 in one's ear, and control infrared sensor 16 according to electronic device 100 tune at a distance from human body The on and off for saving screen make bright screen when far from human body of electronic device 100, and breath screen, so not only prevents when close to human body The maloperation of user, and save the electricity of electronic device 100.Further, talk business can carry out voice for user The process of dialogue, for example, talk business be user dialed number to other people and the process that waits other side to answer, or user The process talked with by voice with other people.
In some embodiments, step S02 includes:
Control optical inductor 1a starts discontinuously to detect multiple ambient brightness values.
In some embodiments, first detection module 22 includes first detection unit.First detection unit is for controlling Optical inductor 1a starts discontinuously to detect multiple ambient brightness values.
In some embodiments, processor 23 starts discontinuously to detect multiple ambient brightness for controlling optical inductor 1a Value.
In this way, realizing the detection to multiple ambient brightness values.It is appreciated that since what is compared in step S03 is more The difference of two environment adjacent brightness values in a ambient brightness value, and judge by the size of difference the feelings of ambient brightness variation Condition, therefore, multiple ambient brightness values should have sequencing in time, so, it to control optical inductor 1a and discontinuously examine Survey multiple ambient brightness values.Further, the interval time detected every time is identical.In one example, the interval detected every time Time is 0.01s;In another example, the interval time detected every time is 0.02s, in another example, is detected every time Interval time be 0.005s.Here, not being limited to the specific duration for the interval time detected every time.
Referring to Fig. 5, in some embodiments, step S03 includes:
S031 judges the posture of electronic device 100 when the absolute value of difference is less than threshold value;With
S032, when the posture of electronic device 100 is predetermined posture, control infrared sensor 16 is opened and controls light transmission and shows Display screen 13 is closed.
Referring to Fig. 6, in some embodiments, the first control module 24 includes the first judging unit 241 and the first control Unit 242 processed.First judging unit is used to judge when the absolute value of difference is less than threshold value the posture of electronic device 100.First Control unit is used to control infrared sensor 16 when the posture of electronic device 100 is predetermined posture to open and control light transmission and show Screen 13 is closed.
In some embodiments, processor 23 is used to judge electronic device 100 when the absolute value of difference is less than threshold value Posture;With the posture in electronic device 100 be predetermined posture when control infrared sensor 16 open and control light transmission display screen 13 close.
In this way, make control infrared sensor 16 open and control light transmission display screen 13 close it is more accurate.It is appreciated that In certain scenarios, the two adjacent ambient brightness values even if electronic device 100 enters talk business, in multiple ambient brightness values Difference absolute value again smaller than threshold value when, user, which also not necessarily completes, puts electronic device 100 to movement in one's ear.Than Such as, after electronic device 100 enters talk business, other people pass electronic device 100 to user, in this process, electronic device 100 are not placed on user in one's ear, but the variation of ambient brightness is possible to larger.And it is less than threshold in the absolute value of difference The posture of electronic device 100 is judged when value, then can further determine that electronics fills by the judgement to 100 posture of electronic device Set whether 100 put to user in one's ear.Specifically, it can use gyroscope to judge the posture of electronic device 100.Separately Outside, the posture of electronic device 100 has very much, for example lays flat, is inverted and vertically, since user is when conversing, electronic device 100 are generally vertically placed on user in one's ear, therefore, can set vertical posture for predetermined posture.
Referring to Fig. 7, in some embodiments, control method is after step S03 further include:
S04 controls the distance between 16 detection object of infrared sensor and electronic device 100;
Whether S05, judgment object are greater than preset distance at a distance from electronic device 100;
S06, when object is greater than preset distance at a distance from electronic device 100, control light transmission display screen 13 is opened;
Whether S07 judges electronic device 100 in talk business;With
S08 controls the closing of infrared sensor 16 when electronic device 100 is in talk business and controls optical inductor 1a and opens Begin to detect multiple ambient brightness values.
Referring to Fig. 8, in some embodiments, control device 20 includes the second detection module 25, the second judgment module 26, the second control module 27, third judgment module 28 and third control module 29.Second detection module 25 is for controlling infrared biography The distance between 16 detection object of sensor and electronic device 100.Second judgment module 26 is for judgment object and electronic device 100 Distance whether be greater than preset distance.Second control module 27 is used to be greater than pre- spacing at a distance from electronic device 100 in object From when control light transmission display screen 13 open.Whether third judgment module 28 is for judging electronic device 100 in talk business.The Three control modules 29 are used to control infrared sensor 16 when electronic device 100 is in talk business and close and control optical inductor 1a starts to detect multiple ambient brightness values.
In some embodiments, processor 23 for control 16 detection object of infrared sensor and electronic device 100 it Between distance;Whether judgment object is greater than preset distance at a distance from electronic device 100;Object and electronic device 100 away from It is opened from control light transmission display screen 13 when being greater than preset distance;Judge electronic device 100 whether in talk business;It is filled in electronics Control infrared sensor 16, which closes and controls optical inductor 1a, when setting 100 in talk business starts to detect multiple ambient brightness Value.
In this way, making user when call midway takes electronic device 100 from one's ear, the dry of scintillation not will receive It disturbs, to improve the experience of user.It is appreciated that in communication process, user possibly electronic device 100 is temporarily taken from Electronic device 100 is operated in one's ear and by light transmission display screen 13, if infrared sensor 16 is kept it turning at this time, Flashing meeting caused by the infrared light and light transmission display screen 13 that infrared sensor 16 emits are interfered is so that user experience is deteriorated.Therefore, When object is greater than preset distance at a distance from electronic device 100, control light transmission display screen 13 is opened, so that user can pass through Light transmission display screen 13 operates electronic device 100.Then, it when electronic device 100 is not at talk business, can push away It surveys, call has terminated, and therefore, control method directly terminates.It note that pass while control method terminates of infrared sensor 16 It closes.In electronic device 100 still in talk business when, it may be speculated that be user electronic device 100 is temporarily taken from one's ear with The scene operated by light transmission display screen 13 to electronic device, therefore, control infrared sensor 16 are closed to avoid infrared Infrared light and light transmission display screen 13 interference that sensor 16 emits cause scintillation.Since user is temporarily by electronic device After 100 take from one's ear, electronic device 100 can also be brought back and continue to converse in one's ear, therefore, started into control optical inductor The step S02 of multiple ambient brightness values is detected, is opened with controlling infrared sensor 16 when user brings back electronic device 100 in one's ear It opens and controls the closing of light transmission display screen 13.
Embodiment of the present invention additionally provides a kind of computer readable storage medium.One or more can be held comprising computer The non-volatile computer readable storage medium storing program for executing of row instruction, when computer executable instructions are executed by one or more processors 23 When, so that processor 23 executes the control method of any of the above-described embodiment.
Referring to Fig. 9, embodiment of the present invention additionally provides a kind of computer equipment 300.Computer equipment includes storage Device 32 and processor 23 store computer-readable instruction in memory 32, and when instruction is executed by processor 23, processor 23 is held The control method of any of the above-described embodiment of row.
Fig. 9 is the internal module schematic diagram of the computer equipment 300 in one embodiment.Computer equipment 300 includes logical It is aobvious to cross the processor 23 of the connection of system bus 31, memory 32 (for example, non-volatile memory medium), built-in storage 33, light transmission Display screen 13 and input unit 34.Wherein, the memory 32 of computer equipment 300 is stored with operating system and computer-readable finger It enables.The computer-readable instruction can be executed by processor 23, to realize the control method 10 of above-mentioned any one embodiment.Place Reason device 23 can be used for providing calculating and control ability, support the operation of entire computer equipment 300.Computer equipment 300 it is interior Memory 33 provides environment for the computer-readable instruction operation in memory 32.The light transmission display screen 13 of computer equipment 300 It can be OLED light transmission display screen or Micro LED light transmission display screen etc., input unit 34 can be on light transmission display screen 13 The touch panel of covering is also possible to key, trace ball or the Trackpad being arranged on 300 shell of computer equipment, is also possible to External keyboard, Trackpad or mouse etc..The computer equipment 300 can be mobile phone, tablet computer, laptop, individual Digital assistants or wearable device (such as Intelligent bracelet, smartwatch, intelligent helmet, intelligent glasses) etc..Those skilled in the art Member is appreciated that structure shown in figure, only the schematic diagram of part-structure relevant to the present invention program, composition pair The restriction for the computer equipment 300 that the present invention program is applied thereon, specific computer equipment 300 may include than in figure Shown more or fewer components perhaps combine certain components or with different component layouts.
In some embodiments, light transmission display screen 13 includes OLED light transmission display screen.
Specifically, OLED light transmission display screen has good translucency, can preferably penetrate visible light and infrared light.Cause This, OLED light transmission display screen can nor affect on the transmitting of infrared sensor 16 and receive red in the case where showing content effect Outer light.Light transmission display screen 13 can also use Micro LED light transmission display screen, and Micro LED light transmission display screen equally have pair Visible light and the good light transmittance of infrared light.Certainly, these light transmission display screens are only used as illustratively and the embodiment of the present invention It is not limited to this.In addition, light transmission display screen 13 may be provided at shell 20.
Referring to Fig. 10, in some embodiments, electronic device 100 further includes euphotic cover plate 11 and light transmission touch panel 12.Euphotic cover plate 11 is formed on light transmission touch panel 12, and light transmission touch panel 12 is arranged on light transmission display screen 13, and light transmission is aobvious The upper surface 131 of display screen 13 is towards light transmission touch panel 12, and euphotic cover plate 11 and light transmission touch panel 12 are to visible light transmittance rate 90% is all larger than with infrared light transmittance.
Specifically, light transmission touch panel 12 is mainly used for receiving the input that user generates when touching light transmission touch panel 12 Signal is simultaneously transmitted to circuit board progress data processing, to obtain the specific location that user touches light transmission touch panel 12.Wherein, In-Cell On-Cell coating technique can be used, light transmission touch panel 12 is bonded with light transmission display screen 13, energy The enough weight for effectively mitigating light transmission display screen 13 and the integral thickness for reducing light transmission display screen 13.In addition, by euphotic cover plate 11 It is arranged on light transmission touch panel 12, light transmission touch panel 12 and its internal structure can be effectively protected, avoid extraneous work Firmly to the damage of light transmission touch panel 12 and light transmission display screen 13.Euphotic cover plate 11 and light transmission touch panel 12 to visible light and The light transmittance of infrared light is all larger than 90%, not only contributes to light transmission display screen 13 and preferably shows content effect, but also is advantageous Steadily emit and receive infrared light in the infrared sensor 16 being arranged under light transmission display screen 13, ensure that infrared sensor 16 Normal work.
Figure 11 is please referred to, in some embodiments, light transmission display screen 13 includes upper surface 131 and lower surface 132, electronics Device 100 further includes the first coating layer 14 for being coated on lower surface 132 and covering infrared sensor 16, and the first coating layer 14 is used for Through infrared light and intercept visible light, infrared sensor 16 be used for through the first coating layer 14 and light transmission display screen 13 transmitting and/ Or receive infrared light.
Specifically, setting the first coating layer 14 through infrared light be for guarantee infrared sensor 16 normal work, first Coating layer 14 intercept visible light can be realized from outside watch electronic device 100 when, reach the sightless effect of infrared sensor 16 Fruit.
In some embodiments, infrared sensor 16 includes proximity sensor, and proximity sensor includes transmitter 1611 With receiver 1612, transmitter 1611 is used to emit infrared light, receiver through the first coating layer 14 and light transmission display screen 13 1612 are used to receive the infrared light through object emission with detection object at a distance from electronic device 100.
Specifically, when user is when answering or making a phone call, electronic device 100 is issued close to head, transmitter 1611 Infrared light, receiver 1612 receive reflected infrared light, and processor 23 calculates infrared light from when being emitted to reflected Between, just issue command adapted thereto control screen close background light, when electronic device 100 is far from head, processor 23 again according to The data fed back are calculated and issue instruction, and screen background lamp is just reopened.In this way, not only preventing the mistake of user Operation, and save the electricity of mobile phone.
In some embodiments, orthographic projection of the infrared sensor 16 in lower surface 132 is located at the first coating layer 14 under In the orthographic projection on surface 132.
Specifically, the installation of infrared sensor 16 usually requires reserved fit-up gap during carrying out technique assembly, Lead to gap occur between infrared sensor 16 and other elements, enters visible light in gap, light leakage phenomena occur.Cause This, on the direction that infrared sensor 16 and light transmission display screen 13 are laminated, orthographic projection of first coating layer 14 in lower surface 132 Area is greater than infrared sensor 16 in the area of the orthographic projection of lower surface 132, can not influence the normal work of infrared sensor 16 In the case where work, so that the first coating layer 14 is sufficiently blocked infrared sensor 16 and reached when realization watches electronic device 100 from outside To the sightless effect of infrared sensor 16.
Figure 12 is please referred to, in some embodiments, orthographic projection and first coating of the infrared sensor 16 in lower surface 132 Layer 14 is overlapped.
Specifically, on the direction that infrared sensor 16 and light transmission display screen 13 are laminated, the first coating layer also can be set Area of 14 orthographic projections in lower surface 132 is equal to 16 orthographic projection of infrared sensor in the area of lower surface 132.It so, it is possible Do not influence to make the first coating layer 14 just block infrared sensor 16 in the case that infrared sensor 16 works normally, realize from Towards and perpendicular to the direction of 13 upper surface 131 of light transmission display screen watch electronic device 100 when, reaching infrared sensor 16 can not The effect seen.
Figure 13 is please referred to, further, in such an embodiment, electronic device 100 further includes being arranged in lower surface 132 and surround infrared sensor 16 light shield layer 17.
Specifically, it is just being thrown when area of setting 14 orthographic projection of the first coating layer in lower surface 132 is equal to infrared sensor 16 Shadow is when the case where area of lower surface 132, due to placing the spatial volume of infrared sensor 16 than infrared sensor 16 Volume is big, and when causing to watch electronic device 100 from external environment, it is existing that light leakage occurs in the space around infrared sensor 16 As.Therefore, the light shield layer 17 that infrared sensor 16 is surrounded by setting, has filled up the seam of infrared sensor 16 Yu surrounding space Gap can eliminate this light leakage phenomena.Light shield layer 17 can be using foam made of black material, be also possible to other black Foamed plastics or rubber.Certainly, these materials are only used as illustrative and the embodiment of the present invention is not limited to this.
In some embodiments, infrared sensor 16 includes proximity sensor, and proximity sensor includes transmitter 1611 With receiver 1612, transmitter 1612 is used to emit infrared light, receiver through the first coating layer 14 and light transmission display screen 13 1612 for receives through object reflect infrared light with detection object at a distance from electronic device 100.
Specifically, when user is when answering or making a phone call, electronic device 100 is issued close to head, transmitter 1611 Infrared light, receiver 1612 receive reflected infrared light, and processor 23 calculates infrared light from when being emitted to reflected Between, just issue command adapted thereto control screen close background light, when electronic device 100 is far from head, processor 23 again according to The data fed back are calculated and issue instruction, and screen background lamp is just reopened.In this way, not only preventing the mistake of user Operation, and save the electricity of mobile phone.
In some embodiments, the first coating layer includes IR ink, and IR ink is greater than 85% to the light transmittance of infrared light, IR ink is 850nm-940nm less than the wavelength for the infrared light that 6%, IR ink can pass through to the light transmittance of visible light.
Specifically, since IR ink has the characteristic to visible light low-transmittance, so watching electronic device 100 from outside When, based on the visual observation of human eye less than the infrared sensor 16 being arranged under the first coating layer 14.Meanwhile IR ink has both pair The characteristic of infrared light high transparency can make infrared sensor 16 steadily emit and receive infrared light, ensure that infrared sensing The normal work of device 16.
Please refer to Figure 14 and Figure 15, in some embodiments, electronic device 100 further include be coated on lower surface 132 and The second coating layer 15 to connect with the first coating layer 14.
Specifically, the first coating layer 14 is mainly used for through infrared light and blocks infrared sensor 16, but due to the first painting The cost for the IR ink that layer of cloth 14 uses will be unfavorable for compared with general black ink height if lower surface 132 is all coated with IR ink Production cost is reduced, also, general black ink can reach lower, occlusion effect to the light transmittance of visible light compared to IR ink It is more prominent.In this way, not only contributing to reduce production cost, and occlusion effect more meets by the second coating layer 15 of setting Technique requirement.
Figure 16 and Figure 17 are please referred to, in some embodiments, electronic device 100 further includes covering lower surface 132 and keeps away Allow the buffer layer 18 of infrared sensor 16.
Specifically, buffer layer 18 is for slowing down impact force and shockproof to protect light transmission touch panel 12 and light transmission display screen 13 And its internal structure, avoid light transmission display screen 13 from damaging due to by extraneous percussion.Buffer layer 18 can by foam or Person's foamed plastics or rubber or other soft materials are made.Certainly, these padded coamings are only as illustratively this hair It is bright that embodiment is not limited to this.It is slow in order to prevent in addition, avoiding infrared sensor 16 during buffer layer 18 are arranged It rushes layer 18 and blocks infrared sensor 16, in case infrared sensor 16 is affected during emitting and receiving infrared light.
Figure 18 and Figure 19 are please referred to, further, in such an embodiment, electronic device 100 further includes that covering is slow It rushes layer 18 and avoids the sheet metal 19 of infrared sensor 16.
Specifically, sheet metal 19 has the function of spreading temperature rise for shielding electromagnetic interference and ground connection.Sheet metal 19 can be with It is cut using metal materials such as copper foil, aluminium foils.Certainly, these metal materials are only used as illustrative and of the invention implementation Example is not limited to this.It is the screening of sheet metal 19 in order to prevent in addition, avoiding infrared sensor 16 during sheet metal 19 are arranged Infrared sensor 16 is kept off, in case infrared sensor 16 is affected during emitting and receiving infrared light.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Instruct relevant hardware to complete by computer program, program can be stored in a non-volatile computer readable storage medium In matter, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, storage medium can for magnetic disk, CD, read-only memory (Read-Only Memory, ROM) etc..
Above embodiments only express the several embodiments of the application, and the description thereof is more specific and detailed, but can not Therefore it is interpreted as the limitation to the application the scope of the patents.It should be pointed out that for those of ordinary skill in the art, Without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection model of the application It encloses.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (16)

1. a kind of control method of electronic device, which is characterized in that the electronic device include light transmission display screen, optical inductor and Infrared sensor, the light transmission display screen includes viewing area, and the infrared sensor is arranged below the viewing area, described red Outer sensor is used to emit infrared light and receives the infrared light being reflected by the object to detect the object to the electronic device Distance, the control method comprising steps of
Judge whether the electronic device enters talk business;
The optical inductor is controlled when the electronic device enters the talk business to start to detect multiple ambient brightness values;
When the absolute value of the difference of the ambient brightness value described in n-th and the N-1 ambient brightness values is less than threshold value, control The infrared sensor is opened and controls the light transmission display screen and closes, wherein N is natural number, N >=2.
2. the control method of electronic device as described in claim 1, which is characterized in that the talk business includes incoming call, goes Electricity connects phone.
3. the control method of electronic device as described in claim 1, which is characterized in that the control optical inductor starts The step of detecting multiple ambient brightness values include:
The optical inductor is controlled to start discontinuously to detect the multiple ambient brightness value.
4. the control method of electronic device as described in claim 1, which is characterized in that the control infrared sensor is opened It opens and controls the step of light transmission display screen is closed and include:
The posture of the electronic device is judged when the absolute value of the difference is less than the threshold value;With
It controls the infrared sensor when the posture of the electronic device is predetermined posture and opens and control the light transmission and show Screen is closed.
5. the control method of electronic device as described in claim 1, which is characterized in that the control method is in the control institute After stating the step of infrared sensor is opened and controls light transmission display screen closing further include:
Control the distance between the infrared sensor detection object and the electronic device;
Judge whether the object is greater than preset distance at a distance from the electronic device;
The light transmission display screen is controlled when the object is greater than the preset distance at a distance from the electronic device to open;
Judge whether the electronic device is in the talk business;With
It is in the talk business in the electronic device and controls the infrared sensor and close and control the optical inductor and open Begin to detect multiple ambient brightness values.
6. a kind of control device of electronic device, which is characterized in that the electronic device include light transmission display screen, optical inductor and Infrared sensor, the light transmission display screen includes viewing area, and the infrared sensor is arranged below the viewing area, described red Outer sensor is used to emit infrared light and receives the infrared light being reflected by the object to detect the object to the electronic device Distance, the control device include:
First judgment module, the first judgment module is for judging whether the electronic device enters talk business;
First detection module, the first detection module control the light when entering the talk business for the electronic device Inductor starts to detect multiple ambient brightness values;With
First control module, first control module are bright for the ambient brightness value described in n-th and the N-1 environment When the absolute value of the difference of angle value is less than threshold value, controls the infrared sensor and opens and control the light transmission display screen closing, Wherein, N is natural number, N >=2.
7. a kind of electronic device, which is characterized in that described including light transmission display screen, optical inductor, infrared sensor and processor Light transmission display screen includes viewing area, and the infrared sensor is arranged below the viewing area, and the infrared sensor is for sending out It penetrates infrared light and receives the infrared light that is reflected by the object to detect the distance of the object to the electronic device, the processor For:
Judge whether the electronic device enters talk business;
The optical inductor is controlled when the electronic device enters the talk business to start to detect multiple ambient brightness values;With
When the absolute value of the difference of the ambient brightness value described in n-th and the N-1 ambient brightness values is less than threshold value, control The infrared sensor is opened and controls the light transmission display screen and closes, wherein N is natural number, N >=2.
8. electronic device as claimed in claim 7, which is characterized in that the processor is used for:
The optical inductor is controlled to start discontinuously to detect the multiple ambient brightness value.
9. electronic device as claimed in claim 7, which is characterized in that the processor is used for:
The posture of the electronic device is judged when the absolute value of the difference is less than the threshold value;
It controls the infrared sensor when the posture of the electronic device is predetermined posture and opens and control the light transmission and show Screen is closed.
10. electronic device as claimed in claim 7, which is characterized in that the processor is used for:
Control the distance between the infrared sensor detection object and the electronic device;
Judge whether the object is greater than preset distance at a distance from the electronic device;
The light transmission display screen is controlled when the object is greater than the preset distance at a distance from the electronic device to open;
Judge whether the electronic device is in the talk business;With
It is in the talk business in the electronic device and controls the infrared sensor and close and control the optical inductor and open Begin to detect multiple ambient brightness values.
11. electronic device as claimed in claim 7, which is characterized in that the light transmission display screen include upper surface and with it is described The opposite lower surface in upper surface, the electronic device further include be coated on the lower surface and the covering infrared sensor the One coating layer, first coating layer is for through infrared light and interception visible light, the infrared sensor to be for described in transmission First coating layer and light transmission display screen transmitting and/or reception infrared light.
12. electronic device as claimed in claim 11, which is characterized in that the infrared sensor includes proximity sensor, institute Stating proximity sensor includes transmitter and receiver, and the transmitter is used to show through first coating layer and the light transmission Screen transmitting infrared light, the receiver are used to receive the infrared light through object reflection to detect the object and the electronic device Distance.
13. electronic device as claimed in claim 11, which is characterized in that positive throwing of the infrared sensor in the lower surface Shadow is located at first coating layer in the orthographic projection of the lower surface.
14. electronic device as claimed in claim 11, which is characterized in that the electronic device further includes being arranged in the following table Face and the light shield layer for surrounding the infrared sensor.
15. one or more includes the non-volatile computer readable storage medium storing program for executing of computer executable instructions, when the calculating When machine executable instruction is executed by one or more processors, so that the processor perform claim requires any one of 1-5 institute The control method for the electronic device stated.
16. a kind of computer equipment, including memory and processor, computer-readable instruction is stored in the memory, institute When stating instruction by processor execution, so that the processor perform claim requires electronic device described in any one of 1-5 Control method.
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 true CN108989490A (en) 2018-12-11
CN108989490B 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)

Cited By (2)

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

Citations (7)

* 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
US20130040710A1 (en) * 2011-02-16 2013-02-14 Michael Lockwood Mobile device display management
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
CN107817936A (en) * 2017-11-22 2018-03-20 广东欧珀移动通信有限公司 Electronic installation and sensor cluster
CN107911554A (en) * 2017-11-22 2018-04-13 广东欧珀移动通信有限公司 The control method of electronic device and electronic device
CN107920142A (en) * 2017-11-22 2018-04-17 广东欧珀移动通信有限公司 Electronic device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN108989490B (en) * 2018-06-06 2020-04-28 Oppo广东移动通信有限公司 Control method, control device, electronic device, storage medium, and computer apparatus

Patent Citations (7)

* 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
US20130040710A1 (en) * 2011-02-16 2013-02-14 Michael Lockwood Mobile device display management
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
CN107817936A (en) * 2017-11-22 2018-03-20 广东欧珀移动通信有限公司 Electronic installation and sensor cluster
CN107911554A (en) * 2017-11-22 2018-04-13 广东欧珀移动通信有限公司 The control method of electronic device and electronic device
CN107920142A (en) * 2017-11-22 2018-04-17 广东欧珀移动通信有限公司 Electronic device

Cited By (2)

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

Also Published As

Publication number Publication date
WO2019233233A1 (en) 2019-12-12
CN108989490B (en) 2020-04-28

Similar Documents

Publication Publication Date Title
CN108600419A (en) Electronic device and its manufacturing method
CN109040417A (en) Control method, control device, electronic device, storage medium and computer equipment
CN108534891A (en) Optical sensor, electronic device and its manufacturing method
CN108833694A (en) Control method, control device, electronic device, computer storage medium and equipment
CN110581904A (en) Control method, control device, electronic device, and storage medium
CN108494909A (en) Electronic device and manufacturing method
CN108461044A (en) Electronic device and its manufacturing method
CN108769354A (en) Control method, control device, electronic device, storage medium and computer equipment
CN108512960A (en) Electronic device and its manufacturing method
CN108810195A (en) Electronic device and its manufacturing method
CN108521480A (en) Control method, control device, electronic device, computer storage media and equipment
CN109167857A (en) Calibration method, electronic device, storage medium and computer equipment
CN108848259A (en) Control method, control device, electronic device, computer storage medium and equipment
CN108989566A (en) control method, electronic device and computer readable storage medium
CN108540595A (en) Electronic device and its manufacturing method
CN108712523A (en) Electronic device and its manufacturing method
CN109388285A (en) Proximity test mode switching method, device, electronic equipment and storage medium
CN108718349A (en) Control method, control device, electronic device, storage medium and computer equipment
CN108810271A (en) Control method, control device, electronic device, storage medium and computer equipment
CN108989490A (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
CN108803947A (en) Control method, control device, electronic device, computer storage media and equipment
CN108683751B (en) Control method, control device, electronic device, computer storage medium and equipment
CN108924278A (en) Electronic device and its manufacturing method
CN108600420A (en) Electronic device and manufacturing method

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