CN110166618A - Screen control method and device - Google Patents

Screen control method and device Download PDF

Info

Publication number
CN110166618A
CN110166618A CN201810144715.2A CN201810144715A CN110166618A CN 110166618 A CN110166618 A CN 110166618A CN 201810144715 A CN201810144715 A CN 201810144715A CN 110166618 A CN110166618 A CN 110166618A
Authority
CN
China
Prior art keywords
screen
distance
user
detection pattern
light
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
CN201810144715.2A
Other languages
Chinese (zh)
Other versions
CN110166618B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810144715.2A priority Critical patent/CN110166618B/en
Publication of CN110166618A publication Critical patent/CN110166618A/en
Application granted granted Critical
Publication of CN110166618B publication Critical patent/CN110166618B/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/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
    • 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
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Abstract

Present disclose provides a kind of screen control method and devices, belong to field of terminal technology.Method includes:, by fingerprint detection pattern switching to apart from detection pattern, to be used to detect the distance between screen and object apart from detection pattern when terminal is on call;Under detection pattern, the distance between screen and user are detected by optical fingerprint sensor;When detecting the distance between screen and user no more than pre-determined distance threshold value, control screen goes out screen.The disclosure passes through when terminal is on call, detected using optical fingerprint sensor screen between user at a distance from, when the user approaches the screen, the screen that goes out can be carried out to screen, to avoid the false triggering to screen, during the false-touch prevention, the existing optical fingerprint sensor of terminal is utilized as detection device, without installing additional devices, it is not necessary to design accommodating space for additional devices, increase manufacturing process, to reduce the design difficulty and manufacturing cost of screen.

Description

Screen control method and device
Technical field
This disclosure relates to field of terminal technology more particularly to a kind of screen control method and device.
Background technique
With the continuous development of terminal technology, people can not only be conversed in a manner of connecing/making a phone call terminal, It can also be conversed in the way of network etc. by terminal.During using terminal is conversed, at terminal screen When open state, people may be excessively close because of facial dimension screen, and touches the function button on screen, so as to cause False triggering to function button in terminal prevents the mistake in communication process to function button so how effectively to control screen Triggering is people's concern the most when using terminal is conversed.
Current screen control method is mainly based upon P-sensor (proximity sensor, range sensor) It carries out.When terminal is on call, carry out working as P-sensor apart from detection by being mounted on the P-sensor below screen When reaching threshold value at a distance from detecting screen between user, mobile phone can control screen and carry out the screen that goes out, to avoid the purpose of false triggering.
Summary of the invention
To overcome the problems in correlation technique, present disclose provides a kind of screen control method and devices.
According to the first aspect of the embodiments of the present disclosure, a kind of screen control method is provided, comprising:
When terminal is on call, by fingerprint detection pattern switching to apart from detection pattern, the distance detection mould Formula is for detecting the distance between screen and object;
Described under detection pattern, the distance between the screen and user are detected by optical fingerprint sensor;
When detecting the distance between the screen and user no more than pre-determined distance threshold value, controls the screen and go out Screen.
In a kind of possible implementation, it is described described under detection pattern, detected by optical fingerprint sensor The distance between the screen and user include:
Decaying between the light intensity of the reflected light received according to the optical fingerprint sensor and the light intensity for emitting light, meter Calculate the distance between the screen and user.
In a kind of possible implementation, it is described described under detection pattern, detected by optical fingerprint sensor The distance between the screen and user include:
According to the launch time of transmitting light and the optical fingerprint sensor to the time between the receiving time of reflected light The spread speed of difference and light, calculates the distance between the screen and user.
In a kind of possible implementation, the method also includes:
Described under detection pattern, detected by the optical fingerprint sensor close to the face of the object of the screen Product;
When detecting the distance between the screen and user no more than pre-determined distance threshold value, controls the screen and go out screen Include:
When detect close to the object of the screen area be greater than between preset area threshold value and the screen and user Distance when being not more than pre-determined distance threshold value, control the screen and go out screen.
In a kind of possible implementation, it is described described under detection pattern, pass through the optical fingerprint sensor It detects close to the area of the object of the screen and includes:
According to the quantity for the light sensitive component for receiving reflected light on the photoinduction array of the optical fingerprint sensor and The unit area of the light sensitive component calculates the area close to the object of the screen.
According to the second aspect of an embodiment of the present disclosure, a kind of screen control device is provided, comprising:
Switching module is configured as when terminal is on call, and fingerprint detection pattern switching is detected mould to distance Formula, it is described to be used to detect the distance between screen and object apart from detection pattern;
Apart from detection module, be configured as described under detection pattern, detected by optical fingerprint sensor described in The distance between screen and user;
Control module is configured as that the distance between the screen and user ought be detected no more than pre-determined distance threshold value When, it controls the screen and goes out screen.
It is described to be configured as apart from detection module in a kind of possible implementation:
Decaying between the light intensity of the reflected light received according to the optical fingerprint sensor and the light intensity for emitting light, meter Calculate the distance between the screen and user.
It is described to be configured as apart from detection module in a kind of possible implementation:
According to the launch time of transmitting light and the optical fingerprint sensor to the time between the receiving time of reflected light The spread speed of difference and light, calculates the distance between the screen and user.
In a kind of possible implementation, described device further include:
Area detecting module is configured as described under detection pattern, is detected by the optical fingerprint sensor Close to the area of the object of the screen;
The control module is also configured to
When detect close to the object of the screen area be greater than between preset area threshold value and the screen and user Distance when being not more than pre-determined distance threshold value, control the screen and go out screen.
In a kind of possible implementation, the area detecting module is configured as:
According to the quantity for the light sensitive component for receiving reflected light on the photoinduction array of the optical fingerprint sensor and The unit area of the light sensitive component calculates the area close to the object of the screen.
According to the third aspect of an embodiment of the present disclosure, a kind of screen control device is provided, comprising:
Processor;
Memory for the instruction that storage processor can be performed;
Wherein, the processor is configured to:
When terminal is on call, by fingerprint detection pattern switching to apart from detection pattern, the distance detection mould Formula is for detecting the distance between screen and object;
Described under detection pattern, the distance between the screen and user are detected by optical fingerprint sensor;
When detecting the distance between the screen and user no more than pre-determined distance threshold value, controls the screen and go out Screen.
According to a fourth aspect of embodiments of the present disclosure, a kind of computer readable storage medium, computer-readable storage are provided Dielectric memory contains computer program, and the step of method described in first aspect is realized when the computer program is executed by processor Suddenly.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
The technical solution that the embodiment of the present disclosure provides has the benefit that
By when terminal is on call, detected using optical fingerprint sensor screen between user at a distance from, When the user approaches the screen, the screen that goes out can be carried out to screen, to avoid the false triggering to screen, during the false-touch prevention, benefit With the existing optical fingerprint sensor of terminal as detection device, without installing additional devices, it is not necessary to be set for additional devices Accommodating space is counted, increases manufacturing process, to reduce the design difficulty and manufacturing cost of screen.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of operation principle schematic diagram of optical fingerprint sensor shown according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of screen control method shown according to an exemplary embodiment;
Fig. 3 is a kind of flow chart of screen control method shown according to an exemplary embodiment;
Fig. 4 is a kind of block diagram of screen control device shown according to an exemplary embodiment;
Fig. 5 is a kind of block diagram of screen control device 500 shown according to an exemplary embodiment.
Specific embodiment
To keep the purposes, technical schemes and advantages of the disclosure clearer, below in conjunction with attached drawing to disclosure embodiment party Formula is described in further detail.
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of operation principle schematic diagram of optical fingerprint sensor shown according to an exemplary embodiment.Such as Fig. 1 It is shown, below the light-emitting display device OLED (Organic Light Emitting Diode, Organic Light Emitting Diode) of screen Be provided with optical fingerprint sensor, which includes light sensation array, optical fingerprint sensor using OLED as Light emitting source after the light that OLED is issued is got on the object of screen, generates reflected light, is then reflected by light sensation array received Light.Wherein, optical fingerprint sensor can be set in the lower section of entire screen, also can be set and specifies under region in screen Side, the embodiment of the present disclosure is to this without specifically limiting.
It is illustrated below for working principle of the above-mentioned optical fingerprint sensor in fingerprint detection mode, when finger is pressed When pressing on the screen, the light that OLED is issued can be beaten on finger, and then finger can reflect light back into optical fingerprint sensor Photoinduction array on, since absorptivity and reflectivity of paddy and the ridge in fingerprint lines to light are different, so reflected light Light intensity will appear difference, and after the reflected light for the different light intensity that the photoinduction array received in optical fingerprint sensor arrives, light is believed It number is converted to electric signal, then electric signal is sent to ADC (Analog-to-Digital Converter, simulation to number is converted Device) in, then the electric signal received is converted to digital signal by ADC, and terminal restores finger print information according to digital signal, is reached To the purpose of fingerprint detection.
Fig. 2 is a kind of flow chart of screen control method shown according to an exemplary embodiment, as shown in Fig. 2, screen Control method is for including the following steps in terminal.
In step 201, it when terminal is on call, by fingerprint detection pattern switching to apart from detection pattern, is somebody's turn to do Apart from detection pattern for detecting the distance between screen and object.
In step 202, it is detected between the screen and user under detection pattern by optical fingerprint sensor at this Distance.
In step 203, when detecting the distance between the screen and user no more than pre-determined distance threshold value, control should Screen goes out screen.
The method that the embodiment of the present disclosure provides, by when terminal is on call, using optical fingerprint sensor come Detect screen between user at a distance from, when the user approaches the screen, the screen that goes out can be carried out to screen, to avoid to screen mistake touch The existing optical fingerprint sensor of terminal is utilized as detection device, without installing volume during the false-touch prevention in hair Outer device, it is not necessary to design accommodating space for additional devices, increase manufacturing process, to reduce the design difficulty and manufacture of screen Cost.
In a kind of possible implementation, this under detection pattern, which is detected by optical fingerprint sensor The distance between user includes:
Decaying between the light intensity of the reflected light received according to optical finger print sensing and the light intensity for emitting light, calculating should The distance between screen and user.
In a kind of possible implementation, this under detection pattern, detect the distance between the screen and user packet It includes:
According to transmitting light launch time and the optical finger print sensing to the time difference between the receiving time of reflected light with And the spread speed of light, calculate the distance between the screen and user.
In a kind of possible implementation, this method further include:
This under detection pattern, by the optical fingerprint sensor detection close to the screen object area;
When detecting the distance between the screen and user no more than pre-determined distance threshold value, controls the screen and go out and shield packet It includes:
When detect close to the object of the screen area be greater than between preset area threshold value and the screen and user away from When from being not more than pre-determined distance threshold value, controlling the screen and going out screen.
In a kind of possible implementation, this under detection pattern, detected by the optical fingerprint sensor close The area of the object of the screen includes:
According to the quantity for the light sensitive component for receiving reflected light on the photoinduction array of the optical fingerprint sensor and it is somebody's turn to do The unit area of light sensitive component calculates the area close to the object of the screen.
All the above alternatives can form the alternative embodiment of the disclosure, herein no longer using any combination It repeats one by one.
Fig. 3 is a kind of flow chart of screen control method shown according to an exemplary embodiment, as shown in figure 3, screen Control method is used in the terminal with optical fingerprint sensor, is included the following steps.
In step 301, when terminal is on call, fingerprint detection pattern switching is detected mould to distance by terminal Formula, this is apart from detection pattern for detecting the distance between screen and object.
Wherein, talking state includes: to connect/make a phone call, voice-over-net call or play voice messaging etc., the embodiment of the present disclosure To this without specifically limiting.
In the embodiment of the present disclosure, since terminal can carry out fingerprint detection, optical finger print by optical fingerprint sensor The reflected light signal of different light intensity can be converted to electric signal, since distance can be with base when receiving reflected light by sensor It is calculated in the propagation of light or the decaying of light intensity, therefore, terminal can be carried out based on optical signal apart from detection.
Wherein, generally, terminal is that is to say in fingerprint detection mode, can automatic root when there is finger to press screen Fingerprint detection is carried out according to the electric signal of optical fingerprint sensor, and then refers to no longer progress fingerprint detection apart from detection pattern, and It is that the electric signal based on optical fingerprint sensor is carried out apart from detection.Wherein, handoff procedure includes: when terminal is on call When, terminal generates switching command, by fingerprint detection pattern switching extremely apart from detection pattern, to come between detection object and screen Distance.
In step 302, terminal is detected between screen and user under detection pattern by optical fingerprint sensor Distance.
In actual scene, the electric signal that terminal can be sent under detection pattern according to optical fingerprint sensor, meter The distance between screen and user are calculated, the method for the calculating distance has following two:
(1) declining between the light intensity for the reflected light that terminal is received according to optical fingerprint sensor and the light intensity for emitting light Subtract, calculates the distance between screen and user.
Light can generate the decaying of different situations due to the difference for the distance propagated in the medium, and light intensity is caused to become Change, so terminal can be according to declining between the light intensity for the reflected light that optical fingerprint sensor receives and the light intensity of transmitting light Subtract, come calculate screen between user at a distance from.
In the embodiment of the present disclosure, when the user approaches the screen, the OLED light issued can be reflected into optical finger print and passed by user On the photoinduction array of sensor, after the reflected light of photoinduction array received to different light intensity, the optical signal received is converted to Then electric signal is sent to terminal by electric signal, terminal by fingerprint detection pattern switching to after detection pattern, can basis Difference between the light intensity for the reflected light that the electric signal received is reflected and the known light intensity for emitting light calculates screen and uses Distance between family.It is, of course, also possible to a variety of factors for influencing light intensity of comprehensive analysis, which includes: use Family is to the absorptivity of light, reflectivity, the attenuation of the basic value of reflective light intensity or light intensity in different media etc., the disclosure Embodiment is to this without specifically limiting.
Wherein, when the basic value of reflective light intensity is that screen is blocked by black object, received by optical fingerprint sensor The light intensity of reflected light.In order to achieve the purpose that accurately to calculate distance between screen and user by reflective light intensity, in the life of terminal During production, technical staff can also carry out bottom to the optical fingerprint sensor in terminal and make an uproar detection, determine the base of reflective light intensity Plinth value, the carry out bottom are made an uproar the process of detection are as follows: are blocked optical fingerprint sensor using black object, obtained optical finger print at this time and pass Sensor receives the light intensity of reflected light, and the light intensity of reflected light at this time is determined as to the basic value of reflective light intensity.Wherein black object It can be the black object of the other materials such as black rubber object, countermeasure of the embodiment of the present invention is without specifically limiting.
(2) terminal is according between the launch time of transmitting light and the receiving time of the received reflected light of optical fingerprint sensor Time difference and light spread speed, calculate the distance between screen and user.
Since screen is different at a distance from user, the transmission range that will lead to light changes, reflected light the light velocity not In the case where change, distance will affect the time that optical fingerprint sensor receives reflected light, so terminal can be according to transmitting light Launch time and optical fingerprint sensor receive reflected light receiving time time difference, come calculate between screen and user away from From.
In the embodiment of the present disclosure, terminal by fingerprint detection pattern switching to after detection pattern, when terminal receives light Feel array send electric signal when, according to the receiving time for the electric signal for receiving reflected light and transmitting light launch time etc., Calculate screen between user at a distance from, it is, of course, also possible to the factor of a variety of influence times of comprehensive analysis, a variety of influence times Factor includes: the spread speed etc. of reflected light in different media, and the embodiment of the present disclosure is to this without specifically limiting.
In step 303, it is default to judge whether the distance between screen and user are greater than according to the distance detected for terminal Distance threshold, if it is, continuing distance detection, if not, executing step 304.
Wherein, pre-determined distance threshold value can according to screen during talking process between user at a distance from, the basis of reflective light intensity The ethnic group in region locating for the temperature or terminal in region locating for value, terminal etc. determines.In actual scene, controlled to reach according to distance The purpose of screen processed, technical staff can calculate the minimum range between screen and user, and at end in the production process of terminal Calculated minimum range is set as pre-determined distance threshold value on end.
When the distance between screen and user are greater than pre-determined distance threshold value, it may be considered that user is not close to screen, Also false triggering would not be caused, therefore, screen go out and shield control, but continues distance detection, Zhi Daotong After speech phase, fingerprint detection mode is switched back into apart from detection pattern by current.
In step 304, when terminal detects the distance between screen and user no more than pre-determined distance threshold value, detection Close to the area of the object of screen.
In actual scene, when terminal is on call, when user wants to operate the function button on screen, If because terminal detect screen between user at a distance from no more than pre-determined distance threshold value, to control screen closing, then can lead Applying family can not be to the carry out normal operating of function button on screen.Such as user wants by finger etc., in operation display Function button, the embodiment of the present disclosure is to this without concrete restriction.Under talking state, when the finger of user is close to screen, eventually If end according to the finger of calculated user between screen at a distance from, determine that the distance between screen and the finger of user are not more than When pre-determined distance threshold value, control screen goes out screen, then the control screen that will lead to end-error goes out screen.So terminal in order to prevent Error control occurs, it, can also be according to inspection when terminal determines the distance between screen and user no more than pre-determined distance threshold value The area of the object close to screen measured goes out screen to determine whether needing to control screen, to facilitate user's energy under talking state Normal operating is enough carried out to terminal by finger.
When there is object proximity screen, after the light that OLED is issued is got on object, the light sensation battle array on optical fingerprint sensor Column can receive the reflected light that object is reflected back, and the area of object proximity screen is bigger, receives reflected light on light sensation array The quantity of light sensation original part will be more, so terminal can be according to the light sensation original part for receiving reflected light on optical fingerprint sensor Quantity, area, the basic value of light sensation original part for receiving reflected light of light sensation original part etc., calculate close to the face of the object of screen Product.
Wherein, when the basic value for receiving the light sensation original part of reflected light is that screen is blocked by black object, optical finger print is passed The quantity of the light sensation original part of reflected light received by sensor, the basic value for receiving the light sensation original part of reflected light can make an uproar inspection the bottom of at It is obtained during survey.
In step 305, it is default to judge whether the area close to the object of screen is greater than according to the area detected for terminal Area threshold, if so, 306 are thened follow the steps, if not, continuing area detecting.
Wherein, preset area threshold value can according to user in communication process close to screen area, receive reflected light The ethnic group in region locating for the temperature or terminal in region locating for the basic value of light sensation original part, terminal etc. determines.In actual scene, in order to Achieve the purpose that control screen according to area, technical staff can calculate the object close to screen in the production process of terminal Maximum area, and calculated maximum area is set as preset area threshold value at the terminal.
When detect close to the object of screen area be less than pre-determined distance threshold value when, even if between screen and user away from From being not more than pre-determined distance threshold value, it is also assumed that user wants to carry out normal operating to terminal under talking state, it therefore, can be with Screen go out and shield control, but continue area detecting, after talking state, by current area detecting Pattern switching refers to line detection pattern.
Within step 306, when terminal detect the area close to the object of screen be greater than preset area threshold value and screen with When the distance between user is not more than pre-determined distance threshold value, control screen goes out screen.
The screen control method provided in the embodiment of the present invention is controlled for OLED screen curtain.Above-mentioned control screen The mode of screen of going out can be realized by mode electric under terminal control OLED.In fact, terminal stops to lead after powering to OLED OLED is caused no longer to emit beam, so that screen is in black state, no longer display is appointed again while keeping normal talking state What function button, to go out screen by controlling screen come the false triggering for preventing user to function button.
The method that the embodiment of the present disclosure provides, by when terminal is on call, using optical fingerprint sensor come Detect screen between user at a distance from, when the user approaches the screen, the screen that goes out can be carried out to screen, to avoid to screen mistake touch The existing optical fingerprint sensor of terminal is utilized as detection device, without installing volume during the false-touch prevention in hair Outer device, it is not necessary to design accommodating space for additional devices, increase manufacturing process, to reduce the design difficulty and manufacture of screen Cost.
It further, in the embodiment of the present disclosure, is illustrated so that the detection of advanced row distance carries out area detecting again as an example , still, in actual scene, can also first carry out area detecting and carry out again apart from detection, or, the area detecting and away from It can be carried out simultaneously from detection, the embodiment of the present disclosure is not specifically limited in this embodiment.
Further, in the embodiment of the present disclosure, terminal be by distance detection and area detecting after, ability controlling terminal screen Curtain, which goes out, to be illustrated for screen, and in actual scene, can also only be carried out apart from detection, when distance is not more than pre-determined distance threshold Value, control screen goes out screen, to prevent user in communication process, closely touches the function on screen excessively because of apart from screen Key, causes the false triggering to function button, and the embodiment of the present disclosure go out screen control without limitation to using which kind of mode.
Fig. 4 is a kind of block diagram of screen control device shown according to an exemplary embodiment.Referring to Fig. 4, the device packet Switching module 401 is included, apart from detection module 402 and control module 403.
The switching module 401 is configured as when terminal is on call, and fingerprint detection pattern switching is examined to distance Survey mode, this is apart from detection pattern for detecting the distance between screen and object.
This is configured as at this under detection pattern apart from detection module 402, should by optical fingerprint sensor detection The distance between screen and user.
The control module 403, which is configured as working as, detects the distance between the screen and user no more than pre-determined distance threshold value When, it controls the screen and goes out screen.
The device that the embodiment of the present disclosure provides, by when terminal is on call, using optical fingerprint sensor come Detect screen between user at a distance from, when the user approaches the screen, the screen that goes out can be carried out to screen, to avoid to screen mistake touch The existing optical fingerprint sensor of terminal is utilized as detection device, without installing volume during the false-touch prevention in hair Outer device, it is not necessary to design accommodating space for additional devices, increase manufacturing process, to reduce the design difficulty and manufacture of screen Cost.
In a kind of possible implementation, this is configured as apart from detection module 402:
Decaying between the light intensity of the reflected light received according to the optical fingerprint sensor and the light intensity for emitting light, calculates The distance between the screen and user.
In a kind of possible implementation, this is configured as apart from detection module 402:
According to the launch time of transmitting light and the optical fingerprint sensor to the time difference between the receiving time of reflected light And the spread speed of light, calculate the distance between the screen and user.
In a kind of possible implementation, the device further include: area detecting module 404.
The area detecting module 404 is configured as at this under detection pattern, is detected by the optical fingerprint sensor Close to the area of the object of the screen;
The control module 403 is also configured to
When detect close to the object of the screen area be greater than between preset area threshold value and the screen and user away from When from being not more than the pre-determined distance threshold value, controlling the screen and going out screen.
In a kind of possible implementation, which is configured as:
According to the quantity for the light sensitive component for receiving reflected light on the photoinduction array of the optical fingerprint sensor and it is somebody's turn to do The unit area of light sensitive component calculates the area close to the object of the screen.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 5 is a kind of block diagram of screen control device 500 shown according to an exemplary embodiment.For example, device 500 can To be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices are good for Body equipment, personal digital assistant etc..
Referring to Fig. 5, device 500 may include following one or more components: processing component 502, memory 504, power supply Component 506, multimedia component 508, audio component 510, the interface 512 of input/output (I/O), sensor module 514, and Communication component 516.
The integrated operation of the usual control device 500 of processing component 502, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 502 may include that one or more processors 520 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 502 may include one or more modules, just Interaction between processing component 502 and other assemblies.For example, processing component 502 may include multi-media module, it is more to facilitate Interaction between media component 508 and processing component 502.
Memory 504 is configured as storing various types of data to support the operation in device 500.These data are shown Example includes the instruction of any application or method for operating on device 500, contact data, and telephone book data disappears Breath, picture, video etc..Memory 504 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 506 provides electric power for the various assemblies of device 500.Power supply module 506 may include power management system System, one or more power supplys and other with for device 500 generate, manage, and distribute the associated component of electric power.
Multimedia component 508 includes the screen of one output interface of offer between the device 500 and user.Some In embodiment, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen It may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensors To sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense the side of touch or sliding action Boundary, but also detect duration and pressure relevant to the touch or slide.In some embodiments, multimedia component 508 include a front camera and/or rear camera.When device 500 is in operation mode, such as screening-mode or video screen module When formula, front camera and/or rear camera can receive external multi-medium data.Each front camera and postposition are taken the photograph As head can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 510 is configured as output and/or input audio signal.For example, audio component 510 includes a Mike Wind (MIC), when device 500 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 504 or via communication set Part 516 is sent.In some embodiments, audio component 510 further includes a loudspeaker, is used for output audio signal.
I/O interface 512 provides interface between processing component 502 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 514 includes one or more sensors, and the state for providing various aspects for device 500 is commented Estimate.For example, sensor module 514 can detecte the state that opens/closes of equipment 500, the relative positioning of component, such as the group Part is the display and keypad of device 500, and sensor module 514 can be with 500 1 components of detection device 500 or device Position change, the existence or non-existence that user contacts with device 500, the temperature in 500 orientation of device or acceleration/deceleration and device 500 Degree variation.Sensor module 514 may include proximity sensor, be configured to detect without any physical contact attached The presence of nearly object.Sensor module 514 can also include optical sensor, such as CMOS or ccd image sensor, for being imaged It is used in.In some embodiments, the sensor module 514 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 516 is configured to facilitate the communication of wired or wireless way between device 500 and other equipment.Device 500 can access the wireless network based on communication standard, such as Wi-Fi, 2G or 3G or their combination.In an exemplary reality It applies in example, communication component 516 receives broadcast singal or the related letter of broadcast from external broadcasting management system via broadcast channel Breath.In one exemplary embodiment, which further includes near-field communication (NFC) module, to promote short range communication. For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) skill can be based in NFC module Art, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 500 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 504 of instruction, above-metioned instruction can be executed by the processor 520 of device 500 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and Optical data storage devices etc..
In the exemplary embodiment, a kind of computer readable storage medium is additionally provided, is instructed for example including at least one, Above-mentioned at least one instruction can be loaded and be executed by processor to complete the screen control method in above-described embodiment.For example, meter Calculation machine readable storage medium storing program for executing can be read-only memory (Read-Only Memory, ROM), random access memory (Random- Access Memory, RAM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM), tape, floppy disk and Optical data storage devices etc..
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (12)

1. a kind of screen control method, which is characterized in that the described method includes:
It is described to be used apart from detection pattern by fingerprint detection pattern switching to apart from detection pattern when terminal is on call In detection the distance between screen and object;
Described under detection pattern, the distance between the screen and user are detected by optical fingerprint sensor;
When detecting the distance between the screen and user no more than pre-determined distance threshold value, controls the screen and go out screen.
2. the method according to claim 1, wherein it is described described under detection pattern, referred to by optics Line sensor detects the distance between the screen and user
Decaying between the light intensity of the reflected light received according to the optical fingerprint sensor and the light intensity for emitting light, calculates institute State the distance between screen and user.
3. the method according to claim 1, wherein it is described described under detection pattern, referred to by optics Line sensor detects the distance between the screen and user
According to transmitting light launch time and the optical fingerprint sensor to the time difference between the receiving time of reflected light with And the spread speed of light, calculate the distance between the screen and user.
4. the method according to claim 1, wherein the method also includes:
Described under detection pattern, the area close to the object of the screen is detected by the optical fingerprint sensor;
When detecting the distance between the screen and user no more than pre-determined distance threshold value, controls the screen and go out and shield packet It includes:
When detect close to the object of the screen area be greater than between preset area threshold value and the screen and user away from When from being not more than the pre-determined distance threshold value, controlling the screen and going out screen.
5. according to the method described in claim 4, it is characterized in that, it is described described under detection pattern, pass through the light Learning the area that fingerprint sensor is detected close to the object of the screen includes:
According to the quantity for the light sensitive component for receiving reflected light on the photoinduction array of the optical fingerprint sensor and described The unit area of light sensitive component calculates the area close to the object of the screen.
6. a kind of screen control device, which is characterized in that described device includes:
Switching module is configured as when terminal is on call, by fingerprint detection pattern switching to apart from detection pattern, institute It states apart from detection pattern for detecting the distance between screen and object;
Apart from detection module, it is configured as detecting the screen by optical fingerprint sensor described under detection pattern The distance between user;
Control module is configured as the control when detecting the distance between the screen and user no more than pre-determined distance threshold value The screen is made to go out screen.
7. device according to claim 6, which is characterized in that described to be configured as apart from detection module:
Declining between the light intensity of the reflected light received received according to the optical fingerprint sensor and the light intensity for emitting light Subtract, calculates the distance between the screen and user.
8. device according to claim 6, which is characterized in that described to be configured as apart from detection module:
According to transmitting light launch time and the optical fingerprint sensor to the time difference between the receiving time of reflected light with And the spread speed of light, calculate the distance between the screen and user.
9. device according to claim 6, which is characterized in that described device further include:
Area detecting module is configured as described under detection pattern, is detected by the optical fingerprint sensor close The area of the object of the screen;
The control module is also configured to
When detect close to the object of the screen area be greater than between preset area threshold value and the screen and user away from When from being not more than the pre-determined distance threshold value, controlling the screen and going out screen.
10. device according to claim 9, which is characterized in that the area detecting module is configured as:
According to the quantity for the light sensitive component for receiving reflected light on the photoinduction array of optical fingerprint sensor and the light sensation The unit area of element calculates the area close to the object of the screen.
11. a kind of screen control device characterized by comprising
Processor;
Memory for the instruction that storage processor can be performed;
Wherein, the processor is configured to:
It is described to be used apart from detection pattern by fingerprint detection pattern switching to apart from detection pattern when terminal is on call In detection the distance between screen and object;
Described under detection pattern, the distance between the screen and user are detected by optical fingerprint sensor;
When detecting the distance between the screen and user no more than pre-determined distance threshold value, controls the screen and go out screen.
12. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium Program realizes claim 1-5 described in any item method and steps when the computer program is executed by processor.
CN201810144715.2A 2018-02-12 2018-02-12 Screen control method and device Active CN110166618B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810144715.2A CN110166618B (en) 2018-02-12 2018-02-12 Screen control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810144715.2A CN110166618B (en) 2018-02-12 2018-02-12 Screen control method and device

Publications (2)

Publication Number Publication Date
CN110166618A true CN110166618A (en) 2019-08-23
CN110166618B CN110166618B (en) 2020-11-10

Family

ID=67635208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810144715.2A Active CN110166618B (en) 2018-02-12 2018-02-12 Screen control method and device

Country Status (1)

Country Link
CN (1) CN110166618B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124175A (en) * 2019-11-26 2020-05-08 北京小米移动软件有限公司 Terminal, display processing method, device and storage medium
CN112462928A (en) * 2019-09-06 2021-03-09 北京小米移动软件有限公司 Operation execution method, device and storage medium
CN114995676A (en) * 2021-12-29 2022-09-02 荣耀终端有限公司 Fingerprint false touch prevention method, graphical interface and electronic equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199644A (en) * 2014-08-13 2014-12-10 联想(北京)有限公司 Information processing method and electronic equipment
CN104618577A (en) * 2014-12-30 2015-05-13 广东欧珀移动通信有限公司 Key requirement response method and device
CN106598444A (en) * 2016-12-06 2017-04-26 广东欧珀移动通信有限公司 Mobile terminal control method and mobile terminal
US20170116454A1 (en) * 2015-10-21 2017-04-27 Motorola Mobility Llc Fingerprint Sensor with Proximity Detection, and Corresponding Devices, Systems, and Methods
CN106778159A (en) * 2016-12-29 2017-05-31 努比亚技术有限公司 Virtual key management method and device
CN106886766A (en) * 2017-02-23 2017-06-23 维沃移动通信有限公司 A kind of fingerprint identification method, fingerprint recognition circuit and mobile terminal
CN106982326A (en) * 2017-03-29 2017-07-25 华勤通讯技术有限公司 Its focalization method and terminal
CN106980832A (en) * 2017-03-22 2017-07-25 上海创功通讯技术有限公司 fingerprint identification method and device
US20170270342A1 (en) * 2015-06-18 2017-09-21 Shenzhen GOODIX Technology Co., Ltd. Optical collimators for under-screen optical sensor module for on-screen fingerprint sensing
CN107292237A (en) * 2017-05-22 2017-10-24 广东欧珀移动通信有限公司 The acquisition method and Related product of fingerprint
US20180025197A1 (en) * 2016-07-20 2018-01-25 Image Match Design Inc. Sensing element and fingerprint sensor comprising the sensing elements

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199644A (en) * 2014-08-13 2014-12-10 联想(北京)有限公司 Information processing method and electronic equipment
CN104618577A (en) * 2014-12-30 2015-05-13 广东欧珀移动通信有限公司 Key requirement response method and device
US20170270342A1 (en) * 2015-06-18 2017-09-21 Shenzhen GOODIX Technology Co., Ltd. Optical collimators for under-screen optical sensor module for on-screen fingerprint sensing
US20170116454A1 (en) * 2015-10-21 2017-04-27 Motorola Mobility Llc Fingerprint Sensor with Proximity Detection, and Corresponding Devices, Systems, and Methods
US20180025197A1 (en) * 2016-07-20 2018-01-25 Image Match Design Inc. Sensing element and fingerprint sensor comprising the sensing elements
CN106598444A (en) * 2016-12-06 2017-04-26 广东欧珀移动通信有限公司 Mobile terminal control method and mobile terminal
CN106778159A (en) * 2016-12-29 2017-05-31 努比亚技术有限公司 Virtual key management method and device
CN106886766A (en) * 2017-02-23 2017-06-23 维沃移动通信有限公司 A kind of fingerprint identification method, fingerprint recognition circuit and mobile terminal
CN106980832A (en) * 2017-03-22 2017-07-25 上海创功通讯技术有限公司 fingerprint identification method and device
CN106982326A (en) * 2017-03-29 2017-07-25 华勤通讯技术有限公司 Its focalization method and terminal
CN107292237A (en) * 2017-05-22 2017-10-24 广东欧珀移动通信有限公司 The acquisition method and Related product of fingerprint

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112462928A (en) * 2019-09-06 2021-03-09 北京小米移动软件有限公司 Operation execution method, device and storage medium
CN112462928B (en) * 2019-09-06 2024-03-26 北京小米移动软件有限公司 Operation execution method, device and storage medium
CN111124175A (en) * 2019-11-26 2020-05-08 北京小米移动软件有限公司 Terminal, display processing method, device and storage medium
CN111124175B (en) * 2019-11-26 2024-01-30 北京小米移动软件有限公司 Terminal, display processing method, device and storage medium
CN114995676A (en) * 2021-12-29 2022-09-02 荣耀终端有限公司 Fingerprint false touch prevention method, graphical interface and electronic equipment

Also Published As

Publication number Publication date
CN110166618B (en) 2020-11-10

Similar Documents

Publication Publication Date Title
CN105488464B (en) Fingerprint identification method and device
EP3301551B1 (en) Electronic device for identifying touch
RU2640644C2 (en) Method, device and electronic device for controlling the intelligent home device
CN106547663B (en) Key management method and device
CN106055098B (en) Every empty gesture operation method and device
CN107426428A (en) Electronic equipment and display lightness regulating method
KR20180054395A (en) Fingerprint recognition method and apparatus
CN106445242B (en) Pressure touch device and electronic equipment
CN107608561A (en) Touch-screen control method and device
EP3447617B1 (en) Fingerprint circuit, force touch control method and device and computer-readable storage medium
CN105373334B (en) Interactive screen control method and device
CN108108683A (en) Touch-control response method, mobile terminal and storage medium
CN107943347A (en) Touch-screen control method and device
CN110166618A (en) Screen control method and device
US10885298B2 (en) Method and device for optical fingerprint recognition, and computer-readable storage medium
CN104243829A (en) Self-shooting method and self-shooting device
CN106503516A (en) Terminal, unlocked by fingerprint method and device
CN106127132B (en) The reminding method and device, electronic equipment of slidingtype typing fingerprint
CN109862169A (en) Control method of electronic device and device
CN108090441A (en) Method for controlling fingerprint identification, mobile terminal and storage medium
CN107729735A (en) Unlocked by fingerprint method, apparatus, electronic equipment and computer-readable recording medium
CN106919914A (en) Display module and electronic equipment
CN108919511A (en) Optical devices and equipment
CN108898126A (en) Fingerprint identification method and device
CN108509127A (en) Start the method, apparatus and computer equipment of record screen task

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