CN107948418B - Display screen condition control method, device, storage medium and terminal - Google Patents

Display screen condition control method, device, storage medium and terminal Download PDF

Info

Publication number
CN107948418B
CN107948418B CN201711174657.XA CN201711174657A CN107948418B CN 107948418 B CN107948418 B CN 107948418B CN 201711174657 A CN201711174657 A CN 201711174657A CN 107948418 B CN107948418 B CN 107948418B
Authority
CN
China
Prior art keywords
signal
display screen
obtains
approach
digital signal
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.)
Active
Application number
CN201711174657.XA
Other languages
Chinese (zh)
Other versions
CN107948418A (en
Inventor
张海平
周意保
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711174657.XA priority Critical patent/CN107948418B/en
Publication of CN107948418A publication Critical patent/CN107948418A/en
Application granted granted Critical
Publication of CN107948418B publication Critical patent/CN107948418B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • 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

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, this method comprises: under signal projector closed state, signal receiver obtains the first signal for institute;It controls signal projector and sends detectable signal, signal receiver obtains second 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;It controls signal projector to close, signal receiver obtains third signal;Second M signal is obtained according to the first signal and third signal, and is converted into digital signal and obtains the second digital signal;Approach signal is calculated according to the first digital signal and the second digital signal, and controls the state of display screen according to the signal strength of approach 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 that the display screen state of terminal controls.

Description

Display screen condition control method, device, storage medium and terminal
Technical field
This application involves field of terminal technology, in particular to a kind of display screen condition control method, device, storage medium and Terminal.
Background technique
With the rapid development of terminal technology, the terminals such as smart phone are more more and more universal, at 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 controlling terminal, are A necessary function in terminal.Terminal is usually that detection is realized using an infrared transmitter and an infrared remote receiver Proximity state or separate state between terminal and exterior object.The infrared transmitter issues infrared light, anti-by obstacle Reflection light is formed after penetrating, and after which receives the reflection light, this is judged according to the intensity value of reflection light Terminal is close or far from obstacle.
Infrared transmitter and infrared remote receiver are easy to make the detection accuracy of terminal due to being influenced by aperture size At influence.
Summary of the invention
The embodiment of the present application provides a kind of display screen condition control method, device, storage medium and terminal, and end can be improved 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, is applied in terminal, and 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 state, the signal receiver obtains the first signal;
It controls the signal projector and sends detectable signal, the signal receiver obtains second according to the detectable signal Signal;
First M signal is obtained according to first signal and the second signal, and the first M signal is turned It changes digital signal into, obtains the first digital signal;
It controls the signal projector to close, the signal receiver obtains third signal;
Second M signal is obtained according to first signal and the third signal, and the second M signal is turned It changes digital signal into, obtains 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, is applied in terminal, and 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 controls the signal receiver and obtains the under the signal projector closed state One signal;It is also used to control the signal projector and sends detectable signal, control the signal receiver and believed according to the detection Number obtain second signal;
First digital signal obtains module, for obtaining believing among first according to first signal and the second signal Number, and the first M signal is converted into digital signal, obtain the first digital signal;
First control module is also used to control the signal projector and closes, and controls the signal receiver and obtains Third signal;
Second digital signal obtains module, for obtaining believing among second according to first signal and the third 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 control according to the signal strength of the approach signal state of the display screen.
The embodiment of the present application also provides a kind of storage medium, computer program is stored in the storage medium, when described When computer program is run on computers, so that the computer executes above-mentioned display screen condition control method.
The embodiment of the present application also provides a kind of terminal, including processor and memory, is stored with calculating in the memory Machine program, the processor is by calling the computer program stored in the memory, for executing above-mentioned display screen Condition control method.
Display screen condition control method provided by the embodiments of the present application, comprising: under signal projector closed state, signal Receiver obtains the first signal;It controls signal projector and sends detectable signal, 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;It controls signal projector to close, signal receiver obtains third signal;Believed according to the first signal and third Number second M signal is obtained, and second M signal is converted into digital signal, obtains the second digital signal;According to the first number Approach signal is calculated in word signal and the second digital signal, and the shape of display screen is controlled according to the signal strength of approach signal State.Obtain the first signal of ambient light energy amount first, then obtain include detectable signal second signal, according to the first signal and Second signal is calculated first M signal and changes into the first digital signal, then obtains the third letter of ambient light energy amount again Number, second M signal is calculated according to the first signal and third signal and is converted into the second digital signal;First number letter Number and the second digital signal be all test data removal environment 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 terminal display screen state control Accuracy.
Detailed description of the invention
Fig. 1 is the first structural schematic diagram of terminal provided by the embodiments of the present application.
Fig. 2 is the structural schematic diagram of shell provided by the embodiments of the present application.
Fig. 3 is another structural schematic diagram of shell provided by the embodiments of the present application.
Fig. 4 is the structural schematic diagram of display screen component provided by the embodiments of the present application.
Fig. 5 is another structural schematic 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 structural schematic diagram of display screen behavior control device provided by the embodiments of the present application.
Figure 15 is second of structural schematic diagram of display screen behavior control device provided by the embodiments of the present application.
Figure 16 is the third structural schematic diagram of display screen behavior control device provided by the embodiments of the present application.
Figure 17 is the 4th kind of structural schematic diagram of display screen behavior control device provided by the embodiments of the present application.
Figure 18 is the 5th kind of structural schematic 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 structural schematic diagram of terminal provided by the embodiments of the present application.
Figure 21 is the third structural schematic diagram of terminal provided by the embodiments of the present application.
Specific embodiment
Presently filed embodiment is described below in detail, the example of the embodiment is shown in the accompanying drawings, wherein from beginning Same or similar element or element with the same or similar functions are indicated to same or similar label eventually.Below by ginseng The embodiment for examining attached drawing description is exemplary, and is only used for explaining the application, and should not be understood as the 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 ", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outside", " up time The orientation or positional relationship of the instructions such as needle ", " counterclockwise " is to be based on the orientation or positional relationship shown in the drawings, and is merely for convenience of It describes the application and simplifies description, rather than the device or element of indication or suggestion meaning must have a particular orientation, with spy Fixed orientation construction and operation, therefore should not be understood as the limitation to the application.In addition, term " first ", " second " are only used for Purpose is described, relative importance is not understood to indicate or imply or implicitly indicates the quantity of indicated technical characteristic. " first " is defined as a result, the feature of " second " can explicitly or implicitly include one or more feature.? In the description of the present application, the meaning of " plurality " is two or more, unless otherwise specifically defined.
In the description of the present application, it should be noted that unless otherwise clearly defined and limited, term " installation ", " phase Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can To be mechanical connection, it is also possible to be electrically connected or can mutually communicate;It can be directly connected, it can also be by between intermediary It connects connected, can be the connection inside two elements or the interaction relationship of two elements.For the ordinary skill of this field For personnel, the concrete meaning of above-mentioned term in this application can be understood as the case may be.
In this application unless specifically defined or limited otherwise, fisrt feature second feature "upper" or "lower" It may include that the first and second features directly contact, also may include that the first and second features are not direct contacts but pass through it Between other characterisation contact.Moreover, fisrt feature includes the first spy above the second feature " above ", " above " and " above " Sign is right above second feature and oblique upper, or is merely representative of first feature horizontal height higher than second feature.Fisrt feature exists Second feature " under ", " lower section " and " following " include that fisrt feature is directly below and diagonally below the second feature, or is merely representative of First feature horizontal height is less than second feature.
Following disclosure provides many different embodiments or example is used to realize the different structure of the application.In order to Simplify disclosure herein, hereinafter the component of specific examples and setting 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, itself not indicate between discussed various embodiments and/or setting Relationship.In addition, this application provides various specific techniques and material example, but those of ordinary skill in the art can be with Recognize the application of other techniques and/or the use of other materials.
Fig. 1 is please referred to, Fig. 1 is the first structural schematic 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 is not limited to the example of present embodiment.The end End 100 includes cover board 10, display screen component 20, circuit board 30 and shell 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 some embodiments, cover board 10 can be the glass cover-plate made of the materials such as sapphire.
Wherein, display screen component 20 is mounted on shell 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 shell 40, for accommodating other electronic components of terminal 100.Meanwhile it is 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 mounted on inside shell 40, and circuit board 30 is housed in above-mentioned enclosure space.Circuit board 30 can be the mainboard of terminal 100.It is provided with grounding point on circuit board 30, to realize the ground connection of circuit board 30.On circuit board 30 The functional units such as camera, processor are can integrate.Meanwhile display screen component 20 can be electrically connected to circuit board 30.
In some embodiments, display control circuit is provided on circuit board 30.The display control circuit is to display screen group Part 20 exports electric signal, shows information to control display screen component 20.
Wherein, shell 40 is used to form the exterior contour of terminal 100.Shell 40 can be metal shell, such as aluminium alloy Shell 40.It should be noted that the material of the embodiment of the present application shell 40 is not limited to this, other way can also be used, than Such as: shell 40 can ceramic center, glass center.For another example: shell 40 can be plastic cement center.Also such as: shell 40 can be with For metal and the mutually matched structure of plastic cement, plastic portions can be molded on sheet metal and be formed.
In some embodiments, as shown in Fig. 2, Fig. 2 is the structural schematic diagram of shell 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 shell 40 is not limited to this.Such as: it please refers to Fig. 3, Fig. 3 are another structural schematic diagram of shell provided by the embodiments of the present application.The shell 40 may include center 41 and rear cover 42, center 41 and rear cover 42 are fixedly connected to form a shell 40.
In some embodiments, Fig. 4 and Fig. 5 are please 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 structural schematic 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 pass through the transmitting signal of display screen 21, and functional unit 23 can also pass through display screen 21 Receive signal.In some embodiments, functional unit 23 can be sensor module, and sensor module may include signal transmitting Device and signal receiver.Wherein, functional unit 23 or camera assembly, camera assembly may include camera, light compensating lamp. Wherein, functional unit 23 can also include ambient light sensor.In some embodiments, functional unit 23 is with sensor module Example is illustrated, it should be noted that and sensor module is not 23 restriction to the embodiment of the present application functional unit, It can be other devices.
In some embodiments, display screen 21 includes display layer 211 and light shield layer 212.
Wherein, display layer 211 is for showing the information such as image, text.
In some embodiments, display screen 21 can for 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 When screen 21 is liquid crystal display, display layer 211 may include the backlight being cascading, down polaroid, array substrate, 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 may include the structures such as the base being cascading, anode, organic layer, conductive layer, emission layer and cathode.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 to 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 functional units such as fingerprint mould group, touch controlled key can be set in the aperture of conduction, 216 bottom section of non-display area.Wherein should Cover board 10 is installed on display screen 21, to cover display screen 21, forms display area identical with display screen 21 and non-display area Domain, specifically can display area refering to display screen 21 and non-display area.
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 difference of the display screen in display screen and Fig. 6 in Fig. 7 is: 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 aperture of light conduction or notches, can be by front camera, sensor Component etc. is set to non-display area position, so that front camera is taken pictures, photoelectric sensor detection.Display area 215a can To be paved with terminal whole surface.
It should be noted that the embodiment of the present application can also be not provided with non-display area, and by the whole surface of display screen It is arranged to whole displays, and the region that can carry out light emitting and light-receiving for sensor module is set on a display screen.
In some 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.Aperture 213 is provided on light shield layer 212.Aperture 213 allows the signals such as optical signal, acoustic signals logical It crosses.
In some embodiments, aperture 213 is circular hole.The diameter of aperture 213 is 2 to 4 millimeters.In some other embodiment In, the hole of the other shapes such as aperture 213 or square hole, elliptical aperture.It is hidden it should be noted that aperture 213 can also be located at The marginal position of photosphere 212, the aperture 213 or bathtub construction.I.e. the aperture 213 may include having opening.
Wherein, the aperture 213 being arranged on light shield layer 212 is located in the display area 215 of display screen 21.By aperture 213, Sensor module 23 can be realized terminal 100 close to inducing function, it is independent without the non-display area in display screen 21 Aperture is set.
In some embodiments, sensor module 23 includes signal projector 231 and signal receiver 232.
Wherein, signal projector 231 is for launching outward detectable signal A.Detectable signal A passes through aperture 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), reflection signal is generated B.It reflects signal B and passes through display area 215 and by 213 entering signal receiver 232 of aperture.In some embodiments, believe Number transmitter 231 can be infrared transmitter, for emitting infrared ray.
Wherein, after signal receiver 232 receives reflection signal B, the signal received can be exported to terminal 100 It is handled in processor, so that the display screen of controlling terminal 100 puts out screen or bright screen.In some embodiments, signal receives Device 232 can be infrared remote receiver, be used 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 module.The sensor module can be proximity sensor.The display screen state control Method processed controls the state of display screen according to the distance between terminal and exterior object state.The distance state includes far from shape State and proximity state.The state of display screen includes lighting and extinguishing.
Below only using sensor module as proximity sensor, proximity sensor includes a signal projector and a signal For receiver, display screen condition control method is illustrated.Wherein, signal projector can be infrared transmitter, be used for Emit infrared ray;Signal receiver can be infrared remote receiver, be used for receiving infrared-ray.
As shown in figure 9, the first process 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 state, signal receiver obtains the first signal.
Wherein, terminal can be when needing the state to display screen to control, under signal generator closed state, first Control signal receiver obtains the first signal, and the first signal is the signal that signal receiver receives that environment light generates, and connects Ru infrared Receive the electric current that device is generated according to the infrared light ingredient in environment light.
Step 502, control signal projector sends detectable signal, and signal receiver obtains the second letter according to detectable signal Number.
Detectable signal can be infrared ray.When signal projector emission detection signal, with the direction far from terminal display screen Launch outward detectable signal.
At this point, signal receiver obtains second signal, second signal is the outer red letter in signal receiver reception environment light Number and detectable signal encounter obstacle back reflection return infrared signal, and generate electric current.
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 process of display screen condition control method provided by the embodiments of the present application is illustrated Figure.Wherein, obtaining first M signal 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 saved by energy-storage travelling wave tube.It can also be by first Signal is converted into digital signal by analog-digital converter ADC and obtains third digital signal;Pass through conversion according to third digital signal Circuit conversion obtains reference current.
As shown in figure 11, Figure 11 is that the third process of display screen condition control method provided by the embodiments of the present application is illustrated Figure.Wherein, being converted to reference current by conversion circuit according to third digital signal may comprise steps of:
Step 601, target current value is obtained according to third digital signal.
After obtaining third digital signal, it is saved in terminal.When needing the used time, calculation formula is first passed through, according to third number Word signal obtains the target current value of analog signal.
Step 602, corresponding multiple current source groups are merged according to target current value and is opened, 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, it detects middle reference electric current and whether the difference of target current value is greater 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 group and merge and open, to reduce middle reference electric current and target electricity The difference of flow valuve.
Increase, reduce or replace current source if difference is too big, so that difference reduces.If difference is very small, It and can not also be smaller after adjusting, it is determined that the current source group is combined into immediate combination, and the 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 second signal.
Signal receiver receives the signal that environment light and detectable signal return, and 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 reversed reference current balances out environment light part, obtains the corresponding electric current of energy returned according to detectable signal.
Step 504, control signal projector is closed, and signal receiver obtains third signal.
After obtaining second signal, then signal projector closing is controlled, then a third signal is obtained by signal receiver.
Step 505, second M signal is obtained according to the first signal and third 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 third signal, and then in circuit, the first signal is turned Change corresponding reference current into, the polarity of reference current and the second photoelectric current subtracts on the contrary, obtaining the second photoelectric current with reference to electricity Then the second M signal is changed into digital signal by analog-digital converter ADC by the second M signal after stream, obtain 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 Control the state of display screen.For example, controlling when terminal is in voice call state the state of display screen.At this point, working as When user face is close to display screen, it can control display screen extinguishing, maloperation caused to display screen to avoid user.When user's face When portion is far from display screen, control display screen is lighted, to restore the normal display of display screen.
As shown in figure 12, Figure 12 is that the 4th kind of process of display screen condition control method provided by the embodiments of the present application is illustrated Figure.Wherein, it may comprise steps of according to the state that the signal strength of approach signal controls display screen:
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 greater than signal strength Threshold value.
Step 613, if the signal strength of approach signal is greater than signal strength threshold, display screen extinguishing is controlled.
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, it if the signal strength of approach signal is less than signal strength threshold, controls display screen and lights.
One pre-determined distance, such as 5cm, corresponding one signal strength threshold of pre- distance setting are set.When display screen is in When bright screen state, judge whether the signal strength of approach signal is greater than signal strength threshold, if more than illustrating to be less than close to distance Pre-determined distance, terminal very little at a distance from face prevent maloperation at this point, control display screen extinguishes.
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 greater than pre-determined distance close to distance, terminal has become larger at a distance from face, then controlled display screen and light, convenient User's operation display screen.
As shown in figure 13, Figure 13 is that the 5th kind of process of display screen condition control method provided by the embodiments of the present application is illustrated Figure.Wherein, according to the signal strength of approach signal control display screen state can with the following steps are included:
Step 621, signal strength threshold is obtained, signal strength threshold includes the first signal strength threshold, and less than the The second 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 greater than the first signal Intensity threshold;
Step 623, if more than the first signal strength threshold, then display screen extinguishing is controlled;
Step 624, if less than the first signal strength threshold, judge the signal strength of approach signal whether less than the second letter Number intensity threshold;
Step 625, if being less than second signal intensity threshold, display screen is kept to be in bright screen state;
Step 626, it if more than second signal intensity threshold, and less than the first signal strength threshold, then continuously acquires at least Approach signal twice then controls display screen extinguishing when the signal strength for continuously acquiring approach signal at least twice becomes larger.
Setting signal intensity threshold, the signal strength threshold include the first signal strength threshold, and less than the first signal The second signal intensity threshold of intensity threshold.It is default that first signal strength threshold and second signal intensity threshold respectively correspond first Distance and the second pre-determined distance.
When display screen is in bright screen state, judge whether the signal strength of approach signal is greater than the first signal strength threshold Value;If more than the first signal strength threshold, illustrate close to distance then to control display screen extinguishing less than the first pre-determined distance.If small In the first signal strength threshold, illustrate whether approach the signal strength that approach signal is then judged apart from the first pre-determined distance is greater than Less than second signal intensity threshold.If being less than second signal intensity threshold, illustrates to be greater than the second pre-determined distance close to distance, then protect It holds display screen and is in bright screen state.If more than second signal intensity threshold, and less than the first signal strength threshold, illustrate close to away from Less than the second pre-determined distance approach signal at least twice is then continuously acquired from the first pre-determined distance is greater than, when continuously acquiring at least The signal strength of approach signal becomes larger twice, illustrate it is more and more closer from shelter, it is such as more and more closer 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 greater than the first signal Intensity threshold;If more than then illustrating distance less than the first pre-determined distance, screen state is put out in holding.If less than the first signal strength threshold Value, but it is greater than second signal intensity threshold, 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 second signal intensity threshold;If being less than second signal Intensity threshold illustrates that distance is greater than the second pre-determined distance, then controls display screen and light.Or continuous detection approach signal twice Signal strength illustrates that shelter is more and more remoter, as from user if the signal strength of approach signal twice in succession is gradually reduced Face is more and more remoter, then controls display screen and light.
From the foregoing, it will be observed that display screen condition control method provided by the embodiments of the present application, comprising: close shape in signal projector Under state, signal receiver obtains the first signal;It controls signal projector and sends detectable signal, signal receiver is according to detectable signal Obtain second 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;It controls signal projector to close, signal receiver obtains third signal;According to the first letter Number and third 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 is shown according to the signal strength of approach signal The state of display screen.Obtain the first signal of ambient light energy amount first, then obtain include detectable signal second signal, according to the One signal and second signal are calculated first M signal and change into the first digital signal, then obtain ambient light energy amount again Third signal is calculated second M signal according to the first signal and third signal and is converted into the second digital signal;First Digital signal and the second digital signal be all test data removal environment 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 module.The sensor module can be proximity sensor.Proximity sensor includes Signal projector and signal receiver.Wherein, signal projector can be infrared transmitter, for emitting infrared ray;Signal connects Receiving device can be infrared remote receiver, be used for receiving infrared-ray.
The display screen behavior control device controls the shape of display screen according to the distance between terminal and exterior object state State.The distance state includes far 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: the first control module 701, the first digital signal acquisition the 702, second number of module Signal acquisition module 703 and display control module 704.
First control module 701, under signal projector closed state, control signal receiver to obtain the first letter Number;It is also used to control signal projector and sends detectable signal, control signal receiver obtains second signal according to detectable signal.
Detectable signal can be infrared ray.When signal projector emission detection signal, with the direction far from terminal display screen Launch outward detectable signal.
At this point, signal receiver obtains second signal, second signal is the outer red letter in signal receiver reception environment light Number and detectable signal encounter obstacle back reflection return infrared signal, and generate electric current.
First digital signal obtains 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, it includes reference current acquisition submodule 7021, photoelectric current acquisition submodule that the first digital signal, which obtains module 702, 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 saved by energy-storage travelling wave tube.It can also be by first Signal is converted into digital signal by analog-digital converter ADC and obtains third digital signal;Pass through conversion according to third digital signal Circuit conversion obtains reference current.
Photoelectric current acquisition submodule 7022, for obtaining corresponding first photoelectric current according to second signal.
M signal acquisition submodule 7023 obtains first M signal 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 that target current value step 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 third digital signal.
After obtaining third digital signal, it is saved in terminal.When needing the used time, calculation formula is first passed through, according to third 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, obtains 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 greater than preset difference value.
After obtaining middle reference electric current, its difference with target current value is detected.
Subelement 724 is adjusted, if being greater than preset difference value for difference, new current source group is obtained and merges unlatching, to subtract The difference of small middle reference electric current and target current value.
Increase, reduce or replace current source if difference is too big, so that difference reduces.If difference is very small, It and can not also be smaller after adjusting, it is determined that the current source group is combined into immediate combination, and the 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, the electric current and target current value base for forming multiple current sources This is consistent.
First control module 701, is also used to control signal projector closing, and control signal receiver obtains third letter Number.
After obtaining second signal, then signal projector closing is controlled, then a third signal is obtained by signal receiver.
Second digital signal obtains module 703, for obtaining second M signal according to the first signal and third 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 third signal, and then in circuit, the first signal is turned Change corresponding reference current into, the polarity of reference current and the second photoelectric current subtracts on the contrary, obtaining the second photoelectric current with reference to electricity Then the second M signal is changed into digital signal by the second M signal after stream, obtain 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 The state of display screen is controlled according to the signal strength 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 Control the state of display screen.For example, controlling when terminal is in voice call state the state of display screen.At this point, working as When user face is close to display screen, it can control display screen extinguishing, maloperation caused to display screen to avoid user.When user's face When portion is far from display screen, control display screen is lighted, to restore 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 judging the signal strength of approach signal when display screen is in bright screen state Whether signal strength threshold is greater than.
Extinguish control submodule 7043, if the signal strength for approach signal is greater than signal strength threshold, control is aobvious Display screen is extinguished.
Second judgment submodule 7044, for judging the signal strength of approach signal when display screen is in and puts out screen state 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, corresponding one signal strength threshold of pre- distance setting are set.When display screen is in When bright screen state, judge whether the signal strength of approach signal is greater than signal strength threshold, if more than illustrating to be less than close to distance Pre-determined distance, terminal very little at a distance from face prevent maloperation at this point, control display screen extinguishes.
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 greater than pre-determined distance close to distance, terminal has become larger at a distance from face, then controlled display screen and light, convenient 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, third 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 second signal intensity threshold less than the first signal strength threshold;
Third judging submodule 7044, for judging the signal strength of approach signal when display screen is in bright screen state Whether the first signal strength threshold is greater than;
Extinguish control submodule 7043, for if more than the first signal strength threshold, then controlling display screen extinguishing;
4th judging submodule 7045, if for judging that the signal of approach signal is strong less than the first signal strength threshold Whether degree is less than second signal intensity threshold;
Submodule 7046 is kept, if keeping display screen to be in bright screen state for being less than second signal intensity threshold;
Extinguish control submodule 7043, is also used to if more than second signal intensity threshold, and 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 Display screen is controlled to extinguish.
Setting signal intensity threshold, the signal strength threshold include the first signal strength threshold, and less than the first signal The second signal intensity threshold of intensity threshold.It is default that first signal strength threshold and second signal intensity threshold respectively correspond first Distance and the second pre-determined distance.
When display screen is in bright screen state, judge whether the signal strength of approach signal is greater than the first signal strength threshold Value;If more than the first signal strength threshold, illustrate close to distance then to control display screen extinguishing less than the first pre-determined distance.If small In the first signal strength threshold, illustrate whether approach the signal strength that approach signal is then judged apart from the first pre-determined distance is greater than Less than second signal intensity threshold.If being less than second signal intensity threshold, illustrates to be greater than the second pre-determined distance close to distance, then protect It holds display screen and is in bright screen state.If more than second signal intensity threshold, and less than the first signal strength threshold, illustrate close to away from Less than the second pre-determined distance approach signal at least twice is then continuously acquired from the first pre-determined distance is greater than, when continuously acquiring at least The signal strength of approach signal becomes larger twice, illustrate it is more and more closer from shelter, it is such as more and more closer from the face of user, then control Display screen processed extinguishes.
Corresponding, display control module 704 judges the letter of approach signal if being also used to display screen in when putting out screen state Whether number intensity is greater than the first signal strength threshold;If more than then illustrating distance less than the first pre-determined distance, screen shape is put out in holding State.If less than the first signal strength threshold, but being greater than second signal intensity threshold, illustrate 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 second signal Intensity threshold;If being less than second signal intensity threshold, illustrates that distance is greater than the second pre-determined distance, then control display screen and light.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 remoter, such as more and more remoter from the face of user, then controls display screen and light.
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 state Under, signal receiver obtains the first signal;It controls signal projector and sends detectable signal, signal receiver is obtained according to detectable signal Take second signal;First M signal is obtained according to the first signal and the second signal, and first M signal is converted into number Signal obtains the first digital signal;It controls signal projector to close, signal receiver obtains third signal;According to the first signal Second M signal is obtained with third 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 is shown according to the signal strength of approach signal The state of screen.The first signal for obtaining ambient light energy amount first, then obtains the second signal including detectable signal, according to first Signal and second signal are calculated first M signal and change into the first digital signal, then obtain the of ambient light energy amount again Three signals are calculated second M signal according to the first signal and third signal and are converted into the second digital signal;First number Word signal and the second digital signal be all test data removal environment light data after obtain 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 phone, tablet computer.Such as Figure 20 institute Show, terminal 800 includes processor 801 and memory 802.Wherein, processor 801 and memory 802 are electrically connected.
Processor 801 is the control centre of terminal 800, utilizes each portion of various interfaces and the entire terminal of connection Point, by running or calling the computer program being stored in memory 802, and the number that calling is stored in memory 802 According to, execute terminal various functions and processing data, thus to terminal carry out integral monitoring.
In the present embodiment, the processor 801 in terminal 800 can be according to following step, will be one or more The corresponding instruction of the process of computer program is loaded into memory 802, and is stored in memory by processor 801 to run Computer program in 802, to realize various functions:
Under signal projector closed state, signal receiver obtains the first signal;
It controls signal projector and sends detectable signal, signal receiver obtains second 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;
It controls signal projector to close, signal receiver obtains third signal;
Second M signal is obtained according to the first signal and third 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 strong according to the signal of approach signal The state of degree control display screen.
In some embodiments, processor 801 also executes following steps:
Corresponding reference current is obtained according to the first signal;
Corresponding first photoelectric current is obtained according to second signal;
First photoelectric current is subtracted into reference current and obtains first M signal.
In some embodiments, processor 801 also executes following steps:
First signal is converted into digital signal and obtains third digital signal;
Reference current is converted to by conversion circuit according to third digital signal.
In some embodiments, processor 801 executes following steps:
Target current value is obtained according to third digital signal;
Corresponding multiple current source groups are merged according to target current value and are opened, middle reference electric current is obtained;
Whether the difference of detection middle reference electric current and target current value is greater than preset difference value;
If more than then obtaining new current source group and merge and open, to reduce the difference of middle reference electric current and target current value Value.
In some embodiments, processor 801 also executes following steps:
Obtain signal strength threshold;
When display screen is in bright screen state, judge whether the signal strength of approach signal is greater than signal strength threshold;
If the signal strength of approach signal is greater than signal strength threshold, display screen extinguishing is controlled;
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, controls display screen and light.
In some embodiments, processor 801 also executes 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 second signal intensity threshold of threshold value;
When display screen is in bright screen state, judge whether the signal strength of approach signal is greater than the first signal strength threshold Value;
If more than the first signal strength threshold, then display screen extinguishing is controlled;
If judging whether the signal strength of approach signal is less than second signal intensity threshold less than the first signal strength threshold Value;
If being less than second signal intensity threshold, display screen is kept to be in bright screen state;
If more than second signal intensity threshold, and less than the first signal strength threshold, then continuously acquires and approach at least twice Signal then controls display screen extinguishing when the signal strength for continuously acquiring approach signal at least twice becomes larger.
Memory 802 can be used for storing computer program and data.Include in the computer program that memory 802 stores The instruction that can be executed in the processor.Computer program can form various functional modules.Processor 801 is stored in by calling The computer program of memory 802, thereby executing various function application and data processing.
In some embodiments, as shown in figure 21, terminal 800 further include: 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 electrically Connection.
Radio circuit 803 is used for transceiving radio frequency signal, to be led to by wireless communication with the network equipment or other terminals Letter.
Display screen 804 can be used for showing 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 any combination thereof.
Control circuit 805 and display screen 804 are electrically connected, and show information for controlling display screen 804.
Input unit 806 can be used for receiving number, character information or the user's characteristic information (such as fingerprint) of input, and Generate keyboard related with user setting and function control, mouse, operating stick, optics or trackball signal input.Wherein, Input unit 806 may include fingerprint recognition mould group.
Voicefrequency circuit 807 can provide the audio interface between user and terminal by loudspeaker, microphone.
Sensor 808 is for acquiring external environmental information.Sensor 808 may include proximity sensor, ambient light sensing One of sensors such as device, acceleration transducer, gyroscope are a variety of.
Power supply 809 is used to power to all parts of terminal 800.In some embodiments, power supply 809 can pass through power supply Management system and processor 801 are logically contiguous, to realize management charging, electric discharge and power consumption pipe by power-supply management system The functions such as reason.
Although being 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 state, signal receiver Obtain the first signal;It controls signal projector and sends detectable signal, signal receiver obtains second 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;It controls signal projector to close, signal receiver obtains third signal;It is obtained according to the first signal and third 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 is calculated with the second digital signal, and controls the state of display screen according to the signal strength of approach signal.
The first signal for obtaining ambient light energy amount first, then obtains the second signal including detectable signal, according to first Signal and second signal are calculated first M signal and change into the first digital signal, then obtain the of ambient light energy amount again Three signals are calculated second M signal according to the first signal and third signal and are converted into the second digital signal;First number Word signal and the second digital signal be all test data removal environment light data after obtain 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 those 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 store in meter In calculation machine readable storage medium storing program for executing, the storage medium be can include but is not limited to: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
Display screen condition control method, device provided by the embodiment of the present application, storage medium and terminal are carried out above It is discussed in detail, specific examples are used herein to illustrate the principle and implementation manner of the present application, above embodiments Explanation be merely used to help 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 the specific implementation manner and application range, in conclusion the content of the present specification is not It is interpreted as the limitation to the application.

Claims (12)

1. a kind of display screen condition control method is applied in terminal, the terminal includes display screen and proximity sensor, institute Stating proximity sensor includes signal projector and signal receiver, which is characterized in that the display screen condition control method includes:
Under the signal projector closed state, the signal receiver obtains the first signal;
It controls the signal projector and sends detectable signal, the signal receiver obtains the second letter according to the detectable signal Number;
In circuit, the reversed reference current that multiple current sources are formed, the second signal are applied according to first signal Corresponding first photoelectric current subtracts the reference current and obtains first M signal, to remove the data of environment light, and will be described First M signal is converted into digital signal, obtains the first digital signal;
It controls the signal projector to close, the signal receiver obtains third signal;
In circuit, the reversed reference current that multiple current sources are formed, the third signal are applied according to first signal Corresponding second photoelectric current subtracts the reference current and obtains second M signal, and the second M signal is converted into counting Word 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, which is characterized in that it is described according to first signal and The step of second signal obtains first M signal, comprising:
Corresponding reference current is obtained according to first signal;
Corresponding first photoelectric current is obtained according to the second 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, which is characterized in that described to be obtained according to first signal The step of to corresponding reference current, comprising:
First signal is converted into digital signal and obtains third digital signal;
Reference current is converted to by conversion circuit according to the third digital signal.
4. display screen condition control method according to claim 3, which is characterized 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 third digital signal, including
Target current value is obtained according to the third digital signal;
Corresponding multiple current source groups are merged according to target current value and are opened, middle reference electric current is obtained;
Whether the difference for detecting the middle reference electric current and the target current value is greater than preset difference value;
If more than then obtaining new current source group and merge 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, which is characterized in that described according to The signal strength of approach signal controls the step of state of the display screen and includes:
Obtain signal strength threshold;
When the display screen is in bright screen state, judge whether the signal strength of the approach signal is greater than the signal strength Threshold value;
If the signal strength of the approach signal is greater than the signal strength threshold, controls the display screen and 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, controls the display screen and light.
6. display screen condition control method according to any one of claims 1 to 4, which is characterized in that described according to The signal strength of approach signal controls the step of state of the display screen and includes:
Signal strength threshold is obtained, the signal strength threshold includes the first signal strength threshold, and is less than first letter The second 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 greater than first signal Intensity threshold;
If more than first signal strength threshold, then controls the display screen and extinguish;
If being less than first signal strength threshold, judge whether the signal strength of the approach signal is less than second letter Number intensity threshold;
If being less than the second signal intensity threshold, the display screen is kept to be in bright screen state;
If more than the second signal intensity threshold, and it is less than first signal strength threshold, then continuously acquires at least twice The approach signal then controls the display when the signal strength for continuously acquiring the approach signal at least twice becomes larger Screen extinguishes.
7. a kind of display screen behavior control device, it is applied in terminal, the terminal includes display screen and proximity sensor, described Proximity sensor includes signal projector and signal receiver, which is characterized in that the display screen behavior control device includes:
First control module obtains the first letter under the signal projector closed state, controlling the signal receiver Number;It is also used to control the signal projector and sends detectable signal, control the signal receiver and obtained according to the detectable signal Take second signal;
First digital signal obtains module, in circuit, applying the anti-of multiple current sources formation according to first signal To reference current, corresponding first photoelectric current of the second signal subtracts the reference current and obtains first M signal, with The data of environment light are removed, and the first M signal is converted into digital signal, obtain the first digital signal;
First control module is also used to control the signal projector and closes, and controls the signal receiver and obtains third Signal;
Second digital signal obtains module, in circuit, applying the anti-of multiple current sources formation according to first signal To reference current, corresponding second photoelectric current of the third signal subtracts the reference current and obtains second M signal, and The second M signal is converted into digital signal, obtains 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, which is characterized 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 second signal;
M signal acquisition submodule obtains first M signal for first photoelectric current to be subtracted the reference current.
9. display screen behavior control device according to claim 8, which is characterized in that the reference current obtains submodule Block is also used to first signal being converted into digital signal to obtain third digital signal;And according to the third digital signal Reference current is converted to by conversion circuit.
10. display screen behavior control device according to claim 9, which is characterized in that the display control module includes:
Threshold value acquisition submodule, for obtaining signal strength threshold;
Signal strength judging submodule, for judging the signal of the approach signal when the display screen is in bright screen state Whether intensity is greater than the signal strength threshold;
Display control submodule controls institute if the signal strength for the approach signal is greater than the signal strength threshold State display screen extinguishing.
11. a kind of storage medium, which is characterized in that computer program is stored in the storage medium, when the computer journey When sequence is run on computers, so that the computer perform claim requires 1 to 6 described in any item display screen state controlling parties Method.
12. a kind of terminal, which is characterized in that the terminal includes processor and memory, and calculating is stored in the memory Machine program, the processor by calling the computer program stored in the memory, for perform claim require 1 to 6 described in any item display screen condition control methods.
CN201711174657.XA 2017-11-22 2017-11-22 Display screen condition control method, device, storage medium and terminal Active CN107948418B (en)

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 CN107948418A (en) 2018-04-20
CN107948418B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111374620A (en) * 2018-12-29 2020-07-07 佛山市顺德区美的洗涤电器制造有限公司 Dish washer and control method thereof
CN112785989B (en) 2019-11-08 2022-05-27 京东方科技集团股份有限公司 Bright screen control method and device for display equipment, display equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598358B (en) * 2016-12-06 2020-01-14 Oppo广东移动通信有限公司 Proximity detection method and device and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN107948418A (en) 2018-04-20

Similar Documents

Publication Publication Date Title
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
US20130191741A1 (en) Methods and Apparatus for Providing Feedback from an Electronic Device
ES2859555T3 (en) Method, mobile terminal and non-transient computer-readable storage medium for adjusting the scan rate of a touch screen
CN110134465A (en) Image display method, device, storage medium and mobile terminal
JP7324368B2 (en) BUTTON STRUCTURE, BUTTON CONTROL METHOD, AND ELECTRONIC DEVICE
CN107908313B (en) Control method of electronic device and electronic device
CN107979663A (en) Sensor component, display screen component and electronic equipment
US8717443B2 (en) Method and system for testing temporal latency in device having optical sensing component and touch-sensitive display component
CN107911554B (en) Electronic device and control method thereof
CN109032488A (en) Processing method, storage medium and the electronic equipment of blank screen gesture
CN107831901A (en) Display panel control method, device, storage medium and electronic installation
CN107948418B (en) Display screen condition control method, device, storage medium and terminal
EP3518085A1 (en) Mobile terminal and method for controlling the same
CN104571490A (en) Terminal and operating method thereof
CN107977048A (en) Display device and electronic equipment
CN107909977A (en) Display screen component, control method, device, storage medium and electronic equipment
KR20150025548A (en) Apparatus, method and computer readable recording medium for displaying state of an electronic device
CN107948420A (en) Display screen condition control method, device, storage medium and terminal
US20190050113A1 (en) Mobile terminal and control method therefor
CN108595105A (en) Light filling lamp control method, device, storage medium and electronic equipment
CN107919102B (en) The control method of electronic device and electronic device
CN110312018A (en) The control method of electronic equipment and electronic equipment
CN108924360A (en) Display methods, storage medium and electronic equipment
CN109195206A (en) Control method, storage medium and the electronic equipment of display screen state

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