CN107948420A - 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
CN107948420A
CN107948420A CN201711174673.9A CN201711174673A CN107948420A CN 107948420 A CN107948420 A CN 107948420A CN 201711174673 A CN201711174673 A CN 201711174673A CN 107948420 A CN107948420 A CN 107948420A
Authority
CN
China
Prior art keywords
signal
display screen
signal strength
strength values
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711174673.9A
Other languages
Chinese (zh)
Other versions
CN107948420B (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 CN201711174673.9A priority Critical patent/CN107948420B/en
Publication of CN107948420A publication Critical patent/CN107948420A/en
Application granted granted Critical
Publication of CN107948420B publication Critical patent/CN107948420B/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
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • 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, and the display screen condition control method includes:With the first power, repeatedly the first detectable signal of transmitting, signal receiver obtain corresponding first signal strength values, and the first averaged magnitude value of acquisition to signal projector according to each first detectable signal;With the second power, repeatedly the second detectable signal of transmitting, signal receiver obtain secondary signal average intensity value to signal projector according to the corresponding secondary signal intensity level of each second detectable signal acquisition;3rd signal strength values are calculated according to the first averaged magnitude value and secondary signal average intensity value;According to the state of the 3rd signal strength values control display screen.This method can improve the accuracy of the display screen state control of terminal.

Description

Display screen condition control method, device, storage medium and terminal
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.
In actual use, infrared transmitter and infrared remote receiver are easily right due to being influenced by perforate size The detection accuracy of terminal impacts.
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:
The signal projector repeatedly launches the first detectable signal with the first power, and the signal receiver is according to each institute State the first detectable signal and obtain corresponding first signal strength values;
The first averaged magnitude value is obtained according to multiple first signal strength values;
The signal projector repeatedly launches the second detectable signal with the second power, and the signal receiver is according to each institute State the second detectable signal and obtain corresponding secondary signal intensity level, second power is more than first power;
Secondary signal average intensity value is obtained according to multiple secondary signal intensity levels;
3rd signal strength values are calculated according to the first averaged magnitude value and the secondary signal average intensity value;
The state of the display screen is controlled according to the 3rd signal strength values.
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, for controlling the signal projector repeatedly to launch the first detectable signal with the first power, with And the control signal receiver obtains corresponding first signal strength values according to each first detectable signal;
First computing module, for obtaining the first averaged magnitude value according to multiple first signal strength values;
First control module, is additionally operable to control the signal projector repeatedly to launch the second detection letter with the second power Number, and the control signal receiver is according to the corresponding secondary signal intensity level of each second detectable signal acquisition, institute State the second power and be more than first power;
First computing module, is additionally operable to obtain secondary signal mean intensity according to multiple secondary signal intensity levels Value;
Second computing module, based on according to the first averaged magnitude value and the secondary signal average intensity value Calculate the 3rd signal strength values;
Second control module, for controlling the state of the display screen according to the 3rd signal strength values.
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:Signal projector is repeatedly sent out with the first power Penetrate the first detectable signal;Signal receiver obtains corresponding first signal strength values according to each first detectable signal;Root The first averaged magnitude value is obtained according to multiple first signal strength values;The signal projector is repeatedly sent out with the second power Penetrate the second detectable signal;The signal receiver obtains corresponding secondary signal intensity according to each second detectable signal Value;Secondary signal average intensity value is obtained according to multiple secondary signal intensity levels;According to first averaged magnitude Value and secondary signal average intensity value calculate the 3rd signal strength values;The display screen is controlled according to the 3rd signal strength values State.The display screen condition control method, control signal transmitter is repeatedly with the first power, the second power emission the respectively One detectable signal and the second detectable signal, and the first averaged magnitude value and secondary signal average intensity value, root are obtained respectively The 3rd signal strength values being calculated according to the first averaged magnitude value and secondary signal average intensity value are aobvious to control The state of display screen, can improve the accuracy of the display screen state control of terminal.
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 first structure diagram of display screen behavior control device provided by the embodiments of the present application.
Figure 14 is second of structure diagram of display screen behavior control device provided by the embodiments of the present application.
Figure 15 is the third structure diagram of display screen behavior control device provided by the embodiments of the present application.
Figure 16 is the 4th kind of structure diagram of display screen behavior control device provided by the embodiments of the present application.
Figure 17 is second of structure diagram of terminal provided by the embodiments of the present application.
Figure 18 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, the perforate 213 is circular hole.A diameter of 2 to 4 millimeters of the perforate 213.Other one In a little embodiments, the perforate 213 can also be the hole of the other shapes such as square hole, elliptical aperture.It should be noted that perforate 213 The marginal position of light shield layer 212 can also be located at, which 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.Pass through the perforate 213, sensor component 23 be can be achieved terminal 100 close to inducing function, without the non-display area in display screen 21 It is separately provided perforate.
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 the sensor component as proximity sensor, the proximity sensor include signal projector and Exemplified by one signal receiver, the display screen condition control method is illustrated.Wherein, signal projector can be infrared Transmitter, for launching infrared ray;Signal receiver can be infrared remote receiver, for receiving infrared-ray.
As shown in figure 9, display screen condition control method may comprise steps of:
S510, signal projector repeatedly launch the first detectable signal with the first power, and signal receiver is according to each first Detectable signal obtains corresponding first signal strength values.
Wherein, terminal can be when needing the state to display screen to be controlled, and control signal transmitter is with the first power Repeatedly the first detectable signal of transmitting.For example, when terminal is in voice call state, the state of display screen is controlled.This When, when user face is close to display screen, it can be extinguished with control display screen, maloperation is caused to display screen to avoid user.When When user face is away from display screen, control display screen is lighted, to recover the normal display of display screen.
Wherein, the first power can be less power.Terminal can be controlled by the electric current of control signal transmitter The power of the signal projector.For example, terminal can be using the electric current of control signal transmitter as 10mA, the signal transmitting at this time The power of device is the first power.
First detectable signal is the signal projector with the detectable signal of first power emission.First detection Signal can be infrared ray.When signal projector launches the first detectable signal, outwards launched with the direction towards terminal display screen Detectable signal.
Wherein, after signal projector launches the first detectable signal, signal receiver detects the signal strength received at this time Value.The signal strength values received at this time are the first signal strength values.
First detectable signal is signal projector with the first power emission, i.e., with smaller power transmitting, the first detection In terminal inner diffraction occurs for signal, and diffracted signal is entered directly into signal receiver.First signal strength values are The intensity for the diffracted signal that signal receiver receives at this time.
In practical application, infrared transmitter and infrared remote receiver by perforate size due to being influenced, easily to terminal Detection accuracy impacts.And the first detectable signal be signal projector with the first power emission, i.e., sent out with smaller power Penetrate, may cause the first detectable signal that diffraction all occurs in terminal inner, the first detectable signal can not be from display screen at this time Interior sensor photosensitive field emission to the external world.
Wherein it is possible in the production process of terminal, terminal is debugged so that with the spy of first power emission Survey signal and diffraction all occurs in terminal inner, namely under first power, the signal of signal projector transmitting cannot be sent out It is mapped to the external world.
S520, the first averaged magnitude value is obtained according to multiple first signal strength values.
Wherein, multiple first signal strength values that terminal-pair obtains are calculated, to obtain multiple first signal strength values Average value so that obtain data it is more accurate.
S530, the signal projector with the second power repeatedly transmitting the second detectable signal, the signal receiver according to Each second detectable signal obtains corresponding secondary signal intensity level.
Wherein, after terminal gets the first averaged magnitude value, signal projector described in terminal control is with the second power Repeatedly the second detectable signal of transmitting.Second power is relatively high power, and second power is more than first power.Example Such as, terminal can be using the electric current of control signal transmitter as 50mA, and the power of the signal projector is the second power at this time.
Second detectable signal is the signal projector with the detectable signal of second power emission.Second detection Signal can be infrared ray.When signal projector launches the second detectable signal, outwards launched with the direction towards terminal display screen Detectable signal.
It should be noted that the operating current of signal projector can be pulse current.Terminal can first give the signal Transmitter inputs a less pulse current, to launch the first detectable signal;Then, one is inputted to the signal projector Larger pulse current, to launch the second detectable signal.So as to which the signal projector launches first detectable signal and institute The time interval stated between the second detectable signal is very short, such as can be 5ms (millisecond).
Wherein, after signal projector launches the second detectable signal, signal receiver detects the signal strength received at this time Value.The signal strength values received at this time are secondary signal intensity level.
Second detectable signal is signal projector with the second power emission, i.e., with relatively high power transmitting, the second detection In terminal inner diffraction occurs for a part for signal, and the diffracted signal of generation is entered directly into signal receiver.It is in addition, described The another part of second detectable signal by the sensor photosensitive field emission in display screen to the external world, through exterior object (example Such as, user face) reflection after form reflected signal, reflected signal is entered in signal receiver.Therefore, the secondary signal is strong The sum of the intensity for the diffracted signal that angle value receives at this time for signal receiver and the intensity of extraneous reflected signal.
S540, secondary signal average intensity value is obtained according to multiple secondary signal intensity levels.
Wherein, multiple secondary signal intensity levels that terminal-pair obtains are calculated, to obtain multiple secondary signal intensity levels Average value so that obtain data it is more accurate.
S550, the 3rd signal strength is calculated according to the first averaged magnitude value and secondary signal average intensity value Value.
Wherein, after terminal gets the first averaged magnitude value and secondary signal average intensity value, according to described First averaged magnitude value and secondary signal average intensity value calculate the 3rd signal strength values.3rd signal strength values are After signal projector is transmitted to the external world, the intensity through reflected signal caused by exterior object (for example, user face) reflection.
S560, according to the state of the 3rd signal strength values control display screen.
Wherein, after terminal calculates the 3rd signal strength values, you can according to the 3rd signal strength values control display screen State.For example, when terminal is in voice call state, the state of display screen is controlled.At this time, when user face pastes It during nearly display screen, can be extinguished with control display screen, maloperation is caused to display screen to avoid user.When user face is away from display During screen, control display screen is lighted, to recover the normal display of display screen.
In certain embodiments, as shown in Figure 10, step S510, signal projector with the first power, repeatedly visit by transmitting first Survey before signal, it is further comprising the steps of:
S570, obtains current environment light intensity value;
Step S510, signal projector repeatedly launches the first detectable signal with the first power, comprises the following steps:
S511, corresponding first performance number is obtained according to the current environment light intensity value, and signal projector is with described the Repeatedly the first detectable signal of transmitting, signal receiver obtain corresponding first to one performance number according to each first detectable signal Signal strength values.
Wherein, terminal can obtain current environment light intensity value before with the first power repeatedly the first detectable signal of transmitting, And matched prestoring environmental light intensity angle value in the terminal with the first power match table, to obtain corresponding first Performance number.It should be noted that multiple environmental light intensity angle value are preset in the environmental light intensity angle value and the first power match table, And corresponding one first performance number of each environmental light intensity angle value, so that signal projector is with the repeatedly transmitting the of the first power One detectable signal avoids the influence of ambient light closer to true environment.
In certain embodiments, as shown in Figure 10, step S510, signal receiver according to each first detectable signal It is further comprising the steps of after obtaining corresponding first signal strength values:
S580, calculates the difference of continuous multiple first signal strength values and default first signal strength values respectively;
If each difference is respectively less than predetermined threshold value, the first signal is obtained according to multiple first signal strength values Average intensity value.
After signal receiver gets continuous multiple first signal strength values, terminal is by each first signal strength values and in advance If the first signal strength values are compared, to judge that the difference of each first signal strength values and default first signal strength values is It is no to be less than predetermined threshold value.It should be noted that it is mentioned here it is continuous it is multiple can be configured as needed, such as:Continuous three A first signal strength values, are not limited herein.
Wherein, preset signal strength value can be the corresponding preferable letter of each first performance number pre-set in the terminal Number intensity level.Predetermined threshold value can be the first signal strength values and the acceptable error scope of the difference of ideal signal intensity level.
When judging that each difference is respectively less than predetermined threshold value, terminal will be obtained according to multiple first signal strength values Take the first averaged magnitude value.When judging that at least one difference is not less than predetermined threshold value, then continue to obtain continuous more A first signal strength values.
In certain embodiments, as shown in Figure 10, step S550, believed according to the first averaged magnitude value and second Number average intensity value calculates the 3rd signal strength values, comprises the following steps:
S551, calculates the difference of the secondary signal average intensity value and the first averaged magnitude value;
S552, is determined as the 3rd signal strength values by the difference.
Wherein, after terminal gets the first averaged magnitude value and secondary signal average intensity value, described second is calculated The difference of averaged magnitude value and the first averaged magnitude value.Since the first averaged magnitude value is that signal projector exists When launching detectable signal under smaller power, signal strength values that signal receiver is got, and secondary signal average intensity value is When signal projector launches detectable signal under relatively high power, signal strength values that signal receiver is got, therefore described Binary signal average intensity value is greater than the first averaged magnitude value, namely the difference is necessarily more than zero.
Then, the difference being calculated is determined as the 3rd signal strength values by terminal.
In certain embodiments, as shown in Figure 10, step S560, according to the 3rd signal strength values control display screen It is further comprising the steps of before state:
S590, obtains signal strength threshold;
Step S560, according to the state of the 3rd signal strength values control display screen, comprise the following steps:
S561, the state of the display screen is controlled according to the 3rd signal strength values and the signal strength threshold.
Wherein, after the 3rd signal strength values are calculated in terminal, signal strength threshold can be obtained.The signal strength threshold Value can be the signal strength values prestored in the terminal.The signal strength threshold is used to judge terminal and exterior thing In proximity state or away from state between body, so as to be controlled to the state of terminal display screen.
Then, terminal is according to the 3rd signal strength values and the state of the signal strength threshold control display screen.
In certain embodiments, as shown in figure 11, it is step S561, strong according to the 3rd signal strength values and the signal The state that threshold value controls the display screen is spent, is comprised the following steps:
S5611, when display screen is in bright screen state, judges whether the 3rd signal strength values are more than first threshold;
S5612, if the 3rd signal strength values are more than the first threshold, controls the display screen to extinguish.
Wherein, the signal strength threshold that terminal is got includes first threshold.The first threshold can be high threshold.Institute State high threshold to be used for when display screen is in bright screen state, triggering control display screen is extinguished.
When the display screen of terminal is in bright screen state, after terminal gets the first threshold, will be calculated the 3rd Signal strength values are compared with the first threshold, to judge whether the 3rd signal strength values are more than first threshold Value.When judging that the 3rd signal strength values are more than the first threshold, illustrate terminal with exterior object (for example, user Face) between be in proximity state, at this time control display screen extinguish.When judging that the 3rd signal strength values are less than or equal to During the first threshold, illustrate to be not in proximity state between terminal and exterior object (for example, user face), terminal is tieed up at this time Hold display screen and be in bright screen state.
For example, first threshold be 243.9, the 3rd signal strength values that terminal is got be 400, then at this time it is described 3rd letter Number intensity level is more than the first threshold, then terminal control display screen extinguishes.
In certain embodiments, as shown in figure 12, it is step S561, strong according to the 3rd signal strength values and the signal The state that threshold value controls the display screen is spent, is comprised the following steps:
S5613, when display screen, which is in, puts out screen state, judges whether the 3rd signal strength values are less than second threshold;
S5614, if the 3rd signal strength values are less than the second threshold, controls the display screen to light.
Wherein, the signal strength threshold that terminal is got includes second threshold.The second threshold can be Low threshold.Institute State Low threshold to be used for when display screen is in and puts out screen state, triggering control display screen is lighted.For in same external environment Same portion's terminal, the Low threshold is less than above-mentioned high threshold.
The display screen of terminal is in when putting out screen state, after terminal gets the second threshold, will be calculated the 3rd Signal strength values are compared with the second threshold, to judge whether the 3rd signal strength values are less than second threshold Value.When judging that the 3rd signal strength values are less than the second threshold, illustrate terminal with exterior object (for example, user Face) between be in away from state, control display screen is lighted at this time.When judging that the 3rd signal strength values are greater than or equal to During the second threshold, illustrate to be not in remote state between terminal and exterior object (for example, user face), terminal is tieed up at this time Hold display screen and be in and put out screen state.
For example, second threshold is 200, the 3rd signal strength values that terminal is got are 180, then the 3rd signal at this time Intensity level is less than the second threshold, then terminal 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:Signal projector is with the first work( Rate repeatedly launches the first detectable signal;Signal receiver is strong according to corresponding first signal of each first detectable signal acquisition Angle value;The first averaged magnitude value is obtained according to multiple first signal strength values;The signal projector is with the second work( Rate repeatedly launches the second detectable signal;The signal receiver obtains corresponding second letter according to each second detectable signal Number intensity level;Secondary signal average intensity value is obtained according to multiple secondary signal intensity levels;Put down according to first signal Equal intensity level and secondary signal average intensity value calculate the 3rd signal strength values;According to the 3rd signal strength values control The state of display screen.The display screen condition control method, control signal transmitter is repeatedly with the first power, the second power respectively Launch the first detectable signal and the second detectable signal, and obtain the first averaged magnitude value and secondary signal mean intensity respectively Value, the 3rd signal strength values that are calculated according to the first averaged magnitude value and secondary signal average intensity value are controlled The state of display screen processed, can improve the accuracy of the display screen state control of terminal.
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.The proximity sensor Including signal projector and signal receiver.Wherein, signal projector can be infrared transmitter, for launching infrared ray;Letter Number receiver can be infrared remote receiver, 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 13, display screen behavior control device 600 includes:First control module 601, the first computing module 602, Second computing module 603 and the second control module 604.
First control module 601, for controlling the signal projector repeatedly to launch the first detectable signal with the first power, And the control signal receiver obtains corresponding first signal strength values according to each first detectable signal.
Wherein, the first control module 601 can be when needing the state to display screen to be controlled, control signal transmitter First detectable signal is repeatedly launched with the first power.For example, when terminal is in voice call state, to the state of display screen into Row control.At this time, when user face is close to display screen, it can be extinguished with control display screen, display screen is caused to avoid user Maloperation.When user face is away from display screen, control display screen is lighted, to recover the normal display of display screen
Wherein, the first power can be less power.First control module 601 can pass through control signal transmitter Electric current controls the power of the signal projector.For example, the first control module 601 can using the electric current of control signal transmitter as 10mA, the power of the signal projector is the first power at this time.
First detectable signal is the signal projector with the detectable signal of first power emission.First detection Signal can be infrared ray.When signal projector launches the first detectable signal, outwards launched with the direction towards terminal display screen Detectable signal.
Wherein, after 601 control signal transmitter of the first control module launches the first detectable signal, the first control module 601 The signal strength values that also control signal receiver detection receives at this time.The signal strength values received at this time are the first signal Intensity level.
First detectable signal is signal projector with the first power emission, i.e., with smaller power transmitting, the first detection In terminal inner diffraction occurs for signal, and diffracted signal is entered directly into signal receiver.First signal strength values are The intensity for the diffracted signal that signal receiver receives at this time.
In practical application, infrared transmitter and infrared remote receiver by perforate size due to being influenced, easily to terminal Detection accuracy impacts.And the first detectable signal be signal projector with the first power emission, i.e., sent out with smaller power Penetrate, may cause the first detectable signal that diffraction all occurs in terminal inner, the first detectable signal can not be from display screen at this time Interior sensor photosensitive field emission to the external world.
Wherein it is possible in the production process of terminal, terminal is debugged so that with the spy of first power emission Survey signal and diffraction all occurs in terminal inner, namely under first power, the signal of signal projector transmitting cannot be sent out It is mapped to the external world.
First computing module 602, for obtaining the first averaged magnitude value according to multiple first signal strength values.
Wherein, the first computing module 602 calculates multiple first signal strength values of acquisition, to obtain multiple first The average value of signal strength values, so that the data obtained are more accurate.
First control module 601, is additionally operable to control the signal projector with the repeatedly spy of transmitting second of the second power Signal is surveyed, and the control signal receiver obtains corresponding secondary signal intensity according to each second detectable signal Value.
Wherein, after the first computing module 602 gets the first averaged magnitude value, the first control module 601 control institute State signal projector and the second detectable signal is repeatedly launched with the second power.Second power is relatively high power, second work( Rate is more than first power.For example, the first control module 601 can be using the electric current of control signal transmitter as 50mA, institute at this time The power for stating signal projector is the second power.
Second detectable signal is the signal projector with the detectable signal of second power emission.Second detection Signal can be infrared ray.When signal projector launches the second detectable signal, outwards launched with the direction towards terminal display screen Detectable signal.
It should be noted that the operating current of signal projector can be pulse current.First control module 601 can be first A less pulse current is inputted to the signal projector, to launch the first detectable signal;Then, launch to the signal Device inputs a larger pulse current, to launch the second detectable signal.So as to which the signal projector transmitting described first is visited The time interval surveyed between signal and second detectable signal is very short, such as can be 5ms (millisecond).
Wherein, after 601 control signal transmitter of the first control module launches the second detectable signal, the first control module 601 The signal strength values that also control signal receiver detection receives at this time.The signal strength values received at this time are secondary signal Intensity level.
Second detectable signal is signal projector with the second power emission, i.e., with relatively high power transmitting, the second detection In terminal inner diffraction occurs for a part for signal, and the diffracted signal of generation is entered directly into signal receiver.It is in addition, described The another part of second detectable signal by the sensor photosensitive field emission in display screen to the external world, through exterior object (example Such as, user face) reflection after form reflected signal, reflected signal is entered in signal receiver.Therefore, the secondary signal is strong The sum of the intensity for the diffracted signal that angle value receives at this time for signal receiver and the intensity of extraneous reflected signal.
First computing module 602, is additionally operable to be averaged according to multiple secondary signal intensity levels acquisition secondary signals Intensity level.
Wherein, the first computing module 602 calculates multiple secondary signal intensity levels of acquisition, to obtain multiple second The average value of signal strength values, so that the data obtained are more accurate.
Second computing module 603, for according to the first averaged magnitude value and the secondary signal mean intensity Value calculates the 3rd signal strength values.
Wherein, after getting the first averaged magnitude value and secondary signal average intensity value, the second computing module 603 calculate the 3rd signal strength values according to the first averaged magnitude value and secondary signal average intensity value.Described 3rd After signal strength values are transmitted to the external world for signal projector, caused reflection is reflected through exterior object (for example, user face) The intensity of signal.
Second control module 604, for the state according to the 3rd signal strength values control display screen.
Wherein, after the second computing module 603 calculates the 3rd signal strength values, the second control module 604 can be according to institute State the state of the 3rd signal strength values control display screen.For example, when terminal is in voice call state, to the state of display screen It is controlled.At this time, when user face is close to display screen, it can be extinguished with control display screen, display screen is made to avoid user Into maloperation.When user face is away from display screen, control display screen is lighted, to recover the normal display of display screen.
In certain embodiments, as shown in figure 14, display screen behavior control device 600 further includes:
First acquisition module 605, for obtaining current environment light intensity value;
First control module 601, for obtaining corresponding first performance number according to the current environment light intensity value, And the first detectable signal is repeatedly launched with first performance number.
Wherein, the first control module 601 is before with the first power repeatedly the first detectable signal of transmitting, the first acquisition module 605 can obtain current environment light intensity value, and prestore environmental light intensity angle value in the terminal and the first power match Matched in table, to obtain corresponding first performance number.It should be noted that the environmental light intensity angle value and the first power match Multiple environmental light intensity angle value, and corresponding one first performance number of each environmental light intensity angle value are preset in table, so that With the first power, repeatedly the first detectable signal of transmitting closer to true environment, avoids the influence of ambient light to signal projector.
In certain embodiments, as shown in figure 14, display screen behavior control device 600 further includes:
3rd computing module 606, for calculating continuous multiple first signal strength values and default first signal respectively The difference of intensity level;
First computing module 602, for when each difference is respectively less than predetermined threshold value, according to multiple described One signal strength values obtain the first averaged magnitude value.
After signal receiver gets continuous multiple first signal strength values, the 3rd computing module 606 is believed each first Number intensity level is compared with default first signal strength values, to judge that each first signal strength values are strong with presetting the first signal Whether the difference of angle value is less than predetermined threshold value.Continuous multiple it can be set as needed it should be noted that mentioned here Put, such as:Continuous three the first signal strength values, are not limited herein.
Wherein, preset signal strength value can be the corresponding preferable letter of each first performance number pre-set in the terminal Number intensity level.Predetermined threshold value can be the first signal strength values and the acceptable error scope of the difference of ideal signal intensity level.
When the 3rd computing module 606 judges that each difference is respectively less than predetermined threshold value, the first computing module 602 is by root The first averaged magnitude value is obtained according to multiple first signal strength values.When the 3rd computing module 606 judges at least one A difference is not less than predetermined threshold value, then continues to obtain continuous multiple first signal strength values.
In certain embodiments, as shown in figure 15, the second computing module 603 includes:Calculating sub module 6031, determine submodule Block 6032.
Calculating sub module 6031, for calculating the difference of the secondary signal average intensity value and the first averaged magnitude value Value;
Determination sub-module 6032, for the difference to be determined as the 3rd signal strength values.
Wherein, after getting the first averaged magnitude value and secondary signal average intensity value, calculating sub module 6031 is counted Calculate the difference of the secondary signal average intensity value and the first averaged magnitude value.Since the first averaged magnitude value is letter When number transmitter launches detectable signal under smaller power, signal strength values that signal receiver is got, and secondary signal is put down When equal intensity level is that signal projector launches detectable signal under relatively high power, signal strength values that signal receiver is got, Therefore the secondary signal average intensity value is greater than the first averaged magnitude value, namely the difference is necessarily more than Zero.
It is then determined that the difference being calculated is determined as the 3rd signal strength values by submodule 6032.
In certain embodiments, as shown in figure 16, display screen behavior control device 600 further includes:
Second acquisition module 607, for obtaining signal strength threshold;
Second control module 604, for according to the 3rd signal strength values and signal strength threshold control The state of the display screen.
Wherein, after the 3rd signal strength values are calculated in the second computing module 603, the second acquisition module 607 can obtain Signal strength threshold.The signal strength threshold can be the signal strength values prestored in the terminal.The signal Intensity threshold is used to judge in proximity state or away from state between terminal and exterior object, so as to terminal display screen State is controlled.
Then, the second control module 604 is according to the 3rd signal strength values and signal strength threshold control display The state of screen.
In certain embodiments, the second control module 604 is used to perform following steps:
When display screen is in bright screen state, judge whether the 3rd signal strength values are more than first threshold;
If the 3rd signal strength values are more than the first threshold, the display screen is controlled to extinguish.
Wherein, the signal strength threshold that the second acquisition module 607 is got includes first threshold.The first threshold can be with It is high threshold.The high threshold is used for when display screen is in bright screen state, and triggering control display screen is extinguished.
When the display screen of terminal is in bright screen state, after the second acquisition module 607 gets the first threshold, the second control Molding block 604 by the 3rd signal strength values being calculated compared with the first threshold, to judge the 3rd signal Whether intensity level is more than the first threshold.When judging that the 3rd signal strength values are more than the first threshold, explanation Proximity state is between terminal and exterior object (for example, user face), control display screen is extinguished at this time.It is described when judging When 3rd signal strength values are less than or equal to the first threshold, illustrate between terminal and exterior object (for example, user face) Proximity state is not in, terminal maintains display screen to be in bright screen state at this time.
For example, first threshold be 243.9, the 3rd signal strength values that the second computing module 603 is got be 400, then this The 3rd signal strength values of Shi Suoshu are more than the first threshold, then 604 control display screen of the second control module is extinguished.
In certain embodiments, the second control module 604 is used to perform following steps:
When display screen, which is in, puts out screen state, judge whether the 3rd signal strength values are less than second threshold;
If the 3rd signal strength values are less than the second threshold, the display screen is controlled to light.
Wherein, the signal strength threshold that the second acquisition module 607 is got includes second threshold.The second threshold can be with It is Low threshold.The Low threshold is used for when display screen is in and puts out screen state, and triggering control display screen is lighted.For in identical Same portion's terminal in external environment condition, the Low threshold are less than above-mentioned high threshold.
The display screen of terminal is in when putting out screen state, and after the second acquisition module 607 gets the second threshold, second controls Molding block 604 by the 3rd signal strength values being calculated compared with the second threshold, to judge the 3rd signal Whether intensity level is less than the second threshold.When judging that the 3rd signal strength values are less than the second threshold, explanation Remote state is between terminal and exterior object (for example, user face), control display screen is lighted at this time.It is described when judging When 3rd signal strength values are greater than or equal to the second threshold, illustrate between terminal and exterior object (for example, user face) It is not in away from state, the display screen of terminal maintenance at this time, which is in, puts out screen state.
For example, second threshold is 200, the 3rd signal strength values that the second computing module 603 is got are 180, then at this time 3rd signal strength values are less than the second threshold, then 604 control display screen of the second control module is lighted.
From the foregoing, it will be observed that display screen behavior control device 600 provided by the embodiments of the present application, passes through the first control module 601 Control signal transmitter with the first power repeatedly the first detectable signal of transmitting and control signal receiver according to each described the One detectable signal obtains corresponding first signal strength values;First computing module 602 is strong according to multiple first signals Angle value obtains the first averaged magnitude value;First control module 601 controls the signal projector to be sent out with the second power Penetrate the second detectable signal and the control signal receiver obtains secondary signal intensity level according to second detectable signal;Institute State the first computing module 602 and obtain secondary signal average intensity value according to multiple secondary signal intensity levels;Second calculates mould Block 603 calculates the 3rd signal strength values according to the first averaged magnitude value and secondary signal average intensity value;Second control Molding block 604 controls the state of the display screen according to the 3rd signal strength values.The display screen behavior control device, point Other control signal transmitter is with the first power, the second power repeatedly the first detectable signal of transmitting and the second detectable signal, and respectively The first averaged magnitude value and secondary signal average intensity value are obtained, is believed according to the first averaged magnitude value and second The 3rd signal strength values that number average intensity value is calculated carry out the state of control display screen, can improve the display screen shape of terminal The accuracy of state control.
The embodiment of the present application also provides a kind of terminal.The terminal can be the equipment such as smart mobile phone, tablet computer.Such as figure Shown in 17, terminal 700 includes processor 701 and memory 702.Wherein, processor 701 is electrically connected with memory 702.
Processor 701 is the control centre of terminal 700, utilizes various interfaces and each portion of the whole terminal of connection Point, by running or calling the computer program being stored in memory 702, and call the number being stored in memory 702 According to, perform terminal various functions and processing data so as to terminal carry out integral monitoring.
In the present embodiment, the processor 701 in terminal 700 can be according to the steps, will be one or more The corresponding instruction of process of computer program is loaded into memory 702, and is stored in memory by processor 701 to run Computer program in 702, so as to fulfill various functions:
The signal projector repeatedly launches the first detectable signal with the first power, and the signal receiver is according to each institute State the first detectable signal and obtain corresponding first signal strength values;
The first averaged magnitude value is obtained according to multiple first signal strength values;
The signal projector repeatedly launches the second detectable signal with the second power, and the signal receiver is according to each institute State the second detectable signal and obtain corresponding secondary signal intensity level, second power is more than first power;
Secondary signal average intensity value is obtained according to multiple secondary signal intensity levels;
3rd signal strength values are calculated according to the first averaged magnitude value and the secondary signal average intensity value;
The state of the display screen is controlled according to the 3rd signal strength values.
In certain embodiments, before signal projector is with the first power repeatedly the first detectable signal of transmitting, processor 701 Also perform following steps:
Obtain current environment light intensity value;
With the first power, repeatedly the first detectable signal of transmitting, processor 701 also perform following steps to signal projector:
Corresponding first performance number is obtained according to the current environment light intensity value, and is repeatedly sent out with first performance number Penetrate the first detectable signal.
In certain embodiments, signal receiver is strong according to corresponding first signal of each first detectable signal acquisition After angle value, processor 701 also performs following steps:
The difference of continuous multiple first signal strength values and default first signal strength values is calculated respectively;
If each difference is respectively less than predetermined threshold value, the first signal is obtained according to multiple first signal strength values Average intensity value.
In certain embodiments, the 3rd is calculated according to the first averaged magnitude value and secondary signal average intensity value During signal strength values, processor 701 performs following steps:
Calculate the difference of the secondary signal average intensity value and the first averaged magnitude value;
The difference is determined as the 3rd signal strength values.
In certain embodiments, before the state that the display screen is controlled according to the 3rd signal strength values, processor 701 Also perform following steps:
Obtain signal strength threshold;
When controlling the state of the display screen according to the 3rd signal strength values, processor 701 performs following steps:
The state of the display screen is controlled according to the 3rd signal strength values and the signal strength threshold.
In certain embodiments, the signal strength threshold includes first threshold, according to the 3rd signal strength values and When the signal strength threshold controls the state of the display screen, processor 701 performs following steps:
When the display screen is in bright screen state, judge whether the 3rd signal strength values are more than first threshold Value;
If the 3rd signal strength values are more than the first threshold, the display screen is controlled to extinguish.
In certain embodiments, the signal strength threshold includes second threshold, according to the 3rd signal strength values and When the signal strength threshold controls the state of the display screen, processor 701 performs following steps:
When the display screen, which is in, puts out screen state, judge whether the 3rd signal strength values are less than second threshold Value;
If the 3rd signal strength values are less than the second threshold, the display screen is controlled to light.
Memory 702 can be used for storage computer program and data.Include in the computer program that memory 702 stores The instruction that can be performed within a processor.Computer program can form various functions module.Processor 701 is stored in by calling The computer program of memory 702, so as to perform various functions application and data processing.
In certain embodiments, as shown in figure 18, terminal 700 further includes:Radio circuit 703, display screen 704, control electricity Road 705, input unit 706, voicefrequency circuit 707, sensor 708 and power supply 709.Wherein, processor 701 respectively with radio frequency electrical Road 703, display screen 704, control circuit 705, input unit 706, voicefrequency circuit 707, sensor 708 and power supply 709 are electrical Connection.
Radio circuit 703 is used for transceiving radio frequency signal, to be led to by wireless communication and the network equipment or other-end Letter.
Display screen 704 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 705 is electrically connected with display screen 704, and information is shown for control display screen 704.
Input unit 706 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 706 can include fingerprint recognition module.
Voicefrequency circuit 707 can provide the audio interface between user and terminal by loudspeaker, microphone.
Sensor 708 is used to gather external environmental information.Sensor 708 can include proximity sensor, ambient light sensing One or more in the sensors such as device, acceleration transducer, gyroscope.
Power supply 709 is used to power to all parts of terminal 700.In certain embodiments, power supply 709 can pass through power supply Management system and processor 701 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 17, terminal 700 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, the terminal control signal transmitter is with the first power Repeatedly the first detectable signal of transmitting;Signal receiver obtains corresponding first signal strength according to each first detectable signal Value;The first averaged magnitude value is obtained according to multiple first signal strength values;The signal projector is with the second power Repeatedly the second detectable signal of transmitting;The signal receiver obtains corresponding secondary signal according to each second detectable signal Intensity level;Secondary signal average intensity value is obtained according to multiple secondary signal intensity levels;According to first signal averaging Intensity level and secondary signal average intensity value calculate the 3rd signal strength values;It is described aobvious according to the 3rd signal strength values control The state of display screen.The display screen condition control method, control signal transmitter is repeatedly with the first power, the second power hair respectively The first detectable signal and the second detectable signal are penetrated, and obtains the first averaged magnitude value and secondary signal mean intensity respectively Value, the 3rd signal strength values that are calculated according to the first averaged magnitude value and secondary signal average intensity value are controlled The state of display screen processed, can improve the accuracy of the display screen state control of terminal.The embodiment of the present application also provides one kind and deposits Storage media, is stored with computer program in the storage medium, when the computer program is run on computers, the meter Calculation machine performs the display screen condition control method described in any of the above-described embodiment.
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 (14)

1. a kind of display screen condition control method, 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 condition control method includes:
The signal projector is with multiple the first detectable signal of transmitting of the first power, and the signal receiver is according to each described the One detectable signal obtains corresponding first signal strength values;
The first averaged magnitude value is obtained according to multiple first signal strength values;
The signal projector is with multiple the second detectable signal of transmitting of the second power, and the signal receiver is according to each described the Two detectable signals obtain corresponding secondary signal intensity level, and second power is more than first power;
Secondary signal average intensity value is obtained according to multiple secondary signal intensity levels;
3rd signal strength values are calculated according to the first averaged magnitude value and the secondary signal average intensity value;
The state of the display screen is controlled according to the 3rd signal strength values.
2. display screen condition control method according to claim 1, it is characterised in that the signal projector is with the first work( Before rate repeatedly launches the step of the first detectable signal, further include:
Obtain current environment light intensity value;
The signal projector is repeatedly launched the step of the first detectable signal with the first power, including:
Corresponding first performance number is obtained according to the current environment light intensity value, and with first performance number repeatedly transmitting the One detectable signal.
3. display screen condition control method according to claim 1, it is characterised in that the signal receiver is according to each After first detectable signal obtains the step of corresponding first signal strength values, further include:
The difference of continuous multiple first signal strength values and default first signal strength values is calculated respectively;
If each difference is respectively less than predetermined threshold value, the first signal averaging is obtained according to multiple first signal strength values Intensity level.
4. display screen condition control method according to claim 1, it is characterised in that described to be put down according to first signal The step of equal intensity level and the secondary signal average intensity value calculate three signal strength values, including:
Calculate the difference of the secondary signal average intensity value and the first averaged magnitude value;
The difference is determined as the 3rd signal strength values.
5. display screen condition control method according to any one of claims 1 to 4, it is characterised in that described in the basis Before 3rd signal strength values control the step of state of the display screen, further include:
Obtain signal strength threshold;
It is described the display screen is controlled according to the 3rd signal strength values state the step of include:
The state of the display screen is controlled according to the 3rd signal strength values and the signal strength threshold.
6. display screen condition control method according to claim 5, it is characterised in that the signal strength threshold includes the One threshold value, the described the step of state of the display screen is controlled according to the 3rd signal strength values and the signal strength threshold Including:
When the display screen is in bright screen state, judge whether the 3rd signal strength values are more than the first threshold;
If the 3rd signal strength values are more than the first threshold, the display screen is controlled to extinguish.
7. display screen condition control method according to claim 5, it is characterised in that the signal strength threshold includes the Two threshold values, the described the step of state of the display screen is controlled according to the 3rd signal strength values and the signal strength threshold Including:
When the display screen, which is in, puts out screen state, judge whether the 3rd signal strength values are less than the second threshold;
If the 3rd signal strength values are less than the second threshold, the display screen is controlled to light.
8. 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, for controlling the signal projector with the first power repeatedly the first detectable signal of transmitting, and control Make the signal receiver and corresponding first signal strength values are obtained according to each first detectable signal;
First computing module, for obtaining the first averaged magnitude value according to multiple first signal strength values;
First control module, is additionally operable to control the signal projector repeatedly to launch the second detectable signal with the second power, And the control signal receiver is according to the corresponding secondary signal intensity level of each second detectable signal acquisition, described the Two power are more than first power;
First computing module, is additionally operable to obtain secondary signal average intensity value according to multiple secondary signal intensity levels;
Second computing module, for calculating the according to the first averaged magnitude value and the secondary signal average intensity value Three signal strength values;
Second control module, for controlling the state of the display screen according to the 3rd signal strength values.
9. display screen behavior control device according to claim 8, it is characterised in that further include:
First acquisition module, for obtaining current environment light intensity value;
First control module, for obtaining corresponding first performance number according to the current environment light intensity value, and with institute State the first performance number repeatedly the first detectable signal of transmitting.
10. display screen behavior control device according to claim 8, it is characterised in that further include:
3rd computing module, for calculating continuous multiple first signal strength values and default first signal strength values respectively Difference;
First computing module, for when each difference is respectively less than predetermined threshold value, according to multiple first signals Intensity level obtains the first averaged magnitude value.
11. display screen behavior control device according to claim 8, it is characterised in that second computing module, bag Include:
Calculating sub module, for calculating the difference of the secondary signal average intensity value and the first averaged magnitude value;
Determination sub-module, for the difference to be determined as the 3rd signal strength values.
12. according to claim 8 to 11 any one of them display screen condition control method, it is characterised in that further include:
Second acquisition module, for obtaining signal strength threshold;
Second control module, for controlling the display according to the 3rd signal strength values and the signal strength threshold The state of screen.
13. 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 7 any one of them display screen state controlling party Method.
14. 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 7 any one of them display screen condition control methods.
CN201711174673.9A 2017-11-22 2017-11-22 Display screen state control method and device, storage medium and terminal Active CN107948420B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711174673.9A CN107948420B (en) 2017-11-22 2017-11-22 Display screen state control method and device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711174673.9A CN107948420B (en) 2017-11-22 2017-11-22 Display screen state control method and device, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN107948420A true CN107948420A (en) 2018-04-20
CN107948420B CN107948420B (en) 2020-04-10

Family

ID=61930731

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711174673.9A Active CN107948420B (en) 2017-11-22 2017-11-22 Display screen state control method and device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN107948420B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989566A (en) * 2018-08-01 2018-12-11 Oppo广东移动通信有限公司 control method, electronic device and computer readable storage medium
CN110865710A (en) * 2019-11-19 2020-03-06 Oppo(重庆)智能科技有限公司 Terminal control method and device, mobile terminal and storage medium
CN113409744A (en) * 2021-06-04 2021-09-17 深圳市完美显示科技有限公司 Display state control method, display state control device and display device

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

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

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989566A (en) * 2018-08-01 2018-12-11 Oppo广东移动通信有限公司 control method, electronic device and computer readable storage medium
CN110865710A (en) * 2019-11-19 2020-03-06 Oppo(重庆)智能科技有限公司 Terminal control method and device, mobile terminal and storage medium
CN110865710B (en) * 2019-11-19 2023-08-18 Oppo(重庆)智能科技有限公司 Terminal control method and device, mobile terminal and storage medium
CN113409744A (en) * 2021-06-04 2021-09-17 深圳市完美显示科技有限公司 Display state control method, display state control device and display device

Also Published As

Publication number Publication date
CN107948420B (en) 2020-04-10

Similar Documents

Publication Publication Date Title
CN107959752A (en) Display screen condition control method, device, storage medium and terminal
CN107888726A (en) Display screen component and electronic equipment
CN108429835B (en) Display screen assembly and mobile terminal
CN108429834A (en) Display screen component and mobile terminal
CN107979663A (en) Sensor component, display screen component and electronic equipment
CN107831901A (en) Display panel control method, device, storage medium and electronic installation
WO2018214885A1 (en) Radio frequency interference processing method and electronic device
CN107808606A (en) Display screen component and electronic equipment
CN108010441A (en) Display screen component and electronic equipment
CN107948420A (en) Display screen condition control method, device, storage medium and terminal
CN107945660A (en) Display screen component and electronic equipment
CN108737652A (en) Luminance control method for display screen, device, storage medium and electronic equipment
CN107911554A (en) The control method of electronic device and electronic device
CN107797746A (en) Display panel control method, device, storage medium and electronic equipment
CN107948354A (en) Display screen component and electronic equipment
CN107945767A (en) Display screen component and electronic equipment
KR20140065107A (en) Method for controlling portable device by using humidity sensor and portable device thereof
CN107831834A (en) Display screen component and electronic equipment
CN107909977A (en) Display screen component, control method, device, storage medium and electronic equipment
CN108008765A (en) Electronic equipment
CN107911507A (en) Display screen component and electronic equipment
CN107977048A (en) Display device and electronic equipment
CN208386601U (en) display screen component and mobile terminal
CN108010442A (en) Display screen component and electronic equipment
CN107948422A (en) Electronic device

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

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant