CN108566479A - screen state control method, mobile terminal and computer readable storage medium - Google Patents
screen state control method, mobile terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN108566479A CN108566479A CN201711498617.0A CN201711498617A CN108566479A CN 108566479 A CN108566479 A CN 108566479A CN 201711498617 A CN201711498617 A CN 201711498617A CN 108566479 A CN108566479 A CN 108566479A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- ultrasonic
- amplitude
- ultrasonic signal
- barrier
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B11/00—Transmission systems employing sonic, ultrasonic or infrasonic waves
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of screen state control method, mobile terminal and computer readable storage medium, this method to include:When mobile terminal is in talking state, and after sending ultrasonic signal by the ultrasonic wave sending device of mobile terminal, the ultrasonic signal that is returned after encountering barrier by the ultrasonic probe, ultrasonic receiver received ultrasonic signal of mobile terminal;Attribute value of the ultrasonic signal in transmission process is obtained, according to the amplitude change rate and Doppler effect difference in areas during attribute value calculating ultrasound signal transmission;The state of mobile terminal screen is controlled according to amplitude change rate and Doppler effect difference in areas.The present invention by amplitude change rate and Doppler effect difference in areas come detect mobile terminal it is separate and approach barrier, when to avoid there is shake due to mobile terminal, the inaccurate problem of mobile terminal screen state control, to improve the separate accuracy with approach barrier of detection mobile terminal, and improve the accuracy of mobile terminal screen state control.
Description
Technical field
The present invention relates to a kind of field of terminal technology more particularly to screen state control method, mobile terminal and computers
Readable storage medium storing program for executing.
Background technology
In a certain user is by mobile terminal and other users communication process, when mobile terminal is close to user's ear,
The screen of mobile terminal is gone out by bright change, and when mobile terminal is far from user's ear, the screen of mobile terminal is brightened by going out.Thus may be used
Know, user is mobile terminal, during ear, with the user's communication of another terminal, the screen of mobile terminal should be at going out
Screen state.But since in communication process, user can shake mobile terminal, the case where causing mobile terminal to be shaken, make
At mobile terminal for the moment far from user, for the moment close to user, therefore mobile terminal screen can be caused for a moment bright, gone out for a moment.Thus
It is found that since mobile terminal has shake situation, cause detection mobile terminal separate low with the approach method accuracy of barrier,
It is controlled so as to cause mobile terminal screen state inaccurate.
Invention content
It is a primary object of the present invention to propose a kind of screen state control method, mobile terminal and computer-readable storage
Medium, it is intended to solve it is existing due to mobile terminal exist shake situation, cause detect mobile terminal it is separate and approach barrier
Accuracy it is low, so as to cause the inaccurate technical problem of mobile terminal screen state control.
To achieve the above object, the present invention provides a kind of screen state control method, the screen state control methods
Including:
When mobile terminal is in talking state, and passes through the ultrasonic wave sending device of the mobile terminal and send ultrasonic wave letter
After number, by the ultrasonic probe, ultrasonic receiver of the mobile terminal receive that the ultrasonic signal returns after encountering barrier it is super
Acoustic signals;
Attribute value of the ultrasonic signal in transmission process is obtained, calculating the ultrasonic wave according to the attribute value believes
Amplitude change rate in number transmission process and Doppler effect difference in areas;
The state of the mobile terminal screen is controlled according to the amplitude change rate and the Doppler effect difference in areas.
Optionally, described that the mobile terminal screen is controlled according to the amplitude change rate and the Doppler effect difference in areas
Curtain state the step of include:
Determine the mobile terminal relative to barrier according to the amplitude change rate and the Doppler effect difference
Movement tendency;
If the mobile terminal approaches the barrier, controls the mobile terminal screen and be in screen state of going out;
If the mobile terminal controls the mobile terminal screen and is in bright screen state far from the barrier.
Optionally, described to determine that the mobile terminal is opposite according to the amplitude change rate and the Doppler effect difference
Include in the step of movement tendency of barrier:
If the amplitude change rate is more than first amplitude threshold value and/or the Doppler effect difference in areas is more than the first face
Product moment threshold value, it is determined that the mobile terminal approaches the barrier;
If the Doppler effect difference in areas is less than second area difference threshold value, detection amplitude in preset duration becomes
Whether rate is less than the second amplitude thresholds;
If the amplitude change rate is less than second amplitude thresholds, it is determined that the mobile terminal is far from the obstacle
Object, wherein the first amplitude threshold value is more than second amplitude thresholds, and the first difference in areas threshold value is more than second face
Product moment threshold value.
Optionally, the attribute value for obtaining the ultrasonic signal in transmission process, calculates according to the attribute value
The step of amplitude change rate during the ultrasound signal transmission includes:
The transmission amplitude and the ultrasonic wave for obtaining the ultrasonic signal transmitted by the ultrasonic wave sending device receive
The reception amplitude for the ultrasonic signal that device is received;
Calculate the transmission amplitude and the difference in magnitude received between amplitude;
The difference in magnitude that gained is calculated according to different time points calculates the amplitude change rate of the ultrasonic signal.
Optionally, the attribute value for obtaining the ultrasonic signal in transmission process, calculates according to the attribute value
The step of Doppler effect difference in areas during the ultrasound signal transmission includes:
The transmission frequency and the ultrasonic wave for obtaining the ultrasonic signal transmitted by the ultrasonic wave sending device receive
The frequency range for the ultrasonic signal that device is received;
Frequency constant interval is determined according to the transmission frequency and the receives frequency variation range;
According to the frequency constant interval and intensity variation curve corresponding with frequency constant interval calculating
The Doppler effect difference in areas of ultrasonic signal.
Optionally, the transmission frequency for obtaining the ultrasonic signal transmitted by the ultrasonic wave sending device, Yi Jisuo
Before the step of stating the frequency range for the ultrasonic signal that ultrasonic probe, ultrasonic receiver is received, further include:
Predetermined movement speed according to the mobile terminal relative to the barrier, determines the ultrasonic probe, ultrasonic receiver
The frequency range of the ultrasonic signal received.
Optionally, the predetermined movement speed includes minimum movement speed and maximum movement speed, described according to the shifting
Dynamic predetermined movement speed of the terminal relative to the barrier, determines the ultrasonic wave that the ultrasonic probe, ultrasonic receiver is received
The step of frequency range of signal includes:
According to the minimum movement speed and the transmission frequency, the institute received by the ultrasonic probe, ultrasonic receiver is determined
State the lower limiting value of ultrasonic signal frequency range;
According to the maximum movement speed and the transmission frequency, the institute received by the ultrasonic probe, ultrasonic receiver is determined
State the upper limit value of ultrasonic signal frequency range.
Optionally, the ultrasonic wave sending device is the receiver of the mobile terminal, and the ultrasonic probe, ultrasonic receiver is to move
The microphone of dynamic terminal.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminal, the mobile terminal include memory,
The screen state control program that processor and being stored in can be run on the memory and on the processor, the screen shape
The step of state control program realizes screen state control method as described above when being executed by the processor.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
Screen state control program is stored on storage medium, the screen state control program is realized when being executed by processor as above
The step of described screen state control method.
In the present invention talking state, and the ultrasonic wave sending device for passing through the mobile terminal are in by working as mobile terminal
After sending ultrasonic signal, the ultrasonic signal is received by the ultrasonic probe, ultrasonic receiver of the mobile terminal and is encountering obstacle
The ultrasonic signal returned after object;Attribute value of the ultrasonic signal in transmission process is obtained, according to the attribute value meter
Calculate the amplitude change rate and Doppler effect difference in areas during the ultrasound signal transmission;According to the amplitude change rate and
The Doppler effect difference in areas controls the state of the mobile terminal screen.In ultrasonic signal transmission process, due to amplitude
Changing for change rate can be lagged than the change of Doppler effect difference in areas, therefore, pass through amplitude change rate and Doppler effect face
Product moment come detect mobile terminal it is separate and approach barrier, and then control mobile terminal screen state, to avoid due to movement
When terminal has shake, the inaccurate problem of mobile terminal screen state control is separate and become to improve detection mobile terminal
The accuracy of nearly barrier, and improve the accuracy of mobile terminal screen state control.
Description of the drawings
A kind of Fig. 1 hardware architecture diagrams of terminal of each embodiment to realize the present invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of screen state control method preferred embodiment of the present invention;
Fig. 4 is that mobile terminal emits ultrasonic signal by receiver and received by microphone super in the embodiment of the present invention
A kind of schematic diagram of acoustic signals;
Fig. 5 is to control the shifting according to the amplitude change rate and the Doppler effect difference in areas in the embodiment of the present invention
A kind of flow diagram of the state of dynamic terminal screen;
Fig. 6 is mobile terminal approach and a kind of schematic diagram far from barrier in the embodiment of the present invention;
Fig. 7 is to obtain attribute value of the ultrasonic signal in transmission process in the embodiment of the present invention, according to the category
Property value calculates a kind of flow diagram of the Doppler effect difference in areas during the ultrasound signal transmission;
Fig. 8 is a kind of schematic diagram that the first area and second area are calculated in the embodiment of the present invention.
The realization, the function and the advantages of the object of the present invention will be explained with reference to attached drawing in conjunction with the embodiments.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for indicating that the suffix of such as " module ", " component " or " unit " of element is only
The explanation for being conducive to the present invention, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, tablet
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
The shiftings such as media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer
The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
Except element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware architecture diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Moving terminal 100 may include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit
108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram,
Either combine certain components or different components arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by radio communication.Above-mentioned wireless communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to be omitted in the range for the essence for not changing invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or
The voice data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103
The relevant audio output of specific function executed with mobile terminal 100 can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 may include loud speaker, buzzer etc..
A/V input units 104 are for receiving audio or video signal.A/V input units 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family is arranged and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc.
It is one or more, do not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be to realize the function that outputs and inputs of mobile terminal as two independent components, but in certain embodiments, can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For the transmission data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area
And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Voice data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
In addition, in mobile terminal 100 shown in Fig. 1, processor 110 is for calling the screen stored in memory 109
State controls program, and executes following operation:
When mobile terminal 100 is in talking state, and sent by the ultrasonic wave sending device of the mobile terminal 100 super
After acoustic signals, the ultrasonic signal is received by the ultrasonic probe, ultrasonic receiver of the mobile terminal 100 and is encountering barrier
The ultrasonic signal returned afterwards;
Attribute value of the ultrasonic signal in transmission process is obtained, calculating the ultrasonic wave according to the attribute value believes
Amplitude change rate in number transmission process and Doppler effect difference in areas;
The shape of 100 screen of the mobile terminal is controlled according to the amplitude change rate and the Doppler effect difference in areas
State.
Further, described that the mobile terminal is controlled according to the amplitude change rate and the Doppler effect difference in areas
The step of state of 100 screens includes:
Determine the mobile terminal 100 relative to barrier according to the amplitude change rate and the Doppler effect difference
Movement tendency;
If the mobile terminal 100 approaches the barrier, controls 100 screen of the mobile terminal and be in the screen shape that goes out
State;
If the mobile terminal 100 controls 100 screen of the mobile terminal and is in bright screen shape far from the barrier
State.
Further, described that the mobile terminal is determined according to the amplitude change rate and the Doppler effect difference
The step of 100 movement tendency relative to barrier includes:
If the amplitude change rate is more than first amplitude threshold value and/or the Doppler effect difference in areas is more than the first face
Product moment threshold value, it is determined that the mobile terminal 100 approaches the barrier;
If the Doppler effect difference in areas is less than second area difference threshold value, detection amplitude in preset duration becomes
Whether rate is less than the second amplitude thresholds;
If the amplitude change rate is less than second amplitude thresholds, it is determined that the mobile terminal 100 is far from the barrier
Hinder object, wherein the first amplitude threshold value is more than second amplitude thresholds, and the first difference in areas threshold value is more than described second
Difference in areas threshold value.
Further, the attribute value for obtaining the ultrasonic signal in transmission process, according to the attribute value meter
The step of calculating the amplitude change rate during the ultrasound signal transmission include:
The transmission amplitude and the ultrasonic wave for obtaining the ultrasonic signal transmitted by the ultrasonic wave sending device receive
The reception amplitude for the ultrasonic signal that device is received;
Calculate the transmission amplitude and the difference in magnitude received between amplitude;
The difference in magnitude that gained is calculated according to different time points calculates the amplitude change rate of the ultrasonic signal.
Further, the attribute value for obtaining the ultrasonic signal in transmission process, according to the attribute value meter
The step of calculating the Doppler effect difference in areas during the ultrasound signal transmission include:
The transmission frequency and the ultrasonic wave for obtaining the ultrasonic signal transmitted by the ultrasonic wave sending device receive
The frequency range for the ultrasonic signal that device is received;
Frequency constant interval is determined according to the transmission frequency and the receives frequency variation range;
According to the frequency constant interval and intensity variation curve corresponding with frequency constant interval calculating
The Doppler effect difference in areas of ultrasonic signal.
Further, the transmission frequency for obtaining the ultrasonic signal transmitted by the ultrasonic wave sending device, and
Before the step of frequency range for the ultrasonic signal that the ultrasonic probe, ultrasonic receiver is received, processor 110 is additionally operable to
The screen state control program stored in memory 109 is called, following operation is executed:
Predetermined movement speed according to the mobile terminal 100 relative to the barrier determines that the ultrasonic wave receives
The frequency range for the ultrasonic signal that device is received.
Further, the predetermined movement speed includes minimum movement speed and maximum movement speed, described in the basis
Predetermined movement speed of the mobile terminal 100 relative to the barrier, determines that the ultrasonic probe, ultrasonic receiver is received described
The step of frequency range of ultrasonic signal includes:
According to the minimum movement speed and the transmission frequency, the institute received by the ultrasonic probe, ultrasonic receiver is determined
State the lower limiting value of ultrasonic signal frequency range;
According to the maximum movement speed and the transmission frequency, the institute received by the ultrasonic probe, ultrasonic receiver is determined
State the upper limit value of ultrasonic signal frequency range.
Further, the ultrasonic wave sending device is the receiver of the mobile terminal 100, the ultrasonic probe, ultrasonic receiver
For the microphone of mobile terminal 100.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, below to the communications network system that is based on of mobile terminal of the present invention into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes communicating UE (User Equipment, the use of connection successively
Family equipment) (the lands Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned mobile terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and some are preserved in relation to use such as service features, data rates
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., it does not limit herein.
Based on above-mentioned terminal hardware structure and communications network system, each of screen state control method of the present invention is proposed
Embodiment.
The present invention provides a kind of screen state control method.
It is the flow diagram of screen state control method first embodiment of the present invention with reference to Fig. 3, Fig. 3.
In the present embodiment, the embodiment of screen state control method is provided, it should be noted that although in flow chart
In show logical order, but in some cases, can be to execute shown or described step different from sequence herein
Suddenly.
In the present embodiment, screen state control method is optional is applied in mobile terminal, screen state control method packet
It includes:
Step S10 when mobile terminal is in talking state, and passes through the ultrasonic wave sending device of mobile terminal and sends ultrasound
After wave signal, the ultrasonic wave that is returned after encountering barrier by the ultrasonic probe, ultrasonic receiver received ultrasonic signal of mobile terminal
Signal.
After mobile terminal is in talking state, mobile terminal sends ultrasonic signal by its ultrasonic wave sending device.
When mobile terminal and barrier relative motion, the ultrasonic signal transmitted by mobile terminal can return after encountering barrier,
It is received by the ultrasonic probe, ultrasonic receiver of mobile terminal.Wherein, ultrasonic signal is the sound that frequency is more than 20KHz (kHz)
Wave, to which the frequency that ultrasonic wave sending device is sent out ultrasonic signal is also a certain frequency more than 20KHz accordingly, such as
40KHz。
Further, ultrasonic wave sending device is the receiver of mobile terminal, and ultrasonic probe, ultrasonic receiver is the wheat of mobile terminal
Gram wind.
Further, ultrasonic wave sending device is the receiver of mobile terminal, and ultrasonic probe, ultrasonic receiver is the wheat of mobile terminal
Gram wind, i.e. ultrasonic wave sending device are integrated in the receiver of mobile terminal, and ultrasonic probe, ultrasonic receiver is integrated in the wheat of mobile terminal
In gram wind.Specifically, with reference to Fig. 4, mobile terminal sends ultrasonic signal by receiver, passes through microphone received ultrasonic signal
Encounter the ultrasonic signal returned after barrier.Specifically, receiver becomes the signal of sound in the current signal that power is changed,
Ultrasonic signal is also sent out while the sound-reducing of transmission is come out, microphone is converted to by the voice signal of reception
The ultrasonic signal that receiver is sent out also is received while the signal of the electric current of power variation is transmitted.If being arranged in mobile terminal
There are two microphones of major-minor, then main microphon can be provided for receiving voice signal when call, set secondary microphone to
For received ultrasonic signal, to avoid interfering with each other for signal.In other embodiments, it also can individually set in the terminal
Set ultrasonic wave sending device and ultrasonic probe, ultrasonic receiver.
In the present embodiment, mobile terminal is used as ultrasonic wave sending device and ultrasonic probe, ultrasonic receiver simultaneously.In ultrasonic wave
For sending device with respect in barrier motion process, its essence is mobile terminals to be moved with respect to barrier, to which ultrasonic wave receives dress
It sets and is also moved with respect to barrier.According to Doppler effect, when mobile terminal is moved relative to barrier, if mobile terminal and barrier
Hinder both objects close to each other, ultrasonic signal can be compressed, and the wavelength of ultrasonic signal becomes shorter, and frequency becomes higher, i.e.,
Generate blue-shifted phenomenon;And if both mobile terminal and barrier are located remotely from each other, opposite effect is will produce, ultrasonic signal
Wavelength becomes longer, and frequency becomes relatively low, that is, generates Red Shift Phenomena.It should be noted that both mobile terminal and barrier phase
Higher to the speed of movement, generated blue shift or redshift effect are bigger.
Step S20 obtains attribute value of the ultrasonic signal in transmission process, and calculating ultrasonic signal according to attribute value passes
Amplitude change rate during defeated and Doppler effect difference in areas.
After mobile terminal receives ultrasonic signal by its ultrasonic probe, ultrasonic receiver, acquisition for mobile terminal ultrasonic wave letter
Attribute value number in transmission process, and amplitude of the ultrasonic signal in transmission process is calculated according to acquired attribute value and is become
Rate and Doppler effect difference in areas.Wherein, attribute value includes but not limited to the ultrasonic wave letter transmitted by ultrasonic wave sending device
Number transmission frequency, send amplitude and sending time, the frequency for the ultrasonic signal that ultrasonic probe, ultrasonic receiver is received changes model
It encloses, receive amplitude and receiving time.
Step S30 controls the state of mobile terminal screen according to amplitude change rate and Doppler effect difference in areas.
After amplitude change rate and Doppler effect difference in areas during mobile terminal calculates ultrasound signal transmission,
Mobile terminal controls the state of its screen according to amplitude change rate and Doppler effect difference in areas.
Further, include with reference to Fig. 5, step S30:
Step S31 determines movement of the mobile terminal relative to barrier according to amplitude change rate and Doppler effect difference
Trend.
Step S32 controls mobile terminal screen and is in screen state of going out if mobile terminal approaches barrier.
Step S33, if mobile terminal controls mobile terminal screen and be in bright screen state far from barrier.
Further, mobile terminal controls the step of the state of its screen according to amplitude change rate and Doppler effect difference in areas
Suddenly include:Mobile terminal determines that mobile terminal becomes relative to the movement of barrier according to amplitude change rate and Doppler effect difference
Gesture.Wherein, movement tendency includes three kinds, and respectively mobile terminal does approach movement relative to barrier, i.e. mobile terminal approaches
Barrier;Mobile terminal is done relative to barrier far from movement, i.e., mobile terminal is far from barrier;Mobile terminal is relative to obstacle
Object is in invariant state, i.e. mobile terminal is not moved relative to barrier, is remained static.If it is determined that mobile terminal approaches
Barrier, mobile terminal then control its screen and are in screen state of going out;If it is determined that mobile terminal, far from barrier, mobile terminal is then controlled
It makes its screen and is in bright screen state;If it is determined that mobile terminal is in invariant state relative to barrier, mobile terminal then controls it
The state of screen state consistency corresponding with a upper movement tendency.If a movement tendency is approach barrier on mobile terminal,
Mobile terminal then controls its screen and is in screen state of going out;If a upper movement tendency is far from barrier, mobile terminal controls it
Screen is in bright screen state.Specifically, the separate process with approach barrier of mobile terminal can refer to Fig. 6.
Further, attribute value of the ultrasonic signal in transmission process is obtained, ultrasonic signal is calculated according to attribute value
The step of amplitude change rate in transmission process includes:
Step a, the transmission amplitude and ultrasonic wave for obtaining the ultrasonic signal transmitted by ultrasonic wave sending device receive dress
Set the reception amplitude of received ultrasonic signal.
Step b calculates the difference in magnitude sent between amplitude and the reception amplitude.
Step c, the difference in magnitude that gained is calculated according to different time points calculate the amplitude variation of the ultrasonic signal
Rate.
Further, attribute value of the acquisition for mobile terminal ultrasonic signal in transmission process calculates super according to attribute value
The process of amplitude change rate in acoustic signals transmission process is:Ultrasonic wave transmitted by acquisition for mobile terminal ultrasonic wave sending device
The transmission amplitude of signal, and and receive ultrasonic signal reception amplitude, calculate send amplitude and receive amplitude between
Difference in magnitude.It is understood that in mobile terminal and barrier relative movement, mobile terminal calculates different time points
Corresponding difference in magnitude, can be obtained that multiple amplitudes are poor, and the amplitude that ultrasonic signal can be calculated by this multiple amplitudes difference changes
Rate.After obtaining multiple amplitudes difference, mobile terminal can select during calculating amplitude change rate in the difference in magnitude obtained by calculating
The difference in magnitude of predetermined number is taken to calculate amplitude change rate.The predetermined number can be arranged according to specific needs, not be limited herein.
It should be noted that when mobile terminal sends ultrasonic signal by ultrasonic wave sending device and is connect by ultrasonic probe, ultrasonic receiver
During receiving ultrasonic signal, mobile terminal can record the transmission amplitude of transmitted ultrasonic signal and received super
The reception amplitude of acoustic signals.
The present embodiment is in talking state by working as mobile terminal, and is sent by the ultrasonic wave sending device of mobile terminal
After ultrasonic signal, returned after encountering barrier by the ultrasonic probe, ultrasonic receiver received ultrasonic signal of mobile terminal super
Acoustic signals;Attribute value of the ultrasonic signal in transmission process is obtained, ultrasound signal transmission process is calculated according to attribute value
In amplitude change rate and Doppler effect difference in areas;Mobile terminal is controlled according to amplitude change rate and Doppler effect difference in areas
The state of screen.In ultrasonic signal transmission process, since the change of amplitude change rate can changing than Doppler effect difference in areas
Become lag, therefore, by amplitude change rate and Doppler effect difference in areas come detect mobile terminal it is separate and approach barrier, into
And the state of mobile terminal screen is controlled, to avoid since mobile terminal exists, when shaking, mobile terminal screen state controls not
Accurate problem to improve the separate accuracy with approach barrier of detection mobile terminal, and improves mobile terminal screen
The accuracy of state control.
Further, the second embodiment of screen state control method of the present invention is proposed based on first embodiment.Screen shape
Difference lies in step S31 includes the second embodiment of state control method with the first embodiment of screen state control method:
Step d, if amplitude change rate is more than first amplitude threshold value and/or Doppler effect difference in areas is more than the first area
Poor threshold value, it is determined that mobile terminal approaches barrier.
Step e, if Doppler effect difference in areas is less than second area difference threshold value, detection amplitude in preset duration changes
Whether rate is less than the second amplitude thresholds.
Step f, if amplitude change rate is less than the second amplitude thresholds, it is determined that mobile terminal is far from barrier, wherein first
Amplitude thresholds are more than the second amplitude thresholds, and the first difference in areas threshold value is more than second area difference threshold value.
Mobile terminal determines the mistake of the movement tendency relative to barrier according to amplitude change rate and Doppler effect difference
Cheng Wei:Mobile terminal judges the magnitude relationship between amplitude change rate and first amplitude threshold value, the second amplitude thresholds, and judges
Magnitude relationship between Doppler effect difference in areas and the first difference in areas threshold value, second area difference threshold value.Wherein, first amplitude threshold
Value is more than the second amplitude thresholds, and the first difference in areas threshold value is more than second area difference threshold value.First amplitude threshold value, the second amplitude threshold
Value, the first difference in areas threshold value and second area difference threshold value can be arranged as the case may be, not be limited herein.
If it is determined that amplitude change rate is more than first amplitude change rate and/or Doppler effect difference in areas is more than the first area
Poor threshold value, mobile terminal then determine that it approaches barrier;If Doppler effect difference in areas is less than second area difference threshold value, mobile whole
End then detects whether amplitude change rate in preset duration is less than the second amplitude thresholds.If amplitude change rate is less than the in preset duration
Two amplitude thresholds, mobile terminal then determine it far from barrier.Preset duration is the parameter pre-set.When in preset duration
After detect amplitude change rate be less than the second amplitude thresholds, at this point, mobile terminal can not be determined far from barrier.
In addition to above-mentioned described situation, other situations are all determined as mobile terminal and are in invariant state relative to barrier.
If amplitude change rate is less than first amplitude threshold value, it is more than the second amplitude thresholds or Doppler effect difference in areas is less than first
Difference in areas threshold value, is more than second area threshold value, and mobile terminal then determines that it is in invariant state relative to barrier.
The present embodiment by according to the magnitude relationship between amplitude change rate and first amplitude threshold value, the second amplitude thresholds,
And the magnitude relationship between Doppler effect difference in areas and the first difference in areas threshold value, second area difference threshold value is mobile whole to determine
The movement tendency relative to barrier is held, to solve, since there are jitter conditions for mobile terminal, to cause mobile terminal relative to barrier
The problem for hindering object movement tendency accuracy of judgement degree not high.
Further, the 3rd embodiment of screen state control method of the present invention is proposed.The of screen state control method
Difference lies in reference to Fig. 7, obtain ultrasonic signal to the first or second embodiments of three embodiments and screen state control method
Attribute value in transmission process calculates the step of the Doppler effect difference in areas during ultrasound signal transmission according to attribute value
Suddenly include:
Step S21, the transmission frequency and ultrasonic wave for obtaining the ultrasonic signal transmitted by ultrasonic wave sending device receive
The frequency range for the ultrasonic signal that device is received.
Mobile terminal determines that the transmission frequency of the ultrasonic signal transmitted by its ultrasonic wave sending device and ultrasonic wave connect
The frequency range for the ultrasonic signal that receiving apparatus is received.It in the present embodiment, can be by way of finite test, really
Most users are determined when using mobile terminal, the variation range of movement velocity, such as 0.2~20m/s (metre per second (m/s)) or 0.085~
17m/s etc., i.e. this velocity interval are speed when most users use mobile terminal.According to the variation model of this movement velocity
It encloses, frequency range can determine by Doppler effect, in Doppler effect, the relationship between speed and frequency is:
Wherein, f is the frequency for the ultrasonic signal that ultrasonic probe, ultrasonic receiver is received, f0It is that ultrasonic wave sending device is sent out
The transmission frequency of the ultrasonic signal sent, c are the aerial spread speed of ultrasonic signal, are 340m/s (metre per second (m/s)), Δ v
Speed for barrier relative to ultrasonic wave sound source, i.e. user use speed when mobile terminal;To change frequencyWhen the transmission frequency of ultrasonic signal is 40KHz, speed of the barrier relative to ultrasonic wave sound source
When changing between 0.085~17m/s, frequency range is 10Hz~20KHz.According to the transmission frequency of this ultrasonic signal
And most users use mobile terminal when speed, determine corresponding frequency range, be suitable for most users
Demand.
It is understood that movement of the present embodiment mobile terminal with respect to barrier, is substantially user using movement
In terminal procedures, user picks up process of the mobile terminal close to human body or separate human body, it is contemplated that user picks up mobile terminal
Speed changes in a certain range, to keep the frequency variation of ultrasonic signal that ultrasonic probe, ultrasonic receiver receives also corresponding
In a certain range, as frequency range.
Step S22 determines frequency constant interval according to transmission frequency and receives frequency variation range.
In the present embodiment, it will calculate and involved during Doppler effect difference in areas be referred to as the first face to area
Product and second area.
The frequency range of ultrasonic signal includes upper limit value and lower limiting value, and becoming larger and becoming smaller for transmission frequency depends on
The otherness of transmission frequency and frequency range relational expression.
The process that the corresponding frequency constant interval of the first area is calculated according to transmission frequency and frequency range is:According to
Relational expression between transmission frequency and upper limit value, lower limiting value determines frequency constant interval.Specifically, which connects for ultrasonic wave
The ultrasonic signal frequency that receiving apparatus receives is more than the section of transmission frequency.The relational expression is by transmission frequency and frequency variation model
It encloses and does and calculate, receives frequency is made to become larger.Such as when transmission frequency is 40KHz, frequency range is 10Hz~20KHz, then
Upper limit value is 20KHz, lower limiting value 10Hz, then the corresponding relational expression of the first area is (40+20) KHz and (40+0.01) KHz,
Corresponding frequency constant interval is (40+0.01)~(40+20) KHz.
The process that the corresponding frequency constant interval of second area is calculated according to transmission frequency and frequency range is:According to
Relational expression between transmission frequency and upper limit value, lower limiting value determines frequency constant interval.Specifically, which connects for ultrasonic wave
The ultrasonic signal frequency that receiving apparatus receives is less than the section of transmission frequency, and the corresponding relational expression of second area is by transmission frequency
Calculating is made the difference with the upper limit value and lower limiting value of frequency variation range, receives frequency is made to become smaller.Such as when transmission frequency is 40KHz, frequency
Rate variation range be 10Hz~20KHz, then upper limit value be 20KHz, lower limiting value 10Hz, then the corresponding relational expression of second area be
(40-20) KHz and (40-0.01) KHz, corresponding frequency constant interval are (40-20)~(40-0.01) KHz.
Step S23 calculates ultrasound according to frequency constant interval and intensity variation curve corresponding with frequency constant interval
The Doppler effect difference in areas of wave signal.
It is determined and the frequency constant interval pair after determining the corresponding frequency constant interval of the first area of calculating with reference to Fig. 8
The intensity variation curve answered.Wherein, which is recorded in ultrasound signal transmission process.Determining intensity
After change curve, by the intensity value of the starting point of frequency constant interval Y-axis corresponding with end point, the frequency in the section X-axis
The area for the closed area that the intensity variation curve of variation range and the frequency constant interval is surrounded is as the first area, root
According to the upper limit value and lower limiting value of the corresponding frequency constant interval of the first area, X-axis integral can be obtained by intensity variation curve
Go out the size of the first area.It is understood that the process for calculating second area is consistent with the process of the first area is calculated, herein
It repeats no more.
After obtaining the first area and second area, the first area is subtracted second area by mobile terminal, obtains the first face
Difference in areas between product and second area, the difference in areas are denoted as the Doppler effect difference in areas of ultrasonic wave.
The present embodiment corresponds to Doppler's effect by mobile terminal and barrier relative movement, calculating ultrasonic signal
Generated difference in areas is answered, to improve the separate accuracy with approach barrier of detection mobile terminal by the difference in areas.
Further, the fourth embodiment of screen state control method of the present invention is proposed based on 3rd embodiment.Screen shape
Difference lies in screen state controlling parties with the 3rd embodiment of screen state control method for the fourth embodiment of state control method
Method further includes:
Step g, the predetermined movement speed according to mobile terminal relative to barrier, determines that ultrasonic probe, ultrasonic receiver is received
Ultrasonic signal frequency range.
Due to the relative motion between mobile terminal and barrier, mobile terminal can be caused to be connect by ultrasonic probe, ultrasonic receiver
The frequency of the ultrasonic signal received and the transmission frequency for the ultrasonic signal that ultrasonic wave sending device is sent are different, and frequency becomes
Change range to be determined by the speed variation of relative motion between mobile terminal and barrier.It is understood that mobile terminal
Relative motion between barrier, its essence is users to pick up mobile terminal during using mobile terminal, makes mobile whole
The relative motion that end occurs with user's trunk or head.The speed that user picks up mobile terminal changes in a certain range,
Specific variation range can determine speed when major part user uses mobile terminal by way of test.This is met greatly
Predetermined movement speed of the speed of certain customers' demand as ultrasonic wave sending device, and determined and surpassed according to this predetermined movement speed
The frequency range of acoustic receiver device received ultrasonic signal.
Further, predetermined movement speed includes minimum movement speed and maximum movement speed, and step d includes:
Step g1 determines the ultrasonic wave received by ultrasonic probe, ultrasonic receiver according to minimum movement speed and transmission frequency
The lower limiting value of signal frequency variation range.
Step g2 determines the ultrasonic wave received by ultrasonic probe, ultrasonic receiver according to maximum movement speed and transmission frequency
The upper limit value of signal frequency variation range.
Further, it is contemplated that different user is differed using the speed of mobile terminal, in embodiments of the present invention, is made
Velocity interval can characterize most of user use mobile terminal speed, i.e., predetermined movement speed be include minimum movement speed
The velocity interval of degree and maximum movement speed.Specifically, according to the variation relation in Doppler effect between frequency and speed, root
According to the transmission frequency for the ultrasonic signal that minimum movement speed and ultrasonic wave sending device are sent, it may be determined that ultrasonic wave receives dress
Set the lower limiting value of the frequency range of received ultrasonic signal;Correspondingly, according to maximum movement speed, then ultrasonic wave is can determine
The upper limit value of the frequency range of reception device received ultrasonic signal.
The present embodiment determines that ultrasonic probe, ultrasonic receiver receives ultrasound by mobile terminal relative to the movement velocity of barrier
The frequency range of wave signal, to calculate the first area and second area by the frequency range, so that final gained
Result of calculation meet the operating habit of user's operation mobile terminal, further increase detection mobile terminal relative to obstacle
The approach movement of object and the accuracy far from movement.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium.
Screen state control program is stored on the computer readable storage medium, the screen state controls program quilt
Processor realizes following steps when executing:
When mobile terminal is in talking state, and passes through the ultrasonic wave sending device of the mobile terminal and send ultrasonic wave letter
After number, by the ultrasonic probe, ultrasonic receiver of the mobile terminal receive that the ultrasonic signal returns after encountering barrier it is super
Acoustic signals;
Attribute value of the ultrasonic signal in transmission process is obtained, calculating the ultrasonic wave according to the attribute value believes
Amplitude change rate in number transmission process and Doppler effect difference in areas;
The state of the mobile terminal screen is controlled according to the amplitude change rate and the Doppler effect difference in areas.
Further, described that the mobile terminal is controlled according to the amplitude change rate and the Doppler effect difference in areas
The step of state of screen includes:
Determine the mobile terminal relative to barrier according to the amplitude change rate and the Doppler effect difference
Movement tendency;
If the mobile terminal approaches the barrier, controls the mobile terminal screen and be in screen state of going out;
If the mobile terminal controls the mobile terminal screen and is in bright screen state far from the barrier.
Further, described that the mobile terminal phase is determined according to the amplitude change rate and the Doppler effect difference
For barrier movement tendency the step of include:
If the amplitude change rate is more than first amplitude threshold value and/or the Doppler effect difference in areas is more than the first face
Product moment threshold value, it is determined that the mobile terminal approaches the barrier;
If the Doppler effect difference in areas is less than second area difference threshold value, detection amplitude in preset duration becomes
Whether rate is less than the second amplitude thresholds;
If the amplitude change rate is less than second amplitude thresholds, it is determined that the mobile terminal is far from the obstacle
Object, wherein the first amplitude threshold value is more than second amplitude thresholds, and the first difference in areas threshold value is more than second face
Product moment threshold value.
Further, the attribute value for obtaining the ultrasonic signal in transmission process, according to the attribute value meter
The step of calculating the amplitude change rate during the ultrasound signal transmission include:
The transmission amplitude and the ultrasonic wave for obtaining the ultrasonic signal transmitted by the ultrasonic wave sending device receive
The reception amplitude for the ultrasonic signal that device is received;
Determine the time difference sent between the ultrasonic signal and the reception ultrasonic signal;
The amplitude variation of the ultrasonic signal is calculated according to the transmission amplitude, the reception amplitude and the time difference
Rate.
Further, the attribute value for obtaining the ultrasonic signal in transmission process, according to the attribute value meter
The step of calculating the Doppler effect difference in areas during the ultrasound signal transmission include:
The transmission frequency and the ultrasonic wave for obtaining the ultrasonic signal transmitted by the ultrasonic wave sending device receive
The frequency range for the ultrasonic signal that device is received;
Frequency constant interval is determined according to the transmission frequency and the receives frequency variation range;
According to the frequency constant interval and intensity variation curve corresponding with frequency constant interval calculating
The Doppler effect difference in areas of ultrasonic signal.
Further, the transmission frequency for obtaining the ultrasonic signal transmitted by the ultrasonic wave sending device, and
Before the step of frequency range for the ultrasonic signal that the ultrasonic probe, ultrasonic receiver is received, the screen state control
Following steps are realized when program is executed by processor:
Predetermined movement speed according to the mobile terminal relative to the barrier, determines the ultrasonic probe, ultrasonic receiver
The frequency range of the ultrasonic signal received.
Further, the predetermined movement speed includes minimum movement speed and maximum movement speed, described in the basis
Predetermined movement speed of the mobile terminal relative to the barrier determines the ultrasound that the ultrasonic probe, ultrasonic receiver is received
The step of frequency range of wave signal includes:
According to the minimum movement speed and the transmission frequency, the institute received by the ultrasonic probe, ultrasonic receiver is determined
State the lower limiting value of ultrasonic signal frequency range;
According to the maximum movement speed and the transmission frequency, the institute received by the ultrasonic probe, ultrasonic receiver is determined
State the upper limit value of ultrasonic signal frequency range.
Further, the ultrasonic wave sending device is the receiver of the mobile terminal, and the ultrasonic probe, ultrasonic receiver is
The microphone of mobile terminal.
Computer readable storage medium specific implementation mode of the present invention and each embodiment base of above-mentioned screen state control method
This is identical, and details are not described herein.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, method, article or system including a series of elements include not only those elements, and
And further include the other elements being not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
There is also other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, clothes
Be engaged in device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of screen state control method, which is characterized in that the screen state control method includes:
When mobile terminal is in talking state, and passes through the ultrasonic wave sending device of the mobile terminal and send ultrasonic signal
Afterwards, the ultrasound that the ultrasonic signal returns after encountering barrier is received by the ultrasonic probe, ultrasonic receiver of the mobile terminal
Wave signal;
Attribute value of the ultrasonic signal in transmission process is obtained, calculating the ultrasonic signal according to the attribute value passes
Amplitude change rate during defeated and Doppler effect difference in areas;
The state of the mobile terminal screen is controlled according to the amplitude change rate and the Doppler effect difference in areas.
2. screen state control method as described in claim 1, which is characterized in that described according to the amplitude change rate and institute
Stating the step of Doppler effect difference in areas controls the state of the mobile terminal screen includes:
Movement of the mobile terminal relative to barrier is determined according to the amplitude change rate and the Doppler effect difference
Trend;
If the mobile terminal approaches the barrier, controls the mobile terminal screen and be in screen state of going out;
If the mobile terminal controls the mobile terminal screen and is in bright screen state far from the barrier.
3. screen state control method as claimed in claim 2, which is characterized in that described according to the amplitude change rate and institute
Stating the step of Doppler effect difference determines movement tendency of the mobile terminal relative to barrier includes:
If the amplitude change rate is more than first amplitude threshold value and/or the Doppler effect difference in areas is more than the first difference in areas
Threshold value, it is determined that the mobile terminal approaches the barrier;
If the Doppler effect difference in areas is less than second area difference threshold value, detection amplitude change rate in preset duration
Whether the second amplitude thresholds are less than;
If the amplitude change rate is less than second amplitude thresholds, it is determined that the mobile terminal far from the barrier,
In, the first amplitude threshold value is more than second amplitude thresholds, and it is poor that the first difference in areas threshold value is more than the second area
Threshold value.
4. screen state control method as described in claim 1, which is characterized in that the acquisition ultrasonic signal is passing
Attribute value during defeated, the step of amplitude change rate during the ultrasound signal transmission is calculated according to the attribute value
Including:
Obtain the transmission amplitude of the ultrasonic signal transmitted by the ultrasonic wave sending device and the ultrasonic probe, ultrasonic receiver
The reception amplitude of the ultrasonic signal received;
Calculate the transmission amplitude and the difference in magnitude received between amplitude;
The difference in magnitude that gained is calculated according to different time points calculates the amplitude change rate of the ultrasonic signal.
5. screen state control method as described in claim 1, which is characterized in that the acquisition ultrasonic signal is passing
Attribute value during defeated calculates the Doppler effect difference in areas during the ultrasound signal transmission according to the attribute value
The step of include:
Obtain the transmission frequency of the ultrasonic signal transmitted by the ultrasonic wave sending device and the ultrasonic probe, ultrasonic receiver
The frequency range of the ultrasonic signal received;
Frequency constant interval is determined according to the transmission frequency and the receives frequency variation range;
The ultrasound is calculated according to the frequency constant interval and intensity variation curve corresponding with the frequency constant interval
The Doppler effect difference in areas of wave signal.
6. screen state control method as claimed in claim 5, which is characterized in that described to obtain the ultrasonic wave sending device
The frequency for the ultrasonic signal that the transmission frequency of transmitted ultrasonic signal and the ultrasonic probe, ultrasonic receiver are received becomes
Before the step of changing range, further include:
Predetermined movement speed according to the mobile terminal relative to the barrier determines that the ultrasonic probe, ultrasonic receiver is connect
The frequency range for the ultrasonic signal received.
7. screen state control method as claimed in claim 6, which is characterized in that the predetermined movement speed includes minimum transport
Dynamic speed and maximum movement speed, the predetermined movement speed according to the mobile terminal relative to the barrier determine
The step of frequency range for the ultrasonic signal that the ultrasonic probe, ultrasonic receiver is received includes:
According to the minimum movement speed and the transmission frequency, determine described super received by the ultrasonic probe, ultrasonic receiver
The lower limiting value of acoustic signals frequency range;
According to the maximum movement speed and the transmission frequency, determine described super received by the ultrasonic probe, ultrasonic receiver
The upper limit value of acoustic signals frequency range.
8. screen state control method as described in any one of claim 1 to 7, which is characterized in that the ultrasonic wave sends dress
It is set to the receiver of the mobile terminal, the ultrasonic probe, ultrasonic receiver is the microphone of mobile terminal.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes memory, processor and is stored in the memory
Screen state control program that is upper and can running on the processor, the screen state control program are held by the processor
It is realized such as the step of screen state control method described in any item of the claim 1 to 8 when row.
10. a kind of computer readable storage medium, which is characterized in that be stored with screen shape on the computer readable storage medium
State controls program, and the screen state control program is realized when being executed by processor as described in any item of the claim 1 to 8
The step of screen state control method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711498617.0A CN108566479B (en) | 2017-12-29 | 2017-12-29 | Screen state control method, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711498617.0A CN108566479B (en) | 2017-12-29 | 2017-12-29 | Screen state control method, mobile terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108566479A true CN108566479A (en) | 2018-09-21 |
CN108566479B CN108566479B (en) | 2021-03-26 |
Family
ID=63529638
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711498617.0A Active CN108566479B (en) | 2017-12-29 | 2017-12-29 | Screen state control method, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108566479B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109218538A (en) * | 2018-11-29 | 2019-01-15 | 努比亚技术有限公司 | Mobile terminal screen control method, mobile terminal and computer readable storage medium |
CN109639863A (en) * | 2018-12-29 | 2019-04-16 | 维沃移动通信有限公司 | A kind of method of speech processing and device |
CN110058243A (en) * | 2019-04-28 | 2019-07-26 | 深圳市广懋创新科技有限公司 | Terminal equipment |
CN110290268A (en) * | 2019-06-25 | 2019-09-27 | Oppo广东移动通信有限公司 | Control method, device, mobile terminal and the storage medium of screen state |
CN110380792A (en) * | 2019-07-01 | 2019-10-25 | Oppo广东移动通信有限公司 | Control method, mobile terminal and the computer storage medium of screen state |
CN110493459A (en) * | 2019-07-31 | 2019-11-22 | Oppo广东移动通信有限公司 | Screen state control method, device, mobile terminal and storage medium |
CN110535535A (en) * | 2019-07-31 | 2019-12-03 | Oppo广东移动通信有限公司 | Ultrasonic wave calibration method, device, mobile terminal and storage medium |
WO2021017950A1 (en) * | 2019-07-31 | 2021-02-04 | Oppo广东移动通信有限公司 | Ultrasonic processing method and apparatus, electronic device and computer-readable medium |
WO2021017859A1 (en) * | 2019-07-31 | 2021-02-04 | Oppo广东移动通信有限公司 | Screen state control method and apparatus, mobile terminal and storage medium |
CN114513573A (en) * | 2020-11-16 | 2022-05-17 | 深圳市万普拉斯科技有限公司 | Screen control method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102938820A (en) * | 2012-12-03 | 2013-02-20 | 华为终端有限公司 | Mobile phone proximity waking method and mobile phone proximity waking device |
US20140152121A1 (en) * | 2012-12-03 | 2014-06-05 | Fih (Hong Kong) Limited | Electronic device and method for adjusting amount of electric power supplied to proximity sensor of the electronic devic |
WO2014201574A1 (en) * | 2013-06-21 | 2014-12-24 | Hershkovitz, Shmuel | Dual differential doppler motion detection |
US20160007194A1 (en) * | 2014-07-02 | 2016-01-07 | Lg Electronics Inc. | Mobile terminal and method for controlling the same |
CN106791218A (en) * | 2017-03-31 | 2017-05-31 | 努比亚技术有限公司 | A kind of screen control terminal and method |
CN107402387A (en) * | 2017-08-31 | 2017-11-28 | 努比亚技术有限公司 | Movement tendency based on ultrasonic wave determines method, apparatus and readable storage medium storing program for executing |
-
2017
- 2017-12-29 CN CN201711498617.0A patent/CN108566479B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102938820A (en) * | 2012-12-03 | 2013-02-20 | 华为终端有限公司 | Mobile phone proximity waking method and mobile phone proximity waking device |
US20140152121A1 (en) * | 2012-12-03 | 2014-06-05 | Fih (Hong Kong) Limited | Electronic device and method for adjusting amount of electric power supplied to proximity sensor of the electronic devic |
WO2014201574A1 (en) * | 2013-06-21 | 2014-12-24 | Hershkovitz, Shmuel | Dual differential doppler motion detection |
US20160007194A1 (en) * | 2014-07-02 | 2016-01-07 | Lg Electronics Inc. | Mobile terminal and method for controlling the same |
CN106791218A (en) * | 2017-03-31 | 2017-05-31 | 努比亚技术有限公司 | A kind of screen control terminal and method |
CN107402387A (en) * | 2017-08-31 | 2017-11-28 | 努比亚技术有限公司 | Movement tendency based on ultrasonic wave determines method, apparatus and readable storage medium storing program for executing |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109218538A (en) * | 2018-11-29 | 2019-01-15 | 努比亚技术有限公司 | Mobile terminal screen control method, mobile terminal and computer readable storage medium |
CN109639863B (en) * | 2018-12-29 | 2021-01-26 | 维沃移动通信有限公司 | Voice processing method and device |
CN109639863A (en) * | 2018-12-29 | 2019-04-16 | 维沃移动通信有限公司 | A kind of method of speech processing and device |
CN110058243A (en) * | 2019-04-28 | 2019-07-26 | 深圳市广懋创新科技有限公司 | Terminal equipment |
CN110290268A (en) * | 2019-06-25 | 2019-09-27 | Oppo广东移动通信有限公司 | Control method, device, mobile terminal and the storage medium of screen state |
CN110380792A (en) * | 2019-07-01 | 2019-10-25 | Oppo广东移动通信有限公司 | Control method, mobile terminal and the computer storage medium of screen state |
WO2021017950A1 (en) * | 2019-07-31 | 2021-02-04 | Oppo广东移动通信有限公司 | Ultrasonic processing method and apparatus, electronic device and computer-readable medium |
CN110535535A (en) * | 2019-07-31 | 2019-12-03 | Oppo广东移动通信有限公司 | Ultrasonic wave calibration method, device, mobile terminal and storage medium |
CN110493459A (en) * | 2019-07-31 | 2019-11-22 | Oppo广东移动通信有限公司 | Screen state control method, device, mobile terminal and storage medium |
WO2021017859A1 (en) * | 2019-07-31 | 2021-02-04 | Oppo广东移动通信有限公司 | Screen state control method and apparatus, mobile terminal and storage medium |
WO2021017851A1 (en) * | 2019-07-31 | 2021-02-04 | Oppo广东移动通信有限公司 | Screen state control method and apparatus, mobile terminal and storage medium |
CN110493459B (en) * | 2019-07-31 | 2021-03-12 | Oppo广东移动通信有限公司 | Screen state control method and device, mobile terminal and storage medium |
CN110535535B (en) * | 2019-07-31 | 2021-08-17 | Oppo广东移动通信有限公司 | Ultrasonic calibration method and device, mobile terminal and storage medium |
CN113517935A (en) * | 2019-07-31 | 2021-10-19 | Oppo广东移动通信有限公司 | Ultrasonic calibration method and device, mobile terminal and storage medium |
CN113517935B (en) * | 2019-07-31 | 2023-01-06 | Oppo广东移动通信有限公司 | Ultrasonic calibration method and device, mobile terminal and storage medium |
CN114513573A (en) * | 2020-11-16 | 2022-05-17 | 深圳市万普拉斯科技有限公司 | Screen control method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108566479B (en) | 2021-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108566479A (en) | screen state control method, mobile terminal and computer readable storage medium | |
CN108196778A (en) | Control method, mobile terminal and the computer readable storage medium of screen state | |
CN107463481A (en) | Data interactive method, mobile terminal and storage medium | |
CN107566635A (en) | Screen intensity method to set up, mobile terminal and computer-readable recording medium | |
CN107844763A (en) | A kind of face identification method, mobile terminal and computer-readable recording medium | |
CN108521658A (en) | Reduce interference method, mobile terminal and computer readable storage medium | |
CN108566510A (en) | Flexible screen control method, mobile terminal and readable storage medium storing program for executing | |
CN108063901A (en) | A kind of image-pickup method, terminal and computer readable storage medium | |
CN108540358A (en) | Control method, mobile terminal and the computer readable storage medium of household appliance | |
CN108234767A (en) | Control method, mobile terminal and the computer readable storage medium of screen state | |
CN108391190B (en) | A kind of noise-reduction method, earphone and computer readable storage medium | |
CN108184023A (en) | screen state control method, mobile terminal and computer readable storage medium | |
CN108536419A (en) | A kind of game volume control method, equipment and computer readable storage medium | |
CN108055412A (en) | Control method, mobile terminal and the computer readable storage medium of mobile terminal | |
CN108172161A (en) | Display methods, mobile terminal and computer readable storage medium based on flexible screen | |
CN108182028A (en) | A kind of control method, terminal and computer readable storage medium | |
CN108512991A (en) | A kind of based reminding method, mobile terminal and computer readable storage medium | |
CN108562890A (en) | Calibration method, device and the computer readable storage medium of ultrasonic wave characteristic value | |
CN108363455A (en) | Working mode switching method, mobile terminal and computer readable storage medium | |
CN110187808A (en) | Dynamic wallpaper setting method, device and computer readable storage medium | |
CN108600513A (en) | A kind of record screen control method, equipment and computer readable storage medium | |
CN109817130A (en) | A kind of colour temperature regulation method, equipment and computer readable storage medium | |
CN109710159A (en) | A kind of flexible screen response method, equipment and computer readable storage medium | |
CN108226880A (en) | Ultrasonic distance detects anti-tampering method, apparatus and storage medium | |
CN108536383A (en) | A kind of game control method, equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |