CN107995365A - Terminal exports method, mobile terminal and the computer-readable recording medium of prompt tone - Google Patents
Terminal exports method, mobile terminal and the computer-readable recording medium of prompt tone Download PDFInfo
- Publication number
- CN107995365A CN107995365A CN201711257593.XA CN201711257593A CN107995365A CN 107995365 A CN107995365 A CN 107995365A CN 201711257593 A CN201711257593 A CN 201711257593A CN 107995365 A CN107995365 A CN 107995365A
- Authority
- CN
- China
- Prior art keywords
- output
- prompt tone
- mobile terminal
- difference
- magnitude
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/60—Substation equipment, e.g. for use by subscribers including speech amplifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
Abstract
The invention discloses method, mobile terminal and the computer-readable recording medium of a kind of terminal output prompt tone, mobile terminal, which includes Doppler's emitter and Doppler's reception device, this method, to be included:After mobile terminal output prompt tone is detected, the first Doppler signal is launched by Doppler's emitter, and the first Doppler signal and the second Doppler signal returned after barrier relative motion are received by Doppler's reception device;Determine the corresponding transmitting amplitude of the first Doppler signal, and determine the corresponding reception amplitude of the second Doppler signal;Calculate transmitting amplitude and receive the difference in magnitude between amplitude;If difference in magnitude is more than default difference in magnitude, forbidden moves terminal performs the output operation of output prompt tone.The present invention is realized in the case of mobile terminal is not contacted, and the output for controlling mobile terminal to terminate to export prompt tone in advance before the arrival of prompt tone output time by Doppler signal operates.
Description
Technical field
The present invention relates to field of communication technology, more particularly to method, mobile terminal and the meter of a kind of terminal output prompt tone
Calculation machine readable storage medium storing program for executing.
Background technology
With the fast development of mobile terminal technology, more and more users replace traditional alarm clock using mobile terminal,
Set preset time to carry out jingle bell in the terminal, remind user.But current mobile terminal is used during jingle bell
If family is want to allow terminating mobile terminal jingle bell in advance before ring time reaches, user can only be stopped by clicking in mobile terminal
Only button, stops stopping operation for jingle bell, control mobile terminal stops jingle bell with triggering.But in some scenarios, user is not
The convenient stop button for clicking on mobile terminal, as user hears the jingle bell of mobile terminal morning in one's sleep, user is not desired to open
Eyes close jingle bell, either user in public such as in crowded public transport or subway when, user is inconvenient to pick up movement
Terminal clicks on stop button, and control mobile terminal stops jingle bell.It follows that at present cannot be by not clicking in mobile terminal
Stop button, terminates the jingle bell operation of mobile terminal in advance before ring time arrival.
The content of the invention
It is a primary object of the present invention to propose the method for terminal output prompt tone a kind of, mobile terminal and computer-readable
Storage medium, it is intended to solve it is existing can only by click on the stop button in mobile terminal control mobile terminal output when
Between reach before terminate its export prompt tone output operation technical problem.
To achieve the above object, the present invention provides a kind of method of terminal output prompt tone, the mobile terminal to include
Doppler's emitter and Doppler's reception device, the method for the terminal output prompt tone include:
After mobile terminal output prompt tone is detected, the first Doppler is launched by Doppler's emitter and is believed
Number, and first Doppler signal and returned after barrier relative motion second are received by Doppler's reception device
Doppler signal;
Determine the corresponding transmitting amplitude of first Doppler signal, and determine that second Doppler signal is corresponding
Receive amplitude;
Calculate the transmitting amplitude and the difference in magnitude received between amplitude;
If the difference in magnitude is more than default difference in magnitude, the mobile terminal execution is forbidden to export the output of the prompt tone
Operation.
Alternatively, if the difference in magnitude is more than default difference in magnitude, forbid described in the mobile terminal execution output
The step of output operation of prompt tone, includes:
If the difference in magnitude is more than default difference in magnitude, the corresponding tranmitting frequency of first Doppler signal is obtained, with
And obtain the corresponding receives frequency of second Doppler signal;
Calculate the difference on the frequency between the tranmitting frequency and the receives frequency;
If the difference on the frequency is more than, predeterminated frequency is poor, forbids the mobile terminal execution to export the output of the prompt tone
Operation.
Alternatively, it is described calculate between the tranmitting frequency and the receives frequency difference on the frequency the step of after, also wrap
Include:
It is poor to judge whether the difference on the frequency is more than the predeterminated frequency;
If the difference on the frequency is less than or equal to, the predeterminated frequency is poor, reduces the mobile terminal output prompt tone
Output time.
Alternatively, it is described calculate it is described transmitting amplitude and it is described receive amplitude between difference in magnitude the step of after, also wrap
Include:
Judge whether the difference in magnitude is more than the default difference in magnitude;
If the difference in magnitude is less than or equal to the default difference in magnitude, obtains and launch first Doppler signal
Launch time, and obtain the receiving time for receiving second Doppler signal;
Calculated according to the transmission rate of the launch time, the receiving time and Doppler signal general more than described first
Strangle the sum of transmission range of signal and second Doppler signal;
If the transmission range for calculating gained is less than or equal to pre-determined distance, the mobile terminal output prompt tone is reduced
Output volume.
Alternatively, the transmission rate according to the launch time, the receiving time and Doppler signal calculates
After the step of the sum of transmission range of first Doppler signal and second Doppler signal, further include:
Judge whether the transmission range is more than the pre-determined distance;
If the transmission range is more than the pre-determined distance, the mobile terminal is controlled to export institute with current output volume
State prompt tone.
Alternatively, it is described calculate it is described transmitting amplitude and it is described receive amplitude between difference in magnitude the step of after, also wrap
Include:
Judge whether the difference in magnitude is more than the default difference in magnitude;
If the difference in magnitude is less than or equal to the default difference in magnitude, obtains and launch first Doppler signal
Launch time, and obtain the receiving time for receiving second Doppler signal;
Calculated according to the transmission rate of the launch time, the receiving time and Doppler signal general more than described first
Strangle the sum of transmission range of signal and second Doppler signal;
If the transmission range for calculating gained is less than or equal to pre-determined distance, replaces the mobile terminal and currently exported
Prompt tone song.
Alternatively, if the difference in magnitude is more than default difference in magnitude, forbid described in the mobile terminal execution output
After the step of output operation of prompt tone, further include:
The number of forbidding for forbidding the mobile terminal execution to export operation is calculated, and the output is grasped each time for corresponding acquisition
The output time and output volume of work;
If described forbid number to be more than or equal to preset times, the prompt tone is set according to the output time
Give tacit consent to output time, and the acquiescence output volume of the prompt tone is set according to the output volume.
Alternatively, if described forbid number to be more than or equal to preset times, set according to the output time
The acquiescence output time of the prompt tone, and the step of the acquiescence output volume according to the average volume setting prompt tone
Suddenly include:
If described forbid number to be more than or equal to preset times, forbid number according to calculating the output time
Interior average output time, and forbid average output volume in number according to calculating the output volume;
The average output time is arranged to the acquiescence output time of the prompt tone, and sound is averagely exported by described
Amount is arranged to the acquiescence output volume of the prompt tone.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminal, the mobile terminal include memory,
Processor and the program for being stored in the terminal output prompt tone that can be run on the memory and on the processor, the end
The program of end output prompt tone realizes the step of the method for terminal output prompt tone as described above when being performed by the processor
Suddenly.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer-readable recording medium
The program of terminal output prompt tone is stored with storage medium, the program of the terminal output prompt tone is real when being executed by processor
Now the step of method of terminal output prompt tone as described above.
In the present invention by after detecting mobile terminal and exporting prompt tone, passing through Doppler's emitter transmitting the
One Doppler signal, and by Doppler's reception device receive first Doppler signal with after barrier relative motion
The second Doppler signal returned;Determine the corresponding transmitting amplitude of first Doppler signal, and determine more than described second
It is general to strangle the corresponding reception amplitude of signal;Calculate the transmitting amplitude and the difference in magnitude received between amplitude;If the amplitude
Difference is more than default difference in magnitude, then forbids the mobile terminal execution to export the output operation of the prompt tone.Realize and work as user
It is not easy to control mobile terminal before output time arrival by clicking on the corresponding stop button of prompt tone in mobile terminal
When terminating output prompt tone, barrier is used as by hand, in the case of mobile terminal is not contacted, to pass through Doppler signal control
Mobile terminal processed terminates to export the output operation of prompt tone in advance before the arrival of prompt tone output time.
Brief description of the drawings
Fig. 1 is a kind of each hardware architecture diagram of terminal of embodiment of the realization 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 for the method first embodiment that terminal of the present invention exports prompt tone;
Fig. 4 is that mobile terminal is launched Doppler signal by receiver and received by microphone more in the embodiment of the present invention
A kind of general schematic diagram for strangling signal;
Fig. 5 is a kind of schematic diagram that mobile terminal of the embodiment of the present invention exports alarm clock;
Fig. 6 is a kind of schematic diagram for the library that prompt tone is stored in the embodiment of the present invention;
If Fig. 7 is that difference in magnitude is more than default difference in magnitude in the embodiment of the present invention, forbidden moves terminal performs output prompting
A kind of flow diagram of the output operation of sound;
Fig. 8 is the flow diagram for the method 3rd embodiment that terminal of the present invention exports prompt tone.
Fig. 9 is the flow diagram for the method fourth embodiment that terminal of the present invention exports prompt tone.
The realization, the function and the advantages of the object of the present invention will explain referring to the drawings in conjunction with the embodiments.
Embodiment
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 follow-up description, the suffix using such as " module ", " component " or " unit " for representing element is only
Be conducive to the explanation of the present invention, itself there is no 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 can include such as mobile phone, tablet
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move
Dynamic terminal, and the fixed terminal such as numeral TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special
Outside 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, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shifting
Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103rd, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit
108th, the component 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 form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or fewer components,
Either combine some 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, the reception and transmission of signal, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, by the data sending of uplink 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, penetrate
Frequency unit 101 can also be communicated by wireless communication with network and other equipment.Above-mentioned wireless communication can use any communication
Standard or agreement, include 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, browse 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, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need
To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
Formula, speech recognition mode, broadcast reception mode when under isotype, by radio frequency unit 101 or WiFi module 102 it is receiving or
It is sound that the voice data stored in memory 109, which is converted into audio signal and exports,.Moreover, audio output unit 103
The relevant audio output of specific function performed with mobile terminal 100 can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input units 104 are used to receive audio or video signal.A/V input units 104 can include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) carry out
Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited
Storage is transmitted 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 (voice) data after processing can
To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound
The noise produced 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 one 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, the application available for identification 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 ray sensor, details are not described herein.
Display unit 106 is used for the information for showing by information input by user or being supplied to user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is related.Specifically, user input unit 107 may include contact panel 1071 with
And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect user on it or neighbouring touch operation
(for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071
Neighbouring operation), and corresponding attachment device is driven according to formula set in advance.Contact 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
Contact coordinate is converted into, then gives processor 110, and the order that processor 110 is sent can be received and performed.In addition, can
To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, operation lever etc.
One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, when contact 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, contact panel 1071 and display panel
1061 be the component independent as two to realize the function that outputs and inputs of mobile terminal, but in certain embodiments, can
The function that outputs and inputs of mobile terminal is realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically
Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example,
External device (ED) can include wired or wireless head-band earphone 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 transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include 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 can 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 whole mobile terminal of connection
A part, by running or performing the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109, perform the various functions and processing data of mobile terminal, so as 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
Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main
Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
In addition, in the mobile terminal shown in Fig. 1, including Doppler's emitter and Doppler's reception device, processor
110 are used to call the terminal stored in memory 109 to export the program of prompt tone, and perform following operation:
After the output prompt tone of mobile terminal 100 is detected, pass through Doppler's emitter and launch the first Doppler
Signal, and first Doppler signal and returned after barrier relative motion the are received by Doppler's reception device
Two Doppler signals;
Determine the corresponding transmitting amplitude of first Doppler signal, and determine that second Doppler signal is corresponding
Receive amplitude;
Calculate the transmitting amplitude and the difference in magnitude received between amplitude;
If the difference in magnitude is more than default difference in magnitude, forbids the mobile terminal 100 to perform and export the prompt tone
Output operation.
Further, if the difference in magnitude is more than default difference in magnitude, the mobile terminal 100 is forbidden to perform output
The step of output operation of the prompt tone, includes:
If the difference in magnitude is more than default difference in magnitude, the corresponding tranmitting frequency of first Doppler signal is obtained, with
And obtain the corresponding receives frequency of second Doppler signal;
Calculate the difference on the frequency between the tranmitting frequency and the receives frequency;
If the difference on the frequency is more than, predeterminated frequency is poor, forbids the mobile terminal 100 to perform and exports the prompt tone
Output operation.
Further, it is described calculate between the tranmitting frequency and the receives frequency difference on the frequency the step of after, place
Reason device 110 is additionally operable to the program for calling the control mobile terminal 100 stored in memory 109 to export prompt tone, performs following behaviour
Make:
It is poor to judge whether the difference on the frequency is more than the predeterminated frequency;
If it is poor that the difference on the frequency is less than or equal to the predeterminated frequency, the output of mobile terminal 100 prompting is reduced
The output time of sound.
Further, it is described calculate it is described transmitting amplitude and it is described receive amplitude between difference in magnitude the step of after, place
Reason device 110 is additionally operable to the program for calling the control mobile terminal 100 stored in memory 109 to export prompt tone, performs following behaviour
Make:
Judge whether the difference in magnitude is more than the default difference in magnitude;
If the difference in magnitude is less than or equal to the default difference in magnitude, obtains and launch first Doppler signal
Launch time, and obtain the receiving time for receiving second Doppler signal;
Calculated according to the transmission rate of the launch time, the receiving time and Doppler signal general more than described first
Strangle the sum of transmission range of signal and second Doppler signal;
If the transmission range for calculating gained is less than or equal to pre-determined distance, reduces the output of mobile terminal 100 and carry
Show the output volume of sound.
Further, it is described to be calculated according to the transmission rate of the launch time, the receiving time and Doppler signal
After the step of going out the sum of transmission range of first Doppler signal and second Doppler signal, processor 110 is also
For calling the control mobile terminal 100 stored in memory 109 to export the program of prompt tone, following operation is performed:
Judge whether the transmission range is more than the pre-determined distance;
If the transmission range is more than the pre-determined distance, control the mobile terminal 100 defeated with current output volume
Go out the prompt tone.
Further, it is described calculate it is described transmitting amplitude and it is described receive amplitude between difference in magnitude the step of after, place
Reason device 110 is additionally operable to the program for calling the control mobile terminal 100 stored in memory 109 to export prompt tone, performs following behaviour
Make:
Judge whether the difference in magnitude is more than the default difference in magnitude;
If the difference in magnitude is less than or equal to the default difference in magnitude, obtains and launch first Doppler signal
Launch time, and obtain the receiving time for receiving second Doppler signal;
Calculated according to the transmission rate of the launch time, the receiving time and Doppler signal general more than described first
Strangle the sum of transmission range of signal and second Doppler signal;
If the transmission range for calculating gained is less than or equal to pre-determined distance, the current institute of the mobile terminal 100 is replaced
The song of the prompt tone of output.
Further, if the difference in magnitude is more than default difference in magnitude, the mobile terminal 100 is forbidden to perform output
After the step of output operation of the prompt tone, processor 110 is additionally operable to call the control movement stored in memory 109 eventually
The program of the output of end 100 prompt tone, performs following operation:
Calculating forbids the mobile terminal 100 to perform the number of forbidding for exporting operation, and corresponding acquisition is described each time defeated
Go out the output time and output volume of operation;
If described forbid number to be more than or equal to preset times, the prompt tone is set according to the output time
Give tacit consent to output time, and the acquiescence output volume of the prompt tone is set according to the output volume.
Further, if described forbid number to be more than or equal to preset times, set according to the output time
Put the acquiescence output time of the prompt tone, and the acquiescence output volume of the prompt tone is set according to the average volume
Step includes:
If described forbid number to be more than or equal to preset times, forbid number according to calculating the output time
Interior average output time, and forbid average output volume in number according to calculating the output volume;
The average output time is arranged to the acquiescence output time of the prompt tone, and sound is averagely exported by described
Amount is arranged to the acquiescence output volume of the prompt tone.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put
The function 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.
For the ease of understanding the embodiment 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
Unite includes UE (User Equipment, the use for communicating connection successively for the LTE system of universal mobile communications technology, the LTE system
Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands
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 connected with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 can 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 between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registers
Such as the function of attaching position register (not shown) etc, and preserve some and used in relation to service features, data rate etc.
The dedicated information in family.All customer data can be transmitted 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-making with charge execution function unit (not shown) for strategy.
IP operation 204 can 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 following new network system etc., do not limit herein.
Based on above-mentioned terminal hardware structure and communications network system, the method for terminal output prompt tone of the present invention is proposed
Each embodiment.
The present invention provides a kind of method of terminal output prompt tone.
With reference to Fig. 3, Fig. 3 is the flow diagram for the method first embodiment that terminal of the present invention exports prompt tone.
In the present embodiment, there is provided the embodiment of the method for terminal output prompt tone is, it is necessary to illustrate, although flowing
Logical order is shown in journey figure, but in some cases, can be with different from shown or described by order execution herein
The step of.
In the present embodiment, the method for terminal output prompt tone includes:
Step S10, after mobile terminal output prompt tone is detected, launches the first Doppler by Doppler's emitter
Signal, and the first Doppler signal and the second Doppler returned after barrier relative motion are received by Doppler's reception device
Signal.
In the terminal, user has pre-set the output time and output volume of current prompt sound.Work as shifting
Dynamic terminal detects current time equal to after output time, and mobile terminal exports prompting according to the output volume pre-set
Sound.Wherein, prompt tone includes but not limited to quarter-bell, incoming call prompting sound and memorandum prompt tone.It is understood that mobile terminal
During prompt tone is exported, prompt tone can be exported according to the good prompt tone song of user setting, as user can like oneself
Music be arranged to prompt tone.After mobile terminal, which detects current time, is equal to output time, mobile terminal is by user setting
Music exported in a manner of prompt tone.
After mobile terminal exports prompt tone, mobile terminal sends the first Doppler by its Doppler's emitter to be believed
Number, and the first Doppler signal and the second Doppler returned after barrier relative motion are received by its Doppler's reception device
Signal.In the present embodiment, in order to save the cost of mobile terminal, the receiver of mobile terminal can be launched as Doppler and fills
Put, using the microphone of mobile terminal as Doppler's reception device.Specifically, Fig. 4 is can refer to, Fig. 4 is in the embodiment of the present invention
Mobile terminal launches Doppler signal by receiver and a kind of schematic diagram of Doppler signal is received by microphone.Other
In embodiment, it can also be set in mobile terminal dedicated for launching Doppler's emitter of Doppler signal, and set
Dedicated for receiving Doppler's reception device of Doppler signal.It is understood that when the hand of user is as barrier, use
The hand at family is constantly approached to mobile terminal, there are relative motion between mobile terminal and barrier, generates Doppler effect.
Step S20, determines the corresponding transmitting amplitude of the first Doppler signal, and determines that the second Doppler signal is corresponding
Receive amplitude.
After mobile terminal launches the first Doppler signal by Doppler's emitter, mobile terminal records more than first are general
Strangle the corresponding Doppler of signal and launch amplitude.When mobile terminal receives the second Doppler signal by Doppler's reception device
Afterwards, the corresponding Doppler of the second Doppler signal of mobile terminal records receives amplitude.It is understood that when Doppler launches dress
After putting the first Doppler signal of transmitting, if the barrier that the first Doppler signal encounters relative motion in transmitting procedure will return
Return, Doppler's reception device will receive the second Doppler signal corresponding with the first Doppler signal.Need what is illustrated
It is that, when the barrier that the first Doppler signal encounters relative motion returns to next, the transmission amplitude of Doppler signal can be changed, i.e.,
The corresponding transmitting amplitude of first Doppler signal and the corresponding reception amplitude of the second Doppler signal are inconsistent.
Step S30, calculates transmitting amplitude and receives the difference in magnitude between amplitude.
Step S40, if difference in magnitude is more than default difference in magnitude, forbidden moves terminal performs the output behaviour of output prompt tone
Make.
After mobile terminal determines to launch amplitude and receive amplitude, mobile terminal is calculated between transmitting amplitude and reception amplitude
Difference in magnitude, and will calculate gained difference in magnitude contrasted with default difference in magnitude.If difference in magnitude is more than default difference in magnitude, mobile
Terminal then forbids performing the output operation of the current prompt tone exported of output, to terminate the prompting that output is currently exported
Sound.It is understood that when barrier move to it is near with mobile terminal skip, receive amplitude it is bigger.Wherein, default difference in magnitude can root
Set according to individual subscriber operating habit, be not limited herein.It should be noted that in the present embodiment, set in mobile terminal
It is equipped with the acquiescence difference in magnitude set according to the operating habit of ordinary user.If mobile terminal user is not provided with difference in magnitude, move
Dynamic terminal can will then give tacit consent to difference in magnitude as default difference in magnitude to determine whether forbidding the prompting that output is currently exported.
As in the morning, when user also stays in the bed, mobile terminal quarter-bell is rung, and user is not desired to open eyes at this time to close and makes a noise
Bell.User can be used as barrier by Doppler signal in the case where not clicking on the stop button of mobile terminal stopping jingle bell using hand
Thing control mobile terminal is hindered to stop jingle bell.Specifically, with reference to Fig. 5, user is not required to slide downward and closes alarm clock, can be directly by more
Pu Le closes alarm clock in the case where not contacting mobile terminal.
Further, the method for terminal output prompt tone further includes:
Step a, judges whether difference in magnitude is more than default difference in magnitude.
Step b, if difference in magnitude is less than or equal to default difference in magnitude, when obtaining the transmitting of the first Doppler signal of transmitting
Between, and obtain the receiving time for receiving the second Doppler signal.
Further, after mobile terminal is calculated transmitting amplitude and receives the difference in magnitude between amplitude, by calculating
The difference in magnitude obtained is contrasted with default difference in magnitude, judges whether the difference in magnitude for calculating gained is more than default difference in magnitude.If calculate
The difference in magnitude of gained is more than or equal to default difference in magnitude, and mobile terminal then obtains Doppler's emitter and launches the first Doppler
The launch time of signal, and obtain the receiving time that Doppler's reception device receives the second Doppler signal.Need what is illustrated
It is,, can if Doppler's emitter can realize clocking capability when Doppler's emitter launches the first Doppler signal
It oneself is recorded by Doppler's emitter and launches the launch time of the first Doppler signal, or can be by timing in mobile terminal
Device record Doppler emitter sends the launch time of the first Doppler signal.It is understood that record receives more than second
The general principle for strangling signal reception time is consistent with the principle of the launch time of record the first Doppler signal of transmitting, no longer superfluous herein
State.
Step c, the first Doppler signal is calculated according to the transmission rate of launch time, receiving time and Doppler signal
The sum of with the transmission range of the second Doppler signal.
After acquisition for mobile terminal is to launch time and receiving time, mobile terminal calculate launch time and receiving time it
Between time difference, according to calculating the time difference of gained and the transmission rate of Doppler signal calculates the first Doppler signal and the
The sum of transmission range of two Doppler signals.Wherein, when Doppler signal is ultrasonic signal, ultrasonic signal is in atmosphere
Transmission rate be 340m/s (metre per second (m/s)).The sum of transmission range of first Doppler signal and the second Doppler signal is:L=
C × T, wherein, T represents the time difference between launch time and receiving time, and C represents the aerial transmission speed of Doppler signal
Rate.
Step d, if the transmission range for calculating gained is less than or equal to pre-determined distance, it is defeated to replace the current institute of mobile terminal
The song of the prompt tone gone out.
After the sum of transmission range for calculating the first Doppler signal and the second Doppler signal, mobile terminal judges to pass
Defeated distance (for the sum of transmission range of the first Doppler signal and the second Doppler signal) whether be less than or equal to it is default away from
From.If transmission range is less than or equal to pre-determined distance, mobile terminal replaces the song of the prompt tone currently exported.Its
In, pre-determined distance can be set as desired by user.When user is not provided with pre-determined distance, mobile terminal is then using acquiescence
Distance is used as pre-determined distance.The song of prompt tone can be pre-set by user according to hobby.In the present embodiment, mobile terminal
In be provided with prompt tone library, user is stored in this document storehouse and wants to set up file for prompt tone.If file library storage
The file of the different songs of A, B, C, D and E this 5, as shown in fig. 6, this 5 file all can be the snatch of music that user likes.
If the prompt tone currently exported is B songs, when transmission range is less than or equal to pre-determined distance, mobile terminal will be current defeated
The prompt tone gone out replaces any one of A, C, D and E song from B songs.Further, user can also set different songs to carry
Show the priority of sound output, when replacing prompt tone output song, the high song of preferential output priority.
Further, if transmission range is more than pre-determined distance, mobile terminal continues to work as with current output volume output
Preceding song.
The present embodiment is by after mobile terminal output prompt tone is detected, passing through Doppler's emitter and launching more than first
General Le signal, and the first Doppler signal and returned after barrier relative motion more than second are received by Doppler's reception device
General Le signal;Determine the corresponding transmitting amplitude of the first Doppler signal, and determine the corresponding reception width of the second Doppler signal
Value;Calculate transmitting amplitude and receive the difference in magnitude between amplitude;If difference in magnitude is more than default difference in magnitude, forbidden moves terminal is held
The output operation of row output prompt tone.Realize when user be not easy to by click on prompt tone in mobile terminal it is corresponding stop by
Button with control mobile terminal output time arrival before terminate output prompt tone when, barrier is used as by hand, not connect
In the case of touching mobile terminal, mobile terminal is controlled to terminate in advance before the arrival of prompt tone output time by Doppler signal
Export the output operation of prompt tone.
Further, the second embodiment of the method for terminal output prompt tone of the present invention is proposed based on first embodiment.Eventually
Difference lies in ginseng for the first embodiment of the second embodiment of the method for end output prompt tone and the method for terminal output prompt tone
According to Fig. 7, step S40 includes:
Step S41, if difference in magnitude is more than default difference in magnitude, obtains the corresponding tranmitting frequency of the first Doppler signal, with
And obtain the corresponding receives frequency of the second Doppler signal.
If it is determined that the difference in magnitude for calculating gained is more than default difference in magnitude, mobile terminal then obtains the first Doppler signal correspondence
Tranmitting frequency, and obtain the corresponding receives frequency of the second Doppler signal.Specifically, when Doppler's emitter transmitting the
During one Doppler signal, mobile terminal can control Doppler's emitter to remember the corresponding tranmitting frequency of the first Doppler signal
Record is got up;When Doppler's reception device receives the second Doppler signal, mobile terminal can control Doppler's reception device by the
The corresponding receives frequency record of two Doppler signals gets up.
Step S42, calculates the difference on the frequency between tranmitting frequency and receives frequency.
Step S43, if difference on the frequency is more than, predeterminated frequency is poor, and forbidden moves terminal performs the output behaviour of output prompt tone
Make.
After acquisition for mobile terminal is to tranmitting frequency and receives frequency, mobile terminal calculates tranmitting frequency and receives frequency
Between difference on the frequency, and will calculate gained difference on the frequency contrasted with predeterminated frequency difference.If it is poor that difference on the frequency is more than predeterminated frequency,
Mobile terminal then forbids performing the output operation of output prompt tone.Predeterminated frequency difference can be set according to specific needs by user.
If user is not provided with, predeterminated frequency is poor, and mobile terminal is poor as predeterminated frequency using the default frequency difference prestored.
Further, the method for terminal output prompt tone further includes:
Step e, it is poor whether determination frequency difference is more than predeterminated frequency.
Step f, if difference on the frequency is less than or equal to, predeterminated frequency is poor, when reducing the output of mobile terminal output prompt tone
Between.
After the difference on the frequency between tranmitting frequency and receives frequency is calculated in mobile terminal, mobile terminal determination frequency is poor
Whether predeterminated frequency is more than poor.If it is poor that difference on the frequency is less than or equal to predeterminated frequency, mobile terminal reduces it and exports prompt tone
Output time.It should be noted that mobile terminal reduce output time amplitude can according to output prompt tone output it is total when
Between set, such as will be prompted to sound output time and reduce to the half of output total time, or will be prompted to the output time of sound and reduce
To output total time four/it is third, specific output time reduces amplitude and is not limited in the present embodiment.
The present embodiment is by after difference in magnitude is more than default difference in magnitude, judging the frequency between receives frequency and transmission frequency
Difference, only when difference on the frequency is poor also greater than predeterminated frequency, ability forbidden moves terminal performs the output operation of output prompt tone, passes through
It is defeated to improve terminal to determine whether the output operation of forbidden moves terminal execution output prompt tone for two factors of amplitude and frequency
Go out the accuracy rate of prompt tone.
Further, the 3rd embodiment of the method for terminal output prompt tone of the present invention is proposed.Terminal output prompt tone
Difference lies in reference to figure for first and/or second embodiment of the method for 3rd embodiment and terminal the output prompt tone of method
8, the method for terminal output prompt tone further includes:
Step S50, judges whether difference in magnitude is more than default difference in magnitude.
Step S60, if difference in magnitude is less than or equal to default difference in magnitude, obtains the transmitting of the first Doppler signal of transmitting
Time, and obtain the receiving time for receiving the second Doppler signal.
Step S70, the first Doppler letter is calculated according to the transmission rate of launch time, receiving time and Doppler signal
Number and the second Doppler signal the sum of transmission range.
Step S80, if the transmission range for calculating gained is less than or equal to pre-determined distance, reduces mobile terminal output and carries
Show the output volume of sound.
After mobile terminal, which is calculated, to be received amplitude and launch the difference in magnitude between amplitude, mobile terminal judges difference in magnitude
Whether default difference in magnitude is more than.If the difference in magnitude for calculating gained is more than default difference in magnitude, mobile terminal obtains transmitting more than first
The general launch time for strangling signal, and obtain the receiving time for receiving the second Doppler signal.Mobile terminal is according to acquired
The transmission rate of launch time, receiving time and Doppler signal calculate the biography of the first Doppler signal and the second Doppler signal
The sum of defeated distance.When Doppler's transmission range being calculated being less than or equal to pre-determined distance, mobile terminal reduces its output
The output volume of prompt tone.Specifically, the amplitude of mobile terminal reduction output volume can be set according to specific needs, can such as be set
Put reduces the volume of a unit on the basis of original output volume, or reduces the volume of two units.
Further, the method for terminal output prompt tone further includes:
Step g, judges whether transmission range is more than pre-determined distance.
Step h, if transmission range is more than pre-determined distance, control mobile terminal exports prompt tone with current output volume.
Further, after mobile terminal calculates transmission range, it is default that mobile terminal judges whether transmission range is more than
Distance.If transmission range is more than pre-determined distance, mobile terminal controls mobile terminal to continue to output this with current output volume and carries
Show sound.
The present embodiment when definite difference in magnitude by being less than or equal to default difference in magnitude, and the transmission of the first Doppler signal
When distance is less than or equal to pre-determined distance, the output volume of mobile terminal output prompt tone is reduced, realizes and is not contacting shifting
In the case of dynamic terminal, intelligent terminal exports the output volume of prompt tone.
Further, the fourth embodiment of the method for terminal output prompt tone of the present invention is proposed.Terminal output prompt tone
Difference lies in ginseng for first, second and/or 3rd embodiment of the method for fourth embodiment and terminal the output prompt tone of method
According to Fig. 9, the method for terminal output prompt tone further includes:
Step S90, calculates forbidden moves terminal and performs the number of forbidding of output operation, and corresponds to and obtain output behaviour each time
The output time and output volume of work.
Mobile terminal is calculated to be forbidden performing the number of forbidding for exporting prompt tone and exporting operation by Doppler signal, and corresponding
Obtain the output time and output volume for exporting operation each time, i.e., when acquisition terminates to export prompt tone by Doppler signal,
The corresponding output time of the prompt tone and output volume.If certain is once before terminating to export prompt tone, there are multiple output sounds
Amount, then the output volume acquired in mobile terminal is the average output volume of the plurality of output volume.
Step S110, if forbidding number to be more than or equal to preset times, the silent of prompt tone is set according to output time
Recognize output time, and the acquiescence output volume of prompt tone is set according to output volume.
When acquisition for mobile terminal is to after forbidding number, mobile terminal judges acquired to forbid whether number is more than or waits
In preset times.If forbidding number to be more than or equal to preset times, mobile terminal is set according to acquired output time
The acquiescence output time of prompt tone, and the acquiescence output volume according to output volume setting prompt tone.Wherein, preset times can
Set, such as could be provided as 50 times according to specific needs, or 60 inferior.
Further, if forbidding number to be less than preset times, mobile terminal, which continues to calculate, to be forbidden performing output operation
Forbid number.
Further, step S110 includes:
Step i, if forbidding number to be more than or equal to preset times, calculates according to output time and forbids in number averagely
Output time, and calculated according to output volume and forbid average output volume in number.
Average output time, is arranged to the acquiescence output time of prompt tone by step j, and average output volume is set
For the acquiescence output volume of prompt tone.
Further, if forbidding number to be more than or equal to preset times, mobile terminal is according to acquired output time
Number calculates the average output time forbidden in number, and the average output volume forbidden in number is calculated according to output volume.
It is mobile that average output time is arranged to prompt tone after mobile terminal calculates average output time and average output volume
Give tacit consent to output time, and average output volume is arranged to the acquiescence output volume of output prompt tone.Such as when mobile terminal is remembered
The number of forbidding recorded is 50 times, and when preset times are also configured as 50 times, mobile terminal then obtains this 50 prompt tones and corresponds to
Output time and output volume, calculate the average output time of this 50 output times, this 50 output times are corresponding
Average output time is arranged to the acquiescence output time of prompt tone, and calculates the average output volume of this 50 output volumes,
The corresponding average output volume of this 50 output volumes is arranged to the acquiescence output volume of prompt tone.
The present embodiment sets prompt tone to correspond to by the operating habit according to user by Doppler's terminal output prompt tone
Acquiescence output volume and acquiescence output time, make mobile terminal output prompt tone acquiescence output time and acquiescence output volume
More meet the operating habit of user.
In addition, the embodiment of the present invention also proposes a kind of computer-readable recording medium.
The program of terminal output prompt tone is stored with the computer-readable recording medium, the mobile terminal includes more
General Le emitter and Doppler's reception device, the program of the terminal output prompt tone realize following step when being executed by processor
Suddenly:
After mobile terminal output prompt tone is detected, the first Doppler is launched by Doppler's emitter and is believed
Number, and first Doppler signal and returned after barrier relative motion second are received by Doppler's reception device
Doppler signal;
Determine the corresponding transmitting amplitude of first Doppler signal, and determine that second Doppler signal is corresponding
Receive amplitude;
Calculate the transmitting amplitude and the difference in magnitude received between amplitude;
If the difference in magnitude is more than default difference in magnitude, the mobile terminal execution is forbidden to export the output of the prompt tone
Operation.
Further, if the difference in magnitude is more than default difference in magnitude, the mobile terminal execution output institute is forbidden
The step of output operation for stating prompt tone, includes:
If the difference in magnitude is more than default difference in magnitude, the corresponding tranmitting frequency of first Doppler signal is obtained, with
And obtain the corresponding receives frequency of second Doppler signal;
Calculate the difference on the frequency between the tranmitting frequency and the receives frequency;
If the difference on the frequency is more than, predeterminated frequency is poor, forbids the mobile terminal execution to export the output of the prompt tone
Operation.
Further, it is described calculate between the tranmitting frequency and the receives frequency difference on the frequency the step of after, institute
The program for stating terminal output prompt tone realizes following steps when being executed by processor:
It is poor to judge whether the difference on the frequency is more than the predeterminated frequency;
If the difference on the frequency is less than or equal to, the predeterminated frequency is poor, reduces the mobile terminal output prompt tone
Output time.
Further, it is described calculate it is described transmitting amplitude and it is described receive amplitude between difference in magnitude the step of after, institute
The program for stating terminal output prompt tone realizes following steps when being executed by processor:
Judge whether the difference in magnitude is more than the default difference in magnitude;
If the difference in magnitude is less than or equal to the default difference in magnitude, obtains and launch first Doppler signal
Launch time, and obtain the receiving time for receiving second Doppler signal;
Calculated according to the transmission rate of the launch time, the receiving time and Doppler signal general more than described first
Strangle the sum of transmission range of signal and second Doppler signal;
If the transmission range for calculating gained is less than or equal to pre-determined distance, the mobile terminal output prompt tone is reduced
Output volume.
Further, it is described to be calculated according to the transmission rate of the launch time, the receiving time and Doppler signal
After the step of going out the sum of transmission range of first Doppler signal and second Doppler signal, the terminal output
Following steps are realized when the program of prompt tone is executed by processor:
Judge whether the transmission range is more than the pre-determined distance;
If the transmission range is more than the pre-determined distance, the mobile terminal is controlled to export institute with current output volume
State prompt tone.
Further, it is described calculate it is described transmitting amplitude and it is described receive amplitude between difference in magnitude the step of after, institute
The program for stating terminal output prompt tone realizes following steps when being executed by processor:
Judge whether the difference in magnitude is more than the default difference in magnitude;
If the difference in magnitude is less than or equal to the default difference in magnitude, obtains and launch first Doppler signal
Launch time, and obtain the receiving time for receiving second Doppler signal;
Calculated according to the transmission rate of the launch time, the receiving time and Doppler signal general more than described first
Strangle the sum of transmission range of signal and second Doppler signal;
If the transmission range for calculating gained is less than or equal to pre-determined distance, replaces the mobile terminal and currently exported
Prompt tone song.
Further, if the difference in magnitude is more than default difference in magnitude, the mobile terminal execution output institute is forbidden
After the step of stating the output operation of prompt tone, the program of the terminal output prompt tone realizes following step when being executed by processor
Suddenly:
The number of forbidding for forbidding the mobile terminal execution to export operation is calculated, and the output is grasped each time for corresponding acquisition
The output time and output volume of work;
If described forbid number to be more than or equal to preset times, the prompt tone is set according to the output time
Give tacit consent to output time, and the acquiescence output volume of the prompt tone is set according to the output volume.
Further, if described forbid number to be more than or equal to preset times, set according to the output time
Put the acquiescence output time of the prompt tone, and the acquiescence output volume of the prompt tone is set according to the average volume
Step includes:
If described forbid number to be more than or equal to preset times, forbid number according to calculating the output time
Interior average output time, and forbid average output volume in number according to calculating the output volume;
The average output time is arranged to the acquiescence output time of the prompt tone, and sound is averagely exported by described
Amount is arranged to the acquiescence output volume of the prompt tone.
Computer-readable recording medium embodiment of the present invention and the method for above-mentioned terminal output prompt tone are respectively implemented
Example is essentially identical, and details are not described herein.
It should be noted that herein, term " comprising ", "comprising" or its any other variation are intended to non-row
His property includes, so that process, method, article or system including a series of elements not only include those key elements, and
And the other key elements being not explicitly listed are further included, or further include as this process, method, article or system institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there are other identical element in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, do 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 such understanding, technical scheme substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, 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, takes
Be engaged in device, air conditioner, or network equipment etc.) perform 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
The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made, is directly or indirectly used in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
- A kind of 1. method of terminal output prompt tone, it is characterised in that the method for terminal output prompt tone is applied to mobile terminal In, the mobile terminal includes Doppler's emitter and Doppler's reception device, the method bag of the terminal output prompt tone Include:After mobile terminal output prompt tone is detected, the first Doppler signal is launched by Doppler's emitter, and It is more than second general with being returned after barrier relative motion that first Doppler signal is received by Doppler's reception device Strangle signal;Determine the corresponding transmitting amplitude of first Doppler signal, and determine the corresponding reception of second Doppler signal Amplitude;Calculate the transmitting amplitude and the difference in magnitude received between amplitude;If the difference in magnitude is more than default difference in magnitude, the mobile terminal execution is forbidden to export the output behaviour of the prompt tone Make.
- 2. the method for terminal output prompt tone as claimed in claim 1, it is characterised in that if the difference in magnitude is more than in advance If difference in magnitude, then the step of forbidding the mobile terminal execution to export the output operation of the prompt tone, includes:If the difference in magnitude is more than default difference in magnitude, the corresponding tranmitting frequency of first Doppler signal is obtained, and obtain Take the corresponding receives frequency of second Doppler signal;Calculate the difference on the frequency between the tranmitting frequency and the receives frequency;If the difference on the frequency is more than, predeterminated frequency is poor, forbids the mobile terminal execution to export the output behaviour of the prompt tone Make.
- 3. the method for terminal as claimed in claim 2 output prompt tone, it is characterised in that it is described calculate the tranmitting frequency and After the step of difference on the frequency between the receives frequency, further include:It is poor to judge whether the difference on the frequency is more than the predeterminated frequency;If the difference on the frequency is less than or equal to, the predeterminated frequency is poor, reduces the output of the mobile terminal output prompt tone Time.
- 4. the method for terminal as claimed in claim 1 output prompt tone, it is characterised in that it is described calculate the transmitting amplitude and After the step of difference in magnitude between the reception amplitude, further include:Judge whether the difference in magnitude is more than the default difference in magnitude;If the difference in magnitude is less than or equal to the default difference in magnitude, the transmitting for launching first Doppler signal is obtained Time, and obtain the receiving time for receiving second Doppler signal;The first Doppler letter is calculated according to the transmission rate of the launch time, the receiving time and Doppler signal Number and second Doppler signal the sum of transmission range;If the transmission range for calculating gained is less than or equal to pre-determined distance, the defeated of the mobile terminal output prompt tone is reduced Go out volume.
- 5. the method for terminal as claimed in claim 4 output prompt tone, it is characterised in that it is described according to the launch time, The receiving time and the transmission rate of Doppler signal calculate first Doppler signal and second Doppler letter Number the sum of transmission range the step of after, further include:Judge whether the transmission range is more than the pre-determined distance;If the transmission range is more than the pre-determined distance, control the mobile terminal with current output volume export described in carry Show sound.
- 6. the method for terminal as claimed in claim 1 output prompt tone, it is characterised in that it is described calculate the transmitting amplitude and After the step of difference in magnitude between the reception amplitude, further include:Judge whether the difference in magnitude is more than the default difference in magnitude;If the difference in magnitude is less than or equal to the default difference in magnitude, the transmitting for launching first Doppler signal is obtained Time, and obtain the receiving time for receiving second Doppler signal;The first Doppler letter is calculated according to the transmission rate of the launch time, the receiving time and Doppler signal Number and second Doppler signal the sum of transmission range;If the transmission range for calculating gained is less than or equal to pre-determined distance, that replaces that the mobile terminal currently exported carries Show the song of sound.
- 7. such as the method for claim 1 to 6 any one of them terminal output prompt tone, it is characterised in that if the width Value difference is more than default difference in magnitude, then after the step of forbidding the mobile terminal execution to export the output operation of the prompt tone, Further include:The number of forbidding for forbidding the mobile terminal execution to export operation is calculated, and corresponds to and obtains what the output each time operated Output time and output volume;If described forbid number to be more than or equal to preset times, the acquiescence of the prompt tone is set according to the output time Output time, and the acquiescence output volume according to the output volume setting prompt tone.
- 8. the method for terminal output prompt tone as claimed in claim 7, it is characterised in that if described forbid number to be more than Or equal to preset times, then according to the acquiescence output time of the output time setting prompt tone, and according to described Average volume sets the step of acquiescence output volume of the prompt tone to include:If described forbid number to be more than or equal to preset times, forbid putting down in number according to calculating the output time Equal output time, and forbid average output volume in number according to calculating the output volume;The average output time is arranged to the acquiescence output time of the prompt tone, and the average output volume is set It is set to the acquiescence output volume of the prompt tone.
- 9. a kind of mobile terminal, it is characterised in that the mobile terminal includes memory, processor and is stored in the memory Terminal that is upper and can running on the processor exports the program of prompt tone, and the program of the terminal output prompt tone is described The step of method such as terminal described in any item of the claim 1 to 8 output prompt tone is realized when processor performs.
- 10. a kind of computer-readable recording medium, it is characterised in that it is defeated to be stored with terminal on the computer-readable recording medium Go out the program of prompt tone, the program of the terminal output prompt tone is realized when being executed by processor as any in claim 1 to 8 The step of method of terminal output prompt tone described in.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711257593.XA CN107995365B (en) | 2017-11-30 | 2017-11-30 | Method for outputting prompt tone by terminal, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711257593.XA CN107995365B (en) | 2017-11-30 | 2017-11-30 | Method for outputting prompt tone by terminal, mobile terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107995365A true CN107995365A (en) | 2018-05-04 |
CN107995365B CN107995365B (en) | 2021-05-21 |
Family
ID=62035301
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711257593.XA Active CN107995365B (en) | 2017-11-30 | 2017-11-30 | Method for outputting prompt tone by terminal, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107995365B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110519449A (en) * | 2019-07-31 | 2019-11-29 | Oppo广东移动通信有限公司 | Control method of electronic device, device, electronic equipment and storage medium |
CN111176277A (en) * | 2019-12-30 | 2020-05-19 | 炬星科技(深圳)有限公司 | Automatic docking method and docking device for mobile electronic equipment, mobile electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080292115A1 (en) * | 2007-05-22 | 2008-11-27 | Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. | Apparatus and method for adjusting sound volume |
CN102782612A (en) * | 2010-02-24 | 2012-11-14 | 诺基亚公司 | Gesture control |
CN105812574A (en) * | 2016-05-03 | 2016-07-27 | 北京小米移动软件有限公司 | Volume adjusting method and device |
CN105959793A (en) * | 2016-04-29 | 2016-09-21 | 乐视控股(北京)有限公司 | Volume adjusting method and device |
CN106980486A (en) * | 2017-03-23 | 2017-07-25 | 北京小米移动软件有限公司 | Method for controlling volume and device |
-
2017
- 2017-11-30 CN CN201711257593.XA patent/CN107995365B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080292115A1 (en) * | 2007-05-22 | 2008-11-27 | Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. | Apparatus and method for adjusting sound volume |
CN102782612A (en) * | 2010-02-24 | 2012-11-14 | 诺基亚公司 | Gesture control |
CN105959793A (en) * | 2016-04-29 | 2016-09-21 | 乐视控股(北京)有限公司 | Volume adjusting method and device |
CN105812574A (en) * | 2016-05-03 | 2016-07-27 | 北京小米移动软件有限公司 | Volume adjusting method and device |
CN106980486A (en) * | 2017-03-23 | 2017-07-25 | 北京小米移动软件有限公司 | Method for controlling volume and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110519449A (en) * | 2019-07-31 | 2019-11-29 | Oppo广东移动通信有限公司 | Control method of electronic device, device, electronic equipment and storage medium |
CN111176277A (en) * | 2019-12-30 | 2020-05-19 | 炬星科技(深圳)有限公司 | Automatic docking method and docking device for mobile electronic equipment, mobile electronic equipment and storage medium |
CN111176277B (en) * | 2019-12-30 | 2023-03-17 | 炬星科技(深圳)有限公司 | Automatic docking method and docking device for mobile electronic equipment, mobile electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107995365B (en) | 2021-05-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107517494A (en) | A kind of display methods of terminal battery electricity quantity, terminal and computer-readable recording medium | |
CN107193448A (en) | A kind of affairs prompt method, mobile terminal and storage medium | |
CN109683771A (en) | Three-dimensional touch menu configuration method, mobile terminal and computer readable storage medium | |
CN108234766A (en) | Microphone switching method, mobile terminal and computer readable storage medium | |
CN108172161A (en) | Display methods, mobile terminal and computer readable storage medium based on flexible screen | |
CN107807767A (en) | A kind of processing method of communication traffic, terminal and computer-readable recording medium | |
CN108111986A (en) | A kind of conversion method of notification message, terminal and computer readable storage medium | |
CN107979667A (en) | Double-screen display method, mobile terminal and computer-readable recording medium | |
CN107872575A (en) | Terminal installation, intelligent prompt method and computer-readable storage medium | |
CN108234751A (en) | A kind of automatic detection dangerous approach, mobile terminal and computer readable storage medium | |
CN107948397A (en) | A kind of information-pushing method, device and computer-readable recording medium | |
CN110096213A (en) | Terminal operation method, mobile terminal and readable storage medium storing program for executing based on gesture | |
CN109889651A (en) | A kind of notification message processing method, terminal and computer readable storage medium | |
CN108227842A (en) | Wearable pattern switching based reminding method, mobile terminal and readable storage medium storing program for executing | |
CN107995365A (en) | Terminal exports method, mobile terminal and the computer-readable recording medium of prompt tone | |
CN107957838A (en) | The method, apparatus and computer-readable recording medium of multi-option application interface interaction | |
CN108037868A (en) | Application icon aligning method, mobile terminal and computer-readable recording medium | |
CN108038362A (en) | People of unread information display methods, device and computer-readable recording medium | |
CN107423065A (en) | Method, mobile terminal and the computer-readable recording medium that a kind of application is attended to anything else | |
CN107894839A (en) | Terminal exports method, mobile terminal and the computer-readable recording medium of prompt tone | |
CN107809692B (en) | A kind of headset control method, equipment and computer readable storage medium | |
CN110096173A (en) | Method for controlling mobile terminal, mobile terminal and computer readable storage medium | |
CN109683796A (en) | A kind of interaction control method, equipment and computer readable storage medium | |
CN109683741A (en) | Function triggering method, device and computer readable storage medium | |
CN109151163A (en) | A kind of method for controlling mobile terminal, mobile terminal 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 |