CN106933366A - Bright screen method and device - Google Patents

Bright screen method and device Download PDF

Info

Publication number
CN106933366A
CN106933366A CN201710180630.5A CN201710180630A CN106933366A CN 106933366 A CN106933366 A CN 106933366A CN 201710180630 A CN201710180630 A CN 201710180630A CN 106933366 A CN106933366 A CN 106933366A
Authority
CN
China
Prior art keywords
acoustic signals
terminal
front side
terminal front
testee
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.)
Pending
Application number
CN201710180630.5A
Other languages
Chinese (zh)
Inventor
张鹏
熊达蔚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710180630.5A priority Critical patent/CN106933366A/en
Publication of CN106933366A publication Critical patent/CN106933366A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure is directed to a kind of bright screen method and device, belong to field of terminal technology.The method includes:When the terminal has been switched on and display screen is closed, judge the terminal front side whether in unobstructed state;When the terminal front side is in unobstructed state, the first acoustic signals are launched along the terminal front side outwardly direction;When the second acoustic signals of first acoustic signals arrival testee back reflection are received, the reception parameter of emission parameter and second acoustic signals based on first acoustic signals determines the distance between the terminal front side and the testee;When the distance between the terminal front side and the testee are less than or equal to predeterminable range threshold value, the display screen is lighted.The method provided by the disclosure, user only need to be by hand near terminal front side, you can quickly lights display screen, and is lighted by button again without first picking up terminal, so as to simplify the operation of user, improves the efficiency for lighting screen.

Description

Bright screen method and device
Technical field
This disclosure relates to field of terminal technology, more particularly to a kind of bright screen method and device.
Background technology
With developing rapidly for the communication technology and terminal technology, the function of the terminal such as mobile phone, panel computer is become stronger day by day, Important component in living and entertain as people.Current terminal, in order to save electricity, when user is not for a long time to it When being operated, the display screen of terminal can be automatically switched off.After display screen is automatically switched off, if user wants to check that terminal connects The notification message for receiving, then need just be checked after first lighting display screen.
In correlation technique, there is a kind of method that display screen is lighted by button.That is to say, in the display screen of terminal Curtain be automatically switched off after, user needs first to pick up the terminal, then press the terminal power key or Home key (return to main interface by Key) can just light display screen.
The content of the invention
To overcome problem present in correlation technique, the disclosure to provide a kind of bright screen method and device.The technical scheme It is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of bright screen method, methods described includes:
When the terminal has been switched on and display screen is closed, judge whether the terminal front side is in without screening Gear state;
When the terminal front side is in unobstructed state, launches the first sound wave along the terminal front side outwardly direction and believe Number;
When receiving first acoustic signals and reaching the second acoustic signals of testee back reflection, based on described the The reception parameter of the emission parameter of one acoustic signals and second acoustic signals, determines the terminal front side with the measured object The distance between body;
When the distance between the terminal front side and described testee are less than or equal to predeterminable range threshold value, institute is lighted State display screen.
Alternatively, the amplitude when emission parameter of first acoustic signals includes that first acoustic signals are launched; Amplitude when the reception parameter of second acoustic signals includes that second acoustic signals are received;It is described based on described first The reception parameter of the emission parameter of acoustic signals and second acoustic signals, determines the terminal front side with the testee The distance between, including:
Calculate amplitude when amplitude when first acoustic signals are launched is received with second acoustic signals it Between amplitude difference;
Obtain the attenuation coefficient of amplitude in propagation process of sound wave;
Based on the amplitude difference and the attenuation coefficient, determine between the terminal front side and the testee away from From.
Alternatively, when the emission parameter of first acoustic signals includes transmitting of first acoustic signals when being launched Between point;Reception time point when the reception parameter of second acoustic signals includes that second acoustic signals are received;It is described The reception parameter of emission parameter and second acoustic signals based on first acoustic signals, determine the terminal front side with The distance between described testee, including:
Calculate when launch time point when first acoustic signals are launched is received with second acoustic signals Receive the time difference between time point;
Obtain the spread speed of sound wave;
Based on the time difference and the spread speed, determine between the terminal front side and the testee away from From.
Alternatively, it is described to launch the first acoustic signals along the terminal front side outwardly direction, including:
By the wave sounder part of the terminal, the first acoustic signals are launched along the terminal front side outwardly direction;
Second acoustic signals for receiving the first acoustic signals arrival testee back reflection, including:
By the acoustic receiver device of the terminal, first acoustic signals reach testee back reflection the is received Two acoustic signals.
Alternatively, the wave sounder part is the receiver at the top of the terminal, and the acoustic receiver device is the end Noise reduction microphone at the top of end.
Alternatively, it is described when the terminal front side is in unobstructed state, sent out along the terminal front side outwardly direction Before penetrating the first acoustic signals, also include:
Judge the terminal whether in horizontality;
When the terminal is in horizontality and the terminal front side is in unobstructed state, perform described along the end The step of rectifying direction the first acoustic signals of transmitting for facing out.
Alternatively, it is described light the display screen after, also include:
Launch the 3rd acoustic signals along the terminal front side outwardly direction;
When the falling tone ripple signal of the 3rd acoustic signals arrival testee back reflection is received, according to base In the emission parameter and the reception parameter of second acoustic signals of first acoustic signals, the terminal front side and institute are determined The mode of the distance between testee is stated, emission parameter and the falling tone ripple signal based on the 3rd acoustic signals Parameter is received, the distance between the terminal front side and described testee is determined;
When the distance between the terminal front side and described testee are more than the predeterminable range threshold value, close described Display screen.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of bright screen device, described device includes:
First judge module, for when the terminal has been switched on and display screen is closed, judging the end Whether proper face is in unobstructed state;
Transmitter module, for when the terminal front side is in unobstructed state, along the terminal front side outwardly direction Launch the first acoustic signals;
Determining module, for when the second acoustic signals for receiving the first acoustic signals arrival testee back reflection When, the reception parameter of emission parameter and second acoustic signals based on first acoustic signals is determining the terminal just The distance between face and described testee;
Control module, for being less than or equal to predeterminable range when the distance between the terminal front side and described testee During threshold value, the display screen is lighted.
Alternatively, the amplitude when emission parameter of first acoustic signals includes that first acoustic signals are launched; Amplitude when the reception parameter of second acoustic signals includes that second acoustic signals are received;The determining module bag Include:
First calculating sub module, believes for calculating amplitude when first acoustic signals are launched with second sound wave The amplitude difference between amplitude when number being received;
First acquisition submodule, the attenuation coefficient for obtaining amplitude in propagation process of sound wave;
First determination sub-module, for based on the amplitude difference and the attenuation coefficient, determine the terminal front side with The distance between described testee.
Alternatively, when the emission parameter of first acoustic signals includes transmitting of first acoustic signals when being launched Between point;Reception time point when the reception parameter of second acoustic signals includes that second acoustic signals are received;It is described Determining module includes:
Second calculating sub module, for calculating the launch time point and described second when first acoustic signals are launched The time difference received between time point when acoustic signals are received;
Second acquisition submodule, the spread speed for obtaining sound wave;
Second determination sub-module, for based on the time difference and the spread speed, determine the terminal front side with The distance between described testee.
Alternatively, the transmitter module, it is outside along the terminal front side for the wave sounder part by the terminal Direction launch the first acoustic signals;
Described device also includes:
Receiver module, for the acoustic receiver device by the terminal, receives first acoustic signals and reaches tested Second acoustic signals of object back reflection.
Alternatively, the wave sounder part is the receiver at the top of the terminal, and the acoustic receiver device is the end Noise reduction microphone at the top of end.
Alternatively, described device also includes:
Second judge module, for judging the terminal whether in horizontality;
Trigger module, for when the terminal is in horizontality and the terminal front side is in unobstructed state, touching Send out transmitter module described and launch the first acoustic signals along the terminal front side outwardly direction.
Alternatively, it is characterised in that
The transmitter module, is additionally operable to launch the 3rd acoustic signals along the terminal front side outwardly direction;
The determining module, is additionally operable to when receiving the 3rd acoustic signals reach the testee back reflection the During four acoustic signals, according to the emission parameter based on first acoustic signals and the reception parameter of second acoustic signals, Determine the mode of the terminal front side and the distance between the testee, the emission parameter based on the 3rd acoustic signals With the reception parameter of the falling tone ripple signal, the distance between the terminal front side and described testee are determined;
The control module, is additionally operable to when the terminal front side is default more than described with the distance between the testee During distance threshold, the display screen is closed.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of bright screen device, described device includes:
Processor;
Memory for storing the processor-executable instruction;
Wherein, the processor is configured as:
When the terminal has been switched on and display screen is closed, judge whether the terminal front side is in without screening Gear state;
When the terminal front side is in unobstructed state, launches the first sound wave along the terminal front side outwardly direction and believe Number;
When receiving first acoustic signals and reaching the second acoustic signals of testee back reflection, based on described the The reception parameter of the emission parameter of one acoustic signals and second acoustic signals, determines the terminal front side with the measured object The distance between body;
When the distance between the terminal front side and described testee are less than or equal to predeterminable range threshold value, institute is lighted State display screen.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the embodiment of the present disclosure, have been switched on when terminal, display screen is closed and when terminal front side is unobstructed, can Detect the distance between terminal and testee with by the acoustic signals for sending, it is possible to distance less than or equal to it is default away from Display screen is lighted during from threshold value automatically.In this way, user only need to be by hand near terminal front side, you can quickly light display screen Curtain, and lighted by button again without first picking up terminal, so as to simplify the operation of user, improve the effect for lighting display screen Rate.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the disclosure Example, and it is used to explain the principle of the disclosure together with specification.
Fig. 1 is a kind of flow chart of the bright screen method according to an exemplary embodiment;
Fig. 2A is a kind of flow chart of the bright screen method according to another exemplary embodiment;
Fig. 2 B are a kind of schematic diagrames of the terminal according to an exemplary embodiment;
Fig. 2 C are a kind of decay schematic diagrames of the acoustic signals amplitude according to an exemplary embodiment;
Fig. 3 A are a kind of bright screen device block diagrams according to an exemplary embodiment;
Fig. 3 B are a kind of schematic diagrames of the determining module 330 according to an exemplary embodiment;
Fig. 3 C are a kind of schematic diagrames of the determining module 330 according to another exemplary embodiment;
Fig. 3 D are a kind of bright screen device block diagrams according to another exemplary embodiment;
Fig. 3 E are a kind of bright screen device block diagrams according to further example embodiment;
Fig. 4 is a kind of structural representation of the bright screen device 400 according to an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in implementation method do not represent all implementation methods consistent with the disclosure.Conversely, they be only with it is such as appended The example of the consistent apparatus and method of some aspects described in detail in claims, the disclosure.
Before detailed explanation is carried out to the embodiment of the present disclosure, first the application scenarios to the embodiment of the present disclosure give Introduce.The method that the embodiment of the present disclosure is provided is applied to after the display screen of terminal is automatically switched off, and user wants to light this again Display screen, with the scene for checking notification message.
In correlation technique, after the display screen of terminal is automatically switched off, user needs first to pick up the terminal, then presses power supply Key or Home key (returning to main interface button) can just light display screen.Such as, by taking mobile phone as an example, in current many living scenes In, when mobile phone is not used, user often places on the table mobile phone.When the notification message for wanting to check mobile phone, always It is to need first to pick up mobile phone from desktop, then presses power key or Home key and can just light the display screen of mobile phone, and then ability View message content.Check after finishing, display screen is first closed again and is put back to again.It follows that it is this by button come some The mode of bright display screen, user's operation is relatively complicated, and bright screen is less efficient.
In order to solve the problems, such as that user present in correlation technique is cumbersome, bright screen efficiency is low, so that user can be more Plus screen is conveniently and efficiently lighted, the embodiment of the present disclosure provides a kind of bright screen method, and details are as follows.
Fig. 1 is a kind of flow chart of the bright screen method according to an exemplary embodiment, and the method is applied in terminal, The terminal can be mobile phone, panel computer, computer etc..As shown in figure 1, the method is comprised the following steps:
In a step 101, whether when the terminal has been switched on and display screen is closed, the terminal front side is judged In unobstructed state.
In a step 102, when the terminal front side is in unobstructed state, along terminal front side outwardly direction transmitting the One acoustic signals.
In step 103, when the second acoustic signals of first acoustic signals arrival testee back reflection are received, The reception parameter of emission parameter and second acoustic signals based on first acoustic signals, determines that the terminal front side is tested with this The distance between object.
At step 104, when the distance between the terminal front side and the testee are less than or equal to predeterminable range threshold value When, light the display screen.
Alternatively, when the emission parameter of first acoustic signals includes transmitting of first acoustic signals when being launched Between point;Reception time point when the reception parameter of second acoustic signals includes that second acoustic signals are received;It is described The reception parameter of emission parameter and second acoustic signals based on first acoustic signals, determine the terminal front side with The distance between described testee, including:
Calculate when launch time point when first acoustic signals are launched is received with second acoustic signals Receive the time difference between time point;
Obtain the spread speed of sound wave;
Based on the time difference and the spread speed, determine between the terminal front side and the testee away from From.
Alternatively, it is described to launch the first acoustic signals along the terminal front side outwardly direction, including:
By the wave sounder part of the terminal, the first acoustic signals are launched along the terminal front side outwardly direction;
Second acoustic signals for receiving the first acoustic signals arrival testee back reflection, including:
By the acoustic receiver device of the terminal, first acoustic signals reach testee back reflection the is received Two acoustic signals.
Alternatively, the wave sounder part is the receiver at the top of the terminal, and the acoustic receiver device is the end Noise reduction microphone at the top of end.
Alternatively, it is described when the terminal front side is in unobstructed state, sent out along the terminal front side outwardly direction Before penetrating the first acoustic signals, also include:
Judge the terminal whether in horizontality;
When the terminal is in horizontality and the terminal front side is in unobstructed state, perform described along the end The step of rectifying direction the first acoustic signals of transmitting for facing out.
Alternatively, it is described light the display screen after, also include:
Launch the 3rd acoustic signals along the terminal front side outwardly direction;
When the falling tone ripple signal of the 3rd acoustic signals arrival testee back reflection is received, according to base In the emission parameter and the reception parameter of second acoustic signals of first acoustic signals, the terminal front side and institute are determined The mode of the distance between testee is stated, emission parameter and the falling tone ripple signal based on the 3rd acoustic signals Parameter is received, the distance between the terminal front side and described testee is determined;
When the distance between the terminal front side and described testee are more than the predeterminable range threshold value, close described Display screen.
In the embodiment of the present disclosure, have been switched on when terminal, display screen is closed and when terminal front side is unobstructed, can Detect the distance between terminal and testee with by the acoustic signals for sending, it is possible to distance less than or equal to it is default away from Display screen is lighted during from threshold value automatically.In this way, user only need to be by hand near terminal front side, you can quickly light display screen Curtain, and lighted by button again without first picking up terminal, so as to simplify the operation of user, improve the effect for lighting display screen Rate.
Above-mentioned all optional technical schemes, can form the alternative embodiment of the disclosure, disclosure reality according to any combination Example is applied no longer to repeat this one by one.
Fig. 2A is a kind of flow chart of the bright screen method according to another exemplary embodiment, and the method is applied to terminal In, the terminal can be mobile phone, panel computer, computer etc..As shown in Figure 2 A, the method is comprised the following steps:
In step 201, whether when the terminal has been switched on and display screen is closed, the terminal front side is judged In unobstructed state, and judge the terminal whether in horizontality.
When the terminal has been switched on and display screen is closed, illustrate that the terminal is automatically switched off in display screen Holding state.Now, if user wants to use the terminal, such as want the time of checking or want to check notification message etc., Being required for the display screen for first lighting the terminal can just check.
In order to simplify the operation of user, the embodiment of the present disclosure provides a kind of hand that passes through just can be quick near terminal front side The method for lighting display screen, and the quick bright screen method can be started by fast-lighting panel module.In order to save terminal electricity Amount, can first judge whether the terminal is in the state for suitably starting fast-lighting panel module, so as to just open in a suitable case Move the fast-lighting panel module.
First, when terminal front side is blocked, such as when terminal on the table or is installed in user's pocket by back-off When, blocked because now terminal front side has had, therefore will be unable to judge the close action of user's hand exactly again.Mirror In this, can be using the unobstructed state of terminal front side as the state for suitably opening fast-lighting panel module, i.e., at terminal front side Just start fast-lighting panel module when unobstructed state.
Secondly, it is contemplated that when user's not using terminal, it will usually place on the table terminal.Just because of terminal quilt Place on the table, user is just not desired to pick up terminal from desktop and is lighted by key mode again, and desired quickly light.And And, when terminal is placed on the table, terminal is generally in horizontality.In consideration of it, when terminal can also be in into level State as the state for suitably opening fast-lighting panel module, i.e., when terminal front side is in unobstructed state and in horizontality When just start fast-lighting panel module.
It should be noted that the horizontality described in the embodiment of the present disclosure refers to terminal steady places the shape being not used by State.The horizontality can be determined by terminal angle of inclination with respect to the horizontal plane, by terminal inclining with respect to the horizontal plane State when rake angle is in the range of predetermined angle threshold value is defined as horizontality.Such as, the predetermined angle threshold value scope can be with It is [- 5 °, 5 °], or [- 10 °, 10 °] etc., the embodiment of the present disclosure is not limited the predetermined angle threshold value scope.
In practical application, whether terminal can detect terminal front side in unobstructed shape by the first sensor for configuring Whether state, detect the terminal in horizontality by the second sensor for configuring.The first sensor can be photoelectric sensing Device etc., the second sensor can be acceleration transducer, gravity sensor, gyroscope etc..
So that the first sensor is as photoelectric sensor as an example, the photoelectric sensor can be only fitted to the front of the terminal, than Such as disposed in terminal front side top, such as top receiver accessory position.Photoelectric sensor be one kind can optical signal (infrared light, Visible ray and ultraviolet laser light etc.) it is changed into the sensing device of electric signal, it is generally made up of light-emitting component and sensing element, should Light-emitting component can be LED (Light Emitting Diode, light emitting diode) etc..
The Cleaning Principle of photoelectric sensor is:When the light that light-emitting component sends be blocked thing reflect when, sensing element Can sense, it is possible to produce interruption to handle accordingly.In the embodiment of the present disclosure, when photoelectric sensor is detected by luminous The light that element sends is blocked thing when reflecting, and indication signal can be sent to controller, to indicate the terminal front side to be in There is occlusion state.When the light sent by light-emitting component be not blocked thing reflect when, can to controller send instruction letter Number with indicate the terminal front side be in unobstructed state, it is also possible to do not send indication signal to controller.
In step 202., when the terminal front side is in unobstructed state and the terminal is in horizontality, along the terminal Launch the first acoustic signals in the direction of right-side-out.
When the terminal front side is in unobstructed state and the terminal is in horizontality, illustrate that the terminal is not made now With and in suitably start fast-lighting panel module state, then now the terminal can start the fast-lighting panel module, by opening Dynamic fast-lighting panel module launches the first acoustic signals along the terminal front side outwardly direction.In this way, can avoid the terminal from needing Launch acoustic signals always, such that it is able to save terminal power.
In the embodiment of the present disclosure, the fast-lighting panel module can be sonic sensor module, by sonic sensor module The acoustic signals for sending detect the close action of user's hand, so realize user's hand near when quickly light display screen Curtain.
Wherein, the sonic sensor module includes wave sounder part and sound wave receiving device, can respectively carry out sound wave Transmitting and reception, and the distance between can be judged with shelter according to transmitting and the sound wave for receiving.That is to say, the terminal can By the wave sounder part, the first acoustic signals are launched along the terminal front side outwardly direction.
In practical application, the sonic sensor module is configured in terminal tip position, for example, can be configured at top and listen Near cylinder position.It is possible to further the sonic sensor module and above-mentioned first sensor are configured in the same area, so as to When determining that terminal front side is blocked by the first sensor, detect the terminal and block by the sonic sensor module The distance between thing.
Alternatively, the wave sounder part can be the receiver at the top of the terminal, and the acoustic receiver device can be the end Noise reduction microphone at the top of end.Fig. 2 B are refer to, Fig. 2 B are a kind of schematic diagrames of the terminal according to an exemplary embodiment. The terminal includes wave sounder part 21 and sound wave receiving device 22.
Alternatively, first acoustic signals can be ultrasonic signal.Wherein, due to the direction signal collection of ultrasonic signal In, thus be adapted to the embodiment of the present disclosure provide along this determination direction of terminal front side outwardly direction launch acoustic signals.It is super The frequency of acoustic signals is not limited here, and sound wave of the frequency more than 20KHz is capable of achieving the side shown by the embodiment of the present disclosure Case, frequency can be 96KHz, 128KHz or 256KHz etc..
It should be noted that the embodiment of the present disclosure is only when the terminal front side is in unobstructed state and the terminal is in water During level state, just along the terminal front side outwardly direction launch the first acoustic signals as a example by.And in another embodiment, when the end When end has been switched on and display screen is closed, can also only judge whether the terminal front side is in unobstructed state, when When terminal front side is in unobstructed state, i.e., launch the first acoustic signals along the terminal front side outwardly direction.Such as, terminal can With in slant setting on terminal support, and terminal front side be in unobstructed state when, along the terminal front side outwardly direction send out Penetrate the first acoustic signals.
In step 203, when the second acoustic signals of first acoustic signals arrival testee back reflection are received, The reception parameter of emission parameter and second acoustic signals based on first acoustic signals, determines that the terminal front side is tested with this The distance between object.
Terminal can receive first sound wave after the first acoustic signals are launched by the acoustic receiver device of the terminal Signal reaches the second acoustic signals after testee reflection.Second acoustic signals are after the first acoustic signals run into testee Reflect to form, and the first acoustic signals have identical frequency, because residing propagation medium is identical after reflection, therefore the second sound wave The spread speed of signal and the first acoustic signals is also identical.
Alternatively, the acoustic receiver device is the noise reduction microphone at the top of terminal.The position of the acoustic receiver device herein Position with the wave sounder part in step 202 is corresponding, due to the scheme measuring accuracy that the embodiment of the present disclosure is provided The order of magnitude is that Centimeter Level and ultrasonic wave can be considered as along straightline propagation when short distance is measured, thus design the wave sounder part and During the position of the acoustic receiver device, should by the installation site between it as close to.Alternatively, the wave sounder part and Scope of the distance between the acoustic receiver device within one centimetre.
Wherein, the reception parameter of the emission parameter based on first acoustic signals and second acoustic signals, determines the end Rectify the implementation in face and the distance between the testee, can include following two:
The first implementation:The shaking when emission parameter of first acoustic signals includes that first acoustic signals are launched Width;Amplitude when the reception parameter of second acoustic signals includes that second acoustic signals are received;First sound wave should be based on The reception parameter of the emission parameter of signal and second acoustic signals, determines the distance between the terminal front side and the testee Comprise the following steps 1) -3):
1) calculate between amplitude when amplitude and second acoustic signals when first acoustic signals are launched are received Amplitude difference.
When acoustic signals are propagated in medium (air), the decay of energy is decided by the diffusion of acoustic signals, scattering and inhales Receive.In perfect medium, the decay of sound wave comes solely from the diffusion of sound wave, i.e., increasing with the distance that acoustic signals are propagated and causing The decrease of sonic energy signal.When scatter attenuation refers to that ultrasonic wave is propagated in media as well, granular boundary or stream in solid dielectric Suspended particles in body medium make sound wave produce diffraction, and a portion acoustic energy is no longer moved along the original direction of propagation, and is formed Scattering.The property of the shape of scatter attenuation and scattering particles, size, quantity, the property of medium and scattering particles is relevant.Absorption declines It is the interior friction between making ultrasonic wave that particle is caused when propagating in media as well, so that a part of acoustic energy due to medium viscosity to subtract Heat energy is converted to, heat exchange is carried out by heat transfer, cause the loss of sonic energy signal.
Fig. 2 C are refer to, Fig. 2 C are that a kind of decay of the acoustic signals amplitude according to an exemplary embodiment is illustrated Figure, the amplitude of acoustic signals reduces with the increase of propagation distance in fig. 2 c.In Fig. 2 C, A represents the amplitude of acoustic signals, D Represent propagation distance.It should be strongly noted that the one of the amplitude for being reduced to acoustic signals of acoustic signals amplitude shown in Fig. 2 C Plant the graphical of damped manner to schematically illustrate, restriction is not formed to it.
When first acoustic signals are launched, its emission parameter will be recorded in the terminal.In the first implementation, should Amplitude when emission parameter includes that the first acoustic signals are launched, the amplitude can be mean amplitude of tide when the first acoustic signals are launched Value, or, or the first acoustic signals start x time instantaneous amplitude value.Similarly, the second acoustic signals are connect In the time receiving, it receives parameter and will be recorded in the terminal.In the first implementation, the reception parameter includes the second acoustic signals Reception when amplitude, the amplitude can be average amplitude value when the second acoustic signals are received, or can also be the rising tone Ripple signal is terminating the instantaneous amplitude value of the time of reception.
As a example by the first acoustic signals by the transmitting of wave sounder part are the ultrasonic signals of 96KHz, due to the ultrasonic wave After signal is launched, the amplitude of sound wave is gradually reduced with the increase of propagation distance in atmosphere, the ultrasonic signal it is flat Equal acoustic density is also gradually reduced.Therefore, the amplitude of the second acoustic signals that acoustic receiver device is received and the first sound wave are believed Number the distance that is propagated through of amplitude variations difference and above-mentioned two acoustic signals into positive correlation.The amplitude of the second acoustic signals with The amplitude variations difference of the first acoustic signals is bigger, and terminal is more long with the distance between testee.
2) attenuation coefficient of amplitude in propagation process of sound wave is obtained.
Wherein, terminal can obtain the ambient parameter of terminal surrounding by the environmental sensor in the terminal, according to environment The attenuation coefficient of amplitude in parameter acquiring propagation process of sound wave.The ambient parameter include temperature, air humidity or air pressure at least It is a kind of.
The speed that the amplitude of sound wave is decayed in media as well depends on attenuation coefficient when sound wave is propagated in the medium, and this declines Subtract the factors such as material, temperature and the density of coefficient and medium relevant.In the disclosed embodiments, the first acoustic signals and second Acoustic signals are propagated in atmosphere, and for air, the factor of the attenuation coefficient of its influence sonic wave amplitude mainly includes Temperature, air humidity and air pressure etc..
Therefore, in the disclosed embodiments, terminal can first by environmental sensor obtain terminal surrounding include temperature, The ambient parameter such as air humidity and air pressure.Afterwards, at least one of temperature, air humidity or the air pressure for being obtained according to measurement ring Border parameter, terminal can obtain attenuation coefficient according to the corresponding relation for pre-setting.
Attenuation coefficient can according to said temperature, three measured values of air humidity and air pressure and obtain, it is also possible to according to it In at least one measured value obtain.Attenuation coefficient is not surveyed in addition in the case of being obtained according to wherein at least one measured value The ambient parameter of amount can be used preset value.For example, only measuring temperature, then air humidity is corresponding with air pressure using at this temperature Preset value.
3) based on the amplitude difference and the attenuation coefficient, the distance between the terminal front side and the testee are determined.
In a kind of method in the cards, terminal prestores a list, and attenuation coefficient, amplitude are included in the list The corresponding relation of difference and testee between three kinds of data of the distance between terminal front side, declines in the list processing method Subtract coefficient and amplitude difference be continuous value, with ensure a pair of attenuation coefficients and amplitude difference data can correspond to find by Object is surveyed away from the distance between terminal front side.
A user is prestored in the method for alternatively possible realization, in terminal according to amplitude difference and attenuation coefficient Algorithm of the testee away from the distance between terminal front side is calculated, the algorithm can be recorded in certain chip in the terminal, Can be integrated in terminal in an application program, using the algorithm, terminal only needs to input independent variable attenuation coefficient and shakes Width difference, you can to obtain testee away from the distance between terminal front side.
In another method in the cards, terminal can be changed according to the amplitude of first acoustic signals according to correlation Calculation relation, obtains the acoustic pressure and the sound intensity of the first acoustic signals, and according to the amplitude of the second acoustic signals, according to related conversion relation The acoustic pressure and the sound intensity of the second acoustic signals are obtained, then the attenuation coefficient that will be obtained brings following formula (1) and formula (2) into respectively In.
P2=P1e-kx (1)
I2=I1e-2kx (2)
Wherein, P1It is the acoustic pressure of the first acoustic signals, P2It is the acoustic pressure of the second acoustic signals;I1It is the first acoustic signals The sound intensity, I2It is the acoustic pressure of the second acoustic signals;K is attenuation coefficient, and x is testee away from the distance between terminal front side.
Then testee can be drawn away from the distance between terminal front side x according to above-mentioned formula (1) and formula (2).
Alternatively, the terminal can be measured by continuously sending continual acoustic signals by multiple acoustic signals Aggregation of data draws testee away from the distance between terminal front side.For example, will be determined in nearest a period of time it is multiple away from Averaged from value, as testee away from the distance between terminal front side.
In a possible embodiment, addition is marked in each acoustic signals that terminal sends, when terminal is received During the second acoustic signals, you can the mark in the second acoustic signals that will be received is corresponding with each acoustic signals for sending. For example, the mark of acoustic signals institute band that terminal continuously sends is respectively:A1、A2、A3……An, then terminal receives sound wave letter Number when can be according to A1、A2、A3……AnIt is corresponding with the signal launched Deng marking.Such as terminal is A in emission mark1Sound One group of parameter is have recorded during ripple signal, and A is labeled as receiving1Acoustic signals when have recorded another group of data, now this two Group data are corresponding data, a testee can be drawn away from the distance between terminal front side using this two groups of corresponding datas.
At the same time, parameter when terminal launches other acoustic signals for marking is corresponded with parameter when receiving, Multiple testees that the data of preset group number are calculated are averaged away from the distance between terminal front side, or uses it Its data processing method draws testee away from the distance between terminal front side, to reach using continuous continual acoustic signals Testee is measured away from the distance between terminal front side, it is to avoid brought to whole measurement result when being interfered because of indivedual sound waves The effect of error.
Second implementation:The hair when emission parameter of first acoustic signals includes that first acoustic signals are launched Penetrate time point;Reception time point when the reception parameter of second acoustic signals includes that second acoustic signals are received;The base In the emission parameter and the reception parameter of second acoustic signals of first acoustic signals, the terminal front side and the measured object are determined The distance between body comprises the following steps 1) -3):
1) connecing when launch time point when first acoustic signals are launched is received with second acoustic signals is calculated Receive the time difference between time point.
When first acoustic signals are launched, its emission parameter will be recorded in the terminal.In second implementation, should Emission parameter includes the launch time point during transmitting of the first acoustic signals.Similarly, when the second acoustic signals are received, its reception Parameter will also be recorded in the terminal.In second implementation, when the reception parameter is received including the second acoustic signals Reception time point.
Reception time when launch time point and the second acoustic signals during transmitting according to the first acoustic signals are received The difference of point, you can obtain time difference T.
2) spread speed of sound wave is obtained.
Wherein, terminal can obtain the ambient parameter of terminal surrounding by the environmental sensor in terminal, be joined according to environment Number obtains the spread speed of sound wave.The ambient parameter includes at least one of temperature, air humidity or air pressure.
Temperature, air humidity or effects of air pressure atmospheric density, and the aerial propagation speed of atmospheric density influence sound wave Degree, the spread speed of the density then ultrasonic wave more high of air is faster, so the spread speed for wanting to obtain sound wave need to be first passed through Environmental sensor obtains ambient parameter.After measurement is including the ambient parameter including temperature, air humidity or air pressure, you can it is determined that First acoustic signals and the aerial spread speed V of the second acoustic signals.
3) based on the time difference and the spread speed, the distance between the terminal front side and the testee are determined.
Wherein it is possible to determine the distance between the terminal front side and the testee according to following formula (3):
D=T*V/2 (3)
Wherein, D represents testee away from the distance between terminal, and T represents the launch time point and of the first acoustic signals The difference at the reception time point of two acoustic signals, V represents the first acoustic signals and the aerial propagation speed of the second acoustic signals Degree.
In step 204, when the distance between the terminal front side and the testee are less than or equal to predeterminable range threshold value When, light the display screen.
When the distance between the terminal front side and the testee are less than or equal to predeterminable range threshold value, expression now has The hand for being probably user has been close to the terminal front side, and with the distance between the terminal front side in the range of certain distance, then Now the terminal can light display screen.
Wherein, the predeterminable range threshold value can be by terminal default setting, it is also possible to set by user, the embodiment of the present disclosure pair This is not limited.Such as, the predeterminable range threshold value can be 5 centimetres, 10 centimetres, 15 centimetres etc..
Assuming that the predeterminable range threshold value is 10 centimetres, then user only need by hand near 10 centimetres of the terminal front side with Interior, the terminal can automatically light display screen, and afterwards, user can easily check the content shown by display screen.
In step 205, the 3rd acoustic signals are launched along the terminal front side outwardly direction, when receiving the 3rd sound wave When signal reaches the falling tone ripple signal of the testee back reflection, the emission parameter and the 4th based on the 3rd acoustic signals The reception parameter of acoustic signals, determines the distance between the terminal front side and the testee.
Wherein, the 3rd acoustic signals and above-mentioned first information of acoustic wave are identical acoustic signals, the falling tone ripple signal The acoustic signals of testee back reflection formation are run into for the 3rd acoustic signals.That is to say, after display screen is lighted, the end End can also continue to launch acoustic signals, and by the distance between the acoustic signals measurement launched and testee.
It should be noted that the reception parameter of emission parameter and the falling tone ripple signal based on the 3rd acoustic signals is true The realization principle of the distance between the fixed and testee, with the above-mentioned emission parameter based on first acoustic signals and this second The reception parameter determination of acoustic signals is identical with the realization principle of the distance between the testee.That is to say, the terminal can be with According to the emission parameter based on first acoustic signals and the reception parameter of second acoustic signals, determine the terminal front side and be somebody's turn to do The mode of the distance between testee, the reception of emission parameter and the falling tone ripple signal based on the 3rd acoustic signals is joined Number, determines the distance between the terminal front side and the testee.Here is omitted to implement principle.
In step 206, when the distance between the terminal front side and the testee are more than the predeterminable range threshold value, close Close the display screen.
That is to say, the terminal can also be automatically switched off display screen when user's hand is detected away from the terminal front side. In this way, terminal is to be capable of achieving when user's hand is near terminal front side certain distance, display screen is lighted automatically, when user's hand During away from terminal front side certain distance, display screen is automatically switched off, so that more realize bright screen and screen operation of going out fast intelligent, So that user's operation is easier.
It should be noted that the embodiment of the present disclosure is only with terminal after display screen is lighted, continue to launch acoustic signals, When the distance between terminal front side and the testee is detected more than predeterminable range threshold value, to close as a example by display screen Illustrate.And in another embodiment, terminal can also no longer launch acoustic signals after display screen is lighted, and by with Display screen is closed in family by button.In this way, terminal power can be saved further.
In the embodiment of the present disclosure, have been switched on when terminal, display screen is closed and when terminal front side is unobstructed, can Detect the distance between terminal and testee with by the acoustic signals for sending, it is possible to distance less than or equal to it is default away from Display screen is lighted during from threshold value automatically.In this way, user only need to be by hand near terminal front side, you can quickly light display screen Curtain, and lighted by button again without first picking up terminal, so as to simplify the operation of user, improve the effect for lighting display screen Rate.
Fig. 3 A are a kind of bright screen device block diagrams according to an exemplary embodiment.Reference picture 3A, the device includes the One judge module 310, transmitter module 320, determining module 330 and control module 340.
First judge module 310, for when the terminal has been switched on and display screen is closed, judging the end Whether proper face is in unobstructed state;
The transmitter module 320, for when the terminal front side is in unobstructed state, along the terminal front side outwardly direction Launch the first acoustic signals;
The determining module 330, for when the second sound wave for receiving first acoustic signals arrival testee back reflection During signal, the reception parameter of emission parameter and second acoustic signals based on first acoustic signals determines the terminal front side The distance between with the testee;
The control module 340, for when the distance between the terminal front side and the testee less than or equal to it is default away from During from threshold value, the display screen is lighted.
Alternatively, referring to Fig. 3 B, when the emission parameter of first acoustic signals includes that first acoustic signals are launched Amplitude;Amplitude when the reception parameter of second acoustic signals includes that second acoustic signals are received;The determining module 330 is wrapped Include:
First calculating sub module 331, believes for calculating amplitude when first acoustic signals are launched with second sound wave The amplitude difference between amplitude when number being received;
First acquisition submodule 332, the attenuation coefficient for obtaining amplitude in propagation process of sound wave;
First determination sub-module 333, for based on the amplitude difference and the attenuation coefficient, determining the terminal front side and the quilt Survey the distance between object.
Alternatively, referring to Fig. 3 C, when the emission parameter of first acoustic signals includes that first acoustic signals are launched Launch time point;Reception time point when the reception parameter of second acoustic signals includes that second acoustic signals are received;Should Determining module 330 includes:
Second calculating sub module 334, for calculate launch time point when first acoustic signals are launched with this second The time difference received between time point when acoustic signals are received;
Second acquisition submodule 335, the spread speed for obtaining sound wave;
Second determination sub-module 336, for based on the time difference and the spread speed, determining the terminal front side and the quilt Survey the distance between object.
Alternatively, referring to Fig. 3 D, the transmitter module 320, for the wave sounder part by the terminal, along the terminal just Launch the first acoustic signals in the direction for facing out;
The device also includes:
Receiver module 350, for the acoustic receiver device by the terminal, receives first acoustic signals and reaches measured object Second acoustic signals of body back reflection.
Alternatively, the wave sounder part is the receiver at the top of the terminal, and the acoustic receiver device is at the top of the terminal Noise reduction microphone.
Alternatively, referring to Fig. 3 E, the device also includes:
Second judge module 360, for judging the terminal whether in horizontality;
Trigger module 370, for when the terminal is in horizontality and the terminal front side is in unobstructed state, triggering The transmitter module launches the first acoustic signals along the terminal front side outwardly direction.
Alternatively,
The transmitter module 320, is additionally operable to launch the 3rd acoustic signals along the terminal front side outwardly direction;
The determining module 330, is additionally operable to reach the 4th of the testee back reflection when receiving the 3rd acoustic signals During acoustic signals, according to the emission parameter based on first acoustic signals and the reception parameter of second acoustic signals, it is determined that should The mode of the distance between terminal front side and the testee, emission parameter and the falling tone ripple based on the 3rd acoustic signals The reception parameter of signal, determines the distance between the terminal front side and the testee;
The control module 340, is additionally operable to when the distance between the terminal front side and the testee are more than the predeterminable range During threshold value, the display screen is closed.
In the embodiment of the present disclosure, have been switched on when terminal, display screen is closed and when terminal front side is unobstructed, can Detect the distance between terminal and testee with by the acoustic signals for sending, it is possible to distance less than or equal to it is default away from Display screen is lighted during from threshold value automatically.In this way, user only need to be by hand near terminal front side, you can quickly light display screen Curtain, and lighted by button again without first picking up terminal, so as to simplify the operation of user, improve the effect for lighting display screen Rate.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 4 is a kind of structural representation of the bright screen device 400 according to an exemplary embodiment.For example, device 400 Can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, Body-building equipment, personal digital assistant etc..
Reference picture 4, device 400 can include following one or more assemblies:Processing assembly 402, memory 404, power supply Component 406, multimedia groupware 408, audio-frequency assembly 410, the interface 412 of input/output (I/O), sensor cluster 414, and Communication component 416.
The integrated operation of the usual control device 400 of processing assembly 402, such as with display, call, data communication, phase Machine is operated and the associated operation of record operation.Processing assembly 402 can refer to including one or more processors 420 to perform Order, to complete all or part of step of above-mentioned method.Additionally, processing assembly 402 can include one or more modules, just Interaction between processing assembly 402 and other assemblies.For example, processing assembly 402 can include multi-media module, it is many to facilitate Interaction between media component 408 and processing assembly 402.
Memory 404 is configured as storing various types of data supporting the operation in device 400.These data are shown Example includes the instruction for any application program or method operated on device 400, and contact data, telephone book data disappears Breath, picture, video etc..Memory 404 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 406 provides power supply for the various assemblies of device 400.Power supply module 406 can include power management system System, one or more power supplys, and other generate, manage and distribute the component that power supply is associated with for device 400.
Multimedia groupware 408 is included in one screen of output interface of offer between described device 400 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detection and the touch or slide related duration and pressure.In certain embodiments, many matchmakers Body component 408 includes a front camera and/or rear camera.When device 400 be in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 410 is configured as output and/or input audio signal.For example, audio-frequency assembly 410 includes a Mike Wind (MIC), when device 400 is in operator scheme, such as call model, logging mode and speech recognition mode, microphone is matched somebody with somebody It is set to reception external audio signal.The audio signal for being received can be further stored in memory 404 or via communication set Part 416 sends.In certain embodiments, audio-frequency assembly 410 also includes a loudspeaker, for exports audio signal.
, to provide interface between processing assembly 402 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 412 To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 414 includes one or more sensors, and the state for providing various aspects for device 400 is commented Estimate.For example, sensor cluster 414 can detect the opening/closed mode of device 400, the relative positioning of component is for example described Component is the display and keypad of device 400, and sensor cluster 414 can be with 400 1 components of detection means 400 or device Position change, user is presence or absence of with what device 400 was contacted, the orientation of device 400 or acceleration/deceleration and device 400 Temperature change.Sensor cluster 414 can include proximity transducer, be configured to be detected when without any physical contact The presence of neighbouring object.Sensor cluster 414 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 414 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between device 400 and other equipment.Device 400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 416 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 416 also includes near-field communication (NFC) module, to promote junction service.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 400 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realization, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 404 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 420 of device 400.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice scheme disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, and And can without departing from the scope carry out various modifications and changes.The scope of the present disclosure is only limited by appended claim.

Claims (15)

1. a kind of bright screen method, it is characterised in that be applied in terminal, methods described includes:
When the terminal has been switched on and display screen is closed, judge the terminal front side whether in unobstructed shape State;
When the terminal front side is in unobstructed state, the first acoustic signals are launched along the terminal front side outwardly direction;
When the second acoustic signals of the first acoustic signals arrival testee back reflection are received, based on first sound The reception parameter of the emission parameter of ripple signal and second acoustic signals, determine the terminal front side and the testee it Between distance;
When the distance between the terminal front side and described testee are less than or equal to predeterminable range threshold value, light described aobvious Display screen curtain.
2. method according to claim 1, it is characterised in that the emission parameter of first acoustic signals includes described the Amplitude when one acoustic signals are launched;The reception parameter of second acoustic signals is received including second acoustic signals When amplitude;The reception parameter of the emission parameter based on first acoustic signals and second acoustic signals, it is determined that The distance between the terminal front side and described testee, including:
Calculate between amplitude when amplitude and second acoustic signals when first acoustic signals are launched are received Amplitude difference;
Obtain the attenuation coefficient of amplitude in propagation process of sound wave;
Based on the amplitude difference and the attenuation coefficient, the distance between the terminal front side and described testee are determined.
3. method according to claim 1, it is characterised in that the emission parameter of first acoustic signals includes described the Launch time point when one acoustic signals are launched;The reception parameter of second acoustic signals includes second acoustic signals Reception time point when being received;The emission parameter based on first acoustic signals and second acoustic signals connect Parameter is received, the distance between the terminal front side and described testee is determined, including:
Calculate reception when launch time point when first acoustic signals are launched is received with second acoustic signals Time difference between time point;
Obtain the spread speed of sound wave;
Based on the time difference and the spread speed, the distance between the terminal front side and described testee are determined.
4. the method for claim 1, it is characterised in that described to launch the first sound along the terminal front side outwardly direction Ripple signal, including:
By the wave sounder part of the terminal, the first acoustic signals are launched along the terminal front side outwardly direction;
Second acoustic signals for receiving the first acoustic signals arrival testee back reflection, including:
By the acoustic receiver device of the terminal, the rising tone that first acoustic signals reach testee back reflection is received Ripple signal.
5. method as claimed in claim 4, it is characterised in that the wave sounder part is the receiver at the top of the terminal, The acoustic receiver device is the noise reduction microphone at the top of the terminal.
6. the method as described in claim 1-5 is any, it is characterised in that described when the terminal front side is in unobstructed state When, before launching the first acoustic signals along the terminal front side outwardly direction, also include:
Judge the terminal whether in horizontality;
When the terminal is in horizontality and the terminal front side is in unobstructed state, perform it is described along the terminal just The step of the first acoustic signals are launched in the direction for facing out.
7. the method as described in claim 1-5 is any, it is characterised in that it is described light the display screen after, also include:
Launch the 3rd acoustic signals along the terminal front side outwardly direction;
When the falling tone ripple signal of the 3rd acoustic signals arrival testee back reflection is received, according to based on institute The emission parameter of the first acoustic signals and the reception parameter of second acoustic signals are stated, determines the terminal front side with the quilt Survey the mode of the distance between object, the reception of emission parameter and the falling tone ripple signal based on the 3rd acoustic signals Parameter, determines the distance between the terminal front side and described testee;
When the distance between the terminal front side and described testee are more than the predeterminable range threshold value, the display is closed Screen.
8. a kind of bright screen device, it is characterised in that described device includes:
First judge module, for when the terminal has been switched on and display screen is closed, judging the terminal just Whether face is in unobstructed state;
Transmitter module, for when the terminal front side is in unobstructed state, launching along the terminal front side outwardly direction First acoustic signals;
Determining module, for when receiving first acoustic signals and reaching the second acoustic signals of testee back reflection, The reception parameter of emission parameter and second acoustic signals based on first acoustic signals, determine the terminal front side with The distance between described testee;
Control module, for being less than or equal to predeterminable range threshold value when the distance between the terminal front side and described testee When, light the display screen.
9. device according to claim 8, it is characterised in that the emission parameter of first acoustic signals includes described the Amplitude when one acoustic signals are launched;The reception parameter of second acoustic signals is received including second acoustic signals When amplitude;The determining module includes:
First calculating sub module, for calculating amplitude when first acoustic signals are launched and the second acoustic signals quilt The amplitude difference between amplitude during reception;
First acquisition submodule, the attenuation coefficient for obtaining amplitude in propagation process of sound wave;
First determination sub-module, for based on the amplitude difference and the attenuation coefficient, determine the terminal front side with it is described The distance between testee.
10. device according to claim 8, it is characterised in that the emission parameter of first acoustic signals includes described Launch time point when first acoustic signals are launched;The reception parameter of second acoustic signals is believed including second sound wave Reception time point when number being received;The determining module includes:
Second calculating sub module, for calculating launch time point when first acoustic signals are launched and second sound wave The time difference received between time point when signal is received;
Second acquisition submodule, the spread speed for obtaining sound wave;
Second determination sub-module, for based on the time difference and the spread speed, determine the terminal front side with it is described The distance between testee.
11. devices as claimed in claim 9, it is characterised in that
The transmitter module, for the wave sounder part by the terminal, launches along the terminal front side outwardly direction First acoustic signals;
Described device also includes:
Receiver module, for the acoustic receiver device by the terminal, receives first acoustic signals and reaches testee Second acoustic signals of back reflection.
12. devices as claimed in claim 11, it is characterised in that the wave sounder part is listening at the top of the terminal Cylinder, the acoustic receiver device is the noise reduction microphone at the top of the terminal.
13. device as described in claim 8-12 is any, it is characterised in that described device also includes:
Second judge module, for judging the terminal whether in horizontality;
Trigger module, for when the terminal is in horizontality and the terminal front side is in unobstructed state, triggering institute State transmitter module and launch the first acoustic signals along the terminal front side outwardly direction.
14. device as described in claim 8-12 is any, it is characterised in that
The transmitter module, is additionally operable to launch the 3rd acoustic signals along the terminal front side outwardly direction;
The determining module, is additionally operable to when the falling tone for receiving the 3rd acoustic signals arrival testee back reflection During ripple signal, according to the emission parameter based on first acoustic signals and the reception parameter of second acoustic signals, it is determined that The mode of the terminal front side and the distance between the testee, emission parameter and institute based on the 3rd acoustic signals The reception parameter of falling tone ripple signal is stated, the distance between the terminal front side and described testee is determined;
The control module, is additionally operable to when the distance between the terminal front side and described testee are more than the predeterminable range During threshold value, the display screen is closed.
15. a kind of bright screen devices, it is characterised in that described device includes:
Processor;
Memory for storing the processor-executable instruction;
Wherein, the processor is configured as:
When the terminal has been switched on and display screen is closed, judge the terminal front side whether in unobstructed shape State;
When the terminal front side is in unobstructed state, the first acoustic signals are launched along the terminal front side outwardly direction;
When the second acoustic signals of the first acoustic signals arrival testee back reflection are received, based on first sound The reception parameter of the emission parameter of ripple signal and second acoustic signals, determine the terminal front side and the testee it Between distance;
When the distance between the terminal front side and described testee are less than or equal to predeterminable range threshold value, light described aobvious Display screen curtain.
CN201710180630.5A 2017-03-23 2017-03-23 Bright screen method and device Pending CN106933366A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710180630.5A CN106933366A (en) 2017-03-23 2017-03-23 Bright screen method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710180630.5A CN106933366A (en) 2017-03-23 2017-03-23 Bright screen method and device

Publications (1)

Publication Number Publication Date
CN106933366A true CN106933366A (en) 2017-07-07

Family

ID=59425144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710180630.5A Pending CN106933366A (en) 2017-03-23 2017-03-23 Bright screen method and device

Country Status (1)

Country Link
CN (1) CN106933366A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107544803A (en) * 2017-08-31 2018-01-05 努比亚技术有限公司 Light on and off screen control method, device and readable storage medium storing program for executing based on ultrasonic wave
CN107886889A (en) * 2017-12-07 2018-04-06 北海威德电子科技有限公司 A kind of method and display device for closing display device
CN108052352A (en) * 2017-11-30 2018-05-18 努比亚技术有限公司 Control method, terminal and the computer readable storage medium of screen on-off state
CN108091330A (en) * 2017-12-13 2018-05-29 北京小米移动软件有限公司 Output sound intensity adjusting method, device, electronic equipment and storage medium
WO2021017860A1 (en) * 2019-07-31 2021-02-04 Oppo广东移动通信有限公司 Information processing method and apparatus, electronic device and storage medium
CN113746984A (en) * 2020-05-13 2021-12-03 中兴通讯股份有限公司 Terminal, proximity detection method, and computer-readable storage medium
CN114125852A (en) * 2020-07-27 2022-03-01 株式会社东海理化电机制作所 Control device, communication device, and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104378491A (en) * 2013-08-14 2015-02-25 中兴通讯股份有限公司 Method and device for lightening screen of mobile terminal
CN104639732A (en) * 2013-11-13 2015-05-20 上海斐讯数据通信技术有限公司 Electronic equipment and method for automatically lightening screen
CN106200989A (en) * 2016-09-08 2016-12-07 广东小天才科技有限公司 A kind of method and device of mobile terminal bright screen
CN106210294A (en) * 2016-06-30 2016-12-07 北京小米移动软件有限公司 Screen state method for handover control and device
CN106484159A (en) * 2015-08-25 2017-03-08 中兴通讯股份有限公司 A kind of method of dynamic control electronic equipment and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104378491A (en) * 2013-08-14 2015-02-25 中兴通讯股份有限公司 Method and device for lightening screen of mobile terminal
CN104639732A (en) * 2013-11-13 2015-05-20 上海斐讯数据通信技术有限公司 Electronic equipment and method for automatically lightening screen
CN106484159A (en) * 2015-08-25 2017-03-08 中兴通讯股份有限公司 A kind of method of dynamic control electronic equipment and electronic equipment
CN106210294A (en) * 2016-06-30 2016-12-07 北京小米移动软件有限公司 Screen state method for handover control and device
CN106200989A (en) * 2016-09-08 2016-12-07 广东小天才科技有限公司 A kind of method and device of mobile terminal bright screen

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107544803A (en) * 2017-08-31 2018-01-05 努比亚技术有限公司 Light on and off screen control method, device and readable storage medium storing program for executing based on ultrasonic wave
CN107544803B (en) * 2017-08-31 2020-08-21 努比亚技术有限公司 Ultrasonic wave-based on-off screen control method and device and readable storage medium
CN108052352A (en) * 2017-11-30 2018-05-18 努比亚技术有限公司 Control method, terminal and the computer readable storage medium of screen on-off state
CN107886889A (en) * 2017-12-07 2018-04-06 北海威德电子科技有限公司 A kind of method and display device for closing display device
CN108091330A (en) * 2017-12-13 2018-05-29 北京小米移动软件有限公司 Output sound intensity adjusting method, device, electronic equipment and storage medium
CN108091330B (en) * 2017-12-13 2020-11-27 北京小米移动软件有限公司 Output sound intensity adjusting method and device, electronic equipment and storage medium
WO2021017860A1 (en) * 2019-07-31 2021-02-04 Oppo广东移动通信有限公司 Information processing method and apparatus, electronic device and storage medium
CN113746984A (en) * 2020-05-13 2021-12-03 中兴通讯股份有限公司 Terminal, proximity detection method, and computer-readable storage medium
CN114125852A (en) * 2020-07-27 2022-03-01 株式会社东海理化电机制作所 Control device, communication device, and system

Similar Documents

Publication Publication Date Title
CN106980486B (en) Method for controlling volume and device
CN106933366A (en) Bright screen method and device
US10518208B2 (en) Methods and apparatuses for detecting parameter for air purifier
KR102127640B1 (en) Portable teriminal and sound output apparatus and method for providing locations of sound sources in the portable teriminal
CN104301509B (en) Mobile terminal and its control method
CN106210294B (en) Screen state method for handover control and device
CN107920263A (en) Volume adjusting method and device
CN104618575B (en) The close method and apparatus of detection object
CN103329065B (en) Dynamic DC offset amount for nearness sensing determines
CN107862093B (en) File attribute identification method and device
CN106546970B (en) The ultrasonic wave calibration method and device of mobile device
CN105607738B (en) Determine the method and device of one hand pattern
CN108733535A (en) Clean method and device, the electronic equipment of electronic equipment Air Filter
CN108156729A (en) The control method and device of lighting apparatus, lighting apparatus
CN106772390B (en) The device and method of distance detection
CN109543666A (en) Structure light assembly control method and device
CN109684277A (en) A kind of image display method and terminal
CN107526084A (en) Distance measurement method and device
CN109862169A (en) Control method of electronic device and device
CN107526510A (en) sound playing method and device
CN106357348A (en) Method and device for adjusting transmitting power of ultrasonic wave
CN109116341A (en) Method for building up, distance detection method and device, the electronic equipment of range function
CN110493448A (en) Communication message processing method, device and storage medium
CN106454494B (en) Processing method, system, multimedia equipment and the terminal device of multimedia messages
CN107659764A (en) Focus method, device and terminal

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170707