CN107222614A - Automatically hang up method, readable storage medium storing program for executing and the mobile terminal of call - Google Patents

Automatically hang up method, readable storage medium storing program for executing and the mobile terminal of call Download PDF

Info

Publication number
CN107222614A
CN107222614A CN201710318362.9A CN201710318362A CN107222614A CN 107222614 A CN107222614 A CN 107222614A CN 201710318362 A CN201710318362 A CN 201710318362A CN 107222614 A CN107222614 A CN 107222614A
Authority
CN
China
Prior art keywords
call
voice data
data
mobile terminal
upstream
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710318362.9A
Other languages
Chinese (zh)
Inventor
喻建华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201710318362.9A priority Critical patent/CN107222614A/en
Publication of CN107222614A publication Critical patent/CN107222614A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/02Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using spectral analysis, e.g. transform vocoders or subband vocoders
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • G10L25/51Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses method, readable storage medium storing program for executing and the mobile terminal for automatically hanging up call, including:When mobile terminal is in talking state, upstream voice data and downstream voice data are obtained;Spectrum analysis is carried out to the upstream voice data and downstream voice data got, to be analyzed judgement to the permissible call speech data and invalid voice data that are included in upstream voice data and downstream voice data;According to analysis judged result, when not including permissible call speech data in upstream voice data and downstream voice data and the duration exceeds preset period of time, then call is automatically hung up.The present invention when judging the speech data in talking state for invalid audio, then automatically hangs up call by monitoring the voice call of user in real time, it is to avoid work as the loss that user forgets the call of kill-call or maloperation initiation and causes rate.

Description

Automatically hang up method, readable storage medium storing program for executing and the mobile terminal of call
Technical field
The present invention relates to mobile terminal application field, and in particular to automatically hangs up the method for call, mobile terminal and readable Storage medium.
Background technology
In daily life, the voice call function of mobile terminal has become the most basic of mobile terminal, most indispensable One of few function.But root is according to the survey, many people can run into the situation for forgetting to hang up the telephone after end of conversation,. If the both sides of call forget to hang up the telephone, it may result in mobile terminal and be in extended telephone conversation, ultimately result in movement Totally, battery life useful life shortens terminal battery electricity quantity, and user also to be paid to local operator one it is high Language cost of the phone call, also, due to the line is busy reason, other users are not come in yet.
Therefore, prior art has yet to be improved and developed.
The content of the invention
The technical problem to be solved in the present invention is, for prior art drawbacks described above automatically hung up there is provided one kind it is logical Method, system, mobile terminal and the readable storage medium storing program for executing of words, it is intended to realize the situation that kill-call is forgotten after user's communication Under, call can be automatically hung up.
The technical proposal for solving the technical problem of the invention is as follows:
The method for automatically hanging up call, comprises the following steps:
A, when mobile terminal is in talking state, obtains upstream voice data and downstream voice data;
B, spectrum analysis is carried out to the upstream voice data and downstream voice data that get, with to upstream voice data and descending The permissible call speech data and invalid voice data included in speech data is analyzed judgement;
C, according to analysis judged result, when in upstream voice data and downstream voice data do not include permissible call speech data, And the duration exceed preset period of time when, then automatically hang up call.
The upstream voice data is the language by being uploaded to network side after mobile terminal microphone input through wave filter Sound data;The downstream voice data is to be transmitted from network side to the speech data of mobile terminal receiver.
The permissible call speech data frequency range is in 20-20000Hz, and voice intensity is more than 20 decibels.
The step C is specifically included:
C1, according to analysis judged result, when in upstream voice data and downstream voice data do not include permissible call speech data When, timer initiation;
C2, when the duration not comprising permissible call speech data exceeds default in upstream voice data and downstream voice data During the period, then call is automatically hung up.
The preset period of time is 10 seconds.
A kind of computer-readable recording medium, is stored thereon with a plurality of instruction, and the instruction is realized when being executed by processor The method for automatically hanging up call described in any of the above.
A kind of mobile terminal, including:Processor, the memory being connected with processor communication;The memory storage has many Bar is instructed, and the method for automatically hanging up call described in any of the above is realized in the instruction when being executed by processor;
The processor is used to call instruction in the memory, to perform the call that automatically hangs up described in any of the above Method.
Beneficial effects of the present invention:By monitoring the voice call of user in real time, when judging the voice number in talking state Do not include permissible call speech data in and during beyond preset period of time, then automatically hang up call, it is to avoid when user forgets extension Call that open close words or maloperation are initiated and a series of losses for causing, such as the quick consumption of electricity, battery Infringement, because the line is busy cause other users exhale to come in and telephone expenses loss.
Brief description of the drawings
Fig. 1 is the preferred embodiment flow chart for the method that the present invention automatically hangs up call.
Fig. 2 is the flow chart of the concrete application embodiment for the method that the present invention automatically hangs up call.
Fig. 3 is a kind of structured flowchart of mobile terminal preferred embodiment of the invention.
Fig. 4 is the permissible call speech data spectrogram for the method preferred embodiment that the present invention automatically hangs up call.
Fig. 5 is the invalid voice data spectrum figure for the method preferred embodiment that the present invention automatically hangs up call.
Embodiment
To make the objects, technical solutions and advantages of the present invention clearer, clear and definite, develop simultaneously embodiment pair referring to the drawings The present invention is further described.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and without It is of the invention in limiting.
The embodiments of the invention provide the method for automatically hanging up call, as shown in figure 1, comprising the following steps:
S100, when mobile terminal is in talking state, obtains upstream voice data and downstream voice data.
In the embodiment of the present invention, when mobile terminal is in talking state, i.e., the whole voice obtained in real time in call Data, until kill-call.
Specifically, the upstream voice data is by being uploaded to network through wave filter after mobile terminal microphone input The speech data of side;The downstream voice data is to be transmitted from network side to the speech data of mobile terminal receiver.
S200, carries out spectrum analysis, with to ascending voice number to the upstream voice data and downstream voice data got Judgement is analyzed according to the permissible call speech data and invalid voice data included in downstream voice data.
The permissible call speech data frequency range is in 20-20000Hz, and voice intensity is more than 20 decibels.
In the embodiment of the present invention, spectrum analysis is carried out by the upstream voice data to getting and downstream voice data, The spectrum analysis is represented the amplitude of voice signal and frequency with reference axis, to obtain the frequency content of each in voice signal With frequency distribution scope and the amplitude distribution of each frequency content, distinguished according to the result of spectrum analysis upstream voice data and Permissible call speech data and invalid voice data in downstream voice data.
Referring to Fig. 4, Fig. 4 is the permissible call speech data frequency for the method preferred embodiment that the present invention automatically hangs up call Spectrogram.The permissible call speech data frequency range is within 20-20000Hz, and amplitude is higher, in the embodiment of the present invention, I.e. by frequency range within 20-20000Hz and voice intensity is more than 20 decibels of speech data and is determined as permissible call voice Data.
Referring to Fig. 5, Fig. 5 is the invalid voice data spectrum for the method preferred embodiment that the present invention automatically hangs up call Figure.DB is decibel, and Hz is frequency.In embodiments of the present invention, the voice intensity of invalid voice data is less than 20 decibels, and its It is just infinite that frequency, which is in any frequency range, i.e. its frequency,.
S300, according to analysis judged result, when in upstream voice data and downstream voice data do not include permissible call language When sound data and duration exceed preset period of time, then call is automatically hung up.
The step S300 is specifically included:
S301, according to analysis judged result, when in upstream voice data and downstream voice data do not include permissible call voice number According to when, timer initiation;
S302, when the duration not comprising permissible call speech data exceeds pre- in upstream voice data and downstream voice data If during the period, then automatically hanging up call.
In the embodiment of the present invention, when mobile terminal is in communication process, have when not including all in uplink and downlink speech data When imitating call voice data, start timer and start timing, when the duration that uplink and downlink speech data is invalid voice data During beyond preset period of time, such as 10 seconds, then force to initiate call hang-ups function, terminate call.
Therefore, the present invention by monitoring the voice call of user in real time, when judging the speech data in talking state In do not include permissible call speech data and beyond preset period of time when, then automatically hang up call, not only avoid when user forgets Call that kill-call or maloperation are initiated and the loss for causing rate, it is thus also avoided that mobile terminal is in talking state for a long time When, the electricity of battery of mobile terminal can be caused quickly to consume, battery is damaged, also avoid causes in addition because the line is busy Not the problem of other users are exhaled to come in.
The method for automatically hanging up call to the present invention below by way of a specific Application Example is described in further detail, As shown in figure 3, including:
Mobile terminal is in talking state.
Obtain upstream voice data and downstream voice data:Voice during i.e. whole, real-time acquisition mobile terminal call Data are talked about, include the speech data and the speech data of callee of calling party.
Voice spectrum analysis:Spectrum analysis is carried out to the speech data of acquisition, the sound of acquired speech data is obtained Voice frequency and decibel, the permissible call speech data and invalid voice data in call are differentiated according to sound frequency and decibel, Mobile terminal terminates logical according to judging whether to force to initiate call hang-ups function to the real time spectral analysis result of call voice Words.
A kind of situation is that user is actively hung up:User's active operation mobile terminal kill-call.
Terminate call.
Another situation is that user forgets kill-call, and step is as follows:
Whether upstream voice data and downstream voice data are invalid voice data:In the embodiment of the present invention, mobile terminal is led to Voice messaging during speech phase is divided into permissible call speech data and invalid voice data.Permissible call speech data can be regarded as Calling party and callee need to convey to the speech data of other side, and invalid voice data can be regarded as noise.
When including permissible call speech data in upstream voice data and downstream voice data, then continue to call shape Speech data under state carries out spectrum analysis;
When in upstream voice data and downstream voice data not comprising there is permissible call speech data(As invalid voice data When), startup after timer is reset, beginning timing.
If up speech data and downstream voice data for invalid audio period without departing from preset period of time, then continue Spectrum analysis is carried out to the speech data under talking state;
When upstream voice data and downstream voice data always for invalid audio and beyond preset period of time when, then force to initiate logical Words hang up function, terminate call.
As described above, the invention discloses the method for automatically hanging up call, by monitoring the voice call of user in real time, when When judging the speech data in talking state for invalid audio, then automatically hang up call, it is to avoid when user forgets kill-call Or the call initiated of maloperation and a series of losses for causing, such as the quick consumption of electricity, the infringement of battery, because The line is busy and cause other users exhale to come in and telephone expenses loss.
Based on the above-described method for automatically hanging up call, the invention also discloses a kind of computer-readable storage medium Matter, is stored thereon with a plurality of instruction, and the instruction realizes step when being executed by processor:
When mobile terminal is in talking state, upstream voice data and downstream voice data are obtained;As detailed above.
Spectrum analysis is carried out to the upstream voice data and downstream voice data that get, with to upstream voice data and under The permissible call speech data and invalid voice data included in row speech data is analyzed judgement;As detailed above.
According to analysis judged result, when in upstream voice data and downstream voice data do not include permissible call voice number According to and the duration exceed preset period of time when, then automatically hang up call;As detailed above.
Based on the above-described method for automatically hanging up call, the invention also discloses a kind of mobile terminal, such as Fig. 3 institutes Show, including:Processor (processor) 401, memory (memory) 402, communication interface (Communications Interface) 403 and bus 404;Wherein,
The processor 401, memory 402, communication interface 403 complete mutual communication by the bus 404;
The information transfer that the communication interface 403 is used between the communication equipment of the device;
The processor 401 is used to call the instruction in the memory 402, is realized during performing described in any of the above one certainly The step of method of dynamic kill-call:
When mobile terminal is in talking state, upstream voice data and downstream voice data are obtained;As detailed above.
Spectrum analysis is carried out to the upstream voice data and downstream voice data that get, with to upstream voice data and under The permissible call speech data and invalid voice data included in row speech data is analyzed judgement;As detailed above.
According to analysis judged result, when in upstream voice data and downstream voice data do not include permissible call voice number According to and the duration exceed preset period of time when, then automatically hang up call;As detailed above.
As described above, the invention discloses method, readable storage medium storing program for executing and the mobile terminal for automatically hanging up call, including: When mobile terminal is in talking state, upstream voice data and downstream voice data are obtained;To the ascending voice number got Spectrum analysis is carried out according to downstream voice data, with to the permissible call language included in upstream voice data and downstream voice data Sound data and invalid voice data are analyzed judgement;According to analysis judged result, when upstream voice data and downlink voice number When not including permissible call speech data and duration in and exceeding preset period of time, then call is automatically hung up.The present invention passes through The voice call of monitoring user, when judging the speech data in talking state for invalid audio, then automatically hangs up call in real time, Avoid when user forgets the call that kill-call or maloperation are initiated and a series of losses caused, such as the quick of electricity disappear Consumption, the infringement of battery, because the line is busy cause other users exhale to come in and telephone expenses loss.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can To be improved or converted according to the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention Protect scope.

Claims (7)

1. automatically hang up the method for call, it is characterised in that comprise the following steps:
A, when mobile terminal is in talking state, obtains upstream voice data and downstream voice data;
B, spectrum analysis is carried out to the upstream voice data and downstream voice data that get, with to upstream voice data and descending The permissible call speech data and invalid voice data included in speech data is analyzed judgement;
C, according to analysis judged result, when in upstream voice data and downstream voice data do not include permissible call speech data, And the duration exceed preset period of time when, then automatically hang up call.
2. according to the method described in claim 1, it is characterised in that the upstream voice data is to pass through mobile terminal microphone The speech data of network side is uploaded to after input through wave filter;The downstream voice data is to be transmitted from network side to mobile whole The speech data of end-receiver.
3. according to the method described in claim 1, it is characterised in that
The permissible call speech data frequency range is in 20-20000Hz, and voice intensity is more than 20 decibels.
4. according to the method described in claim 1, it is characterised in that the step C is specifically included:
C1, according to analysis judged result, when in upstream voice data and downstream voice data do not include permissible call speech data When, timer initiation;
C2, when the duration not comprising permissible call speech data exceeds default in upstream voice data and downstream voice data During the period, then call is automatically hung up.
5. method according to claim 4, it is characterised in that the preset period of time is 10 seconds.
6. a kind of computer-readable recording medium, is stored thereon with a plurality of instruction, it is characterised in that the instruction is held by processor The method for automatically hanging up call as described in claim 1 to 5 is realized during row.
7. a kind of mobile terminal, it is characterised in that including:Processor, the memory being connected with processor communication;The memory Be stored with a plurality of instruction, and the instruction is realized when being executed by processor automatically hangs up call described in any one of claim 1 to 5 Method;
The processor is used to call the instruction in the memory, to perform oneself described in any one of the claims 1 to 5 The method of dynamic kill-call.
CN201710318362.9A 2017-05-08 2017-05-08 Automatically hang up method, readable storage medium storing program for executing and the mobile terminal of call Pending CN107222614A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710318362.9A CN107222614A (en) 2017-05-08 2017-05-08 Automatically hang up method, readable storage medium storing program for executing and the mobile terminal of call

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710318362.9A CN107222614A (en) 2017-05-08 2017-05-08 Automatically hang up method, readable storage medium storing program for executing and the mobile terminal of call

Publications (1)

Publication Number Publication Date
CN107222614A true CN107222614A (en) 2017-09-29

Family

ID=59944876

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710318362.9A Pending CN107222614A (en) 2017-05-08 2017-05-08 Automatically hang up method, readable storage medium storing program for executing and the mobile terminal of call

Country Status (1)

Country Link
CN (1) CN107222614A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109561214A (en) * 2018-11-30 2019-04-02 维沃移动通信有限公司 Call handling method and mobile terminal
CN110266894A (en) * 2019-06-18 2019-09-20 浙江百应科技有限公司 A kind of call method and system of automatic busy tone detecting
CN113096667A (en) * 2021-04-19 2021-07-09 上海云绅智能科技有限公司 Wrongly-written character recognition detection method and system
CN113840029A (en) * 2020-06-23 2021-12-24 中国移动通信集团辽宁有限公司 Abnormal call state identification method and device
CN114006974A (en) * 2021-10-25 2022-02-01 杭州逗酷软件科技有限公司 Information processing method and device, terminal equipment and computer storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7688809B2 (en) * 2006-05-03 2010-03-30 Cisco Technology, Inc. Media inactivity detection in VoIP networks
CN102104699A (en) * 2009-12-17 2011-06-22 深圳富泰宏精密工业有限公司 Automatic hanging-up method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7688809B2 (en) * 2006-05-03 2010-03-30 Cisco Technology, Inc. Media inactivity detection in VoIP networks
CN102104699A (en) * 2009-12-17 2011-06-22 深圳富泰宏精密工业有限公司 Automatic hanging-up method and system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109561214A (en) * 2018-11-30 2019-04-02 维沃移动通信有限公司 Call handling method and mobile terminal
CN109561214B (en) * 2018-11-30 2021-04-02 维沃移动通信有限公司 Call processing method and mobile terminal
CN110266894A (en) * 2019-06-18 2019-09-20 浙江百应科技有限公司 A kind of call method and system of automatic busy tone detecting
CN113840029A (en) * 2020-06-23 2021-12-24 中国移动通信集团辽宁有限公司 Abnormal call state identification method and device
CN113840029B (en) * 2020-06-23 2023-11-10 中国移动通信集团辽宁有限公司 Abnormal call state identification method and device
CN113096667A (en) * 2021-04-19 2021-07-09 上海云绅智能科技有限公司 Wrongly-written character recognition detection method and system
CN114006974A (en) * 2021-10-25 2022-02-01 杭州逗酷软件科技有限公司 Information processing method and device, terminal equipment and computer storage medium

Similar Documents

Publication Publication Date Title
CN107222614A (en) Automatically hang up method, readable storage medium storing program for executing and the mobile terminal of call
CN101827367B (en) Recognition method and device of harassing calls
CN106713593B (en) A kind of strange number automatic processing method and device
CN103607500B (en) A kind of In Call control method based on environment and device
US20150080048A1 (en) Mobile terminal and abnormal call processing method therefor
CA2851004C (en) Live person detection in an automated calling system
CN105915724B (en) A kind of method, apparatus and terminal of incoming call handling
MX2009001976A (en) Mobile phone related indirect communication system and method.
CN103546647A (en) Method and device for communication through mobile phone
CN104320529A (en) Information receiving processing method and voice communication device
CN105072280A (en) Processing method and system for mobile terminal to automatically hang up
CN105847567A (en) Incoming call prompting method and device, and handset
CN101478591A (en) Method for preventing incoming call disturbance of mobile phone
US20160301803A1 (en) Silence density models
CN102781075A (en) Method for reducing communication power consumption of mobile terminal and mobile terminal
CN103051813B (en) The method and apparatus that anti-leak-stopping is hung up
US8411847B2 (en) Acoustic echo canceller
CN104954533B (en) Junk phone interception method, apparatus based on intelligent communications terminal and system
CN104618593B (en) A kind of operating method when mobile terminal and its third party's incoming call
CN107734130A (en) A kind of adjust automatically terminal tone method, apparatus and terminal
CN104717346B (en) A kind of call hang-ups method and apparatus
CN103391348A (en) Crank call prevention method and device
CN105704327A (en) Call rejection method and call rejection system
CN105100364B (en) A kind of method and apparatus carrying out call blocking on communication apparatus
CN109862180A (en) Call processing method, device, computer equipment and 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170929