CN107092352A - A kind of screen control method answered based on distance perspective and terminal - Google Patents

A kind of screen control method answered based on distance perspective and terminal Download PDF

Info

Publication number
CN107092352A
CN107092352A CN201710190077.3A CN201710190077A CN107092352A CN 107092352 A CN107092352 A CN 107092352A CN 201710190077 A CN201710190077 A CN 201710190077A CN 107092352 A CN107092352 A CN 107092352A
Authority
CN
China
Prior art keywords
screen
light source
distance
detection light
threshold value
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.)
Withdrawn
Application number
CN201710190077.3A
Other languages
Chinese (zh)
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201710190077.3A priority Critical patent/CN107092352A/en
Publication of CN107092352A publication Critical patent/CN107092352A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C3/00Measuring distances in line of sight; Optical rangefinders

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Electromagnetism (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of screen control method answered based on distance perspective and terminal, wherein, included based on the screen control method that distance perspective is answered:If detecting the predetermined registration operation of triggering voice call, default distance detection light source is lighted;Wherein, the distance detection light source is arranged at apart from region of the distance less than pre-determined distance threshold value of front camera;The distance detection light source in illuminating state is used to form reflective spot on the face when face is close to screen;Start the front camera capture facial image;If the brightness of the reflective spot in the facial image captured is more than or equal to the first predetermined luminance threshold value, lock-screen.Terminal can realize that distance perspective is answered in the case where being not provided with closely induction module, and should realize the intelligent control to screen, cost-effective and space based on distance perspective.

Description

A kind of screen control method answered based on distance perspective and terminal
Technical field
The present invention relates to electronic technology field, more particularly to a kind of screen control method answered based on distance perspective and terminal.
Background technology
With continuing to develop for electronic technology, the intelligent terminal such as mobile phone, tablet personal computer is while function is gradually become strong, system That makees is also more and more accurate.Under the limited size of terminal, the use of each functional module in terminal how is reduced, and then lifted eventually Design effect is held to turn into the problem of designer.
Closely induction module is both provided with existing terminal, in communication process, by closely induction module come Inductive terminations apart from human body distance, and according to the light on and off of the distance controlling terminal screen sensed, thus reach power saving and Prevent the purpose of maloperation.If being not provided with closely induction module in terminal, it can not realize that distance perspective should.
The content of the invention
The embodiment of the present invention provides a kind of screen control method answered based on distance perspective and terminal, can be not provided with terminal Closely realize that distance perspective is answered in the case of induction module, save cost and the space of terminal.
In a first aspect, the embodiments of the invention provide a kind of screen control method answered based on distance perspective, including:
If detecting the predetermined registration operation of triggering voice call, default distance detection light source is lighted;Wherein, the distance inspection Light-metering source is arranged at apart from region of the distance less than pre-determined distance threshold value of front camera;The distance in illuminating state Detection light source is used to form reflective spot on the face when face is close to screen;
Start the front camera capture facial image;
If the brightness of the reflective spot in the facial image captured is more than or equal to the first predetermined luminance threshold value, locking screen Curtain.
On the other hand, the embodiments of the invention provide a kind of terminal, including:
Display control unit, if the predetermined registration operation for detecting triggering voice call, is lighted default apart from detection light Source;Wherein, the distance detection light source is arranged at apart from region of the distance less than pre-determined distance threshold value of front camera;It is in The distance detection light source of illuminating state is used to form reflective spot on the face when face is close to screen;
Capturing unit, for starting the front camera capture facial image;
Screen control unit, presets if the brightness for the reflective spot in the facial image that captures is more than or equal to first Luminance threshold, then lock-screen.
Such scheme, if terminal detects the predetermined registration operation of triggering voice call, lights default distance detection light source;Its In, the distance detection light source is arranged at apart from region of the distance less than pre-determined distance threshold value of front camera;In lighting The distance detection light source of state is used to form reflective spot on the face when face is close to screen;Start described preposition Camera captures facial image;If the brightness of the reflective spot in the facial image captured is more than or equal to the first predetermined luminance threshold It is worth, then lock-screen.Terminal can realize that distance perspective is answered in the case where being not provided with closely induction module, and based on distance perspective The intelligent control to screen, cost-effective and space should be realized.
Brief description of the drawings
Technical scheme, is used required in being described below to embodiment in order to illustrate the embodiments of the present invention more clearly Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, and correspondence this area is general For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow diagram of screen control method answered based on distance perspective provided in an embodiment of the present invention;
Fig. 2 is a kind of exemplary flow for screen control method answered based on distance perspective that another embodiment of the present invention is provided Figure;
Fig. 3 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic block diagram for terminal that another embodiment of the present invention is provided;
Fig. 5 is a kind of schematic block diagram for terminal that yet another embodiment of the invention is provided.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" be indicated Described feature, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, it is whole Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, " one " and "the" are intended to include plural form.
It will be further appreciated that, the term "and/or" used in description of the invention and appended claims is Refer to any combinations of one or more of the associated item listed and be possible to combination, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface The mobile phone, laptop computer or tablet PC of (for example, touch-screen display and/or touch pad) etc it is other just Portable device.It is to be further understood that in certain embodiments, the equipment not portable communication device, but with touching Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application Program, telephony application, videoconference application, email application, instant messaging applications, exercise Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use such as touch sensitive surface at least one is public Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table The corresponding information shown in the one or more functions and terminal in face.So, the public physical structure of terminal is (for example, touch Sensing surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
Fig. 1 is referred to, Fig. 1 is a kind of signal of screen control method answered based on distance perspective provided in an embodiment of the present invention Flow chart.The executive agent for the screen control method answered in the present embodiment based on distance perspective is terminal.Terminal can be intelligent hand The mobile terminals such as machine, tablet personal computer, but not limited to this, can also be other-end, not be limited herein.Base as shown in Figure 1 The screen control method answered in distance perspective may comprise steps of:
S101:If detecting the predetermined registration operation of triggering voice call, default distance detection light source is lighted.
If terminal detects the predetermined registration operation that user triggers voice call, default distance detection light source is lighted.
Wherein, distance detection light source is arranged at apart from region of the distance less than pre-determined distance threshold value of front camera.Place Reflective spot is formed on face when face is close to terminal screen in the distance detection light source of illuminating state, i.e., when apart from detection light When the light of source transmitting is irradiated in face, corresponding reflective spot can be formed on face.
Distance detection light source can be single light emitting diode (Light Emitting Diode, LED).Light-emitting diodes Pipe can be arranged on terminal inner, the corresponding underface region of display screen, the light energy that light emitting diode is launched when lighting Enough pass through display screen;Light emitting diode can also be arranged on the corresponding region of non-display area of terminal, for example, can be arranged on The corresponding region of frame above terminal display screen.No matter which region light emitting diode is arranged on, be both needed to ensure its with it is preposition The distance between camera is less than pre-determined distance threshold value, so that front camera can be captured when light emitting diode is lighted in people The reflective spot formed on the face.
Distance detection light source can also be less than default at least part of display screen itself apart from the distance of front camera The light source of the LED pixel formation of distance threshold, when display screen extinguishes, these LED pixels are still lighted.Certainly, distance detection Light source can also be other kinds of light source, be configured, be not limited herein with specific reference to actual demand.
Pre-determined distance threshold value can be configured according to the actual requirements, be not limited herein.
Default distance detection light source can be one, or at least two, not be limited herein.
Default distance detection light source can fix the light source of color light for transmitting, or glow color is adjustable Light source, is not limited herein.
If default distance detection light source is the light source of the fixed color light of transmitting, terminal directly lights default distance Detect light source.Specifically, when default distance detection light source is the light source of the fixed color light of a transmitting, distance detection The color of the light of light source transmitting can be configured according to the actual requirements, for example, the distance can be set to detect light source transmitting The color of light is different from the color of ambient light;When default distance detection light source is the fixed color light of at least two transmittings During light source, the colors of the light of at least two distance detection light sources transmittings can be dry with avoid that ambient light causes with different Disturb.
If default distance detection light source is an adjustable light source of glow color, terminal can control the distance to detect Light source sends the light of pre-set color, and the pre-set color can be differently configured from the color of ambient light.If default distance detection light source For the adjustable light source of at least two glow colors, terminal can control the light of at least two light sources transmission different colours.
The predetermined registration operation of voice call can be configured according to the actual requirements, be not limited herein.For example, voice call Operation can be to call operation or perform voice call request in the interactive interface of communications applications (such as wechat) or receive Operation.
It is understood that terminal can also show call interface while default distance detection light source is lighted.It is logical Words interface can include the information of conversation object, such as the head image information, number information or name information of conversation object;Call Interface can also include control button, such as hang up button, dialing button, hands free button or volume button, with specific reference to reality Border demand is configured, and is not limited herein.
S102:Start the front camera capture facial image.
Terminal is while distance detection light source is lighted, or after distance detection light source is lighted, starts preposition shooting Head capture facial image.
When face apart from terminal screen farther out when, the complete face figure of facial image that front camera is captured correspondence Picture, i.e. front camera can capture complete facial image;When face is nearer apart from terminal screen, front camera is caught The incomplete facial image of facial image correspondence received, i.e. front camera capture can not capture complete facial image.
It is understood that capture terminal to facial image include distance detection light source formed on face it is reflective Point.Face is different apart from the distance of terminal screen, and the brightness of the reflective spot in the facial image that front camera is captured is different.
S103:If the brightness of the reflective spot in the facial image captured is more than or equal to the first predetermined luminance threshold value, Lock-screen.
If the brightness that terminal detects the reflective spot in the facial image that front camera is captured is more than or equal to first Predetermined luminance threshold value, then illustrate that face is in contact apart from the closer to the distance of terminal screen, or even face with terminal screen, now, Terminal locking screen, and control screen to be in screen state of going out, in this way, can both save the electricity of terminal, it is also possible to prevent face The maloperation produced when being contacted with terminal screen.
Wherein, the first predetermined luminance threshold value can be configured according to actual conditions, be not limited herein.
If it is understood that terminal detects the corresponding complete face figure of facial image that front camera is captured Picture, although or the incomplete facial image of facial image correspondence that captures, the brightness of the reflective spot in facial image is small In the first predetermined luminance threshold value, then illustrate face apart from the distant of terminal screen, now, terminal control screen keeps current State, for example, control screen to continue to show current talking interface.
It is understood that terminal is after lock-screen, it can continue to light distance detection light source, and control preposition shooting Head continues to capture facial image.And terminal is after lock-screen, the luminous intensity of distance detection light source can be reduced.
Such scheme, if terminal detects the predetermined registration operation of triggering voice call, lights default distance detection light source;Its In, the distance detection light source is arranged at apart from region of the distance less than pre-determined distance threshold value of front camera;In lighting The distance detection light source of state is used to form reflective spot on the face when face is close to screen;Start described preposition Camera captures facial image;If the brightness of the reflective spot in the facial image captured is more than or equal to the first predetermined luminance threshold It is worth, then lock-screen.Terminal can realize that distance perspective is answered in the case where being not provided with closely induction module, and based on distance perspective The intelligent control to screen, cost-effective and space should be realized.
Fig. 2 is referred to, Fig. 2 is a kind of screen control method answered based on distance perspective that another embodiment of the present invention is provided Schematic flow diagram.The executive agent for the screen control method answered in the present embodiment based on distance perspective is terminal.Terminal can be intelligence The mobile terminals such as energy mobile phone, tablet personal computer, but not limited to this, can also be other-end, not be limited herein.As shown in Figure 2 May comprise steps of based on the screen control method that distance perspective is answered:
S201:If detecting the predetermined registration operation of triggering voice call, default distance detection light source is lighted.
If terminal detects the predetermined registration operation that user triggers voice call, default distance detection light source is lighted.
Wherein, distance detection light source is arranged at apart from region of the distance less than pre-determined distance threshold value of front camera.Place Reflective spot is formed on face when face is close to terminal screen in the distance detection light source of illuminating state, i.e., when apart from detection light When the light of source transmitting is irradiated in face, corresponding reflective spot can be formed on face.
Distance detection light source can be single light emitting diode (Light Emitting Diode, LED).Light-emitting diodes Pipe can be arranged on terminal inner, the corresponding underface region of display screen, the light energy that light emitting diode is launched when lighting Enough pass through display screen;Light emitting diode can also be arranged on the corresponding region of non-display area of terminal, for example, can be arranged on The corresponding region of frame above terminal display screen.No matter which region light emitting diode is arranged on, be both needed to ensure its with it is preposition The distance between camera is less than pre-determined distance threshold value, so that front camera can be captured when light emitting diode is lighted in people The reflective spot formed on the face.
Distance detection light source can also be less than default at least part of display screen itself apart from the distance of front camera The light source of the LED pixel formation of distance threshold, when display screen extinguishes, these LED pixels are still lighted.Certainly, distance detection Light source can also be other kinds of light source, be configured, be not limited herein with specific reference to actual demand.
Pre-determined distance threshold value can be configured according to the actual requirements, be not limited herein.
Default distance detection light source can be one, or at least two, not be limited herein.
Default distance detection light source can fix the light source of color light for transmitting, or glow color is adjustable Light source, is not limited herein.
The predetermined registration operation of voice call can be configured according to the actual requirements, be not limited herein.For example, voice call Operation can be to call operation or perform voice call request in the interactive interface of communications applications (such as wechat) or receive Operation.
Further, step S201 may comprise steps of:
If detecting the predetermined registration operation of triggering voice call, call interface is shown;
Light the distance detection light source of default at least two transmittings different colours light, or control default at least two Distance detection light source launches the light of different colours.
If terminal detects the predetermined registration operation that user triggers voice call, show call interface, and light it is default away from From detection light source.
Wherein, call interface can include the information of conversation object, the head image information of such as conversation object, number information or Name information etc.;Call interface can also include control button, and such as hang up button, dialing button, hands free button or volume are pressed Button etc., is configured with specific reference to actual demand, is not limited herein.
If default distance detection light source is the light source of the fixed color light of transmitting, terminal directly lights default distance Detect light source.
Specifically, if default distance detection light source is the light source of the fixed color light of a transmitting, terminal lights this Default distance detection light source.Wherein, the color of the light of distance detection light source transmitting can be set according to the actual requirements Put, for example, the distance can be set to detect that the color of the light of light source transmitting is different from the color of ambient light.
If default distance detection light source is the light source of the fixed color light of at least two transmittings, terminal is lighted default The distance detection light source of at least two transmitting different colours light.The color of the light of at least two distances detection light source transmitting Can be with different, with the interference for avoiding ambient light from causing.
If default distance detection light source is an adjustable light source of glow color, terminal can control the distance to detect Light source sends the light of pre-set color, and the pre-set color can be differently configured from the color of ambient light.
If default distance detection light source is the adjustable light source of at least two glow colors, terminal can control at least two Individual distance detection light source sends the light of different colours, with the interference for avoiding ambient light from causing.
S202:Start the front camera capture facial image.
Terminal is while distance detection light source is lighted, or after distance detection light source is lighted, starts preposition shooting Head capture facial image.
When face apart from terminal screen farther out when, the complete face figure of facial image that front camera is captured correspondence Picture, i.e. front camera can capture complete facial image;When face is nearer apart from terminal screen, front camera is caught The incomplete facial image of facial image correspondence received, i.e. front camera capture can not capture complete facial image.
It is understood that capture terminal to facial image include distance detection light source formed on face it is reflective Point.Face is different apart from the distance of terminal screen, and the brightness of the reflective spot in the facial image that front camera is captured is different.
S203:If the brightness of the reflective spot in the facial image captured is more than or equal to the first predetermined luminance threshold value, Lock-screen.
If the brightness that terminal detects the reflective spot in the facial image that front camera is captured is more than or equal to first Predetermined luminance threshold value, then illustrate that face is in contact apart from the closer to the distance of terminal screen, or even face with terminal screen, now, Terminal locking screen, in this way, can both save the electricity of terminal, is also possible to prevent the mistake produced when face is contacted with terminal screen Operation.Here lock-screen can refer to the touch panel of locking terminal, or refer to locking terminal touch panel and Extinguish display panel.
Wherein, the first predetermined luminance threshold value can be configured according to actual conditions, be not limited herein.
If it is understood that terminal detects the corresponding complete face figure of facial image that front camera is captured Picture, although or the incomplete facial image of facial image correspondence that captures, the brightness of the reflective spot in facial image is small In the first predetermined luminance threshold value, then illustrate face apart from the distant of terminal screen, now, terminal control screen keeps current State, for example, control screen to continue to show current talking interface.
It is understood that terminal is after lock-screen, it can continue to light distance detection light source, and control preposition shooting Head continues to capture facial image.
Further, after step S203, it can also be included based on the screen control method that distance perspective is answered:
If the brightness of the reflective spot in the facial image that the front camera is captured under screen lock state is less than first Predetermined luminance threshold value, then solve lock screen.
Terminal is after lock-screen, if anti-in detecting the facial image that front camera is captured under screen lock state The brightness of luminous point is less than the first predetermined luminance threshold value, then illustrates face apart from the distant of terminal screen, now, terminal unlocking Screen, and control the call interface before screen display screen locking.
S204:The luminous intensity of the reduction distance detection light source.
Terminal can reduce the luminous intensity of distance detection light source, so can both save electricity, again after lock-screen The problem of user's physical examination that direct projection can be avoided to be caused when the light of face is too strong is not good.
S205:If the brightness of the reflective spot in the facial image that the front camera is captured under screen lock state is less than Second predetermined luminance threshold value, then solve lock screen.
Terminal is after the luminous intensity of reduction distance detection light source, and distance detects the reflective spot that light source is formed on face Brightness is also accordingly reduced, now, if terminal detect it is anti-in the facial image that front camera is captured under screen lock state The brightness of luminous point be less than the second predetermined luminance threshold value, then illustrate face apart from terminal screen farther out, terminal unlocking screen.
Wherein, the second predetermined luminance threshold value is less than the first predetermined luminance threshold value.Second predetermined luminance threshold value can be according to reality Border demand is configured, and is not limited herein.
It is understood that terminal is after solution lock screen, distance being detected to, the luminous intensity of light source is reverted to and lighted When luminous intensity, and continue executing with step S203~S205.
Further, terminal can also extinguish default distance detection light source, and close at the end of current talking is detected Close front camera.
Such scheme, if terminal detects the predetermined registration operation of triggering voice call, lights default distance detection light source;Its In, the distance detection light source is arranged at apart from region of the distance less than pre-determined distance threshold value of front camera;In lighting The distance detection light source of state is used to form reflective spot on the face when face is close to screen;Start described preposition Camera captures facial image;If the brightness of the reflective spot in the facial image captured is more than or equal to the first predetermined luminance threshold It is worth, then lock-screen.Terminal can realize that distance perspective is answered in the case where being not provided with closely induction module, and based on distance perspective The intelligent control to screen, cost-effective and space should be realized.
Terminal is under screen lock state, and the brightness for the reflective spot that can be still formed according to distance detection light source on face is real Existing distance perspective is answered, and can should realize the intelligent control to screen state based on distance perspective.
Referring to Fig. 3, Fig. 3 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention.Terminal 300 can be intelligence The mobile terminals such as mobile phone, tablet personal computer, can also be other-end, not be limited herein.What the terminal 300 of the present embodiment included Each unit is used to perform each step in the corresponding embodiments of Fig. 1, specifically refers in the corresponding embodiments of Fig. 1 and Fig. 1 Associated description, is not repeated herein.The terminal 300 of the present embodiment includes display control unit 301, capturing unit 302 and screen control Unit 303 processed.
If display control unit 301 is used for the predetermined registration operation for detecting triggering voice call, default distance detection is lighted Light source;Wherein, the distance detection light source is arranged at apart from region of the distance less than pre-determined distance threshold value of front camera;Place It is used to form reflective spot on the face when face is close to screen in the distance detection light source of illuminating state.
Capturing unit 302 is used to start the front camera capture facial image.Capturing unit 302 is by the people captured Face image is sent to screen control unit 303.
If it is pre- that the brightness for the reflective spot that screen control unit 303 is used in the facial image that captures is more than or equal to first If luminance threshold, then lock-screen.
Such scheme, if terminal detects the predetermined registration operation of triggering voice call, lights default distance detection light source;Its In, the distance detection light source is arranged at apart from region of the distance less than pre-determined distance threshold value of front camera;In lighting The distance detection light source of state is used to form reflective spot on the face when face is close to screen;Start described preposition Camera captures facial image;If the brightness of the reflective spot in the facial image captured is more than or equal to the first predetermined luminance threshold It is worth, then lock-screen.Terminal can realize that distance perspective is answered in the case where being not provided with closely induction module, and based on distance perspective The intelligent control to screen, cost-effective and space should be realized.
Referring to Fig. 4, Fig. 4 is a kind of schematic block diagram for terminal that another embodiment of the present invention is provided.Terminal 400 can be The mobile terminals such as smart mobile phone, tablet personal computer, can also be other-end, not be limited herein.The terminal 400 of the present embodiment is wrapped The each unit included is used to perform each step in the corresponding embodiments of Fig. 2, specifically refers to the corresponding embodiments of Fig. 2 and Fig. 2 In associated description, do not repeat herein.The terminal 400 of the present embodiment includes display control unit 401, capturing unit 402, screen Control unit 403 and intensity control unit 404.
If display control unit 401 is used for the predetermined registration operation for detecting triggering voice call, default distance detection is lighted Light source;Wherein, the distance detection light source is arranged at apart from region of the distance less than pre-determined distance threshold value of front camera;Place It is used to form reflective spot on the face when face is close to screen in the distance detection light source of illuminating state.
Capturing unit 402 is used to start the front camera capture facial image.Capturing unit 402 is by the people captured Face image is sent to screen control unit 403.
If it is pre- that the brightness for the reflective spot that screen control unit 403 is used in the facial image that captures is more than or equal to first If luminance threshold, then lock-screen.
Further, if screen control unit 403 is additionally operable to the people that the front camera is captured under screen lock state The brightness of reflective spot in face image is less than the first predetermined luminance threshold value, then solves lock screen.
Intensity control unit 404 is used to reduce the luminous intensity of the distance detection light source after lock-screen.
If display control unit 403 is additionally operable in the facial image that the front camera is captured under screen lock state The brightness of reflective spot is less than the second predetermined luminance threshold value, then solves lock screen;Wherein, the second predetermined luminance threshold value is less than described First predetermined luminance threshold value.
Further, if display control unit 403 triggers the predetermined registration operation of voice call specifically for detecting, display is logical Talk about interface;Light the distance detection light source of default at least two transmittings different colours light;Or control default at least two Distance detection light source launches the light of different colours.
Such scheme, if terminal detects the predetermined registration operation of triggering voice call, lights default distance detection light source;Its In, the distance detection light source is arranged at apart from region of the distance less than pre-determined distance threshold value of front camera;In lighting The distance detection light source of state is used to form reflective spot on the face when face is close to screen;Start described preposition Camera captures facial image;If the brightness of the reflective spot in the facial image captured is more than or equal to the first predetermined luminance threshold It is worth, then lock-screen.Terminal can realize that distance perspective is answered in the case where being not provided with closely induction module, and based on distance perspective The intelligent control to screen, cost-effective and space should be realized.
Terminal is under screen lock state, and the brightness for the reflective spot that can be still formed according to distance detection light source on face is real Existing distance perspective is answered, and can should realize the intelligent control to screen state based on distance perspective.
Referring to Fig. 5, Fig. 5 is a kind of terminal schematic block diagram that yet another embodiment of the invention is provided.This implementation as shown in Figure 5 Terminal 500 in example can include one or more processors 501, one or more input equipments 502, one or more then defeated Go out equipment 503 and one or more memories 504.Processor 501, then input equipment 502, output equipment 503 and memory 504 Mutual communication is completed by communication bus 505.
Memory 504 is instructed for storage program.
The programmed instruction that processor 501 is used to be stored according to memory 504 performs following operate:
If processor 501 is used for the predetermined registration operation for detecting triggering voice call, default distance detection light source is lighted;Its In, the distance detection light source is arranged at apart from region of the distance less than pre-determined distance threshold value of front camera;In lighting The distance detection light source of state is used to form reflective spot on the face when face is close to screen.
Processor 501 is additionally operable to start the front camera capture facial image.
If processor 501 is additionally operable to the brightness of the reflective spot in the facial image that captures, to be more than or equal to first default bright Threshold value is spent, then lock-screen.
If processor 501 is additionally operable to the reflective spot in the facial image that the front camera is captured under screen lock state Brightness be less than the first predetermined luminance threshold value, then solve lock screen.
Processor 501 is additionally operable to reduce the luminous intensity of the distance detection light source.
If processor 501 is additionally operable to the reflective spot in the facial image that the front camera is captured under screen lock state Brightness be less than the second predetermined luminance threshold value, then solve lock screen;Wherein, the second predetermined luminance threshold value is pre- less than described first If luminance threshold.
If processor 501 triggers the predetermined registration operation of voice call specifically for detecting, call interface is shown.
Processor 501 detects light source specifically for lighting the distance of default at least two transmittings different colours light, or Default at least two distances detection light source is controlled to launch the light of different colours.
If such scheme detects the predetermined registration operation of triggering voice call, default distance detection light source is lighted;Wherein, institute Distance detection light source is stated to be arranged at apart from region of the distance less than pre-determined distance threshold value of front camera;In illuminating state The distance detection light source is used to form reflective spot on the face when face is close to screen;Start the front camera Capture facial image;If the brightness of the reflective spot in the facial image captured is more than or equal to the first predetermined luminance threshold value, Lock-screen.Terminal can realize that distance perspective is answered in the case where being not provided with closely induction module, and should be real based on distance perspective Now to the intelligent control of screen, cost-effective and space.
It should be appreciated that in embodiments of the present invention, alleged processor 501 can be CPU (Central Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 502 can include Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and fingerprint Directional information), camera, microphone etc., then output equipment 503 can include display (LCD etc.), loudspeaker etc..
The memory 505 can include read-only storage and random access memory, and to processor 501 provide instruction and Data.The a part of of memory 505 can also include nonvolatile RAM.For example, memory 505 can also be deposited Store up the information of device type.
In the specific implementation, processor 501, input equipment 502, the output equipment 503 described in the embodiment of the present invention can Perform institute in the first embodiment and second embodiment of the screen control method provided in an embodiment of the present invention answered based on distance perspective The implementation of description, also can perform the implementation of the terminal described by the embodiment of the present invention, will not be repeated here.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This A little functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specially Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that, for convenience of description and succinctly, the end of foregoing description End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
, can be by it in several embodiments provided herein, it should be understood that disclosed terminal and method Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed phase Coupling or direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit Connection or electricity, mechanical or other forms are connected.
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.
Unit in terminal of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at one, or can also be distributed to multiple networks On unit.Some or all of unit therein can be selected to realize the mesh of scheme of the embodiment of the present invention according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially The part contributed in other words to prior art, or all or part of the technical scheme can be in the form of software product Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in, this A little modifications should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with the protection of claim Scope is defined.

Claims (10)

1. a kind of screen control method answered based on distance perspective, it is characterised in that including:
If detecting the predetermined registration operation of triggering voice call, default distance detection light source is lighted;Wherein, it is described apart from detection light Source is arranged at apart from region of the distance less than pre-determined distance threshold value of front camera;The distance detection in illuminating state Light source is used to form reflective spot on the face when face is close to screen;
Start the front camera capture facial image;
If the brightness of the reflective spot in the facial image captured is more than or equal to the first predetermined luminance threshold value, lock-screen.
2. the screen control method according to claim 1 answered based on distance perspective, it is characterised in that captured if described The brightness of reflective spot in facial image is more than or equal to the first predetermined luminance threshold value, then after lock-screen, in addition to:
Preset if the brightness of the reflective spot in the facial image that the front camera is captured under screen lock state is less than first Luminance threshold, then solve lock screen.
3. the screen control method according to claim 1 answered based on distance perspective, it is characterised in that captured if described The brightness of reflective spot in facial image is more than or equal to the first predetermined luminance threshold value, then after lock-screen, in addition to:
The luminous intensity of the reduction distance detection light source.
4. the screen control method according to claim 3 answered based on distance perspective, it is characterised in that captured if described The brightness of reflective spot in facial image is more than or equal to the first predetermined luminance threshold value, then after lock-screen, in addition to:
Preset if the brightness of the reflective spot in the facial image that the front camera is captured under screen lock state is less than second Luminance threshold, then solve lock screen;Wherein, the second predetermined luminance threshold value is less than the first predetermined luminance threshold value.
5. the screen control method answered based on distance perspective according to any one of Claims 1-4, it is characterised in that described If detecting the predetermined registration operation of triggering voice call, showing call interface, and light default distance detection light source includes:
If detecting the predetermined registration operation of triggering voice call, call interface is shown;
The distance detection light source of default at least two transmittings different colours light is lighted, or controls default at least two distance Detect that light source launches the light of different colours.
6. a kind of terminal, it is characterised in that including:
Display control unit, if the predetermined registration operation for detecting triggering voice call, lights default distance detection light source;Its In, the distance detection light source is arranged at apart from region of the distance less than pre-determined distance threshold value of front camera;In lighting The distance detection light source of state is used to form reflective spot on the face when face is close to screen;
Capturing unit, for starting the front camera capture facial image;
Screen control unit, if the brightness for the reflective spot in the facial image that captures is more than or equal to the first predetermined luminance Threshold value, then lock-screen.
7. terminal according to claim 6, it is characterised in that if the screen control unit is additionally operable to the preposition shooting The brightness of reflective spot in the facial image that head is captured under screen lock state is less than the first predetermined luminance threshold value, then solves screen locking Curtain.
8. terminal according to claim 6, it is characterised in that also include:
Intensity control unit, the luminous intensity for reducing the distance detection light source after lock-screen.
9. terminal according to claim 8, it is characterised in that if the screen control unit is additionally operable to the preposition shooting The brightness of reflective spot in the facial image that head is captured under screen lock state is less than the second predetermined luminance threshold value, then solves screen locking Curtain;Wherein, the second predetermined luminance threshold value is less than the first predetermined luminance threshold value.
10. the terminal according to any one of claim 6 to 9, it is characterised in that if the display control unit specifically for The predetermined registration operation of triggering voice call is detected, call interface is shown;Light default at least two transmittings different colours light Distance detection light source, or control it is default at least two distance detection light source launch different colours light.
CN201710190077.3A 2017-03-27 2017-03-27 A kind of screen control method answered based on distance perspective and terminal Withdrawn CN107092352A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710190077.3A CN107092352A (en) 2017-03-27 2017-03-27 A kind of screen control method answered based on distance perspective and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710190077.3A CN107092352A (en) 2017-03-27 2017-03-27 A kind of screen control method answered based on distance perspective and terminal

Publications (1)

Publication Number Publication Date
CN107092352A true CN107092352A (en) 2017-08-25

Family

ID=59646313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710190077.3A Withdrawn CN107092352A (en) 2017-03-27 2017-03-27 A kind of screen control method answered based on distance perspective and terminal

Country Status (1)

Country Link
CN (1) CN107092352A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109086108A (en) * 2018-06-29 2018-12-25 福建天晴数码有限公司 A kind of method and system of interface layout rationality checking
CN109195213A (en) * 2018-11-26 2019-01-11 努比亚技术有限公司 Mobile terminal screen control method, mobile terminal and computer readable storage medium
CN109639897A (en) * 2018-12-20 2019-04-16 维沃移动通信有限公司 A kind of light transmission method and device
CN111258414A (en) * 2018-11-30 2020-06-09 百度在线网络技术(北京)有限公司 Method and device for adjusting screen
CN112800402A (en) * 2021-02-26 2021-05-14 西安热工研究院有限公司 Automatic safety locking system and device for computer

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035955A (en) * 2009-09-25 2011-04-27 Tcl集团股份有限公司 Intelligent visible intercom terminal and automatic wakening method thereof
CN203537441U (en) * 2013-10-23 2014-04-09 惠州市桑莱士光电有限公司 A handset camera head which can control the light switch-on and light switch-off of a handset screen
CN105262882A (en) * 2015-08-28 2016-01-20 上海卓易科技股份有限公司 Method and device for automatically calibrating distance induction
CN105959461A (en) * 2016-04-14 2016-09-21 广东欧珀移动通信有限公司 Screen sensing control method, screen sensing control device and terminal equipment
CN106101453A (en) * 2016-08-19 2016-11-09 青岛海信移动通信技术股份有限公司 A kind of method controlling screen and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035955A (en) * 2009-09-25 2011-04-27 Tcl集团股份有限公司 Intelligent visible intercom terminal and automatic wakening method thereof
CN203537441U (en) * 2013-10-23 2014-04-09 惠州市桑莱士光电有限公司 A handset camera head which can control the light switch-on and light switch-off of a handset screen
CN105262882A (en) * 2015-08-28 2016-01-20 上海卓易科技股份有限公司 Method and device for automatically calibrating distance induction
CN105959461A (en) * 2016-04-14 2016-09-21 广东欧珀移动通信有限公司 Screen sensing control method, screen sensing control device and terminal equipment
CN106101453A (en) * 2016-08-19 2016-11-09 青岛海信移动通信技术股份有限公司 A kind of method controlling screen and terminal

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109086108A (en) * 2018-06-29 2018-12-25 福建天晴数码有限公司 A kind of method and system of interface layout rationality checking
CN109086108B (en) * 2018-06-29 2021-04-27 福建天晴数码有限公司 Method and system for detecting reasonability of interface layout
CN109195213A (en) * 2018-11-26 2019-01-11 努比亚技术有限公司 Mobile terminal screen control method, mobile terminal and computer readable storage medium
CN109195213B (en) * 2018-11-26 2023-06-30 努比亚技术有限公司 Mobile terminal screen control method, mobile terminal and computer readable storage medium
CN111258414A (en) * 2018-11-30 2020-06-09 百度在线网络技术(北京)有限公司 Method and device for adjusting screen
CN111258414B (en) * 2018-11-30 2023-08-04 百度在线网络技术(北京)有限公司 Method and device for adjusting screen
CN109639897A (en) * 2018-12-20 2019-04-16 维沃移动通信有限公司 A kind of light transmission method and device
WO2020125278A1 (en) * 2018-12-20 2020-06-25 维沃移动通信有限公司 Light transmission method and apparatus
CN112800402A (en) * 2021-02-26 2021-05-14 西安热工研究院有限公司 Automatic safety locking system and device for computer
CN112800402B (en) * 2021-02-26 2023-06-20 西安热工研究院有限公司 Automatic safety locking system and device for computer

Similar Documents

Publication Publication Date Title
US11521410B2 (en) Electronic device having a biometric sensor
US10747353B2 (en) Electronic device and method of controlling the electronic device based on touch input
CN107092352A (en) A kind of screen control method answered based on distance perspective and terminal
KR102673224B1 (en) Electronic apparatus and controlling method thereof
US20180017996A1 (en) Electronic apparatus having a hole area within screen and control method thereof
CN112148400B (en) Display method and device in locking state
CN108364978A (en) Electronic equipment with biometric sensor
US11971646B2 (en) Camera module, mobile terminal, and control method
CN105630129A (en) Power control method and apparatus for reducing power consumption
CN106502490A (en) A kind of incoming call reminding method and terminal
CN110298304A (en) A kind of skin detecting method and terminal
CN109284041A (en) A kind of application interface switching method and mobile terminal
CN109379484A (en) A kind of information processing method and terminal
US20230152956A1 (en) Wallpaper display control method and apparatus and electronic device
CN103929546A (en) Method and device for protecting eyes of user based on intelligent terminal
CN107197082A (en) A kind of information prompting method and terminal
KR102138349B1 (en) Method for controlling brightness of a display and an electronic device implementing the same
CN108881875A (en) Image white balancing treatment method, device, storage medium and terminal
CN106774796A (en) A kind of screen lighting method and terminal
CN114172983A (en) Proximity optical sensor control method and related equipment
CN110471604A (en) A kind of more application switching methods and relevant apparatus
CN110045890A (en) The display methods and terminal device of application identities
CN109348049A (en) Light effect displaying method, relevant device and storage medium
CN109862172A (en) A kind of adjusting method and terminal of screen parameter
CN109246298A (en) A kind of method and mobile terminal of prompt information

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20170825