CN108390996A - A kind of display methods, mobile terminal - Google Patents

A kind of display methods, mobile terminal Download PDF

Info

Publication number
CN108390996A
CN108390996A CN201810073699.2A CN201810073699A CN108390996A CN 108390996 A CN108390996 A CN 108390996A CN 201810073699 A CN201810073699 A CN 201810073699A CN 108390996 A CN108390996 A CN 108390996A
Authority
CN
China
Prior art keywords
mobile terminal
audio data
audio
difference
state
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
CN201810073699.2A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810073699.2A priority Critical patent/CN108390996A/en
Publication of CN108390996A publication Critical patent/CN108390996A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

An embodiment of the present invention provides a kind of display methods, mobile terminal, the method is applied to mobile terminal, which is characterized in that and the mobile terminal configuration has the first collector, the second collector, the method includes:When the mobile terminal is conversed, judge whether the mobile terminal is in handheld state;If so, first collector is called to acquire the first audio data, second collector is called to acquire second audio data;Calculate the audio difference between first audio data and the second audio data;The dispaly state of the mobile terminal is controlled according to the audio difference.On the one hand, reduce cost, on the other hand, avoid the problem of difference of user's physiological property and use habit causes range sensor possibly can not accurately detect at a distance from user, to solve the problems, such as mistake occur based on range sensor control dispaly state, the accuracy of dispaly state control ensure that.

Description

A kind of display methods, mobile terminal
Technical field
The present invention relates to field of communication technology more particularly to a kind of display methods, mobile terminals.
Background technology
With the development of mobile communication technology, the mobile terminals such as mobile phone, intelligent wearable device are more and more universal, give people Life, study, work brings great convenience.
When user is made a phone call using mobile terminal, is received calls, frequent hand-held mobile terminal, by mobile terminal close to Ear, the mouth of face, conveniently listen to, speak.
When the face being close to the users due to mobile terminal, the face of user is easy to touch mobile terminal, causes maloperation, For this purpose, mobile terminal special configuration range sensor, for detecting with user at a distance from, when realizing call with this closing screen or Person is to light screen.
But the cost of range sensor is higher, also, user's physiological property (such as ear size, position) and use Custom is different, causes mobile terminal possibly can not accurately be detected at a distance from user in call, for example, certain user Mobile terminal is placed on apart from ear apart from remote position in call, when certain user's hand-held mobile terminal, it is mobile eventually End and the angle of face are excessive, etc., at this point, may lead to mistake occur based on range sensor control screen state.
Invention content
A kind of display methods of offer of the embodiment of the present invention, mobile terminal, to solve to be based on range sensor control in call Screen state cost processed is higher, is susceptible to the problem of mistake.
In order to solve the above-mentioned technical problem, the invention is realized in this way:
A kind of display methods is applied to mobile terminal, and the mobile terminal configuration has the first collector, the second collector, The method includes:
When the mobile terminal is conversed, judge whether the mobile terminal is in handheld state;If so, calling First collector acquires the first audio data, second collector is called to acquire second audio data;
Calculate the audio difference between first audio data and the second audio data;
The dispaly state of the mobile terminal is controlled according to the audio difference.
In a first aspect, the embodiment of the present invention additionally provides a kind of mobile terminal, the mobile terminal configuration has the first acquisition Device, the second collector, the mobile terminal include:
Hand-held call mode detection module, for when the mobile terminal is conversed, judging that the mobile terminal is It is no to be in handheld state;If so, calling audio data collecting module;
Audio data collecting module, for calling first collector to acquire the first audio data, calling described second Collector acquires second audio data;
Audio difference computation module, for calculating the audio between first audio data and the second audio data Difference;
Screen state control module, the dispaly state for controlling the mobile terminal according to the audio difference.
Second aspect an embodiment of the present invention provides a kind of mobile terminal, including processor, memory and is stored in described It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor Now the step of display methods.
The third aspect, an embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage The step of storing computer program on medium, the display methods realized when the computer program is executed by processor.
In embodiments of the present invention, if when mobile terminal carries out handheld state of conversing and be in, first can be called to adopt Storage acquires the first audio data, the second collector is called to acquire second audio data, calculates its audio difference, is moved to be arranged The dispaly state of dynamic terminal can realize the talking state adjustment dispaly state automatically according to user, without configuring Distance-sensing Device, on the one hand, reduce cost, on the other hand, the difference for avoiding user's physiological property and use habit causes distance to pass The problem of sensor possibly can not be detected accurately at a distance from user is gone out to solve based on range sensor control dispaly state The problem of existing mistake, ensure that the accuracy of dispaly state control.
Description of the drawings
Fig. 1 is the flow chart of the display methods embodiment of the present invention.
Fig. 2A-Fig. 2 C are a kind of exemplary plot of calculating audio difference of the present invention.
Fig. 3 is the flow chart of another embodiment of display methods of the present invention.
Fig. 4 is the block diagram of the mobile terminal embodiment of the present invention.
A kind of hardware architecture diagram of Fig. 5 mobile terminals of each embodiment to realize the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Referring to Fig.1, the flow chart for showing the display methods embodiment of the present invention, can specifically include following steps:
Step 101, when the mobile terminal is conversed, judge whether the mobile terminal is in handheld state;If It is to then follow the steps 102.
In the concrete realization, the embodiment of the present invention can be applied in the terminal, for example, mobile phone, tablet computer, individual Digital assistants, wearable device (such as glasses, wrist-watch) etc..
The operating system of these mobile terminals may include Android (Android), IOS, Windows Phone, Windows Etc., it can usually support that (Voice over Internet Protocol, will by cellular mobile telecommunication system, VoIP Simulated sound signal digitizes, and real-time delivery is done on IP data networks in the form of data packet), the side such as immediate communication tool Formula carries out voice communication.
If user is conversed (such as voice communication) using mobile terminal, it can monitor whether mobile terminal is in Hand-held talking state.
So-called hand-held talking state, refers to user's hand-held mobile terminal and mobile terminal is conversed, at this point, user passes through Often by mobile terminal close to face, voice is conveniently listened to or sent out.
In one embodiment of the invention, when mobile terminal carries out voice communication, judge whether mobile terminal is opened Non- hand-held call setting;If not, it is determined that mobile terminal is in handheld state.
In android system, the two classes of TelephoneManager and PhoneStateListener can be passed through Member function public int getCallState () monitor mobile terminal conversation state value in the broadcast, to judge to be It is no in voice communication.
Voice communication other than hand-held call mode, also extends out call mode and (extends out sound there are various modes Converse), the non-hand-held call mode such as earphone call mode (connection earphone converse).
Since the characteristic (i.e. non-hand-held call setting) of non-hand-held call mode is easier to detect, inspection can be passed through Whether survey opens non-hand-held call setting, if opened, then it represents that mobile terminal is in non-hand-held call setting, continues to supervise Listen mobile terminal whether in hand-held call mode, otherwise, it determines mobile terminal is in handheld state.
In practical applications, non-hand-held call setting includes following at least one:
Sound extends out, connects earphone.
Wherein, connection earphone may include wired earphone, wireless headset (such as bluetooth headset).
Step 102, first collector is called to acquire the first audio data, call the second collector acquisition second Audio data.
In embodiments of the present invention, mobile terminal configuration has at least two collectors (such as microphone), including first Collector (such as microphone), the second collector (such as microphone), the two collectors are deployed in the first position of mobile terminal, Two positions, the two are separated by a certain distance, and position simultaneously differs.
For example, the first collector is main microphon, it is arranged in the bottom (first position) of mobile terminal, the second collector is Secondary microphone is arranged at the top (second position) of mobile terminal.
If detecting that mobile terminal is in hand-held call mode, this first collector, the second collector are called simultaneously Acoustical signal is acquired, analog signal is converted to, then digital signal is converted to by analog-digital converter, obtains the first audio data, second Audio data.
Step 103, the audio difference between first audio data and the second audio data is calculated.
After calling two microphones being separated by a certain distance to acquire the first audio data and second audio data respectively, Audio difference between the two can be calculated.
In one embodiment of the invention, step 103 may include following sub-step:
Sub-step S11 draws the first frequency response curve for first audio data in a coordinate system, is second audio Data draw the second frequency response curve.
In the concrete realization, the first audio data, the second audio data that will belong to digital signal, are become by Frequency Response Analysis For frequency domain information, to draw the first frequency response curve, the second frequency response curve in a coordinate system.
Wherein, the horizontal axis of coordinate system is frequency, the longitudinal axis is loudness.
Sub-step S12 calculates the first area area formed between first frequency response curve and the coordinate system.
Sub-step S13 calculates the second area area formed between second frequency response curve and the coordinate system.
Sub-step S14 calculates the area difference between the first area area and the second area area, as institute State the audio difference between the first audio data and the second audio data.
It in embodiments of the present invention, can be horizontal axis, the longitudinal axis and the first frequency response curve, the second frequency response curve in coordinate system First area area, the second area area formed, regards respective loudness area as, calculator area difference, then can be with Obtain the audio difference between the first audio data and second audio data.
For example, as shown in Fig. 2A, Fig. 2 B and Fig. 2 C, it is assumed that the first area area that the first frequency response curve is formed with coordinate system For S1, the second area area S2 that the second frequency response curve is formed with coordinate system, then the first audio data and the second audio number Audio difference between is | S1-S2 |.
Step 104, the dispaly state of the mobile terminal is controlled according to the audio difference.
In the concrete realization, it can be determined that whether the audio difference is more than preset audio threshold.
If so, indicating that two microphones being separated by a certain distance collect the first audio data and second audio data Differ larger, the distance of the two microphones being separated by a certain distance to user's mouth differs larger, a microphone and user The distance between mouth be that farther out, the distance between the mouth of another microphone and user are closer, mobile terminals And the face being close to the users closes screen at this point it is possible to set the dispaly state of mobile terminal to screen state of going out.
If not, then it represents that two microphones being separated by a certain distance collect the first audio data and second audio data It is close, the distances of the two microphone being separated by a certain distance to user's mouths be it is similar, the two microphones and user's The distance between mouth is that farther out, mobile terminal is not the face being close to the users, at this point it is possible to by the display shape of mobile terminal State is set as bright screen state, that is, opens screen.
It should be noted that after setting the dispaly state of mobile terminal to bright screen state, detect at regular intervals Whether mobile terminal is in hand-held call mode, until judging to detect that mobile terminal is in hand-held call mode.
In embodiments of the present invention, if when mobile terminal carries out handheld state of conversing and be in, first can be called to adopt Storage acquires the first audio data, the second collector is called to acquire second audio data, calculates its audio difference, is moved to be arranged The dispaly state of dynamic terminal can realize the talking state adjustment dispaly state automatically according to user, without configuring Distance-sensing Device, on the one hand, reduce cost, on the other hand, the difference for avoiding user's physiological property and use habit causes distance to pass The problem of sensor possibly can not be detected accurately at a distance from user is gone out to solve based on range sensor control dispaly state The problem of existing mistake, ensure that the accuracy of dispaly state control.
With reference to Fig. 3, the flow chart of the another embodiment of display methods of the present invention is shown, be applied to mobile terminal, it is described Mobile terminal configuration has the first collector, the second collector, the method to can specifically include following steps:
Step 301, when the mobile terminal is conversed, determine that the mobile terminal is in handheld state.
Step 302, first collector is called to acquire the first audio data, call the second collector acquisition second Audio data.
Step 303, measurement noise loudness.
Step 304, when the noise loudness is more than preset loudness threshold, to first audio data and described the Two audio datas carry out noise Processing for removing.
In embodiments of the present invention, two collectors (such as microphone) being separated by a certain distance are being called to acquire the first audio While data are with second audio data, the noise loudness in environment can be detected.
If the noise loudness in environment is more than preset loudness threshold, can be to the first audio data and the second audio Data carry out noise Processing for removing, eliminate noise, retain voice, then execute step 308, calculate the first audio data and the second sound Audio difference of the frequency between, the screen state of mobile terminal is controlled with this, and due to eliminating noise, audio is calculated with voice Difference can improve the accuracy of audio difference, to improve the accuracy of screen state control.
It in the concrete realization, can be by adaptive filter algorithm, for example, LMS (Least Mean Squares, minimum Mean square error) algorithm, RLS (Recursive Least Squares, least square) algorithm etc., to the first audio data and Two audio datas carry out noise Processing for removing.
In adaptive filter algorithm, by adaptively adjusting filter coefficient, the output of filter is made to approach desired value.
Certainly, other than adaptive filter algorithm, other modes can also be used to carry out noise Processing for removing, for example, Noise reduction, etc. is carried out using the analog signal of analog circuitry processes microphone acquisition, the embodiment of the present invention does not limit this.
Step 305, when the noise loudness is less than or equal to preset threshold value, the screen for detecting the mobile terminal is flat Angle between face and gravity direction.
Step 306, judge whether the angle is less than preset angle threshold;If so, 307 are thened follow the steps, if it is not, then Execute step 308.
Step 307, the dispaly state of the mobile terminal is set to bright screen state.
If user during hand-held call mode carries out voice communication, when generating sound, two wheats at this time The collected noise of gram wind institute is similar, and sound all can be smaller, at this time, it is difficult to judge whether user is to paste mobile terminal Nearly face is silent, either, silent close to face not by mobile terminal.
Therefore, in embodiments of the present invention, airborne sensor (such as gyroscope, the angle biography in mobile terminal can be called Sensor, acceleration transducer etc.) acquisition sensing data, judge the spatial position of mobile terminal, that is, describes mobile terminal and be located at The information in space.
In android system, segment space sensor is in SensorEvent, biography that return is indicated with Multidimensional numerical Feel data, the data of sensor measurement can be read by the function of android.hardware.Sense.
For example, in a Sensor Events, acceleration transducer can return to the acceleration information on 3-D walls and floor, top Spiral shell instrument can return to the speed of rotation data on 3-D walls and floor.
These sensing datas are usually returned in a manner of float arrays in parameter, and following table is listed in android system The motion sensor of support:
Certainly, with the increase of sensor, space included in the android.hardware.Sense classes passes Sensor quantity can also be continuously increased.
If it is determined that the current spatial position of mobile terminal, then can calculate the screen plane and gravity direction of mobile terminal Between the angle that is formed.
If the angle is less than preset angle threshold, then it represents that user's hand-held mobile terminal, and screen and gravity are straight Line is parallel or intersects certain angle, and upward state is presented, at this point, setting screen state to bright screen state, further increases Otherwise the accuracy of screen state control continues to acquire the first audio data and second audio data, and to calculate its audio poor It is different, to control the screen state of mobile terminal.
Step 308, the audio difference between first audio data and the second audio data is calculated.
Step 309, the dispaly state of the mobile terminal is controlled according to the audio difference.
It should be noted that for embodiment of the method, for simple description, therefore it is all expressed as a series of action group It closes, but those skilled in the art should understand that, the embodiment of the present invention is not limited by the described action sequence, because according to According to the embodiment of the present invention, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art also should Know, embodiment described in this description belongs to preferred embodiment, and the involved action not necessarily present invention is implemented Necessary to example.
With reference to Fig. 4, show that the block diagram of the mobile terminal embodiment of the present invention, mobile terminal 400 shown in Fig. 4 are configured with First collector, the second collector, can specifically include following module:
Hand-held call mode detection module 401, for when the mobile terminal is conversed, judging the mobile terminal Whether handheld state is in;If so, calling audio data collecting module;
Audio data collecting module 402, for calling first collector to acquire the first audio data, calling described the Two collectors acquire second audio data;
Audio difference computation module 403, for calculating between first audio data and the second audio data Audio difference;
Screen state control module 404, the dispaly state for controlling the mobile terminal according to the audio difference.
In one embodiment of the invention, the hand-held call mode detection module 401 includes:
Judging submodule is arranged in non-hand-held call, for judging whether the mobile terminal opens non-hand-held call setting; Talking state determination sub-module is held if it is not, then calling;
Handheld state determination sub-module, for determining that the mobile terminal is in handheld state;
Wherein, the non-hand-held call setting includes following at least one:
Sound extends out, connects earphone.
In one embodiment of the invention, the audio difference computation module 403 includes:
Frequency response curve rendering submodule, in a coordinate system be first audio data draw the first frequency response curve, The second frequency response curve is drawn for the second audio data, the horizontal axis of the coordinate system is frequency, the longitudinal axis is loudness;
First area areal calculation submodule is formed for calculating between first frequency response curve and the coordinate system First area area;
Second area areal calculation submodule is formed for calculating between second frequency response curve and the coordinate system Second area area;
Area difference computational submodule, for calculating the face between the first area area and the second area area Product moment value, as the audio difference between first audio data and the second audio data.
In one embodiment of the invention, the screen state setup module 404 includes:
Audio threshold judging submodule, for judging whether the audio difference is more than preset audio threshold;If so, The first setting submodule is called, if it is not, then calling the second setting submodule;
First setting submodule, for setting the dispaly state of the mobile terminal to screen state of going out;
Second setting submodule, for setting the dispaly state of the mobile terminal to bright screen state.
In one embodiment of the invention, further include:
Noise loudness measurement module is used for measurement noise loudness;
Noise Processing for removing module is used for when the noise loudness is more than preset loudness threshold, to first sound Frequency carries out noise Processing for removing according to the second audio data.
In one embodiment of the invention, further include:
Angle detection module, it is described mobile whole for when the noise loudness is less than or equal to preset threshold value, detecting Angle between the screen plane and gravity direction at end;
Angle threshold judgment module, for judging whether the angle is less than preset angle threshold;If so, calling bright Panel module, if it is not, then calling the audio difference computation module 403;
Bright panel module, for setting the dispaly state of the mobile terminal to bright screen state.
Mobile terminal provided in an embodiment of the present invention can realize that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 3 Each process, to avoid repeating, which is not described herein again.
In embodiments of the present invention, if when mobile terminal carries out handheld state of conversing and be in, first can be called to adopt Storage acquires the first audio data, the second collector is called to acquire second audio data, calculates its audio difference, is moved to be arranged The dispaly state of dynamic terminal can realize the talking state adjustment dispaly state automatically according to user, without configuring Distance-sensing Device, on the one hand, reduce cost, on the other hand, the difference for avoiding user's physiological property and use habit causes distance to pass The problem of sensor possibly can not be detected accurately at a distance from user is gone out to solve based on range sensor control dispaly state The problem of existing mistake, ensure that the accuracy of dispaly state control.
A kind of hardware architecture diagram of Fig. 5 mobile terminals of each embodiment to realize the present invention.
The mobile terminal 500 includes but not limited to:It is radio frequency unit 501, network module 502, audio output unit 503, defeated Enter unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor The components such as 510 and power supply 511.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 5 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, either combine certain components or Different component arrangements.In embodiments of the present invention, mobile terminal include but not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 510 is used for when the mobile terminal is conversed, and judges whether the mobile terminal is in hand Hold state;If so, first collector is called to acquire the first audio data, second collector is called to acquire the second sound Frequency evidence;Calculate the audio difference between first audio data and the second audio data;According to the audio difference Control the dispaly state of the mobile terminal.
In embodiments of the present invention, if when mobile terminal carries out handheld state of conversing and be in, first can be called to adopt Storage acquires the first audio data, the second collector is called to acquire second audio data, calculates its audio difference, is moved to be arranged The dispaly state of dynamic terminal can realize the talking state adjustment dispaly state automatically according to user, without configuring Distance-sensing Device, on the one hand, reduce cost, on the other hand, the difference for avoiding user's physiological property and use habit causes distance to pass The problem of sensor possibly can not be detected accurately at a distance from user is gone out to solve based on range sensor control dispaly state The problem of existing mistake, ensure that the accuracy of dispaly state control.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 501 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by radio communication system and network and other set Standby communication.
Mobile terminal has provided wireless broadband internet to the user by network module 502 and has accessed, and such as user is helped to receive Send e-mails, browse webpage and access streaming video etc..
It is that audio output unit 503 can receive radio frequency unit 501 or network module 502 or in memory 509 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 500 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 503 includes loud speaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal, including the first collector, the second collector.Input Unit 504 may include graphics processor (Graphics Processing Unit, GPU) 5041 and microphone 5042, figure Processor 5041 in video acquisition mode or image capture mode by image capture apparatus (such as camera) obtain static state The image data of picture or video is handled.Treated, and picture frame may be displayed on display unit 506.Through graphics process Treated that picture frame can be stored in memory 509 (or other storage mediums) or via radio frequency unit 501 for device 5041 Or network module 502 is sent.Microphone 5042 can receive sound, and can be audio number by such acoustic processing According to.Treated, and audio data can be converted in the case of telephone calling model and can be sent to shifting via radio frequency unit 501 The format output of dynamic communication base station.
Mobile terminal 500 further includes at least one sensor 505, 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 5061, and proximity sensor can close when mobile terminal 500 is moved in one's ear Display panel 5061 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 mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can wrap Display panel 5061 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 5061.
User input unit 507 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 507 include touch panel 5071 and Other input equipments 5072.Touch panel 5071, 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 5071 or in touch panel 5071 Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area It manages the order that device 510 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments 5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touch The type for touching event provides corresponding visual output on display panel 5061.Although in Figure 5, touch panel 5071 and display Panel 5061 is to realize the function that outputs and inputs of mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place does not limit.
Interface unit 508 is the interface that external device (ED) is connect with mobile terminal 500.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 500 or can be used in 500 He of mobile terminal Transmission data between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 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 Audio data, phone directory etc.) etc..In addition, memory 509 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 510 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 509, and calls and is stored in storage Data in device 509 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Reason device 510 may include one or more processing units;Preferably, processor 510 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 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511 Can be logically contiguous by power-supply management system and processor 510, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 510, and memory 509 is stored in On memory 509 and the computer program that can be run on the processor 510, the computer program are executed by processor 510 Each process of the above-mentioned display processing method embodiments based on call of Shi Shixian, and identical technique effect can be reached, to keep away Exempt to repeat, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, realizes each process of above-mentioned display method embodiment when which is executed by processor, and can reach Identical technique effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium is deposited Ru read-only Reservoir (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), Magnetic disc or CD etc..
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 device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device 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 device.
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 (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within the protection of the present invention.

Claims (14)

1. a kind of display methods, it is applied to mobile terminal, which is characterized in that the mobile terminal configuration has the first collector, the Two collectors, the method includes:
When the mobile terminal is conversed, judge whether the mobile terminal is in handheld state;If so, described in calling First collector acquires the first audio data, second collector is called to acquire second audio data;
Calculate the audio difference between first audio data and the second audio data;
The dispaly state of the mobile terminal is controlled according to the audio difference.
2. according to the method described in claim 1, it is characterized in that, it is described judge whether be in handheld state, including:
Judge whether the mobile terminal opens non-hand-held call setting;
If not, it is determined that the mobile terminal is in handheld state;
Wherein, the non-hand-held call setting includes following at least one:
Sound extends out, connects earphone.
3. according to the method described in claim 1, it is characterized in that, described calculate first audio data and second sound Audio difference of the frequency between, including:
It is that first audio data draws the first frequency response curve, is that the second audio data draws the second frequency in a coordinate system Curve is rung, the horizontal axis of the coordinate system is frequency, the longitudinal axis is loudness;
Calculate the first area area formed between first frequency response curve and the coordinate system;
Calculate the second area area formed between second frequency response curve and the coordinate system;
The area difference between the first area area and the second area area is calculated, as first audio data Audio difference between the second audio data.
4. according to the method described in claim 1, it is characterized in that, described be arranged the mobile terminal according to the audio difference Dispaly state, including:
Judge whether the audio difference is more than preset audio threshold;
If so, setting the dispaly state of the mobile terminal to screen state of going out;
If it is not, then setting the dispaly state of the mobile terminal to bright screen state.
5. method according to claim 1 or 2 or 3 or 4, which is characterized in that calculate first audio data described Before audio difference between the second audio data, further include:
Measurement noise loudness;
When the noise loudness is more than preset loudness threshold, to first audio data and the second audio data into Row noise Processing for removing.
6. according to the method described in claim 5, it is characterized in that, after the measurement noise loudness, further include:
When the noise loudness is less than or equal to preset threshold value, the screen plane and gravity direction of the mobile terminal are detected Between angle;
Judge whether the angle is less than preset angle threshold;
If so, setting the dispaly state of the mobile terminal to bright screen state;
If it is not, then executing the audio difference between the calculating first audio data and the second audio data.
7. a kind of mobile terminal, which is characterized in that the mobile terminal configuration has the first collector, the second collector, the shifting Dynamic terminal includes:
Hand-held call mode detection module, for when the mobile terminal is conversed, judging whether the mobile terminal is located In handheld state;If so, calling audio data collecting module;
Audio data collecting module, for calling first collector to acquire the first audio data, calling second acquisition Device acquires second audio data;
Audio difference computation module, it is poor for calculating the audio between first audio data and the second audio data It is different;
Screen state control module, the dispaly state for controlling the mobile terminal according to the audio difference.
8. mobile terminal according to claim 7, which is characterized in that the hand-held call mode detection module includes:
Judging submodule is arranged in non-hand-held call, for judging whether the mobile terminal opens non-hand-held call setting;If it is not, It then calls and holds talking state determination sub-module;
Handheld state determination sub-module, for determining that the mobile terminal is in handheld state;
Wherein, the non-hand-held call setting includes following at least one:
Sound extends out, connects earphone.
9. mobile terminal according to claim 7, which is characterized in that the audio difference computation module includes:
Frequency response curve rendering submodule, for drawing the first frequency response curve for first audio data in a coordinate system, being institute It states second audio data and draws the second frequency response curve, the horizontal axis of the coordinate system is frequency, the longitudinal axis is loudness;
First area areal calculation submodule, for calculating formed between first frequency response curve and the coordinate system first Region area;
Second area areal calculation submodule, for calculating formed between second frequency response curve and the coordinate system second Region area;
Area difference computational submodule, for calculating the difference in areas between the first area area and the second area area Value, as the audio difference between first audio data and the second audio data.
10. mobile terminal according to claim 7, which is characterized in that the screen state setup module includes:
Audio threshold judging submodule, for judging whether the audio difference is more than preset audio threshold;If so, calling First setting submodule, if it is not, then calling the second setting submodule;
First setting submodule, for setting the dispaly state of the mobile terminal to screen state of going out;
Second setting submodule, for setting the dispaly state of the mobile terminal to bright screen state.
11. according to the mobile terminal described in claim 7 or 8 or 9 or 10, which is characterized in that further include:
Noise loudness measurement module is used for measurement noise loudness;
Noise Processing for removing module is used for when the noise loudness is more than preset loudness threshold, to the first audio number Noise Processing for removing is carried out according to the second audio data.
12. mobile terminal according to claim 11, which is characterized in that further include:
Angle detection module, for when the noise loudness is less than or equal to preset threshold value, detecting the mobile terminal Angle between screen plane and gravity direction;
Angle threshold judgment module, for judging whether the angle is less than preset angle threshold;If so, calling bright screen mould Block, if it is not, then calling the audio difference computation module;
Bright panel module, for setting the dispaly state of the mobile terminal to bright screen state.
13. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 6 is realized when the computer program is executed by the processor Any one of described in display methods the step of.
14. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence realizes the step such as display methods according to any one of claims 1 to 6 when the computer program is executed by processor Suddenly.
CN201810073699.2A 2018-01-25 2018-01-25 A kind of display methods, mobile terminal Pending CN108390996A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810073699.2A CN108390996A (en) 2018-01-25 2018-01-25 A kind of display methods, mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810073699.2A CN108390996A (en) 2018-01-25 2018-01-25 A kind of display methods, mobile terminal

Publications (1)

Publication Number Publication Date
CN108390996A true CN108390996A (en) 2018-08-10

Family

ID=63077238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810073699.2A Pending CN108390996A (en) 2018-01-25 2018-01-25 A kind of display methods, mobile terminal

Country Status (1)

Country Link
CN (1) CN108390996A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109542279A (en) * 2018-10-30 2019-03-29 维沃移动通信有限公司 A kind of terminal equipment control method and terminal device
CN113115151A (en) * 2021-03-15 2021-07-13 联想(北京)有限公司 Control method and device of wireless earphone, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320544A (en) * 2014-11-10 2015-01-28 广东欧珀移动通信有限公司 Microphone control method of mobile terminal and mobile terminal
WO2016172846A1 (en) * 2015-04-28 2016-11-03 华为技术有限公司 Blowing action-based method for operating mobile terminal and mobile terminal
CN106331359A (en) * 2016-08-31 2017-01-11 广东欧珀移动通信有限公司 Speech signal acquisition method and apparatus and terminal
CN107124513A (en) * 2017-05-04 2017-09-01 努比亚技术有限公司 Breath screen method, mobile terminal and computer-readable recording medium under talking state
CN107517445A (en) * 2017-08-30 2017-12-26 努比亚技术有限公司 WLAN WifiTrak method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320544A (en) * 2014-11-10 2015-01-28 广东欧珀移动通信有限公司 Microphone control method of mobile terminal and mobile terminal
WO2016172846A1 (en) * 2015-04-28 2016-11-03 华为技术有限公司 Blowing action-based method for operating mobile terminal and mobile terminal
CN106331359A (en) * 2016-08-31 2017-01-11 广东欧珀移动通信有限公司 Speech signal acquisition method and apparatus and terminal
CN107124513A (en) * 2017-05-04 2017-09-01 努比亚技术有限公司 Breath screen method, mobile terminal and computer-readable recording medium under talking state
CN107517445A (en) * 2017-08-30 2017-12-26 努比亚技术有限公司 WLAN WifiTrak method and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109542279A (en) * 2018-10-30 2019-03-29 维沃移动通信有限公司 A kind of terminal equipment control method and terminal device
CN109542279B (en) * 2018-10-30 2022-08-26 维沃移动通信有限公司 Terminal device control method and terminal device
CN113115151A (en) * 2021-03-15 2021-07-13 联想(北京)有限公司 Control method and device of wireless earphone, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107799125A (en) A kind of audio recognition method, mobile terminal and computer-readable recording medium
CN107911445A (en) A kind of information push method, mobile terminal and storage medium
CN109905907A (en) A kind of method for searching network and mobile terminal
CN108737921A (en) A kind of control method for playing back, system, earphone and mobile terminal
CN108491123A (en) A kind of adjusting application program image target method and mobile terminal
CN108989672A (en) A kind of image pickup method and mobile terminal
CN108063999A (en) A kind of dust-proof network detecting method, mobile terminal
CN108521520A (en) A kind of call handling method and mobile terminal
CN110062104A (en) Application program launching method, device and mobile terminal
CN108196815A (en) A kind of adjusting method and mobile terminal of sound of conversing
CN109905812A (en) A kind of input power control method and device, terminal device
CN108521501A (en) Pronunciation inputting method and mobile terminal
CN107786751A (en) A kind of method for broadcasting multimedia file and mobile terminal
CN107835495A (en) A kind of message prompt method, device and mobile terminal
CN110138963A (en) A kind of message treatment method and mobile terminal
CN110225195A (en) A kind of audio communication method and terminal
CN109542572A (en) A kind of interface display method and mobile terminal
CN108509141A (en) A kind of generation method and mobile terminal of control
CN107277364A (en) A kind of image pickup method, mobile terminal and computer-readable recording medium
CN109743454A (en) A kind of call handling method and mobile terminal
CN109348035A (en) A kind of recognition methods of telephone number and terminal device
CN109873894A (en) A kind of volume adjusting method and mobile terminal
CN109474747A (en) A kind of information cuing method and mobile terminal
CN108650392A (en) A kind of call recording method and mobile terminal
CN109451158A (en) A kind of based reminding method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180810

RJ01 Rejection of invention patent application after publication