CN105472172B - Switching method, device and the computer readable storage medium of call mode - Google Patents

Switching method, device and the computer readable storage medium of call mode Download PDF

Info

Publication number
CN105472172B
CN105472172B CN201610038354.4A CN201610038354A CN105472172B CN 105472172 B CN105472172 B CN 105472172B CN 201610038354 A CN201610038354 A CN 201610038354A CN 105472172 B CN105472172 B CN 105472172B
Authority
CN
China
Prior art keywords
instruction
terminal
volume
call mode
call
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.)
Expired - Fee Related
Application number
CN201610038354.4A
Other languages
Chinese (zh)
Other versions
CN105472172A (en
Inventor
李应伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610038354.4A priority Critical patent/CN105472172B/en
Publication of CN105472172A publication Critical patent/CN105472172A/en
Application granted granted Critical
Publication of CN105472172B publication Critical patent/CN105472172B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • H04M1/72502Cordless telephones with one base station connected to a single line
    • H04M1/72505Radio link set-up procedures
    • H04M1/72513On hold, intercom or transfer communication modes
    • 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/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Landscapes

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

Abstract

The present invention, which provides a kind of switching method of call mode, device and computer readable storage medium, the switching method of the call mode, to be included:When detecting that terminal is in talking state, receive user and instructed by tapping to tap caused by the terminal;Judge whether percussion instruction is pattern switching instruction;If it is determined that percussion instruction instructs for the pattern switching, then instructed according to the pattern switching and the present talk mode of the call is switched into big volume call mode.The switching method and device of the call mode of the present invention, conveniently and efficiently switch to big volume call mode by present talk mode, and operating process is easy.

Description

Switching method, device and the computer readable storage medium of call mode
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of switching method of call mode, device and computer Readable storage medium storing program for executing.
Background technology
With the continuous development of terminal, the function of terminal is more and more, such as user's using terminal is conversed so that uses Requirement of the family to call function is higher and higher.
When user converses under noisy environment at present, in order to ensure the clarity of call, it is necessary to by normal call mode Big volume switch mode is switched to, a kind of existing switching mode is that volume is transferred to maximum, then length is clicked in terminal Volume plus key could enter big volume call mode;Existing another kind switching mode is to exit call interface, then passes through screen It is operated into call mode and interface is set, could enter big volume call mode by setting accordingly;It can be seen that existing big sound It is poor to measure the switching mode agility of call mode, operation is comparatively laborious.
The content of the invention
The embodiment of the present invention provides a kind of switching method of call mode, device and computer readable storage medium, with solution The switching mode agility of the call mode of certainly existing terminal is poor, operates the technical issues of comparatively laborious.
To solve the above problems, technical solution provided by the invention is as follows:
The embodiment of the present invention provides a kind of switching method of call mode, including:
When detecting that terminal is in talking state, receive user and instructed by tapping to tap caused by the terminal;
Judge whether the percussion instruction is pattern switching instruction;
If it is determined that described tap instruction as pattern switching instruction, then being instructed according to the pattern switching will be described logical The present talk mode of words switches to big volume call mode.
The embodiment of the present invention also provides a kind of switching device of call mode, including:
Receiving module is produced for when detecting that terminal is in talking state, receiving user by tapping the terminal Raw percussion instruction;
Judgment module, for judging whether the percussion instruction is pattern switching instruction;
Handover module, for when the judgment module judge it is described tap instruction for the pattern switching instruction when, then root It is instructed according to the pattern switching and the present talk mode of the call is switched into big volume call mode.
Compared to the prior art, switching method, device and the computer readable storage medium of the call mode of the present embodiment, When detecting that terminal is in talking state, receive user and instructed by tapping the percussion that the terminal generates;Judge that the percussion refers to Whether order is pattern switching instruction;If it is determined that percussion instruction instructs for the pattern switching, then instructed according to the pattern switching The present talk mode of the call is switched into big volume call mode;So as to which conveniently and efficiently present talk mode be switched to Big volume call mode, operating process are easy.
Description of the drawings
Fig. 1 is the flow chart of the switching method for the call mode that the embodiment of the present invention one provides;
Fig. 2 is the structure diagram for the signal processing apparatus that the embodiment of the present invention one provides;
Fig. 3 is the flow chart of the switching method of call mode provided by Embodiment 2 of the present invention;
Fig. 4 is the flow chart of the switching method for the call mode that the embodiment of the present invention three provides;
Fig. 5 is the structure diagram of the switching device for the call mode that the embodiment of the present invention four provides.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, the every other implementation that those skilled in the art are obtained without creative efforts Example, belongs to the scope of protection of the invention.
Fig. 1 is refer to, Fig. 1 is the flow chart of the switching method for the call mode that the embodiment of the present invention one provides.
The switching method of the call mode of this preferred embodiment, including:
Step S101 when detecting that terminal is in talking state, receives user and is struck by tapping caused by the terminal Hit instruction;
For example, terminal monitoring, to during call, whether detection user carries out tapping operation in terminal, is referred to obtaining the percussion Order, for example, terminal can detect percussion instruction, user can be with by the microphone, receiver or loud speaker that terminal carries It is tapped, for example can be tapped at the back side of terminal or side in any position of terminal, as long as terminal can detect this Instruction is tapped, which can be the equipment such as mobile phone, tablet computer.
For example, reception user instructs step that can include by tapping to tap caused by the terminal:
Obtain the vibration signal of user on the terminal;
Judge the vibration signal vibration signal that whether to be user generate by tapping the terminal;
If it is, determine that the vibration signal instructs for the percussion.
Percussion instruction is to be generated according to user by tapping the vibration signal generated, is listened to for example, working as at terminal When talking state, terminal receives vibration signal of the user in terminal, judges whether the vibration signal is that user passes through afterwards The vibration signal generated is tapped, if it is, determining that the vibration signal instructs for the percussion;
Specifically, the tapping operation of user can be to click directly on terminal or utilization with finger in the present embodiment Other hard objects, for example with penholder, key etc., click on terminal.
It is propagated since the hammer action time is very of short duration, and by the solid of equipment, therefore, terminal is subject to user to tap production Raw vibration signal is a kind of special vibration signal, and the vibration signal or whole of other active forces generation is subject to terminal The vibration signal that the external vibration source that end is transferred generates differs.The vibration signal for tapping and generating is analyzed from electrical point, such as The vibration signal that will hit against generation is converted into digital signal, carries out digital processing analysis to the digital signal, it can be deduced that following Analysis result:
From the point of view of signal time, the signal duration duration is very short (millisecond rank);From signal amplitude size ratio From the point of view of relatively, the level of the digital signal is relatively large, (since vibration signal is that solid is propagated, and by terminal own propagation), than The strong bigger of signal of the corresponding digital signal of General Oscillation signal;From the point of view of the frequency spectrum of signal, the entire number of frequency coverage Signal frequency range, and the amplitude difference of each frequency is little.
Therefore, the characteristics of being based on above-mentioned vibration signal corresponding digital signal, either feature identification or judges to obtain Whether the vibration signal got is user by tapping the vibration signal generated;Specifically deterministic process can be:
The vibration signal is converted into corresponding vibration digital signal;
Obtain the key feature information of the vibration digital signal;
The vibration signal vibration signal whether be user generated by tapping terminal, example are judged according to the key feature information Such as, the percussion that user generates by tapping the terminal can be received by the microphone, receiver or loud speaker of terminal to refer to Order, for example, the vibration signal is converted into analog electrical signal by the microphone carried by terminal, receiver or loud speaker, so Afterwards, which is subjected to analog-to-digital conversion (for example, being converted by analog-digital converter), vibration digital signal is obtained, to this Vibration data signal carries out digital processing (DSP), to obtain the vibration digital signal, key feature information, then, according to pass Key characteristic information judges whether the vibration signal is to tap instruction.For the ease of judging, the present embodiment is obtaining analog electrical signal Afterwards, before carrying out analog-to-digital conversion, processing can also be amplified to analog electrical signal, such as by PGA amplifiers to the mould Intend electric signal and be amplified processing, wherein, the processing of digital signal can be performed by dsp chip.
Wherein, vibrating the key feature information of digital signal can include:Frequency information is (including frequency distribution, bandwidth Degree etc.), at least one of amplitude information (including average amplitude) and temporal information (signal period), it is, of course, also possible to wrap Include other characteristic informations.
In the present embodiment, judged according to key feature information, for example, judging whether key feature information meets default item Part if so, judging the vibration signal that the vibration signal generates for user by tapping the terminal, otherwise, then judges the vibration Signal is not the vibration signal that user is generated by tapping the terminal.
For example, it can include in key feature information:When frequency information, amplitude information and temporal information, judge respectively Whether the frequency information meets predeterminated frequency condition, whether the amplitude information meets default amplitude perturbations and the temporal information Whether preset time condition is met, wherein, predeterminated frequency condition, default amplitude perturbations and preset time condition can bases respectively The corresponding frequency information of preset number signal, amplitude information and temporal information are set, which is user by striking Hit the corresponding digital signal of vibration signal of terminal generation.The present embodiment is needing to judge whether multiple key feature informations are full Sufficient preset condition, come identify tap generate vibration signal when, for example, said frequencies information, amplitude information and temporal information Judge three times, can be identified based on multiple judging result, for example, when three judging results are to be, just determine vibration Signal taps instruction to tap the vibration signal generated, alternatively, being yes when there is certain several judging result in multiple judging results When, vibration signal is determined to tap the vibration signal generated, these can set according to actual conditions, and judging result is yes Situation it is more, accuracy of identification is higher.
For example, judge whether vibration signal is that user taps eventually with the signal processing apparatus that Fig. 2 is somebody's turn to do to introduce the present embodiment The detailed process of the vibration signal generated is held, which includes:
The vibration signal for passing through the vibration signal obtained for terminal, and is converted into simulation letter by microphone 201 Number, specifically, when terminal is vibrated and generates vibration signal, the vibrating diaphragm in microphone 201 senses vibration signal, and all can be with It and vibrates together, vibrating diaphragm will drive the coil in microphone 201 to do the movement of cutting magnetic line, so as to will be generated in coil Corresponding current signal, i.e. analog signal;Microphone realization can also be replaced in the present embodiment with receiver or loud speaker The course of work type of same function, the course of work and microphone, just repeats no more here.
Analog-to-digital conversion (A/D) module 202, the analog signal for microphone 201 to be exported are converted into corresponding number letter Number, so that subsequent processing is analyzed.Certainly, due to current microphone species there are many, such as electret microphone or silicon wheat Gram wind etc. or even some microphones are also comprising analog-to-digital conversion module, if in such cases, can save analog-to-digital conversion module 202.
Using rate modular converter 203, for according to circumstances adjusting the sample rate of digital signal, in order to reduce following digital point The computing requirement of analysis, it is preferable that sample rate cannot be below 16Khz, and bit rate cannot be below 10bit, otherwise may impact analysis Precision.
Fourier transform (FFT) module 204 for carrying out Fourier transform to digital signal, is converted to frequency-domain analysis.
Time analysis module 205 after carrying out Fourier transform in digital signal, carries out the time of digital signal Analysis, specifically, obtains the temporal information of digital signal, and judges whether the temporal information meets preset time requirement, for example, The time cycle of digital signal is obtained, judges the time cycle whether in the range of preset period of time, if so, meeting default Time requirement shows that the digital signal meets the time requirement for the digital signal for tapping terminal generation, and the digital signal is corresponding Vibration signal, which is likely to be, taps the vibration signal that terminal generates.
In practical applications, it is dynamic to provide a percussion for can be based on hammer action the characteristics of and the design feature of terminal The time cycle [T1, T2] of work, the explanation that goes beyond the scope is not normal hammer action;If meet hammer action feature when Between, then export OK signals.The recorded audio signals that mobile phone is tapped according to actual finger first are analyzed, and T1 is generally no greater than 5ms, and T2 is not more than 20ms。
Frequency analysis module 206, for analysis of frequency distribution, specifically, the frequency distribution of statistics signal, so Afterwards, whether determination frequency distribution meets preset requirement, for example, frequency distribution is continuous and frequency band is broad, then it is assumed that the digital signal Frequency distribution meet tap generate digital signal frequency distribution.From the point of view of actually comparing, especially 6Khz to most high frequency Between rate (sample rate frequency ÷ 2), frequency distribution is continuous.
Amplitude analysis module 207 is analyzed for the amplitude to digital signal, specifically, analyzes the flat of entire frequency range Equal range value, and judge whether the averaged amplitude value meets default amplitude requirement, for example, judging whether the averaged amplitude value is more than Default amplitude if so, meeting default amplitude requirement, otherwise, is unsatisfactory for.
Identification module 208, for according to time analysis module 205, frequency analysis module 206 and amplitude analysis module 207 analysis result identification judges whether current vibration signal is user by tapping the vibration signal of terminal generation.
Step S102 judges whether percussion instruction is pattern switching instruction;If not, step S103 can be performed, such as Fruit is to perform step S104;
For example, terminal judges whether tapping operation of the user in terminal be consistent with pattern switching instruction;The pattern switching It instructs to switch over present talk mode;For example, present talk mode is common volume call mode, if the percussion Instruction is not pattern switching instruction, can perform step S103;If percussion instruction is pattern switching instruction, step is performed S104;
Step S103 when it is not pattern switching instruction to judge percussion instruction, is not dealt with;
For example, when terminal judges the tapping operation and inconsistent pattern switching instruction, terminal is not by common volume call mould Formula switches to big volume call mode, for example continues to converse according to common volume call mode.
Step S104 when it is pattern switching instruction to judge percussion instruction, is instructed according to the pattern switching and is led to this The present talk mode of words switches to big volume call mode.
For example, when terminal judges that the instruction of the tapping operation and pattern switching is consistent, terminal is by common volume call mode Big volume call mode is switched to, with the output volume of increase call.
The switching method of the call mode of this preferred embodiment by tapping operation of the user in terminal, obtains pattern Switching command, common volume call mode conveniently and efficiently is switched to big volume call mode, operating process is easy, so as to So that user is easy to use.
Fig. 3 is refer to, Fig. 3 is the flow chart of the switching method of call mode provided by Embodiment 2 of the present invention.
The switching method of the call mode of this preferred embodiment, including:
Step S301, when detecting that terminal is in talking state, receive user and struck by tapping caused by the terminal Hit instruction;
For example, terminal monitoring, to during call, whether detection user carries out tapping operation in terminal, is referred to obtaining the percussion Order, for example, terminal can detect percussion instruction, user can be with by the microphone, receiver or loud speaker that terminal carries It is tapped, for example can be tapped at the back side of terminal or side in any position of terminal, as long as terminal can detect this Instruction is tapped, which can be the equipment such as mobile phone, tablet computer.
Step S302, judge whether percussion instruction and the default instruction sample that taps are identical, are to judge that the percussion instructs It is no to be instructed for the pattern switching;
For example, terminal be provided in advance in presetting database pattern switching instruction and it is corresponding with pattern switching instruction It is default to tap instruction sample;For example, the corresponding default instruction sample that taps of pattern switching instruction is percussion 1 time;If it is determined that Number of taps is 1 time, then judges that percussion instruction instructs for the pattern switching;Otherwise, then judge that percussion instruction is not the mould Formula switching command;
Specifically, terminal can obtain number of taps of the user in preset duration, judge the number of taps whether in advance If tapping, instruction sample is identical, which can rule of thumb set.If it is determined that the number of taps and the default percussion Instruction sample differs, then performs step S303;If it is determined that the number of taps is identical with the default instruction sample that taps, then hold Row step S304;
If step S303, percussion instruction is differed with the default instruction sample that taps, percussion instruction is judged not It is pattern switching instruction;
For example, terminal was got in 5 seconds, user is when having tapped 3 times in terminal, due to tapping instruction sample with default (number of taps 1 time) differs, therefore, it is determined that percussion instruction is not pattern switching instruction.Terminal is not to current talking at this time Pattern switches over, for example continues to converse according to common volume call mode.
If step S304, percussion instruction is identical with the default instruction sample that taps, percussion instruction is judged to be somebody's turn to do Pattern switching instructs;
For example, terminal was got in 5 seconds, user is when having tapped 1 time in terminal, due to being with the default instruction sample that taps Tap 1 time it is identical, therefore, it is determined that the percussion instruction for pattern switching instruct;
Step S305, instructed according to the pattern switching and the present talk mode of the call is switched into big volume call mould Formula;
For example, present talk mode is common volume call mode, for example, when terminal judges that the tapping operation is cut with pattern Change instruction it is consistent when, which switches to big volume call mode by common volume call mode, with increase call output sound Amount.
For example, whether terminal can reach the maximum of common volume call mode by detecting the output volume of current talking Value carries out call mode switching further according to testing result, i.e., the present talk mode of the call is switched to big volume and conversed by this The step of pattern, includes:
A, judge whether the current output volume of the call reaches predetermined threshold value;
For example, terminal judges whether the current output volume of the call reaches maximum, i.e., the predetermined threshold value is common sound Measure the volume maximum under call mode.If it is, performing step B, step C is otherwise performed.
If it is determined that B, the current output volume of the call reaches the predetermined threshold value, then increase the current output sound of the call Amount;
For example, when terminal judges that current output volume has arrived at the volume maximum under common volume call mode When, continue to increase the output volume of current talking;
Preferably, in order to improve the clarity of call, the volume characteristics parameter of volume can be obtained, which is joined Number is adjusted, to increase the current output volume of the call, i.e., the current output volume of the increase call the step of can be with Including:
(1) the volume characteristics parameter of the current output volume of the call is obtained;
For example, terminal can obtain frequency response and maximum of the output volume of call under common volume call mode Then gain is adjusted the two parameters, i.e., the volume characteristics parameter of the acquisition call the step of can include:
It obtains the predeterminated frequency response of the current output volume of the call and presets maximum gain;
For example, terminal is detected under common volume call mode, when the output volume of call reaches maximum, obtain at this time The frequency response of output volume and maximum gain namely predeterminated frequency respond and preset maximum gain;
(2) the volume characteristics parameter is adjusted, so that the output volume increases.
For example, terminal can be adjusted volume characteristics parameter, with the output volume of further increase call, so as to carry The call clarity of terminal under high noisy environment, when terminal can obtain the output volume of call under common volume call mode Frequency response and during maximum gain, which is adjusted.The volume characteristics parameter is adjusted The step of include:
Predeterminated frequency response is adjusted, and increases the default maximum gain.
For example, the predeterminated frequency response include the first predeterminated frequency response and the second predeterminated frequency respond, wherein this first Predeterminated frequency response is less than or equal to predeterminated frequency threshold value, second predeterminated frequency response be more than the predeterminated frequency threshold value (namely Higher frequency responds and the distinguishing value of Frequency response);Namely predeterminated frequency response includes Frequency response and high frequency Frequency response, terminal are respectively adjusted Frequency response and higher frequency response, and increase default maximum gain;
In another example terminal can reduce Frequency response and improve higher frequency response, the i.e. adjustment predeterminated frequency The step of response, can include:
First frequency response is reduced, and improves second frequency response.
For example, terminal reduces Frequency response, and improves higher frequency response, so that call sounds more Clearly.
If it is determined that C, the current output volume of the call is not up to the predetermined threshold value, then by the current output sound of the call Amount increases to targets threshold, which is more than the predetermined threshold value.
For example, when terminal judges current output volume without reaching the volume maximum under common volume call mode When, current output volume is first increased to the maximum of common volume call mode, then proceedes to increase output volume, so as to More easily to switch to big volume call mode.
The switching method of the call mode of this preferred embodiment on the basis of first embodiment, can also switch to During big volume call mode, the volume characteristics parameter of output volume is adjusted, so as to increase the output volume of call, So that user is more convenient to use quick, user experience is improved.
Fig. 4 is refer to, Fig. 4 is the flow chart of the switching method for the call mode that the embodiment of the present invention three provides.
In the present embodiment, by terminal to be described in detail exemplified by smart mobile phone, the call mode of this preferred embodiment Switching method, including:
Step S401, when smart mobile phone, which listens to it, is in talking state, user is received by tapping smart mobile phone institute The percussion instruction of generation;
For example, when user A and user B converse, by taking the smart mobile phone of user A as an example, wheat that smart mobile phone is carried by it Gram wind, receiver or loud speaker, whether detection the user A taps on smart mobile phone, if smart mobile phone detects user A It is tapped on smart mobile phone, then obtains the tapping operation, to obtain percussion instruction.
Step S402, smart mobile phone judges whether percussion instruction and the default instruction sample that taps are identical, to judge that this strikes Hit whether instruction is pattern switching instruction;
For example, smart mobile phone be provided in advance in presetting database pattern switching instruction and with pattern switching instruction pair The default percussion instruction sample answered;For example, the corresponding default instruction sample that taps of pattern switching instruction is percussion 1 time;
Specifically, smart mobile phone can obtain number of taps of the user in preset duration, whether judge the number of taps Identical with default percussion instruction sample, which can rule of thumb set.If smart mobile phone judges the number of taps It is differed with the default instruction sample that taps, then performs step S403;If smart mobile phone judges that the number of taps is default with this It is identical to tap instruction sample, then performs step S404;
If step S403, percussion instruction is differed with the default instruction sample that taps, smart mobile phone judges that this strikes It is not pattern switching instruction to hit instruction;
It is assumed that user A has been tapped 3 times in 5 seconds in smart mobile phone, then the number of taps that smart mobile phone gets user is 3 times, due to being differed with the default instruction sample (number of taps 1 time) that taps, smart mobile phone judges that percussion instruction is not The pattern switching instructs.Smart mobile phone does not switch over present talk mode at this time, for example continues according to current output sound Amount is conversed.
If step S404, percussion instruction is identical with the default percussion instruction sample, smart mobile phone judges the percussion It instructs and is instructed for the pattern switching;
For example, user A has been tapped 1 time in 5 seconds in smart mobile phone, then the number of taps that smart mobile phone gets user is 1 time, due to identical with the default instruction sample (tapping 1 time) that taps, because smart mobile phone judges that percussion instruction refers to for pattern switching Order;
Step S405, smart mobile phone judges whether the current output volume of the call reaches pre- according to pattern switching instruction If threshold value;
For example, smart mobile phone judges whether the current output volume of the call reaches maximum, i.e., the predetermined threshold value is general Volume maximum under logical volume call mode.If it is, performing step S406, step S407 is otherwise performed.
Step S406, if smart mobile phone judges that the current output volume of the call reaches the predetermined threshold value, intelligent hand Machine increases the current output volume of the call;
For example, when volume is transferred to maximum by user A, smart mobile phone judges that current output volume has arrived at common sound The volume maximum under call mode is measured, smart mobile phone continues to increase current output volume at this time;
Preferably, the step of current output volume of the increase call can include:
(1) smart mobile phone obtains the predeterminated frequency response of the current output volume of the call and presets maximum gain;
For example, smart mobile phone is detected under common volume call mode, when the output volume of call reaches maximum, obtain The frequency response of output volume and maximum gain namely predeterminated frequency respond and preset maximum gain at this time;
(2) smart mobile phone adjusts predeterminated frequency response, and increases the default maximum gain.
For example, the predeterminated frequency response include the first predeterminated frequency response and the second predeterminated frequency respond, wherein this first Predeterminated frequency response is less than predeterminated frequency threshold value, and it is (namely high again and again that second predeterminated frequency response is more than the predeterminated frequency threshold value Rate responds and the distinguishing value of Frequency response);Namely predeterminated frequency response includes Frequency response and higher frequency is rung Should, smart mobile phone reduces Frequency response and improves higher frequency response, and increases default maximum gain;So that call is listened Get up to become apparent from.
If step S407, smart mobile phone judges that the current output volume of the call is not up to the predetermined threshold value, intelligence The current output volume of the call is increased to targets threshold by mobile phone;
The targets threshold is more than the predetermined threshold value;For example, when smart mobile phone judges that current output volume does not reach commonly During volume maximum under volume call mode, current output volume is first increased to the maximum of common volume call mode, Increase output volume is then proceeded to, specific increased mode can be:Smart mobile phone obtains the current output volume of the call Frequency response, higher frequency respond and preset maximum gain;Smart mobile phone reduces Frequency response and improves high frequency Frequency response, and increase default maximum gain;So that call is sounded and become apparent from.
The switching method of the call mode of this preferred embodiment, tapping operation of the smart mobile phone by user in terminal, Pattern switching instruction is obtained, common volume call mode conveniently and efficiently is switched to big volume call mode, operating process Simplicity can also respond and preset to the predeterminated frequency of output volume and most increase during big volume call mode is switched to Benefit is adjusted, and with the output volume of increase call, so that user is more convenient to use quick, improves user experience.
Fig. 5 is refer to, Fig. 5 is the structure diagram of the switching device for the call mode that the embodiment of the present invention four provides.This The switching device 50 of the call mode of preferred embodiment includes:Receiving module 51, judgment module 52 and handover module 53;
Receiving module 51 is produced for when detecting that terminal is in talking state, receiving user by tapping the terminal Raw percussion instruction;
For example, when receiving module 51 monitors terminal call, whether detection user carries out tapping operation in terminal, with It is instructed to the percussion, for example, receiving module 51 can be by microphone, receiver or loud speaker that terminal carries, detecting should Instruction is tapped, user can be tapped in any position of terminal, for example can be tapped at the back side of terminal or side, only Want receiving module 51 that can detect that the percussion instructs.
Judgment module 52, for judging whether percussion instruction is pattern switching instruction;
For example, judgment module 52 judges whether tapping operation of the user in terminal be consistent with pattern switching instruction;The mould Formula switching command is used to switch over present talk mode;For example, present talk mode is common volume call mode;
The judgment module 52, can be specifically used for:
Judge that percussion instruction instructs sample whether identical with default tap;
It instructs sample identical with default tap if the percussion is instructed, judges that percussion instruction refers to for the pattern switching Order.
For example, terminal be provided in advance in presetting database pattern switching instruction and it is corresponding with pattern switching instruction It is default to tap instruction sample;For example, the corresponding default instruction sample that taps of pattern switching instruction is percussion 1 time;
Specifically, receiving module 51 can obtain number of taps of the user in preset duration, and judgment module 52 judges should Whether number of taps is identical with default percussion instruction sample, which can rule of thumb set.
For example, receiving module 51 was got in 5 seconds, user is when having tapped 1 time in terminal, due to being instructed with default tap Sample is identical to tap 1 time, therefore judgment module 52 judges that percussion instruction instructs for pattern switching;
Handover module 53, for when the judgment module judges that percussion instruction instructs for the pattern switching, then leading to this The present talk mode of words switches to big volume call mode.
For example, when judgment module 52 judges that the tapping operation is consistent with pattern switching instruction, handover module 53 will be common Volume call mode switches to big volume call mode, with the output volume of increase call.
The handover module 53 can include:Judging submodule 531 and increase submodule 532;
The judging submodule 531, for judging whether the current output volume of the call reaches predetermined threshold value;
For example, judging submodule 531 judges whether the current output volume of the call reaches maximum, i.e. the predetermined threshold value For the volume maximum under common volume call mode.
The increase submodule 532 judges that the current output volume of the call reaches this and presets for working as the judging submodule Threshold value increases the current output volume of the call;And when the judging submodule judges that the current output volume of the call does not reach To the predetermined threshold value, then the current output volume of the call is increased into targets threshold, which is more than the predetermined threshold value.
For example, when judging submodule 531 judges that current output volume has arrived at the sound under common volume call mode When measuring maximum, increase submodule 532 continues to increase the output volume of current talking;
For example, when judging submodule 531 judges current output volume without reaching the sound under common volume call mode When measuring maximum, current output volume is first increased to the maximum of common volume call mode, Ran Houji by increase submodule 532 Continuous increase output volume, so as to more easily switch to big volume call mode.
The increase submodule 532, can be used for:
Obtain the volume characteristics parameter of the current output volume of the call;
The volume characteristics parameter is adjusted, so that the output volume increases.
It is rung for example, increase submodule 532 can obtain frequency of the output volume of call under common volume call mode Should and maximum gain, then the two parameters are adjusted.
That is, the increase submodule 532, can be also used for:
It obtains the predeterminated frequency response of the current output volume of the call and presets maximum gain;
Predeterminated frequency response is adjusted, and increases the default maximum gain.
For example, judging submodule 531 detects under common volume call mode that the output volume of call reaches maximum When, increase submodule 532 obtains the frequency response of output volume and maximum gain at this time namely predeterminated frequency response and presets most Large gain;
For example, increase submodule 532 can be adjusted volume characteristics parameter, with the output sound of further increase call Amount, so as to improve the call clarity of terminal under noisy environment, when the output volume that increase submodule 532 can obtain call exists When frequency response under common volume call mode and maximum gain, which is adjusted.
The increase submodule 532, is specifically used for:First frequency response is reduced, and improves second frequency response.
For example, the predeterminated frequency response include the first predeterminated frequency response and the second predeterminated frequency respond, wherein this first Predeterminated frequency response is less than or equal to predeterminated frequency threshold value, second predeterminated frequency response be more than the predeterminated frequency threshold value (namely Higher frequency responds and the distinguishing value of Frequency response);Namely predeterminated frequency response includes Frequency response and high frequency Frequency response, increase submodule 532 are respectively adjusted Frequency response and higher frequency response, and increase default maximum Gain;
In another example increase submodule 532 reduces Frequency response, and improves higher frequency response, so that logical Words, which sound, to be become apparent from.
It when it is implemented, Yi Shang modules can be independent entity to realize, can also be combined, be made It is realized for same or several entities, the specific implementation of more than modules can be found in the embodiment of the method for front, herein not It repeats again.
The switching device of the call mode of this preferred embodiment by tapping operation of the user in terminal, obtains pattern Switching command, common volume call mode conveniently and efficiently is switched to big volume call mode, operating process is easy, may be used also During big volume call mode is switched to, to be adjusted to the volume characteristics parameter of output volume, so as to increase call Output volume so that user is more convenient to use quick, improve user experience.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Relevant hardware to be instructed to complete by program, which can be stored in a computer readable storage medium, storage Medium can include:Read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
A kind of switching method and apparatus of the call mode provided above the embodiment of the present invention are described in detail, Specific case used herein is set forth the principle of the present invention and embodiment, and the explanation of above example is simply used Understand the method and its core concept of the present invention in help;Meanwhile for those skilled in the art, think of according to the invention Think, in specific embodiments and applications there will be changes, in conclusion this specification content should not be construed as pair The limitation of the present invention.

Claims (6)

1. a kind of switching method of call mode, which is characterized in that including:
When detecting that terminal is in talking state, user is received by the microphone, receiver or loud speaker of terminal and is passed through It taps and instruction is tapped caused by any position of the terminal;The percussion instruction is by tapping the terminal according to user What the vibration signal of generation generated;It specifically includes:When terminal is vibrated and generates vibration signal, microphone, receiver or raise one's voice Vibrating diaphragm in device senses vibration signal, and all can and then vibrate together, and vibrating diaphragm will drive microphone, receiver or raise Coil in sound device does the movement of cutting magnetic line, and so as to generate corresponding current signal in coil, the current signal is Analog signal;Processing is amplified to analog signal, converts analog signals into corresponding digital signal;
The sample rate of digital signal is according to circumstances adjusted, Fourier transform is carried out to digital signal, is converted to frequency-domain analysis;
The time cycle of digital signal is obtained, judges the time cycle whether in the range of preset period of time;And statistics The frequency distribution of signal, determination frequency distribution;And the amplitude of digital signal is analyzed, analyzes the average width of entire frequency range Angle value, and judge averaged amplitude value;
If the time cycle is in the range of preset period of time, and frequency distribution is continuous and frequency band is broad, and averaged amplitude value More than default amplitude, vibration signal is determined to tap the vibration signal generated;
Judge whether the percussion instruction is pattern switching instruction;
If it is determined that described tap instruction as pattern switching instruction, then instructed according to the pattern switching by the call Present talk mode switches to big volume call mode, specifically includes:When terminal judges that current output volume does not reach commonly During volume maximum under volume call mode, current output volume is first increased to the maximum of common volume call mode, When terminal judges that current output volume has arrived at the volume maximum under common volume call mode, working as call is obtained The predeterminated frequency of preceding output volume responds and presets maximum gain;Predeterminated frequency response include the response of the first predeterminated frequency with Second predeterminated frequency responds, wherein first predeterminated frequency response is less than or equal to predeterminated frequency threshold value, the second predeterminated frequency Response is more than predeterminated frequency threshold value, and terminal reduces the response of the first predeterminated frequency, improves the response of the second predeterminated frequency, and increases default Maximum gain.
2. the switching method of call mode according to claim 1, which is characterized in that described to judge that the percussion instruction is The step of no instruction for pattern switching, includes:
Judge that the percussion instruction and default tap instruct sample whether identical;
If the percussion instruction is identical with the default instruction sample that taps, judges that the percussion instructs and cut for the pattern Change instruction.
3. the switching method of call mode according to claim 1, which is characterized in that when terminal judges current output sound When amount does not reach the volume maximum under common volume call mode, current output volume is first increased into common volume call mould The maximum of formula then proceedes to increase output volume.
4. a kind of switching device of call mode, which is characterized in that including:
Receiving module, for when detecting that terminal is in talking state, passing through the microphone, receiver or loud speaker of terminal User is received to instruct by tapping to tap caused by any position of the terminal;The percussion instruction is passed through according to user Tap what the vibration signal that the terminal generates generated;It specifically includes:Terminal vibrate generate vibration signal when, microphone, by Vibrating diaphragm in words device or loud speaker senses vibration signal, and all can and then vibrate together, vibrating diaphragm will drive microphone, Coil in receiver or loud speaker does the movement of cutting magnetic line, so as to generate corresponding current signal, institute in coil Current signal is stated as analog signal;Processing is amplified to analog signal, converts analog signals into corresponding digital signal;Root According to the sample rate of situation adjustment digital signal, Fourier transform is carried out to digital signal, is converted to frequency-domain analysis;Obtain number letter Number time cycle, judge the time cycle whether in the range of preset period of time;And the frequency distribution of statistics signal, Determination frequency is distributed;And the amplitude of digital signal is analyzed, analyzes the averaged amplitude value of entire frequency range, and is judged average Range value;If the time cycle is in the range of preset period of time, and frequency distribution is continuous and frequency band is broad, and average amplitude Value is more than default amplitude, determines vibration signal to tap the vibration signal generated;
Judgment module, for judging whether the percussion instruction is pattern switching instruction;
Handover module, for when the judgment module judge it is described tap instruction for the pattern switching instruction when, then according to institute It states pattern switching instruction and the present talk mode of the call is switched into big volume call mode, specifically include:When terminal is sentenced When the current output volume that breaks does not reach the volume maximum under common volume call mode, first current output volume is increased to The maximum of common volume call mode, when terminal judges that current output volume is had arrived under common volume call mode During volume maximum, obtain the predeterminated frequency response of the current output volume of call and preset maximum gain;The predeterminated frequency Response includes the response of the first predeterminated frequency and the response of the second predeterminated frequency, wherein first predeterminated frequency response is less than or equal to Predeterminated frequency threshold value, the response of the second predeterminated frequency are more than predeterminated frequency threshold value, and terminal reduces the response of the first predeterminated frequency, improves the Two predeterminated frequencies respond, and increase default maximum gain.
5. the switching device of call mode according to claim 4, which is characterized in that the judgment module is specifically used for:
Judge that the percussion instruction and default tap instruct sample whether identical;
If the percussion instruction is identical with the default instruction sample that taps, judges that the percussion instructs and cut for the pattern Change instruction.
6. a kind of computer readable storage medium, storage is used for the computer program of the switching of call mode, wherein, the meter Calculation machine program causes computer to perform the method as described in claim 1.
CN201610038354.4A 2016-01-20 2016-01-20 Switching method, device and the computer readable storage medium of call mode Expired - Fee Related CN105472172B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610038354.4A CN105472172B (en) 2016-01-20 2016-01-20 Switching method, device and the computer readable storage medium of call mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610038354.4A CN105472172B (en) 2016-01-20 2016-01-20 Switching method, device and the computer readable storage medium of call mode

Publications (2)

Publication Number Publication Date
CN105472172A CN105472172A (en) 2016-04-06
CN105472172B true CN105472172B (en) 2018-05-18

Family

ID=55609413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610038354.4A Expired - Fee Related CN105472172B (en) 2016-01-20 2016-01-20 Switching method, device and the computer readable storage medium of call mode

Country Status (1)

Country Link
CN (1) CN105472172B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106101392A (en) * 2016-05-31 2016-11-09 宁波萨瑞通讯有限公司 The control method of a kind of calling record function and control system
CN106060256A (en) * 2016-05-31 2016-10-26 宁波萨瑞通讯有限公司 Method and system for switching call mode
CN108108141A (en) * 2016-11-25 2018-06-01 北京小米移动软件有限公司 The method and device of switching terminal volume pattern

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104065794A (en) * 2013-03-18 2014-09-24 联想(北京)有限公司 Incoming call processing method and device
CN104811552A (en) * 2015-04-17 2015-07-29 广东欧珀移动通信有限公司 Shortcut function starting method and device as well as communication equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101613171B1 (en) * 2009-10-29 2016-04-18 삼성전자주식회사 Apparatus and method for improving the voice quality in portable communication system
CN103516899B (en) * 2013-09-13 2015-07-08 广东欧珀移动通信有限公司 Method increasing volume through combination key and mobile terminal
CN105100498A (en) * 2015-08-27 2015-11-25 广东欧珀移动通信有限公司 Call volume adjusting method and device
CN105162939A (en) * 2015-09-24 2015-12-16 广东欧珀移动通信有限公司 Method and device for increasing call volume of terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104065794A (en) * 2013-03-18 2014-09-24 联想(北京)有限公司 Incoming call processing method and device
CN104811552A (en) * 2015-04-17 2015-07-29 广东欧珀移动通信有限公司 Shortcut function starting method and device as well as communication equipment

Also Published As

Publication number Publication date
CN105472172A (en) 2016-04-06

Similar Documents

Publication Publication Date Title
US9818425B1 (en) Parallel output paths for acoustic echo cancellation
US8644517B2 (en) System and method for automatic disabling and enabling of an acoustic beamformer
EP1913708B1 (en) Determination of audio device quality
WO2017185342A1 (en) Method and apparatus for determining voice input anomaly, terminal, and storage medium
EP3491645A1 (en) Far-field audio processing
CN105472172B (en) Switching method, device and the computer readable storage medium of call mode
CN106612482A (en) Method for adjusting audio parameter and mobile terminal
CN105744056A (en) Volume adjusting method and volume adjusting device
CN105611064A (en) Mobile terminal mode switching method and device
CN109686378A (en) Method of speech processing and terminal
CN105719672A (en) Recording scene mode switching method and recording scene mode switching mode device
CN110519450A (en) Ultrasonic processing method, device, electronic equipment and computer-readable medium
CN105704839B (en) A kind of Bluetooth connecting method and device
CN109121059A (en) Loudspeaker plug-hole detection method and Related product
CN105577863B (en) The way of recording and device
CN105549744B (en) A kind of screen luminance of terminal adjusting method and device
CN105721676B (en) A kind of terminal processing method and device
CN105718165B (en) A kind of starting method and device of terminal background application
CN105718178B (en) A kind of methods of exhibiting and device of PUSH message
CN105718179B (en) Information processing method and device
WO2021043414A1 (en) Microphone blocking detection control
CN105491297B (en) A kind of method of adjustment and device of camera parameter
CN103312911A (en) Data processing method and electronic terminal
CN105721679A (en) Conversation switching method and conversation switching device
CN105721678A (en) Calling processing method and calling processing device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

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

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

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

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180518