CN107948418A - Display screen condition control method, device, storage medium and terminal - Google Patents
Display screen condition control method, device, storage medium and terminal Download PDFInfo
- Publication number
- CN107948418A CN107948418A CN201711174657.XA CN201711174657A CN107948418A CN 107948418 A CN107948418 A CN 107948418A CN 201711174657 A CN201711174657 A CN 201711174657A CN 107948418 A CN107948418 A CN 107948418A
- Authority
- CN
- China
- Prior art keywords
- signal
- display screen
- approach
- digital signal
- digital
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The embodiment of the present application provides a kind of display screen condition control method, device, storage medium and terminal, and institute's this method includes:Under signal projector closed mode, signal receiver obtains the first signal;Control signal transmitter sends detectable signal, and signal receiver obtains secondary signal according to detectable signal;First M signal is obtained according to the first signal and the second signal, and is converted into digital signal and obtains the first digital signal;Control signal transmitter is closed, and signal receiver obtains the 3rd signal;Second M signal is obtained according to the first signal and the 3rd signal, and is converted into digital signal and obtains the second digital signal;Approach signal, and the state of the signal strength control display screen according to approach signal are calculated according to the first digital signal and the second digital signal.The order of magnitude of first digital signal and the second digital signal is reduced, and improves the accuracy of data, so as to improve the accuracy of the display screen state of terminal control.
Description
Technical field
This application involves field of terminal technology, more particularly to a kind of display screen condition control method, device, storage medium and
Terminal.
Background technology
As the terminals such as developing rapidly for terminal technology, smart mobile phone are increasingly popularized, into must in for people's lives
Indispensable equipment.
Currently, judge between terminal and exterior object close to or away from state, screen or bright screen are put out with control terminal, are
A necessary function in terminal.Terminal is typically to realize detection using an infrared transmitter and an infrared remote receiver
Proximity state or remote state between terminal and exterior object.The infrared transmitter sends infrared light, anti-by obstacle
Reflection light is formed after penetrating, after which receives the reflection light, this is judged according to the intensity level of reflection light
Terminal is close or away from obstacle.
Infrared transmitter and infrared remote receiver easily make the detection accuracy of terminal due to being influenced by perforate size
Into influence.
The content of the invention
The embodiment of the present application provides a kind of display screen condition control method, device, storage medium and terminal, can improve end
The accuracy of the display screen state control at end.
The embodiment of the present application provides a kind of display screen condition control method, and applied in terminal, the terminal includes display
Screen and proximity sensor, the proximity sensor include signal projector and signal receiver, the display screen state controlling party
Method includes:
Under the signal projector closed mode, the signal receiver obtains the first signal;
The signal projector is controlled to send detectable signal, the signal receiver obtains second according to the detectable signal
Signal;
First M signal is obtained according to first signal and the secondary signal, and the first M signal is turned
Change digital signal into, obtain the first digital signal;
The signal projector is controlled to close, the signal receiver obtains the 3rd signal;
Second M signal is obtained according to first signal and the 3rd signal, and the second M signal is turned
Change digital signal into, obtain the second digital signal;
Approach signal is calculated according to first digital signal and second digital signal, and according to described close
The signal strength of signal controls the state of the display screen.
The embodiment of the present application also provides a kind of display screen behavior control device, and applied in terminal, the terminal includes aobvious
Display screen and proximity sensor, the proximity sensor include signal projector and signal receiver, the display screen state control
Device includes:
First control module, under the signal projector closed mode, controlling the signal receiver to obtain the
One signal;It is additionally operable to control the signal projector to send detectable signal, controls the signal receiver to be believed according to the detection
Number obtain secondary signal;
First digital signal acquisition module, for obtaining believing among first according to first signal and the secondary signal
Number, and the first M signal is converted into digital signal, obtain the first digital signal;
First control module, is additionally operable to control the signal projector to close, controls the signal receiver to obtain
3rd signal;
Second digital signal acquisition module, for obtaining believing among second according to first signal and the 3rd signal
Number, and the second M signal is converted into digital signal, obtain the second digital signal;
Display control module, for being calculated according to first digital signal and second digital signal close to letter
Number, and according to the state of the signal strength of the approach signal control display screen.
The embodiment of the present application also provides a kind of storage medium, computer program is stored with the storage medium, when described
When computer program is run on computers so that the computer performs above-mentioned display screen condition control method.
The embodiment of the present application also provides a kind of terminal, including processor and memory, and calculating is stored with the memory
Machine program, the processor is by calling the computer program stored in the memory, for performing above-mentioned display screen
Condition control method.
Display screen condition control method provided by the embodiments of the present application, including:Under signal projector closed mode, signal
Receiver obtains the first signal;Control signal transmitter sends detectable signal, and signal receiver obtains second according to detectable signal
Signal;First M signal is obtained according to the first signal and the second signal, and first M signal is converted into digital signal, is obtained
To the first digital signal;Control signal transmitter is closed, and signal receiver obtains the 3rd signal;Believed according to the first signal and the 3rd
Number second M signal is obtained, and second M signal is converted into digital signal, obtain the second digital signal;According to the first number
Approach signal, and the shape of the signal strength control display screen according to approach signal is calculated in word signal and the second digital signal
State.Obtain the first signal of ambient light energy first, then obtaining includes the secondary signal of detectable signal, according to the first signal with
Secondary signal is calculated first M signal and changes into the first digital signal, then obtains the 3rd letter of ambient light energy again
Number, second M signal is calculated according to the first signal and the 3rd signal and is converted into the second digital signal;First numeral letter
Number and the second digital signal be all test data remove ambient light data after obtain so that the first digital signal and second number
The order of magnitude of word signal is reduced, and improves the accuracy of data, so as to improve the control of the display screen state of terminal
Accuracy.
Brief description of the drawings
Fig. 1 is the first structure diagram of terminal provided by the embodiments of the present application.
Fig. 2 is the structure diagram of housing provided by the embodiments of the present application.
Fig. 3 is another structure diagram of housing provided by the embodiments of the present application.
Fig. 4 is the structure diagram of display screen component provided by the embodiments of the present application.
Fig. 5 is another structure diagram of display screen component provided by the embodiments of the present application.
Fig. 6 is the floor map of the display screen in display screen component provided by the embodiments of the present application.
Fig. 7 is another floor map of the display screen in display screen component provided by the embodiments of the present application.
Fig. 8 is another floor map of the display screen in display screen component provided by the embodiments of the present application.
Fig. 9 is the first flow diagram of display screen condition control method provided by the embodiments of the present application.
Figure 10 is second of flow diagram of display screen condition control method provided by the embodiments of the present application.
Figure 11 is the third flow diagram of display screen condition control method provided by the embodiments of the present application.
Figure 12 is the 4th kind of flow diagram of display screen condition control method provided by the embodiments of the present application.
Figure 13 is the 5th kind of flow diagram of display screen condition control method provided by the embodiments of the present application.
Figure 14 is the first structure diagram of display screen behavior control device provided by the embodiments of the present application.
Figure 15 is second of structure diagram of display screen behavior control device provided by the embodiments of the present application.
Figure 16 is the third structure diagram of display screen behavior control device provided by the embodiments of the present application.
Figure 17 is the 4th kind of structure diagram of display screen behavior control device provided by the embodiments of the present application.
Figure 18 is the 5th kind of structure diagram of display screen behavior control device provided by the embodiments of the present application.
Figure 19 is the partial circuit schematic diagram of display screen behavior control device provided by the embodiments of the present application.
Figure 20 is second of structure diagram of terminal provided by the embodiments of the present application.
Figure 21 is the third structure diagram of terminal provided by the embodiments of the present application.
Embodiment
Presently filed embodiment is described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning
Same or similar element is represented to same or similar label eventually or there is same or like element.Below by ginseng
The embodiment for examining attached drawing description is exemplary, and is only used for explaining the application, and it is not intended that limitation to the application.
In the description of the present application, it is to be understood that term " " center ", " longitudinal direction ", " transverse direction ", " length ", " width ",
" thickness ", " on ", " under ", "front", "rear", "left", "right", " vertical ", " level ", " top ", " bottom ", " interior ", " outer ", " up time
The orientation or position relationship of the instruction such as pin ", " counterclockwise " are based on orientation shown in the drawings or position relationship, are for only for ease of
Describe the application and simplify to describe, rather than indicate or imply that signified device or element must have specific orientation, Yi Te
Fixed azimuth configuration and operation, therefore it is not intended that limitation to the application.In addition, term " first ", " second " are only used for
Purpose is described, and it is not intended that instruction or hint relative importance or the implicit quantity for indicating indicated technical characteristic.
Thus, " first " is defined, the feature of " second " can be expressed or implicitly includes one or more feature.
In the description of the present application, " multiple " are meant that two or more, unless otherwise specifically defined.
, it is necessary to illustrate in the description of the present application, unless otherwise clearly defined and limited, term " installation ", " phase
Even ", " connection " should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected, or be integrally connected;Can
To be mechanical connection or electrical connection or can mutually communicate;It can be directly connected, can also be by between intermediary
Connect connected, can be the interaction relationship of connection inside two elements or two elements.For the ordinary skill of this area
For personnel, the concrete meaning of above-mentioned term in this application can be understood as the case may be.
In this application, unless otherwise clearly defined and limited, fisrt feature second feature it " on " or it " under "
Can directly it be contacted including the first and second features, it is not directly to contact but pass through it that can also include the first and second features
Between other characterisation contact.Moreover, fisrt feature second feature " on ", " top " and " above " to include first special
Sign is directly over second feature and oblique upper, or is merely representative of fisrt feature level height and is higher than second feature.Fisrt feature exists
Second feature " under ", " lower section " and " following " fisrt feature that includes are immediately below second feature and obliquely downward, or be merely representative of
Fisrt feature level height is less than second feature.
Following disclosure provides many different embodiments or example is used for realizing the different structure of the application.In order to
Simplify disclosure herein, hereinafter the component and setting of specific examples are described.Certainly, they are merely examples, and
And purpose does not lie in limitation the application.In addition, the application can in different examples repeat reference numerals and/or reference letter,
This repetition is for purposes of simplicity and clarity, between itself not indicating discussed various embodiments and/or setting
Relation.In addition, this application provides various specific techniques and material examples, but those of ordinary skill in the art can be with
Recognize the application of other techniques and/or the use of other materials.
Fig. 1 is refer to, Fig. 1 is the first structure diagram of terminal provided by the embodiments of the present application.The terminal 100 is for example
For electronic devices such as mobile phone or tablet computers.It is appreciated that terminal 100 includes but not limited to the example of present embodiment.The end
End 100 includes cover board 10, display screen component 20, circuit board 30 and housing 40.
Wherein, cover board 10 is installed on display screen component 20, to cover display screen component 20.Cover board 10 can be transparent glass
Glass cover board.In certain embodiments, cover board 10 can be with glass cover-plates made of material such as sapphires.
Wherein, display screen component 20 is installed on housing 40, to form the display surface of terminal 100.Display screen component 20 is made
For the front housing of terminal 100, an enclosure space is formed with housing 40, for accommodating other electronic components of terminal 100.It is meanwhile aobvious
Display screen component 20 forms the display surface of terminal 100, for showing the information such as image, text.
Wherein, circuit board 30 is installed on inside housing 40, and circuit board 30 is housed in above-mentioned enclosure space.Circuit board
30 can be the mainboard of terminal 100.Earth point is provided with circuit board 30, to realize the ground connection of circuit board 30.On circuit board 30
The functional units such as camera, processor can be integrated with.Meanwhile display screen component 20 can be electrically connected to circuit board 30.
In certain embodiments, it is provided with display control circuit on circuit board 30.The display control circuit is to display screen group
Part 20 exports electric signal, and information is shown with control display screen component 20.
Wherein, housing 40 is used for the exterior contour for forming terminal 100.Housing 40 can be metal shell, such as aluminium alloy
Housing 40.It should be noted that the material of the embodiment of the present application housing 40 is not limited to this, other manner can also be used, than
Such as:Housing 40 can ceramic center, glass center.For another example:Housing 40 can be plastic cement center.Also such as:Housing 40 can be with
Plastic portions, can be molded on sheet metal and be formed by the structure to cooperate for metal and plastic cement.
In certain embodiments, as shown in Fig. 2, Fig. 2 is the structure diagram of housing provided by the embodiments of the present application.The shell
Body 40 can be integrally formed.It should be noted that the structure of the embodiment of the present application housing 40 is not limited to this.Such as:Refer to
Fig. 3, Fig. 3 are another structure diagram of housing provided by the embodiments of the present application.The housing 40 can include center 41 and rear cover
42, center 41 and rear cover 42 are fixedly connected to form a housing 40.
In certain embodiments, Fig. 4 and Fig. 5 are referred to, Fig. 4 is the structure of display screen component provided by the embodiments of the present application
Schematic diagram, Fig. 5 are another structure diagram of display screen component provided by the embodiments of the present application.The display screen component 20 can wrap
Include display screen 21 and functional unit 23.
Wherein, functional unit 23 can launch signal to pass through display screen 21, and functional unit 23 can also pass through display screen 21
Receive signal.In certain embodiments, functional unit 23 can be sensor component, and sensor component can include signal and launch
Device and signal receiver.Wherein, functional unit 23 can also be camera assembly, and camera assembly can include camera, light compensating lamp.
Wherein, functional unit 23 can also include ambient light sensor.In certain embodiments, functional unit 23 using sensor component as
Example is illustrated, it is necessary to illustrate, sensor component is not 23 restriction to the embodiment of the present application functional unit, its
Can be other devices.
In certain embodiments, display screen 21 includes display layer 211 and light shield layer 212.
Wherein, display layer 211 is used to show the information such as image, text.
In certain embodiments, display screen 21 can be liquid crystal display (Liquid Crystal Display, LCD) or
The display screen of the types such as organic light-emitting diode (OLED) display screen (Organic Light-Emitting Diode, OLED).Work as display
Screen 21 is when be liquid crystal display, display layer 211 can including be cascading backlight, down polaroid, array base palte, liquid
The structures such as crystal layer, color membrane substrates and upper polaroid.When display screen 21 is organic light-emitting diode (OLED) display screen, display layer 211
It can include the structures such as the basic unit, anode, organic layer, conductive layer, emission layer and the cathode that are cascading.In some implementations
In example, display screen is transparent display screen, which has transparent characteristic, can be passed through for signal.
Specifically, referring to Fig. 6, the plane that Fig. 6 is the display screen in display screen component provided by the embodiments of the present application is shown
It is intended to.The display screen 21 includes display area 215 and non-display area 216, which can be used for display terminal
100 picture carries out touching manipulation etc. for user.The top area of the non-display area 216 is opened up for sound and light
The perforate of conduction, 216 bottom section of non-display area can set the functional units such as fingerprint module, touch controlled key.Wherein should
Cover board 10 is installed on display screen 21, to cover display screen 21, forms the display area identical with display screen 21 and non-display area
Domain, can specifically refer to display area and the non-display area of display screen 21.
It should be noted that the structure of the display screen 21 is not limited to this.For example the display screen can be comprehensive screen or different
Shape screen, specifically, referring to Fig. 7, another plane that Fig. 7 is the display screen in display screen component provided by the embodiments of the present application is shown
It is intended to.The display screen in display screen and Fig. 6 in Fig. 7 difference lies in:Non-display area 216a is formed directly into display screen
On 21a, for example in the non-display area 216a of display screen 21a it is arranged to translucent construction, so that optical signal passes through, or directly exists
The non-display area of display screen 21a is opened up for structures such as the perforate of light conduction or notches, can be by front camera, sensor
Component etc. is arranged at non-display area position, so that front camera is taken pictures, photoelectric sensor detects.Display area 215a can
To be paved with terminal whole surface.
It should be noted that the embodiment of the present application can not also set non-display area, and by the whole surface of display screen
It is arranged to whole displays, and the region that light emitting and light-receiving can be carried out for sensor component is set on a display screen.
In certain embodiments, referring to Fig. 8, Fig. 8 is the display screen in display screen component provided by the embodiments of the present application
Another floor map.Perforate 213 is provided with light shield layer 212.Perforate 213 allows the signals such as optical signal, acoustic signals to lead to
Cross.
In certain embodiments, perforate 213 is circular hole.A diameter of 2 to 4 millimeters of perforate 213.In some other embodiment
In, perforate 213 can also be the hole of the other shapes such as square hole, elliptical aperture.Hidden it should be noted that perforate 213 can also be located at
The marginal position of photosphere 212, the perforate 213 can also be bathtub construction.I.e. the perforate 213 can include opening.
Wherein, the perforate 213 set on light shield layer 212 is located in the display area 215 of display screen 21.By perforate 213,
Sensor component 23 be can be achieved terminal 100 close to inducing function, it is independent without the non-display area in display screen 21
Perforate is set.
In certain embodiments, sensor component 23 includes signal projector 231 and signal receiver 232.
Wherein, signal projector 231 is used for outside emission detection signal A.Detectable signal A is by perforate 213 and passes through aobvious
Show that region 215 is transferred to the external world.After detectable signal A touches external object 200 (for example, user face), reflected signal is generated
B.Reflected signal B is through display area 215 and by 213 entering signal receiver 232 of perforate.In certain embodiments, believe
Number transmitter 231 can be infrared transmitter, for launching infrared ray.
Wherein, can be by the signal output received to terminal 100 after signal receiver 232 receives reflected signal B
Handled in processor, so that the display screen of control terminal 100 puts out screen or bright screen.In certain embodiments, signal receives
Device 232 can be infrared remote receiver, for receiving infrared-ray.
The embodiment of the present application further relates to a kind of display screen condition control method.The display screen condition control method is applied to eventually
In end.The terminal includes display screen and sensor component.The sensor component can be proximity sensor.The display screen state control
Method processed is according to the distance between terminal and exterior object state come the state of control display screen.The distance state is included away from shape
State and proximity state.The state of display screen includes lighting and extinguishing.
Below only using sensor component as proximity sensor, proximity sensor includes a signal projector and a signal
Exemplified by receiver, display screen condition control method is illustrated.Wherein, signal projector can be infrared transmitter, be used for
Launch infrared ray;Signal receiver can be infrared remote receiver, for receiving infrared-ray.
As shown in figure 9, the first flow that Fig. 9 is display screen condition control method provided by the embodiments of the present application is illustrated
Figure.Display screen condition control method may comprise steps of:
Step 501, under signal projector closed mode, signal receiver obtains the first signal.
Wherein, terminal can be when needing the state to display screen to be controlled, under signal generator closed mode, first
Control signal receiver obtains the first signal, and the first signal receives the signal of ambient light generation for signal receiver, connect Ru infrared
The electric current received infrared light component of the device in ambient light and produced.
Step 502, control signal transmitter sends detectable signal, and signal receiver obtains the second letter according to detectable signal
Number.
Detectable signal can be infrared ray.During signal projector emission detection signal, with the direction away from terminal display screen
Outside emission detection signal.
At this time, signal receiver obtains secondary signal, and secondary signal receives the outer red letter in ambient light for signal receiver
Number and detectable signal run into the infrared signal that obstacle back reflection is returned, and the electric current produced.
Step 503, first M signal is obtained according to the first signal and the second signal, and first M signal is converted into
Digital signal, obtains the first digital signal.
As shown in Figure 10, Figure 10 is that second of flow of display screen condition control method provided by the embodiments of the present application is illustrated
Figure.Wherein, first M signal is obtained according to the first signal and the second signal may comprise steps of:
Step 5031, corresponding reference current is obtained according to the first signal.
The corresponding reference current value of the first signal can be first obtained, is then preserved by energy-storage travelling wave tube.Can also be by first
Signal is converted into digital signal by analog-digital converter ADC and obtains the 3rd digital signal;Conversion is passed through according to the 3rd digital signal
Circuit conversion obtains reference current.
As shown in figure 11, Figure 11 is that the third flow of display screen condition control method provided by the embodiments of the present application is illustrated
Figure.Wherein, reference current is converted to by conversion circuit according to the 3rd digital signal may comprise steps of:
Step 601, target current value is obtained according to the 3rd digital signal.
After obtaining the 3rd digital signal, it is saved in terminal.When needing the used time, calculation formula is first passed through, according to the 3rd number
Word signal obtains the target current value of analog signal.
Step 602, corresponding multiple current sources are combined and opened according to target current value, obtain middle reference electric current.
After obtaining target current value, multiple current sources are opened, by the combination of multiple current sources, obtain close target
The middle reference electric current of current value.
Step 603, detect middle reference electric current and whether the difference of target current value is more than preset difference value.
After obtaining middle reference electric current, its difference with target current value is detected.
Step 604, if more than then obtaining new current source and combine and open, to reduce middle reference electric current and target electricity
The difference of flow valuve.
Increase, reduction or replacement current source if difference is too big, so that difference reduces.If difference is very small,
And can not also smaller after adjusting, it is determined that the current source is combined as immediate combination, its electric current provided is closest to step
The electric current of rapid 501 the first obtained signals.
Step 5032, corresponding first photoelectric current is obtained according to secondary signal.
The signal that signal receiver receives ambient light and detectable signal returns, is then converted to corresponding first photoelectricity
Stream.
Step 5033, the first photoelectric current is subtracted into reference current and obtains first M signal.
In circuit, the first photoelectric current subtracts reference current and obtains first M signal.Specifically, can be by applying one
A reverse reference current, balances out ambient light part, obtains the corresponding electric current of energy returned according to detectable signal.
Step 504, control signal transmitter is closed, and signal receiver obtains the 3rd signal.
After obtaining secondary signal, then control signal transmitter is closed, then obtains the 3rd signal by signal receiver.
Step 505, second M signal is obtained according to the first signal and the 3rd signal, and second M signal is converted into
Digital signal, obtains the second digital signal.
Infrared remote receiver obtains corresponding second photoelectric current according to the 3rd signal, and then in circuit, the first signal is turned
Change the opposite polarity of corresponding reference current, reference current and the second photoelectric current into, that is, obtain the second photoelectric current and subtract with reference to electricity
Second M signal after stream, then changes into digital signal by the second M signal by analog-digital converter ADC, obtains
Two digital signal.
Step 506, approach signal is calculated according to the first digital signal and the second digital signal, and according to approach signal
Signal strength control display screen state.
Approach signal is calculated according to the first digital signal and the second digital signal, i.e. the first digital signal subtracts second
Digital signal obtains approach signal, is then converted to corresponding close distance according to approach signal, then according to close to distance
The state of control display screen.For example, when terminal is in voice call state, the state of display screen is controlled.At this time, when
It when user face is close to display screen, can be extinguished with control display screen, maloperation is caused to display screen to avoid user.When user's face
When portion is away from display screen, control display screen is lighted, to recover the normal display of display screen.
As shown in figure 12, Figure 12 is that the 4th kind of flow of display screen condition control method provided by the embodiments of the present application is illustrated
Figure.Wherein, may comprise steps of according to the state of the signal strength control display screen of approach signal:
Step 611, signal strength threshold is obtained.
Step 612, when display screen is in bright screen state, judge whether the signal strength of approach signal is more than signal strength
Threshold value.
Step 613, if the signal strength of approach signal is more than signal strength threshold, control display screen is extinguished.
Step 614, when display screen, which is in, puts out screen state, judge whether the signal strength of approach signal is less than signal strength
Threshold value.
Step 615, if the signal strength of approach signal is less than signal strength threshold, control display screen is lighted.
One pre-determined distance, such as 5cm are set, and the corresponding pre- distance sets a signal strength threshold.When display screen is in
During bright screen state, judge whether the signal strength of approach signal is more than signal strength threshold, if more than illustrating to be less than close to distance
The distance of pre-determined distance, terminal and face very little, at this time, control display screen are extinguished, and prevent maloperation.
When display screen, which is in, puts out screen state, judge whether the signal strength of approach signal is less than signal strength threshold.If
It is less than, illustrates to be more than pre-determined distance close to distance, the distance of terminal and face has become larger, then control display screen is lighted, and facilitates
User's operation display screen.
As shown in figure 13, Figure 13 is that the 5th kind of flow of display screen condition control method provided by the embodiments of the present application is illustrated
Figure.Wherein, can also be comprised the following steps according to the state of the signal strength control display screen of approach signal:
Step 621, signal strength threshold is obtained, signal strength threshold includes the first signal strength threshold, and less than the
The secondary signal intensity threshold of one signal strength threshold;
Step 622, when display screen is in bright screen state, judge whether the signal strength of approach signal is more than the first signal
Intensity threshold;
Step 623, if more than the first signal strength threshold, then control display screen extinguishing;
Step 624, if being less than the first signal strength threshold, judge whether the signal strength of approach signal is less than the second letter
Number intensity threshold;
Step 625, if being less than secondary signal intensity threshold, display screen is kept to be in bright screen state;
Step 626, if more than secondary signal intensity threshold, and it is less than the first signal strength threshold, then continuously acquires at least
Approach signal twice, when the signal strength for continuously acquiring approach signal at least twice becomes larger, then control display screen is extinguished.
Setting signal intensity threshold, the signal strength threshold include the first signal strength threshold, and less than the first signal
The secondary signal intensity threshold of intensity threshold.It is default that first signal strength threshold and secondary signal intensity threshold correspond to first respectively
Distance and the second pre-determined distance.
When display screen is in bright screen state, judge whether the signal strength of approach signal is more than the first signal strength threshold
Value;If more than the first signal strength threshold, illustrate to be less than the first pre-determined distance close to distance, then control display screen is extinguished.It is if small
In the first signal strength threshold, illustrate whether approach the signal strength for apart from the first pre-determined distance is more than, then judging approach signal
Less than secondary signal intensity threshold.If being less than secondary signal intensity threshold, illustrate to be more than the second pre-determined distance close to distance, then protect
Hold display screen and be in bright screen state.If more than secondary signal intensity threshold, and be less than the first signal strength threshold, illustrate close to away from
From more than the first pre-determined distance, less than the second pre-determined distance, then approach signal at least twice is continuously acquired, when continuously acquiring at least
The signal strength of approach signal becomes larger twice, illustrate it is more and more nearer from shelter, it is such as more and more nearer from the face of user, then control
Display screen processed extinguishes.
It is corresponding, if display screen is in when putting out screen state, judge whether the signal strength of approach signal is more than the first signal
Intensity threshold;If more than then explanation distance is less than the first pre-determined distance, and screen state is put out in holding.If it is less than the first signal strength threshold
Value, but secondary signal intensity threshold is greater than, illustrate that distance between the first pre-determined distance and the second pre-determined distance, is then first kept
Put out screen state.It is further continued for judging whether the signal strength of approach signal is less than secondary signal intensity threshold;If it is less than secondary signal
Intensity threshold, illustrates that distance is more than the second pre-determined distance, then control display screen is lighted.Or continuous detection approach signal twice
Signal strength, if the signal strength of approach signal twice in succession is gradually reduced, illustrates that shelter is more and more remote, as from user
Face is more and more remote, then control display screen is lighted.
From the foregoing, it will be observed that display screen condition control method provided by the embodiments of the present application, including:Shape is closed in signal projector
Under state, signal receiver obtains the first signal;Control signal transmitter sends detectable signal, and signal receiver is according to detectable signal
Obtain secondary signal;First M signal is obtained according to the first signal and the second signal, and first M signal is converted into counting
Word signal, obtains the first digital signal;Control signal transmitter is closed, and signal receiver obtains the 3rd signal;According to the first letter
Number and the 3rd signal obtain second M signal, and second M signal is converted into digital signal, obtains the second digital signal;
Approach signal is calculated according to the first digital signal and the second digital signal, and is controlled and shown according to the signal strength of approach signal
The state of display screen.The first signal of ambient light energy is obtained first, and then obtaining includes the secondary signal of detectable signal, according to the
One signal and secondary signal are calculated first M signal and change into the first digital signal, then obtain ambient light energy again
3rd signal, is calculated second M signal according to the first signal and the 3rd signal and is converted into the second digital signal;First
Digital signal and the second digital signal be all test data remove ambient light data after obtain so that the first digital signal and
The order of magnitude of second digital signal is reduced, and improves the accuracy of data, so as to improve the display screen state of terminal
The accuracy of control.
The embodiment of the present application further relates to a kind of display screen behavior control device.The display screen behavior control device is applied to eventually
In end.The terminal includes display screen and sensor component.The sensor component can be proximity sensor.Proximity sensor includes
Signal projector and signal receiver.Wherein, signal projector can be infrared transmitter, for launching infrared ray;Signal connects
It can be infrared remote receiver to receive device, for receiving infrared-ray.
The display screen behavior control device is according to the distance between terminal and exterior object state come the shape of control display screen
State.The distance state is included away from state and proximity state.The state of display screen includes lighting and extinguishing.
As shown in figure 14, Figure 14 is the first structural representation of display screen behavior control device provided by the embodiments of the present application
Figure.Display screen behavior control device 700 includes:First control module 701, first the 702, second numeral of digital signal acquisition module
Signal acquisition module 703 and display control module 704.
First control module 701, under signal projector closed mode, control signal receiver to obtain the first letter
Number;It is additionally operable to control signal transmitter and sends detectable signal, control signal receiver obtains secondary signal according to detectable signal.
Detectable signal can be infrared ray.During signal projector emission detection signal, with the direction away from terminal display screen
Outside emission detection signal.
At this time, signal receiver obtains secondary signal, and secondary signal receives the outer red letter in ambient light for signal receiver
Number and detectable signal run into the infrared signal that obstacle back reflection is returned, and the electric current produced.
First digital signal acquisition module 702, for obtaining first M signal according to the first signal and the second signal, and
First M signal is converted into digital signal, obtains the first digital signal.
As shown in figure 15, Figure 15 is second of structural representation of display screen behavior control device provided by the embodiments of the present application
Figure.Wherein, the first digital signal acquisition module 702 includes reference current acquisition submodule 7021, photoelectric current acquisition submodule
7022 and M signal acquisition submodule 7023.Wherein:
Reference current acquisition submodule 7021, for obtaining corresponding reference current according to the first signal.
The corresponding reference current value of the first signal can be first obtained, is then preserved by energy-storage travelling wave tube.Can also be by first
Signal is converted into digital signal by analog-digital converter ADC and obtains the 3rd digital signal;Conversion is passed through according to the 3rd digital signal
Circuit conversion obtains reference current.
Photoelectric current acquisition submodule 7022, for obtaining corresponding first photoelectric current according to secondary signal.
M signal acquisition submodule 7023, first M signal is obtained for the first photoelectric current to be subtracted reference current.
As shown in figure 16, Figure 16 is the third structural representation of display screen behavior control device provided by the embodiments of the present application
Figure.Wherein, reference current acquisition submodule 7021 further includes target current value step and obtains subelement 721, middle reference electric current
Step obtains subelement 722, detection sub-unit 723 and adjustment subelement 724.
Target current value step obtains subelement 721, for obtaining target current value according to the 3rd digital signal.
After obtaining the 3rd digital signal, it is saved in terminal.When needing the used time, calculation formula is first passed through, according to the 3rd number
Word signal obtains the target current value of analog signal.
Middle reference current step obtains subelement 722, for according to target current value by corresponding multiple current source groups
Merge and open, obtain middle reference electric current.
After obtaining target current value, multiple current sources are opened, by the combination of multiple current sources, obtain close target
The middle reference electric current of current value.
Whether detection sub-unit 723, the difference for detecting middle reference electric current and target current value are more than preset difference value.
After obtaining middle reference electric current, its difference with target current value is detected.
Subelement 724 is adjusted, if being more than preset difference value for difference, new current source is obtained and combines and open, to subtract
The difference of small middle reference electric current and target current value.
Increase, reduction or replacement current source if difference is too big, so that difference reduces.If difference is very small,
And can not also smaller after adjusting, it is determined that the current source is combined as immediate combination, its electric current provided is closest to the
The corresponding electric current of one signal.
Physical circuit is as shown in figure 19, passes through successive approximation register (Successive Approximation
Register, SAR) the multiple current sources of control, successive adjustment electric current, makes the electric current that multiple current sources are formed and target current value base
This is consistent.
First control module 701, is additionally operable to the closing of control signal transmitter, and control signal receiver obtains the 3rd letter
Number.
After obtaining secondary signal, then control signal transmitter is closed, then obtains the 3rd signal by signal receiver.
Second digital signal acquisition module 703, for obtaining second M signal according to the first signal and the 3rd signal, and
Second M signal is converted into digital signal, obtains the second digital signal.
Infrared remote receiver obtains corresponding second photoelectric current according to the 3rd signal, and then in circuit, the first signal is turned
Change the opposite polarity of corresponding reference current, reference current and the second photoelectric current into, that is, obtain the second photoelectric current and subtract with reference to electricity
Second M signal after stream, then changes into digital signal by the second M signal, obtains the second digital signal.
Display control module 704, for approach signal to be calculated according to the first digital signal and the second digital signal, and
According to the state of the signal strength control display screen of approach signal.
Approach signal is calculated according to the first digital signal and the second digital signal, i.e. the first digital signal subtracts second
Digital signal obtains approach signal, is then converted to corresponding close distance according to approach signal, then according to close to distance
The state of control display screen.For example, when terminal is in voice call state, the state of display screen is controlled.At this time, when
It when user face is close to display screen, can be extinguished with control display screen, maloperation is caused to display screen to avoid user.When user's face
When portion is away from display screen, control display screen is lighted, to recover the normal display of display screen.
As shown in figure 17, Figure 17 is the 4th kind of structural representation of display screen behavior control device provided by the embodiments of the present application
Figure.Wherein, display control module 704 includes signal strength threshold acquisition submodule 7041, the first judging submodule 7042, extinguishes
Control submodule 7043, second judgment submodule 7044 and light control submodule 7045.Wherein:
Signal strength threshold acquisition submodule 7041, for obtaining signal strength threshold.
First judging submodule 7042, for when display screen is in bright screen state, judging the signal strength of approach signal
Whether signal strength threshold is more than.
Extinguish control submodule 7043, if the signal strength for approach signal is more than signal strength threshold, control is aobvious
Display screen is extinguished.
Second judgment submodule 7044, for when display screen is in and puts out screen state, judging the signal strength of approach signal
Whether signal strength threshold is less than.
Control submodule 7045 is lighted, if the signal strength for approach signal is less than signal strength threshold, control is aobvious
Display screen is lighted.
One pre-determined distance, such as 5cm are set, and the corresponding pre- distance sets a signal strength threshold.When display screen is in
During bright screen state, judge whether the signal strength of approach signal is more than signal strength threshold, if more than illustrating to be less than close to distance
The distance of pre-determined distance, terminal and face very little, at this time, control display screen are extinguished, and prevent maloperation.
When display screen, which is in, puts out screen state, judge whether the signal strength of approach signal is less than signal strength threshold.If
It is less than, illustrates to be more than pre-determined distance close to distance, the distance of terminal and face has become larger, then control display screen is lighted, and facilitates
User's operation display screen.
As shown in figure 18, Figure 18 is the 5th kind of structural representation of display screen behavior control device provided by the embodiments of the present application
Figure.Wherein, display control module 704 includes signal strength threshold acquisition submodule 7041, the 3rd judging submodule 7044, extinguishes
Control submodule 7043, the 4th judging submodule 7045 and holding submodule 7046.Wherein:
Signal strength threshold acquisition submodule 7041, for obtaining signal strength threshold, signal strength threshold includes first
Signal strength threshold, and the secondary signal intensity threshold less than the first signal strength threshold;
3rd judging submodule 7044, for when display screen is in bright screen state, judging the signal strength of approach signal
Whether the first signal strength threshold is more than;
Extinguish control submodule 7043, for if more than the first signal strength threshold, then control display screen extinguishing;
4th judging submodule 7045, if for being less than the first signal strength threshold, judges that the signal of approach signal is strong
Whether degree is less than secondary signal intensity threshold;
Submodule 7046 is kept, if for being less than secondary signal intensity threshold, keeps display screen to be in bright screen state;
Extinguish control submodule 7043, be additionally operable to if more than secondary signal intensity threshold, and be less than the first signal strength threshold
Value, then continuously acquire approach signal at least twice, when the signal strength for continuously acquiring approach signal at least twice becomes larger, then
Control display screen is extinguished.
Setting signal intensity threshold, the signal strength threshold include the first signal strength threshold, and less than the first signal
The secondary signal intensity threshold of intensity threshold.It is default that first signal strength threshold and secondary signal intensity threshold correspond to first respectively
Distance and the second pre-determined distance.
When display screen is in bright screen state, judge whether the signal strength of approach signal is more than the first signal strength threshold
Value;If more than the first signal strength threshold, illustrate to be less than the first pre-determined distance close to distance, then control display screen is extinguished.It is if small
In the first signal strength threshold, illustrate whether approach the signal strength for apart from the first pre-determined distance is more than, then judging approach signal
Less than secondary signal intensity threshold.If being less than secondary signal intensity threshold, illustrate to be more than the second pre-determined distance close to distance, then protect
Hold display screen and be in bright screen state.If more than secondary signal intensity threshold, and be less than the first signal strength threshold, illustrate close to away from
From more than the first pre-determined distance, less than the second pre-determined distance, then approach signal at least twice is continuously acquired, when continuously acquiring at least
The signal strength of approach signal becomes larger twice, illustrate it is more and more nearer from shelter, it is such as more and more nearer from the face of user, then control
Display screen processed extinguishes.
Corresponding, display control module 704, if being additionally operable to display screen in when putting out screen state, judges the letter of approach signal
Whether number intensity is more than the first signal strength threshold;If more than then explanation distance is less than the first pre-determined distance, and screen shape is put out in holding
State.If being less than the first signal strength threshold, but secondary signal intensity threshold is greater than, illustrates distance in the first pre-determined distance and
Between two pre-determined distances, then first keep putting out screen state.It is further continued for judging whether the signal strength of approach signal is less than secondary signal
Intensity threshold;If being less than secondary signal intensity threshold, illustrate that distance is more than the second pre-determined distance, then control display screen is lighted.Or
Person continuously detects the signal strength of approach signal twice, if the signal strength of approach signal twice in succession is gradually reduced, explanation
Shelter is more and more remote, and such as more and more remote from the face of user, then control display screen is lighted.
From the foregoing, it will be observed that display screen behavior control device 700 provided by the embodiments of the present application, in signal projector closed mode
Under, signal receiver obtains the first signal;Control signal transmitter sends detectable signal, and signal receiver is obtained according to detectable signal
Take secondary signal;First M signal is obtained according to the first signal and the second signal, and first M signal is converted into numeral
Signal, obtains the first digital signal;Control signal transmitter is closed, and signal receiver obtains the 3rd signal;According to the first signal
Second M signal is obtained with the 3rd signal, and second M signal is converted into digital signal, obtains the second digital signal;Root
Approach signal is calculated according to the first digital signal and the second digital signal, and is controlled and shown according to the signal strength of approach signal
The state of screen.The first signal of ambient light energy is obtained first, the secondary signal for including detectable signal is then obtained, according to first
Signal and secondary signal are calculated first M signal and change into the first digital signal, then obtain the of ambient light energy again
Three signals, are calculated second M signal according to the first signal and the 3rd signal and are converted into the second digital signal;First number
Word signal and the second digital signal are obtained after test data removes the data of ambient light so that the first digital signal and the
The order of magnitude of two digital signal is reduced, and improves the accuracy of data, so as to improve the display screen state control of terminal
The accuracy of system.
The embodiment of the present application also provides a kind of terminal.Terminal can be the equipment such as smart mobile phone, tablet computer.Such as Figure 20 institutes
Show, terminal 800 includes processor 801 and memory 802.Wherein, processor 801 is electrically connected with memory 802.
Processor 801 is the control centre of terminal 800, utilizes various interfaces and each portion of the whole terminal of connection
Point, by running or calling the computer program being stored in memory 802, and call the number being stored in memory 802
According to, perform terminal various functions and processing data so as to terminal carry out integral monitoring.
In the present embodiment, the processor 801 in terminal 800 can be according to the steps, will be one or more
The corresponding instruction of process of computer program is loaded into memory 802, and is stored in memory by processor 801 to run
Computer program in 802, so as to fulfill various functions:
Under signal projector closed mode, signal receiver obtains the first signal;
Control signal transmitter sends detectable signal, and signal receiver obtains secondary signal according to detectable signal;
First M signal is obtained according to the first signal and the second signal, and first M signal is converted into digital letter
Number, obtain the first digital signal;
Control signal transmitter is closed, and signal receiver obtains the 3rd signal;
Second M signal is obtained according to the first signal and the 3rd signal, and second M signal is converted into digital letter
Number, obtain the second digital signal;
Approach signal is calculated according to the first digital signal and the second digital signal, and it is strong according to the signal of approach signal
Spend the state of control display screen.
In certain embodiments, processor 801 also performs following steps:
Corresponding reference current is obtained according to the first signal;
Corresponding first photoelectric current is obtained according to secondary signal;
First photoelectric current is subtracted into reference current and obtains first M signal.
In certain embodiments, processor 801 also performs following steps:
First signal is converted into digital signal and obtains the 3rd digital signal;
Reference current is converted to by conversion circuit according to the 3rd digital signal.
In certain embodiments, processor 801 performs following steps:
Target current value is obtained according to the 3rd digital signal;
Corresponding multiple current sources are combined and opened according to target current value, obtain middle reference electric current;
Whether the difference of detection middle reference electric current and target current value is more than preset difference value;
If more than then obtaining new current source and combine and open, to reduce the difference of middle reference electric current and target current value
Value.
In certain embodiments, processor 801 also performs following steps:
Obtain signal strength threshold;
When display screen is in bright screen state, judge whether the signal strength of approach signal is more than signal strength threshold;
If the signal strength of approach signal is more than signal strength threshold, control display screen is extinguished;
When display screen, which is in, puts out screen state, judge whether the signal strength of approach signal is less than signal strength threshold;
If the signal strength of approach signal is less than signal strength threshold, control display screen is lighted.
In certain embodiments, processor 801 also performs following steps:
Signal strength threshold is obtained, signal strength threshold includes the first signal strength threshold, and strong less than the first signal
Spend the secondary signal intensity threshold of threshold value;
When display screen is in bright screen state, judge whether the signal strength of approach signal is more than the first signal strength threshold
Value;
If more than the first signal strength threshold, then control display screen extinguishing;
If being less than the first signal strength threshold, judge whether the signal strength of approach signal is less than secondary signal intensity threshold
Value;
If being less than secondary signal intensity threshold, display screen is kept to be in bright screen state;
If more than secondary signal intensity threshold, and it is less than the first signal strength threshold, then continuously acquires and approach at least twice
Signal, when the signal strength for continuously acquiring approach signal at least twice becomes larger, then control display screen is extinguished.
Memory 802 can be used for storage computer program and data.Include in the computer program that memory 802 stores
The instruction that can be performed within a processor.Computer program can form various functions module.Processor 801 is stored in by calling
The computer program of memory 802, so as to perform various functions application and data processing.
In certain embodiments, as shown in figure 21, terminal 800 further includes:Radio circuit 803, display screen 804, control electricity
Road 805, input unit 806, voicefrequency circuit 807, sensor 808 and power supply 809.Wherein, processor 801 respectively with radio frequency electrical
Road 803, display screen 804, control circuit 805, input unit 806, voicefrequency circuit 807, sensor 808 and power supply 809 are electrical
Connection.
Radio circuit 803 is used for transceiving radio frequency signal, to be led to by wireless communication and the network equipment or other-end
Letter.
Display screen 804 can be used for display by information input by user or be supplied to the information of user and the various figures of terminal
Shape user interface, these graphical user interface can be made of image, text, icon, video and its any combination.
Control circuit 805 is electrically connected with display screen 804, and information is shown for control display screen 804.
Input unit 806 can be used for numeral, character information or the user's characteristic information (such as fingerprint) for receiving input, and
Produce the keyboard related with user setting and function control, mouse, operation lever, optics or the input of trace ball signal.Wherein,
Input unit 806 can include fingerprint recognition module.
Voicefrequency circuit 807 can provide the audio interface between user and terminal by loudspeaker, microphone.
Sensor 808 is used to gather external environmental information.Sensor 808 can include proximity sensor, ambient light sensing
One or more in the sensors such as device, acceleration transducer, gyroscope.
Power supply 809 is used to power to all parts of terminal 800.In certain embodiments, power supply 809 can pass through power supply
Management system and processor 801 are logically contiguous, so as to realize management charging, electric discharge and power consumption pipe by power-supply management system
The functions such as reason.
Although not shown in Figure 21, terminal 800 can also include camera, bluetooth module etc., and details are not described herein.
From the foregoing, it will be observed that the embodiment of the present application provides a kind of terminal, and under signal projector closed mode, signal receiver
Obtain the first signal;Control signal transmitter sends detectable signal, and signal receiver obtains secondary signal according to detectable signal;Root
First M signal is obtained according to the first signal and the second signal, and first M signal is converted into digital signal, obtains first
Digital signal;Control signal transmitter is closed, and signal receiver obtains the 3rd signal;Obtained according to the first signal and the 3rd signal
Second M signal, and second M signal is converted into digital signal, obtain the second digital signal;According to the first digital signal
Approach signal, and the state of the signal strength control display screen according to approach signal is calculated with the second digital signal.
The first signal of ambient light energy is obtained first, the secondary signal for including detectable signal is then obtained, according to first
Signal and secondary signal are calculated first M signal and change into the first digital signal, then obtain the of ambient light energy again
Three signals, are calculated second M signal according to the first signal and the 3rd signal and are converted into the second digital signal;First number
Word signal and the second digital signal are obtained after test data removes the data of ambient light so that the first digital signal and the
The order of magnitude of two digital signal is reduced, and improves the accuracy of data, so as to improve the display screen state control of terminal
The accuracy of system.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or
Part steps are relevant hardware can be instructed to complete by computer program, and the computer program can be stored in meter
In calculation machine readable storage medium storing program for executing, the storage medium can include but is not limited to:Read-only storage (ROM, Read Only
Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
Display screen condition control method, device, storage medium and the terminal provided above the embodiment of the present application carries out
It is discussed in detail, specific case used herein is set forth the principle and embodiment of the application, above example
Explanation be only intended to help and understand the present processes and its core concept;Meanwhile for those skilled in the art, foundation
The thought of the application, there will be changes in specific embodiments and applications, in conclusion this specification content is not
It is interpreted as the limitation to the application.
Claims (12)
1. a kind of display screen condition control method, applied in terminal, the terminal includes display screen and proximity sensor, institute
Stating proximity sensor includes signal projector and signal receiver, it is characterised in that the display screen condition control method includes:
Under the signal projector closed mode, the signal receiver obtains the first signal;
The signal projector is controlled to send detectable signal, the signal receiver obtains the second letter according to the detectable signal
Number;
First M signal is obtained according to first signal and the secondary signal, and the first M signal is converted into
Digital signal, obtains the first digital signal;
The signal projector is controlled to close, the signal receiver obtains the 3rd signal;
Second M signal is obtained according to first signal and the 3rd signal, and the second M signal is converted into
Digital signal, obtains the second digital signal;
Approach signal is calculated according to first digital signal and second digital signal, and according to the approach signal
Signal strength control the state of the display screen.
2. display screen condition control method according to claim 1, it is characterised in that it is described according to first signal and
The step of secondary signal obtains first M signal, including:
Corresponding reference current is obtained according to first signal;
Corresponding first photoelectric current is obtained according to the secondary signal;
First photoelectric current is subtracted into the reference current and obtains first M signal.
3. display screen condition control method according to claim 2, it is characterised in that described to be obtained according to first signal
The step of to corresponding reference current, including:
First signal is converted into digital signal and obtains the 3rd digital signal;
Reference current is converted to by conversion circuit according to the 3rd digital signal.
4. display screen condition control method according to claim 3, it is characterised in that the conversion circuit include it is multiple not
With the current source of output valve;
Described the step of reference current is converted to by conversion circuit according to the 3rd digital signal, including
Target current value is obtained according to the 3rd digital signal;
Corresponding multiple current sources are combined and opened according to target current value, obtain middle reference electric current;
Whether the difference for detecting the middle reference electric current and the target current value is more than preset difference value;
If more than then obtaining new current source and combine and open, to reduce the middle reference electric current and the target current value
Difference.
5. display screen condition control method according to any one of claims 1 to 4, it is characterised in that described in the basis
The signal strength of approach signal controls the step of state of the display screen to include:
Obtain signal strength threshold;
When the display screen is in bright screen state, judge whether the signal strength of the approach signal is more than the signal strength
Threshold value;
If the signal strength of the approach signal is more than the signal strength threshold, the display screen is controlled to extinguish;
When the display screen, which is in, puts out screen state, judge whether the signal strength of the approach signal is less than the signal strength
Threshold value;
If the signal strength of the approach signal is less than the signal strength threshold, the display screen is controlled to light.
6. display screen condition control method according to any one of claims 1 to 4, it is characterised in that described in the basis
The signal strength of approach signal controls the step of state of the display screen to include:
Signal strength threshold is obtained, the signal strength threshold includes the first signal strength threshold, and less than the described first letter
The secondary signal intensity threshold of number intensity threshold;
When the display screen is in bright screen state, judge whether the signal strength of the approach signal is more than first signal
Intensity threshold;
If more than first signal strength threshold, then the display screen is controlled to extinguish;
If being less than first signal strength threshold, judge whether the signal strength of the approach signal is less than the described second letter
Number intensity threshold;
If being less than the secondary signal intensity threshold, the display screen is kept to be in bright screen state;
If more than the secondary signal intensity threshold, and it is less than first signal strength threshold, then continuously acquires at least twice
The approach signal, when the signal strength for continuously acquiring the approach signal at least twice becomes larger, then controls the display
Screen extinguishes.
7. a kind of display screen behavior control device, applied in terminal, the terminal includes display screen and proximity sensor, described
Proximity sensor includes signal projector and signal receiver, it is characterised in that the display screen behavior control device includes:
First control module, under the signal projector closed mode, controlling the signal receiver to obtain the first letter
Number;It is additionally operable to control the signal projector to send detectable signal, controls the signal receiver to be obtained according to the detectable signal
Take secondary signal;
First digital signal acquisition module, for obtaining first M signal according to first signal and the secondary signal,
And the first M signal is converted into digital signal, obtain the first digital signal;
First control module, is additionally operable to control the signal projector to close, controls the signal receiver to obtain the 3rd
Signal;
Second digital signal acquisition module, for obtaining second M signal according to first signal and the 3rd signal,
And the second M signal is converted into digital signal, obtain the second digital signal;
Display control module, for approach signal to be calculated according to first digital signal and second digital signal,
And the state of the display screen is controlled according to the signal strength of the approach signal.
8. display screen behavior control device according to claim 7, it is characterised in that first digital signal obtains mould
Block includes:
Reference current acquisition submodule, for obtaining corresponding reference current according to first signal;
Photoelectric current acquisition submodule, for obtaining corresponding first photoelectric current according to the secondary signal;
M signal acquisition submodule, first M signal is obtained for first photoelectric current to be subtracted the reference current.
9. display screen behavior control device according to claim 8, it is characterised in that the reference current obtains submodule
Block, is additionally operable to first signal being converted into digital signal to obtain the 3rd digital signal;And according to the 3rd digital signal
Reference current is converted to by conversion circuit.
10. display screen behavior control device according to claim 9, it is characterised in that the display control module includes:
Threshold value acquisition submodule, for obtaining signal strength threshold;
Signal strength judging submodule, for when the display screen is in bright screen state, judging the signal of the approach signal
Whether intensity is more than the signal strength threshold;
Display control submodule, if the signal strength for the approach signal is more than the signal strength threshold, controls institute
State display screen extinguishing.
11. a kind of storage medium, it is characterised in that computer program is stored with the storage medium, when the computer journey
When sequence is run on computers so that the computer perform claim requires 1 to 6 any one of them display screen state controlling party
Method.
12. a kind of terminal, it is characterised in that the terminal includes processor and memory, and calculating is stored with the memory
Machine program, the processor by calling the computer program stored in the memory, for perform claim requirement 1 to
6 any one of them display screen condition control methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711174657.XA CN107948418B (en) | 2017-11-22 | 2017-11-22 | Display screen condition control method, device, storage medium and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711174657.XA CN107948418B (en) | 2017-11-22 | 2017-11-22 | Display screen condition control method, device, storage medium and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107948418A true CN107948418A (en) | 2018-04-20 |
CN107948418B CN107948418B (en) | 2019-09-13 |
Family
ID=61930721
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711174657.XA Active CN107948418B (en) | 2017-11-22 | 2017-11-22 | Display screen condition control method, device, storage medium and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107948418B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111374620A (en) * | 2018-12-29 | 2020-07-07 | 佛山市顺德区美的洗涤电器制造有限公司 | Dish washer and control method thereof |
US11170732B2 (en) | 2019-11-08 | 2021-11-09 | Boe Technology Group Co., Ltd. | Smart mirror, device and method for controlling screen state of electronic device, and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102301684A (en) * | 2011-06-24 | 2011-12-28 | 华为终端有限公司 | Method and device through which a terminal determines approach of an object |
CN103067939A (en) * | 2012-12-19 | 2013-04-24 | 广东欧珀移动通信有限公司 | Method and device for reducing mobile terminal radiation |
CN103945026A (en) * | 2014-03-27 | 2014-07-23 | 山东共达电声股份有限公司 | Mobile terminal |
CN105246045A (en) * | 2015-10-29 | 2016-01-13 | 小米科技有限责任公司 | Method and device for determining user position change |
CN105976790A (en) * | 2016-06-20 | 2016-09-28 | 广州视睿电子科技有限公司 | Display screen brightness adjusting device and electronic equipment thereof |
CN106210356A (en) * | 2016-09-07 | 2016-12-07 | 青岛海信移动通信技术股份有限公司 | Close a terminal the method and device of screen |
CN106598358A (en) * | 2016-12-06 | 2017-04-26 | 广东欧珀移动通信有限公司 | Proximity detection method and device and terminal |
-
2017
- 2017-11-22 CN CN201711174657.XA patent/CN107948418B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102301684A (en) * | 2011-06-24 | 2011-12-28 | 华为终端有限公司 | Method and device through which a terminal determines approach of an object |
CN103067939A (en) * | 2012-12-19 | 2013-04-24 | 广东欧珀移动通信有限公司 | Method and device for reducing mobile terminal radiation |
CN103945026A (en) * | 2014-03-27 | 2014-07-23 | 山东共达电声股份有限公司 | Mobile terminal |
CN105246045A (en) * | 2015-10-29 | 2016-01-13 | 小米科技有限责任公司 | Method and device for determining user position change |
CN105976790A (en) * | 2016-06-20 | 2016-09-28 | 广州视睿电子科技有限公司 | Display screen brightness adjusting device and electronic equipment thereof |
CN106210356A (en) * | 2016-09-07 | 2016-12-07 | 青岛海信移动通信技术股份有限公司 | Close a terminal the method and device of screen |
CN106598358A (en) * | 2016-12-06 | 2017-04-26 | 广东欧珀移动通信有限公司 | Proximity detection method and device and terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111374620A (en) * | 2018-12-29 | 2020-07-07 | 佛山市顺德区美的洗涤电器制造有限公司 | Dish washer and control method thereof |
US11170732B2 (en) | 2019-11-08 | 2021-11-09 | Boe Technology Group Co., Ltd. | Smart mirror, device and method for controlling screen state of electronic device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107948418B (en) | 2019-09-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5606205B2 (en) | Mobile terminal device | |
CN107181559B (en) | Processing method, device, storage medium and the terminal of radio frequency interference | |
CN107959752A (en) | Display screen condition control method, device, storage medium and terminal | |
CN107943345A (en) | Calibration method, device, storage medium and the electronic equipment of proximity sensor | |
CN108021161A (en) | Ambient light intensity detection method, device, storage medium and electronic equipment | |
CN107911554B (en) | Electronic device and control method thereof | |
CN107831901A (en) | Display panel control method, device, storage medium and electronic installation | |
CN110134465A (en) | Image display method, device, storage medium and mobile terminal | |
CN108737652A (en) | Luminance control method for display screen, device, storage medium and electronic equipment | |
CN109032488A (en) | Processing method, storage medium and the electronic equipment of blank screen gesture | |
CN108710468A (en) | Image acquiring method, device, storage medium and electronic equipment | |
JP2022551887A (en) | BUTTON STRUCTURE, BUTTON CONTROL METHOD, AND ELECTRONIC DEVICE | |
CN107797746A (en) | Display panel control method, device, storage medium and electronic equipment | |
CN107909977A (en) | Display screen component, control method, device, storage medium and electronic equipment | |
CN107948418B (en) | Display screen condition control method, device, storage medium and terminal | |
CN106412546A (en) | Mobile terminal equipped with a camera and controlling method thereof | |
CN107948420A (en) | Display screen condition control method, device, storage medium and terminal | |
CN108595105A (en) | Light filling lamp control method, device, storage medium and electronic equipment | |
CN109710109B (en) | Control method, control device, electronic device, and storage medium | |
CN107919102B (en) | The control method of electronic device and electronic device | |
CN108924360A (en) | Display methods, storage medium and electronic equipment | |
CN110312018A (en) | The control method of electronic equipment and electronic equipment | |
CN109195206A (en) | Control method, storage medium and the electronic equipment of display screen state | |
CN109144308A (en) | Driving method, display screen, electronic equipment and the storage medium of display screen | |
CN108494460A (en) | Electronic equipment and antenna switching method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |