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

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

Info

Publication number
CN108848260A
CN108848260A CN201810574213.3A CN201810574213A CN108848260A CN 108848260 A CN108848260 A CN 108848260A CN 201810574213 A CN201810574213 A CN 201810574213A CN 108848260 A CN108848260 A CN 108848260A
Authority
CN
China
Prior art keywords
viewing area
electronic device
display screen
control
light transmission
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
CN201810574213.3A
Other languages
Chinese (zh)
Other versions
CN108848260B (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 CN201810574213.3A priority Critical patent/CN108848260B/en
Publication of CN108848260A publication Critical patent/CN108848260A/en
Application granted granted Critical
Publication of CN108848260B publication Critical patent/CN108848260B/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/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/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • 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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • 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 kind of control methods of electronic device.Electronic device includes light transmission display screen and infrared sensor, and light transmission display screen includes viewing area, and viewing area includes the first viewing area and the second viewing area for surrounding the first viewing area, and infrared sensor is arranged below the second viewing area, and control method includes step:Judge whether electronic device is in and carrys out electricity condition;Electronic device be in carry out electricity condition when, control the first viewing area show incoming information;The second viewing area is controlled to show with the brightness lower than the first viewing area;It opens with control infrared sensor with the distance of detection object to electronic device.The invention also discloses a kind of control device, electronic device, computer readable storage medium and equipment.Control method, control device, electronic device, computer readable storage medium and equipment of the invention weakens infrared sensor flicker effects caused by the second viewing area by reducing the brightness of the second viewing area when electronic device incoming call.

Description

Control method, control device, electronic device, computer storage medium and equipment
Technical field
The present invention relates to electronic technology field, in particular to a kind of control method of electronic device, control device, electronics dress It sets, computer readable storage medium and computer equipment.
Background technique
With the development of mobile phone, screen becomes the development trend of mobile phone comprehensively, and in order to improve the screen accounting of mobile phone, needing will be former This is arranged in the infrared sensor at the top of mobile phone screen and is arranged below display screen.However, the infrared sensor under screen is working The infrared light of period transmitting is easy to make the component in display screen that electron transfer occurs, to cause the winking of display screen existing As user experience is poor.
Summary of the invention
In view of this, the embodiment provides a kind of control method of electronic device, control device, electronics dresses It sets, computer readable storage medium and computer equipment.
The present invention provides a kind of control method of electronic device, the electronic device includes light transmission display screen and infrared biography Sensor, the light transmission display screen includes viewing area, and the viewing area includes the first viewing area and encirclement first viewing area Second viewing area, first viewing area are described red for showing incoming information when the electronic device is in and carrys out electricity condition Outer sensor is arranged below second viewing area, and the infrared sensor is reflected by the object for emitting infrared light and receiving Infrared light to detect the distance of the object to the electronic device, the control method includes step:
Judge the electronic device whether be in it is described come electricity condition;
The electronic device be in it is described come electricity condition when, control first viewing area and show the incoming information;
Second viewing area is controlled to show with the brightness lower than first viewing area;With
The infrared sensor is controlled to open to detect the distance of the object to the electronic device.
In some embodiments, the brightness of control second viewing area is lower than the brightness of first viewing area The step of include:
Second viewing area is controlled to extinguish or keep extinguishing.
In some embodiments, the brightness of control second viewing area is lower than the brightness of first viewing area The step of include:
It controls second viewing area and shows that the predetermined color includes black with predetermined color.
In some embodiments, the step of control first viewing area shows the incoming information include:
Judge whether user watches the light transmission display screen;With
When the user watches the light transmission display screen, controls first viewing area and show the incoming information.
In some embodiments, described to judge that the step of whether user watches the light transmission display screen includes:
Obtain ambient image;
Whether judge in the ambient image comprising human eye;With
When including the human eye in the ambient image, determine that the user watches the light transmission display screen.
In some embodiments, described to judge that the step of whether user watches the light transmission display screen includes:
Obtain the motion state of the electronic device;
Judge whether the motion state meets predetermined motion state;With
When the motion state meets the predetermined motion state, determine that the user watches the light transmission display screen.
The present invention provides a kind of control device for electronic device, the electronic device includes light transmission display screen and red Outer sensor, the light transmission display screen includes viewing area, and the viewing area includes the first viewing area and encirclement first display Second viewing area in area, first viewing area is for showing incoming information, institute when the electronic device is in and carrys out electricity condition It states infrared sensor to be arranged below second viewing area, the infrared sensor is for emitting infrared light and receiving by object To detect the distance of the object to the electronic device, the control device includes the infrared light of reflection:
Judgment module, for judge the electronic device whether be in it is described come electricity condition;With
Control module, for the electronic device be in it is described come electricity condition when, control first viewing area and show The incoming information, it is aobvious with the brightness lower than first viewing area that the control module is also used to control second viewing area Show, the control module be also used to control the infrared sensor open with detect the object to the electronic device away from From.
The present invention provides a kind of electronic devices, including:
Light transmission display screen, the light transmission display screen includes viewing area, and the viewing area includes the first viewing area and encirclement institute The second viewing area of the first viewing area is stated, first viewing area is used to show when the electronic device is in and carrys out electricity condition Power information;
Infrared sensor below second viewing area is set, and the infrared sensor is for emitting infrared light and connecing The infrared light that is reflected by the object is received to detect the distance of the object to the electronic device;With
Processor, the processor for judge the electronic device whether be in it is described come electricity condition, in the electronics Device be in it is described come electricity condition when, control first viewing area and show the incoming information, control second viewing area It is shown with the brightness lower than first viewing area, controls the infrared sensor and open to detect the object to the electronics The distance of device.
In some embodiments, the processor extinguishes or keeps extinguishing for controlling second viewing area.
In some embodiments, the processor is shown for controlling second viewing area with predetermined color, described Predetermined color includes black.
In some embodiments, the processor is for judging whether user watches the light transmission display screen, described When user watches the light transmission display screen, controls first viewing area and show the incoming information.
In some embodiments, the electronic device includes the camera module for capturing image, the processor For obtaining the ambient image of the camera module capture, and judge whether comprising human eye in the ambient image, described When in ambient image including the human eye, determine that the user watches the light transmission display screen.
In some embodiments, the electronic device includes the acceleration for detecting the motion state of the electronic device Sensor is spent, the processor is used to obtain the motion state that the acceleration transducer detects the electronic device, And judge whether the motion state meets predetermined motion state, when the motion state meets the predetermined motion state, Determine that the user watches the light transmission display screen.
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 above-mentioned electronics The control method of device.
The present invention provides a kind of computer equipment, including memory and processor, calculating is stored in the memory Machine readable instruction, when the computer-readable instruction is executed by the processor, so that the processor executes above-mentioned electronics dress The control method set.
Control method, control device, electronic device, computer readable storage medium and the computer of embodiment of the present invention It, can be in the case where not influencing the first viewing area and showing incoming information, by reducing by the when electronic device incoming call in equipment The brightness of two viewing areas weakens infrared sensor flicker effects caused by the second viewing area.
Additional aspect and advantage of the invention will be set forth in part in the description, and will partially become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention is from combining in description of the following accompanying drawings to embodiment by change It obtains obviously and is readily appreciated that, wherein:
Fig. 1 is the stereoscopic schematic diagram of the electronic device of embodiment of the present invention;
Fig. 2 is the flow diagram of the control method of embodiment of the present invention;
Fig. 3 is the module diagram of the control device of embodiment of the present invention;
Fig. 4 is the module diagram of the electronic device of embodiment of the present invention;
Fig. 5 is the module diagram of the computer equipment of embodiment of the present invention;
Fig. 6 is the schematic diagram of a scenario of embodiment of the present invention;
Fig. 7 is another flow diagram of the control method of embodiment of the present invention;
Fig. 8 is another schematic diagram of a scenario of embodiment of the present invention;
Fig. 9 is another schematic diagram of a scenario of embodiment of the present invention;
Figure 10 is another schematic diagram of a scenario of embodiment of the present invention;
Figure 11 is the another schematic diagram of a scenario of embodiment of the present invention;
Figure 12 is another flow diagram of the control method of embodiment of the present invention;
Figure 13 is another flow diagram of the control method of embodiment of the present invention;
Figure 14 is the another flow diagram of the control method of embodiment of the present invention;
Figure 15 is another schematic diagram of a scenario of embodiment of the present invention;With
Figure 16 is another flow diagram of the control method of embodiment of the present invention.
Specific embodiment
Embodiments of the present invention are described below in detail, the example of the embodiment is shown in the accompanying drawings, wherein from beginning Same or similar element or element with the same or similar functions are indicated to same or similar label eventually.Below by ginseng The embodiment for examining attached drawing description is exemplary, and for explaining only the invention, and is not considered as limiting the invention.
Below with reference to the control method of Fig. 1 to Figure 16 the present invention is described in detail embodiment, control device 200, electronic device 100, computer readable storage medium and computer equipment 300.
Fig. 1 to Fig. 5 is please referred to, embodiment of the present invention provides a kind of control method of electronic device 100.Electronic device 100 include light transmission display screen 13 and infrared sensor 161, and light transmission display screen 13 includes viewing area 131, and viewing area 131 includes the Electricity condition is carried out for being in electronic device 100 in one viewing area and the second viewing area for surrounding the first viewing area, the first viewing area When show incoming information, infrared sensor 161 is arranged below the second viewing area, and infrared sensor 161 is for emitting infrared light And it receives by the infrared light of object emission with detection object to the distance of electronic device 100.Control method includes step:
S10:Judge whether electronic device is in and carrys out electricity condition;
S20:Electronic device be in carry out electricity condition when, control the first viewing area show incoming information;
S30:The second viewing area is controlled to show with the brightness lower than the first viewing area;With
S40:Infrared sensor is controlled to open with the distance of detection object to electronic device.
Embodiment of the present invention provides a kind of control device 200 for electronic device 100.Embodiment of the present invention The control method of electronic device 100 can be realized by the control device 200 of embodiment of the present invention.Control device 200 includes sentencing Disconnected module 21 and control mould fast 22.Step S10 can realize by judgment module 21, and step S20, step S30 and step S40 can be with It is realized by control module 22.In other words, judgment module 21 carrys out electricity condition for judging whether electronic device 100 is in.Control Module 22 be used for electronic device 100 be in carry out electricity condition when, control the first viewing area show incoming information, control second display Area is shown with the brightness lower than the first viewing area, and is controlled infrared sensor 161 and opened with detection object to electronic device 100 Distance.
Embodiment of the present invention provides a kind of electronic device 100.Electronic device 100 includes light transmission display screen 13, infrared biography Sensor 161 and processor 10.Light transmission display screen 13 includes viewing area 131, and viewing area 131 includes the first viewing area and encirclement first Second viewing area of viewing area, the first viewing area are infrared for showing incoming information when electronic device 100 is in and carrys out electricity condition Sensor 161 is arranged below the second viewing area, and infrared sensor 161 is for emitting infrared light and receiving by the red of object emission Outer light is with detection object to the distance of electronic device 100.Step S10, step S20, step S30 and step S40 can be by handling Device 10 is realized.In other words, processor 10 can be used for judging whether electronic device 100 is in and carry out electricity condition, in electronic device 100 It is in when carrying out electricity condition, the first viewing area of control shows incoming information, controls the second viewing area with bright lower than the first viewing area Degree display, and control distance of the unlatching of infrared sensor 161 with detection object to electronic device 100.
Embodiment of the present invention provides a kind of computer equipment 300.In an embodiment of the present invention, control device 200 It can also apply in computer equipment 300.Computer equipment 300 can be mobile phone, tablet computer, laptop, intelligence The electronic device 100 of bracelet, smartwatch, intelligent helmet, intelligent glasses, game machine etc., embodiment of the present invention is also possible to One of computer equipment 300.
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 to judge the distance between mobile phone and barrier and make corresponding adjustment, user can be prevented Maloperation and save mobile phone electricity.When user is when answering or making a phone call, infrared sensor will be actuated for away from From detection work.In user by mobile phone close to head when, infrared sensor issues infrared light and receiver by calculating transmitter The time for receiving reflected infrared light generates detection information, or the intensity and receiver of infrared light are issued according to transmitter The intensity for receiving reflected infrared light generates detection information, and processor sends command adapted thereto to control according to the detection information Device, controller extinguish according to instruction control screen.When mobile phone is far from head, processor is fed back to again according to infrared sensor Next detection information simultaneously issues command adapted thereto to controller, and controller lights screen according to instruction again.
With the development of mobile phone, screen becomes new development trend comprehensively, for the screen accounting for improving mobile phone, by infrared sensor It is placed on the lower zone of display screen.However, during user answers or makes a phone call, it is infrared below screen Sensor is opened and emits infrared light and carries out apart from when detecting work, and the infrared light that infrared sensor issues can be radiated at display screen TFT substrate on, excitation of the electronics by infrared photon due to photoelectric effect, under the irradiation of infrared light, inside TFT substrate To form electric current, and infrared sensor sending is infrared light pulse, thus display screen is caused scintillation occur.
In the control method of embodiment of the present invention, first determines whether electronic device 100 is in and carry out electricity condition, in electricity Sub-device 100 is in when carrying out electricity condition, and the first viewing area of control shows incoming information, and controls the second viewing area to be lower than first The brightness of viewing area is shown, is then controlled infrared sensor 161 and is opened with detection object at a distance from electronic device 100.In this way, It, can be aobvious by reducing by second in the case where not influencing the first viewing area display incoming information when electronic device 100 is sent a telegram here Show the brightness in area to weaken the flicker effects caused by the second viewing area of infrared sensor 161.
Referring to Fig. 6, the first viewing area 1311 shows that incoming information, incoming information include when electronic device 100 is sent a telegram here Incoming number, name, head portrait, area and operator etc., the first viewing area 1311 can with the function choosing-item of display system, such as Answer, hang up with it is mute etc..Second viewing area 1312 mainly as incoming call program interface background, be displayed for it is some its His picture such as color or animation is decorated.Therefore, in the case where not influencing user's browsing incoming information, Ke Yishi When the brightness for reducing the second viewing area 1312 weakens infrared sensor 161 to flicker effects caused by the second viewing area 1312.
It should be noted that the specific zoned format of the first viewing area 1311 and the second viewing area 1312 is according to the actual situation It is set.For example, the second viewing area 1312 can be divided according to the present position of infrared sensor 161, it can also basis The position of incoming information is shown to divide the first viewing area 1311 or be divided into multiple first viewing areas 1311, is not limited herein It is fixed.In addition, the form that the connection boundary of the first viewing area 1311 and the second viewing area 1312 can be shown using gradual change colour transition, The ornamental value of incoming call program interface can also be improved by highlighted form, it is of course also possible to use light color display Form weakens visual lofty sense, it is not limited here.
The control method of embodiment of the present invention is also applied for electronic device 100 and is in the situation for removing electricity condition.Specifically, It can be by detection electronic installation 100 whether just in outbound calling.When electronic device 100 is just in outbound calling, the first display Power information and other function option are gone in the display of area 1311, and the second viewing area 1312 other pictures of display are as background decorative, at this time The brightness of the second viewing area 1312 can be reduced suitably to weaken flicker effects caused by infrared sensor 161.
It is understood that carrying out electricity condition and removing electricity condition also and include the incoming call shape in other voice communication class application programs Formula and electric form is gone, it is not limited here.
It should also be noted that, when electronic device 100 be not on carry out electricity condition when, electronic device 100 maintains original shape Whether state simultaneously rejudges electronic device 100 and is in and carry out electricity condition.
Fig. 3, Fig. 4 and Fig. 7 are please referred to, further, in such an embodiment, controls the second viewing area lower than the The step S30 that the brightness of one viewing area is shown includes:
S310:The second viewing area is controlled to extinguish or keep extinguishing.
Further, in such an embodiment, step S310 can be realized by control module 22.In other words, it controls Molding block 22 extinguishes or keeps extinguishing for controlling the second viewing area.
Further, in such an embodiment, step S310 may be implemented in the processor 10 of electronic device 100.? I other words processor 10 extinguishes or keeps extinguishing for controlling the second viewing area.
Specifically, scintillation is since light transmission display screen 13 is emitted by infrared sensor 161 in the energized state Caused by infrared light, so when the second viewing area 1312 being oppositely arranged in light transmission display screen 13 with infrared sensor 161 is extinguished Afterwards, scintillation would not occur in screen.Light transmission display screen 13 can use Organic Light Emitting Diode (OrganicLight- Emitting Diode, OLED) display screen, OLED display screen can realize addressing driving to pixel, so the can be controlled Two viewing areas 1312 make the first viewing area 1311 keep display in the case where extinguishing.Certainly, light transmission display screen 13 can also be adopted With Micro LED display, it is not limited here.
Specifically, referring to Fig. 8, user is in operation electronic device 100 at this time.When electronic device 100 is in incoming call shape State, referring to Fig. 9, the first viewing area 1311 shows incoming information at this time, the second viewing area 1312 is extinguished, infrared sensor 161 It opens with detection object to the distance of electronic device 100.
Or referring to Fig. 10, user does not operate electronic device 100 at this time.Carry out electricity condition when electronic device 100 is in, Figure 11 is please referred to, the first viewing area 1311 shows incoming information at this time, and the second viewing area 1312 keeps extinguishing, infrared sensor 161 open with detection object to the distance of electronic device 100.
Fig. 3, Fig. 4 and Figure 12 are please referred to, further, in such an embodiment, controls the second viewing area to be lower than The step S30 that the brightness of first viewing area is shown includes:
S320:It controls the second viewing area to show with predetermined color, predetermined color includes black.
Further, in such an embodiment, step S320 can be realized by control module 22.In other words, it controls Molding block 22 shows that predetermined color includes black with predetermined color for controlling the second viewing area.
Further, in such an embodiment, step S320 may be implemented in the processor 10 of electronic device 100.? I other words processor 10 shows that predetermined color includes black with predetermined color for controlling the second viewing area.
Specifically, light transmission display screen 13 can use OLED display screen or Micro LED display, these emission types It is self-luminous and can realizes addressing driving to pixel, so when showing black picture, the corresponding picture in the second viewing area Vegetarian refreshments is can be non-luminous, that is, in the state closed.Therefore, when infrared sensor 161 emits infrared light, light transmission There is not scintillation in display screen 13, can preferably promote user experience.
Fig. 3, Fig. 4 and Figure 13 are please referred to, further, in such an embodiment, the first viewing area of control, which is shown, to be come The step S20 of power information includes:
S210:Judge whether user watches light transmission display screen;With
S220:When user watches light transmission display screen, the first viewing area of control shows incoming information.
Further, in such an embodiment, step S210 can be realized by judgment module 21, and step S220 can be with It is realized by control module 22.In other words, judgment module 21 is for judging whether user watches light transmission display screen 13.Control module 22 for when user watches light transmission display screen 13, the first viewing area of control to show incoming information.
Further, in such an embodiment, step S210 and step may be implemented in the processor 10 of electronic device 100 Rapid S220.In other words, processor 10 watches light transmission display screen in user for judging whether user watches light transmission display screen 13 When 13, the first viewing area of control shows incoming information.
Specifically, when electronic device 100 is sent a telegram here, when detecting user's viewing electronic device 100, it is aobvious that first is controlled at this time Show that area shows incoming information, so that users can browse the incoming information and decides whether to answer.And not when electronic device 100 is sent a telegram here Detect that user watches electronic device 100, farther out, electronic device 100 can continue user's potential range electronic device 100 at this time Telephone bell is kept, passes through the first viewing area again when user watches electronic device 100 and shows incoming information.It so, it is possible to save Save the electricity of electronic device 100.
It should be noted that light transmission display screen 13 maintains original state simultaneously when user does not watch light transmission display screen 13 Rejudge whether user watches light transmission display screen 13.
Fig. 3, Fig. 4 and Figure 14 are please referred to, further, in such an embodiment, judges whether user watches light transmission The step S210 of display screen includes:
S2111:Obtain ambient image;
S2112:Whether judge in ambient image comprising human eye;With
S2113:When including human eye in ambient image, determine that user watches light transmission display screen.
Further, in such an embodiment, control device 200 includes obtaining module 23 and determining module 24, step Rapid S2111 can be realized that step S2112 can be realized that step S2113 can be by determining by judgment module 21 by acquisition module 23 Module 24 is realized.In other words, module 23 is obtained for obtaining ambient image.Judgment module 21 is used to judge No includes human eye.When determining module 24 is used in ambient image comprising human eye, determine that user watches light transmission display screen 13.
Further, in such an embodiment, electronic device 100 includes the camera module for capturing image Whether 162, processor 10 is used to obtain the ambient image of the capture of camera module 162, and judge in ambient image to include human eye, When including human eye in ambient image, determine that user watches light transmission display screen 13.
Specifically, electronic device 100 be in carry out electricity condition when, the camera module on electronic device 100 can be passed through 162 captures determine that user watches light transmission display screen 13 with the ambient image of 13 opposite side of light transmission display screen.For example, can lead to Crossing in identification current environment image whether there is human face region and further identifies whether human face region includes human eye area to sentence Whether disconnected user watches light transmission display screen 13.Figure 15 is please referred to, when recognizing the face area in current environment image there are user Domain and human face region there are when human eye area, can determine user watch electronic device 100.
The detection of human eye can be detected based on portrait template preset in database, color etc., in identification scene In there are when face, it may be determined that the part being connect with face be portrait area, then judge whether to further include human eye area, specifically Implementation is herein with no restrictions.For example, it is also possible to by being matched with portrait template to determine human eye.It is appreciated that pair The identification of human eye area is also possible to identify whether to have continuous color lump, and then contour identification is to determine face and human eye area.
Human eye area is not included without human face region or human face region it should be noted that if determining in ambient image Whether domain can reacquire ambient image and continue to identify in acquired ambient image comprising human eye.
Camera module 162 can be the front camera of electronic device 100.The available electronics of camera module 162 The RGB image of 100 local environment of device.Camera module 162 is also possible to depth camera, in depth image, face area Depth data corresponding to the features such as nose, eyes, ear in domain is different, such as when face face electronic device 100, It shoots in obtained depth image, the corresponding depth data of nose depth data corresponding with respect to eyes may be smaller, and ear Corresponding depth data may be larger.The quantity of camera module 162 can be multiple, such as can be two preposition camera shootings Head.
Fig. 3, Fig. 4 and Figure 16 are please referred to, further, in such an embodiment, judges whether user watches light transmission The step S210 of display screen includes:
S2121:Obtain the motion state of electronic device;
S2122:Judge whether motion state meets predetermined motion state;With
S2123:When motion state meets predetermined motion state, determine that user watches light transmission display screen.
Further, in such an embodiment, step S2121 can be realized that step S2122 can by acquisition module 23 To be realized by judgment module 21, step S2123 can be realized by determining module 24.In other words, module 23 is obtained for obtaining The motion state of electronic device 100.Judgment module 21 is for judging whether motion state meets predetermined motion state.Determining module 24 for when motion state meets predetermined motion state, determining that user watches light transmission display screen 13.
Further, in such an embodiment, electronic device 100 includes the movement for detection electronic installation 100 The acceleration transducer 163 of state, processor 10 is for obtaining the movement that acceleration transducer 163 detects electronic device 100 State, and judge whether motion state meets predetermined motion state, when motion state meets predetermined motion state, determine user Watch light transmission display screen 13.
Specifically, whether can be lifted by detection electronic installation 100 to judge whether user watches light transmission and show by user Display screen 13.When detecting that electronic device 100 is lifted, it can determine that user watches light transmission display screen 13.Wherein, user is detected Hand raising action can be realized by elements such as gyroscope, the acceleration transducers 163 of electronic device 100.Generally, gyroscope energy Measure the rotational angular velocity when deflection of electronic device 100 and inclination.Acceleration transducer 163 can capture the several of electronic device 100 Kind typical movement pattern such as rocks, whipping is overturn.Gyroscope and acceleration transducer 163 can be to locating for electronic devices 100 Motion state detected, such as pick up, rock, whipping.In this way, according to the detection of gyroscope or acceleration transducer 163 Data may determine that whether user has the movement for lifting electronic device 100.It should be noted that the specific fortune of predetermined motion state Dynamic data are set according to the actual situation, it is not limited here.
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 10 When, so that processor 10 executes the control method of the electronic device 100 of any of the above-described embodiment.Such as execute step S10:Sentence Whether power-off sub-device, which is in, is carried out electricity condition;Step S20:Electronic device be in carry out electricity condition when, the first viewing area of control is aobvious Show incoming information;Step S30:The second viewing area is controlled to show with the brightness lower than the first viewing area;With step S40:It controls red Outer sensor is opened with the distance of detection object to electronic device.
Referring to Fig. 5, embodiment of the present invention additionally provides a kind of computer equipment 300.Computer equipment 300 includes depositing Reservoir 32 and processor 10 store computer-readable instruction in memory 32, when instruction is executed by processor 10, processor 10 Execute the control method of the electronic device 100 of any of the above-described embodiment.Such as execute step S10:Whether judge electronic device It is in and carrys out electricity condition;Step S20:Electronic device be in carry out electricity condition when, control the first viewing area show incoming information;Step S30:The second viewing area is controlled to show with the brightness lower than the first viewing area;With step S40:Infrared sensor is controlled to open to examine Survey the distance of object to electronic device.
Fig. 5 is the internal module schematic diagram of the computer equipment 300 in one embodiment.As shown in figure 5, the computer is set Standby 300 include the processor 10 connected by system bus 31, memory 32 (for example, non-volatile memory medium), interior storage Device 33, light transmission display screen 13, input unit 34, infrared sensor 161, camera module 162 and acceleration transducer 163.Its In, the memory 32 of computer equipment 300 is stored with operating system and computer-readable instruction.The computer-readable instruction can quilt Processor 10 executes, to realize the control method of above-mentioned any one embodiment.The processor 10 can be used for providing calculating and Control ability supports the operation of entire computer equipment 300.The built-in storage 33 of computer equipment 300 is in memory 32 Computer-readable instruction operation provides environment.The light transmission display screen 13 of computer equipment 300 can be OLED display screen or Micro LED display, input unit 34 can be the touch screen covered on light transmission display screen 13, be also possible to outside computer equipment 300 Key, trace ball or the Trackpad being arranged on shell, are also possible to external keyboard, Trackpad or mouse etc..The computer equipment 300 can be mobile phone, tablet computer, laptop etc..It will be understood by those skilled in the art that structure shown in Fig. 5, only It is only the schematic diagram of part-structure relevant to the present invention program, does not constitute the calculating being applied thereon to the present invention program The restriction of machine equipment 300, specific computer equipment 300 may include than more or fewer components or group shown in Fig. 5 Certain components are closed, or with different component layouts.
Above disclosure provides many different embodiments or example is used to realize different structure of the invention.In order to Simplify disclosure of the invention, above the component of specific examples and setting are described.Certainly, they are merely examples, and And it is not intended to limit the present invention.In addition, the present invention can in different examples repeat reference numerals and/or reference letter, This repetition is for purposes of simplicity and clarity, itself not indicate between discussed various embodiments and/or setting Relationship.In addition, the present invention provides various specific techniques and material example, but those of ordinary skill in the art can be with Recognize the application of other techniques and/or the use of other materials.
In the description of this specification, reference term " embodiment ", " some embodiments ", " schematically implementation The description of mode ", " example ", " specific example " or " some examples " etc. means embodiment or example is combined to describe specific Feature, structure, material or feature are contained at least one embodiment or example of the invention.In the present specification, right The schematic representation of above-mentioned term is not necessarily referring to identical embodiment or example.Moreover, the specific features of description, knot Structure, material or feature can be combined in any suitable manner in any one or more embodiments or example.
While embodiments of the present invention have been illustrated and described, it will be understood by those skilled in the art that:? These embodiments can be carried out with a variety of variations, modification, replacement in the case where not departing from the principle of the present invention and objective and become Type, the scope of the present invention are defined by the claims and their equivalents.

Claims (15)

1. a kind of control method of electronic device, which is characterized in that the electronic device includes light transmission display screen and infrared sensing Device, the light transmission display screen includes viewing area, and the viewing area includes the first viewing area and surrounds the of first viewing area Two viewing areas, first viewing area are described infrared for showing incoming information when the electronic device is in and carrys out electricity condition Sensor is arranged below second viewing area, and the infrared sensor is used to emit infrared light and receives and is reflected by the object For infrared light to detect the distance of the object to the electronic device, the control method includes step:
Judge the electronic device whether be in it is described come electricity condition;
The electronic device be in it is described come electricity condition when, control first viewing area and show the incoming information;
Second viewing area is controlled to show with the brightness lower than first viewing area;With
The infrared sensor is controlled to open to detect the distance of the object to the electronic device.
2. control method as described in claim 1, which is characterized in that the brightness of control second viewing area is lower than institute The step of stating the brightness of the first viewing area include:
Second viewing area is controlled to extinguish or keep extinguishing.
3. control method as described in claim 1, which is characterized in that the brightness of control second viewing area is lower than institute The step of stating the brightness of the first viewing area include:
It controls second viewing area and shows that the predetermined color includes black with predetermined color.
4. control method as described in claim 1, which is characterized in that control first viewing area shows the incoming call The step of information includes:
Judge whether user watches the light transmission display screen;With
When the user watches the light transmission display screen, controls first viewing area and show the incoming information.
5. control method as claimed in claim 4, which is characterized in that described to judge whether user watches the light transmission display screen The step of include:
Obtain ambient image;
Whether judge in the ambient image comprising human eye;With
When including the human eye in the ambient image, determine that the user watches the light transmission display screen.
6. control method as claimed in claim 4, which is characterized in that described to judge whether user watches the light transmission display screen The step of include:
Obtain the motion state of the electronic device;
Judge whether the motion state meets predetermined motion state;With
When the motion state meets the predetermined motion state, determine that the user watches the light transmission display screen.
7. a kind of control device for electronic device, which is characterized in that the electronic device includes light transmission display screen and infrared Sensor, the light transmission display screen includes viewing area, and the viewing area includes the first viewing area and encirclement first viewing area The second viewing area, first viewing area is described for showing incoming information when the electronic device is in and carrys out electricity condition Infrared sensor is arranged below second viewing area, and the infrared sensor is for emitting infrared light and receiving anti-by object To detect the distance of the object to the electronic device, the control device includes the infrared light penetrated:
Judgment module, for judge the electronic device whether be in it is described come electricity condition;With
Control module, for the electronic device be in it is described come electricity condition when, control described in first viewing area shows Incoming information, the control module are also used to control second viewing area and are shown with the brightness lower than first viewing area, The control module is also used to control the infrared sensor and opens to detect the distance of the object to the electronic device.
8. a kind of electronic device, which is characterized in that including:
Light transmission display screen, the light transmission display screen includes viewing area, and the viewing area includes the first viewing area and surrounds described the Second viewing area of one viewing area, first viewing area, which is used to show when the electronic device is in and carrys out electricity condition, carrys out telecommunications Breath;
Infrared sensor below second viewing area is set, and the infrared sensor is for emitting infrared light and receiving quilt The infrared light of object reflection is to detect the distance of the object to the electronic device;With
Processor, the processor for judge the electronic device whether be in it is described come electricity condition, in the electronic device In it is described come electricity condition when, control first viewing area and show the incoming information, control second viewing area is with low Brightness in first viewing area is shown, is controlled the infrared sensor and is opened to detect the object to the electronic device Distance.
9. electronic device as claimed in claim 8, which is characterized in that the processor is put out for controlling second viewing area It goes out or keeps extinguishing.
10. electronic device as claimed in claim 8, which is characterized in that the processor is for controlling second viewing area It is shown with predetermined color, the predetermined color includes black.
11. electronic device as claimed in claim 8, which is characterized in that the processor is for judging whether user watches institute State light transmission display screen, when the user watches the light transmission display screen, control first viewing area show it is described come telecommunications Breath.
12. electronic device as claimed in claim 11, which is characterized in that the electronic device includes for capturing taking the photograph for image As head mould group, the processor is used to obtain the ambient image of the camera module capture, and judges in the ambient image Whether include human eye, when including the human eye in the ambient image, determines that the user watches the light transmission display screen.
13. electronic device as claimed in claim 11, which is characterized in that the electronic device includes for detecting the electronics The acceleration transducer of the motion state of device, the processor detect the electronics for obtaining the acceleration transducer The motion state of device, and judge whether the motion state meets predetermined motion state, meet in the motion state When the predetermined motion state, determine that the user watches the light transmission display screen.
14. 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 to 6 institute The control method stated.
15. a kind of computer equipment, including memory and processor, computer-readable instruction is stored in the memory, institute When stating computer-readable instruction and being executed by the processor, so that the processor perform claim requires described in any one of 1 to 6 Control method.
CN201810574213.3A 2018-06-06 2018-06-06 Control method, control device, electronic device, computer storage medium, and apparatus Active CN108848260B (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN108848260A true CN108848260A (en) 2018-11-20
CN108848260B CN108848260B (en) 2021-04-16

Family

ID=64210347

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN108848260B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009168960A (en) * 2008-01-15 2009-07-30 Sony Corp Display device and luminance adjustment method for display device
US20160021241A1 (en) * 2014-07-20 2016-01-21 Motorola Mobility Llc Electronic Device and Method for Detecting Presence and Motion
CN106131345A (en) * 2016-08-29 2016-11-16 广东欧珀移动通信有限公司 The control method of a kind of proximity transducer, device and mobile terminal
CN106775246A (en) * 2016-12-19 2017-05-31 北京小米移动软件有限公司 Screen luminance adjustment method and device
CN107767835A (en) * 2017-11-22 2018-03-06 广东欧珀移动通信有限公司 Display screen component and electronic equipment
CN107948419A (en) * 2017-11-22 2018-04-20 广东欧珀移动通信有限公司 Electronic device
CN107945733A (en) * 2017-11-22 2018-04-20 广东欧珀移动通信有限公司 Brightness of display screen method of adjustment, device, storage medium and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009168960A (en) * 2008-01-15 2009-07-30 Sony Corp Display device and luminance adjustment method for display device
US20160021241A1 (en) * 2014-07-20 2016-01-21 Motorola Mobility Llc Electronic Device and Method for Detecting Presence and Motion
CN106131345A (en) * 2016-08-29 2016-11-16 广东欧珀移动通信有限公司 The control method of a kind of proximity transducer, device and mobile terminal
CN106775246A (en) * 2016-12-19 2017-05-31 北京小米移动软件有限公司 Screen luminance adjustment method and device
CN107767835A (en) * 2017-11-22 2018-03-06 广东欧珀移动通信有限公司 Display screen component and electronic equipment
CN107948419A (en) * 2017-11-22 2018-04-20 广东欧珀移动通信有限公司 Electronic device
CN107945733A (en) * 2017-11-22 2018-04-20 广东欧珀移动通信有限公司 Brightness of display screen method of adjustment, device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN108848260B (en) 2021-04-16

Similar Documents

Publication Publication Date Title
CN107665697B (en) A kind of adjusting method and mobile terminal of screen intensity
CN105378691B (en) Mobile device, head-mounted display and its control method
CN108182896B (en) A kind of brightness detection method, device and mobile terminal
CN108833694A (en) Control method, control device, electronic device, computer storage medium and equipment
WO2021068870A1 (en) Key structure, key control method, and electronic device
CN109068043A (en) A kind of image imaging method and device of mobile terminal
CN109302569A (en) A kind of image imaging method and device of mobile terminal
CN109639897A (en) A kind of light transmission method and device
CN107948498B (en) A kind of elimination camera Morie fringe method and mobile terminal
CN111064891B (en) Shooting control method and electronic equipment
CN111246121A (en) Shooting light supplement method, electronic equipment and medium
CN108989678A (en) A kind of image processing method, mobile terminal
CN108960179A (en) A kind of image processing method and mobile terminal
CN108429888A (en) The method and mobile terminal of light filling
CN108965728A (en) A kind of brightness adjusting method and terminal
CN105786163B (en) Display processing method and display processing unit
CN109257505A (en) A kind of screen control method and mobile terminal
CN108319386A (en) A kind of display screen false-touch prevention method and mobile terminal
CN108845785A (en) A kind of display methods and terminal
CN110164372A (en) Terminal device, screen luminance adjustment method and device
CN108833695A (en) Control method, control device, electronic device, computer storage medium and equipment
CN109688341A (en) A kind of method for polishing and terminal device
CN109379539A (en) A kind of screen light compensation method and terminal
CN109525837A (en) The generation method and mobile terminal of image
CN108984145A (en) A kind of brightness adjusting method and electronic equipment

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