CN103051813B - The method and apparatus that anti-leak-stopping is hung up - Google Patents

The method and apparatus that anti-leak-stopping is hung up Download PDF

Info

Publication number
CN103051813B
CN103051813B CN201210535503.XA CN201210535503A CN103051813B CN 103051813 B CN103051813 B CN 103051813B CN 201210535503 A CN201210535503 A CN 201210535503A CN 103051813 B CN103051813 B CN 103051813B
Authority
CN
China
Prior art keywords
call
time
disarmed state
hang
unit
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
CN201210535503.XA
Other languages
Chinese (zh)
Other versions
CN103051813A (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 CN201210535503.XA priority Critical patent/CN103051813B/en
Publication of CN103051813A publication Critical patent/CN103051813A/en
Application granted granted Critical
Publication of CN103051813B publication Critical patent/CN103051813B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention is applicable to the communications field, provides the method and apparatus that a kind of anti-leak-stopping is hung up, and described method comprises the steps:, when communication apparatus connects phone, to monitor described call and whether be in disarmed state; When described call be in disarmed state reach the default very first time time, hang up described call.The method and apparatus that a kind of anti-leak-stopping provided by the invention is hung up, by monitoring call, statistical analysis is carried out to the frequency of the voice data of input and output in communication process, thus judges whether this call is in disarmed state, then determine whether hang up the telephone by force.

Description

The method and apparatus that anti-leak-stopping is hung up
Technical field
The invention belongs to the communications field, particularly relate to the method and apparatus that a kind of anti-leak-stopping is hung up.
Background technology
The communication apparatus such as existing mobile phone have brought very large convenience, and people also can link up without the need to waiting for for a long time without the need to meeting.But a lot of the elderly may forget when using mobile phone or base and hangs up, and the other side also may forget and hangs up, and now causes long invalid call, causes great economic waste to user.
Current mobile phone and base all do not provide effective solution, some mobile phones have employed the restriction of the maximum duration of call, when the duration of call of one-time continuous is greater than certain threshold value, then hang up the telephone by force, this mode causes inconvenience to the user, as user does not also terminate call then by on-hook by force.
Summary of the invention
The object of the embodiment of the present invention is the method and apparatus providing a kind of anti-leak-stopping to hang up, and is intended to solve existing communication tool and can not monitors invalid call and the problem of hanging up the telephone in time.
The embodiment of the present invention is achieved in that a kind of method that anti-leak-stopping is hung up, and described method comprises the steps:
When communication apparatus connects phone, monitor described call and whether be in disarmed state;
When described call be in disarmed state reach the default very first time time, hang up described call.
Further, whether described monitoring call is in disarmed state and comprises:
To the audio data samples of described call;
Quantity frequency in unit interval being belonged to the voice data of voice frequency range is added up; The described unit interval is less than the very first time;
When the quantity of described statistics is less than a predetermined threshold value, judge that described call is in disarmed state.
Further, described when converse be in disarmed state reach the default very first time time, kill-call comprises:
When judging that described call is in disarmed state, timer starts timing and continues sampling;
When non-disarmed state appears in call described within the described very first time, timer resets.
Further, described when converse be in disarmed state reach the default very first time time, kill-call also comprises:
When described call be in disarmed state reach the second default time time, prompting user on-hook; Described second time is less than the very first time and the unit interval of being greater than.
Further, described prompting user on-hook is specially and ejects prompting interface or the sound that gives a warning.
The device that the present invention also provides a kind of anti-leak-stopping to hang up, described device comprises:
Monitoring modular, for when communication apparatus connects phone, monitors described call and whether is in disarmed state;
Hang up module, for be in when described call disarmed state reach the default very first time time, hang up described call.
Further, described monitoring modular comprises:
Sampling unit, for the audio data samples to described call;
Statistic unit, the quantity for voice data frequency in the unit interval being belonged to voice frequency range is added up; The described unit interval is less than the very first time;
Identifying unit, is less than a predetermined threshold value for the quantity when described statistics, judges that described call is in disarmed state.
Further, hang up module described in comprise:
Timing unit, for when described identifying unit judges that described call is in disarmed state, starts timing and notifies that sampling unit continues sampling; And when non-disarmed state appears in call described within the described very first time, timing resets.
Further, hang up module described in also to comprise:
Tip element, for be in when described call disarmed state reach the second default time time, prompting user on-hook; Described second time is less than the very first time and the unit interval of being greater than.
Further, described Tip element is specifically for ejecting prompting interface or the sound that gives a warning.
The embodiment of the present invention, by monitoring call, is carried out statistical analysis to the frequency of the voice data of input and output in communication process, thus is judged whether this call is in disarmed state, then determine whether hang up the telephone by force.
Accompanying drawing explanation
Fig. 1 is the flow chart of the method that anti-leak-stopping that the embodiment of the present invention provides is hung up;
Fig. 2 is the flow chart of monitoring step in anti-leak-stopping that the embodiment of the present invention the provides method of hanging up;
Fig. 3 is the structure chart of the device that anti-leak-stopping that the embodiment of the present invention provides is hung up;
Fig. 4 is the structure chart of monitoring modular in anti-leak-stopping that the embodiment of the present invention the provides device of hanging up;
Fig. 5 is the structure chart hanging up module in anti-leak-stopping that the embodiment of the present invention the provides device of hanging up.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The communication apparatus of the embodiment of the present invention refers to that mobile phone, base etc. have the equipment of audio or video call function, and described phone comprises voice call, video calling etc.
Fig. 1 shows the flow chart of the method that anti-leak-stopping that the embodiment of the present invention is suitable for is hung up, and comprising:
The communication apparatus such as step S101, mobile phone incoming call answering or outgoing call, when communication apparatus connects phone, enter communication process.
Step S102, start monitoring to call, the audio frequency of the audio frequency input and the machine of simultaneously monitoring the other side exports, the voice data of acquisition communication apparatus input and output.
Step S103, statistical analysis is carried out to the voice data of communication apparatus input and output, to determine whether above-mentioned call is in disarmed state.In this step, disarmed state refers to that the call in the unit interval is in disarmed state, and the unit interval should be less than the very first time, as being set to 1 minute for the unit time.As shown in Figure 2, this step specifically comprises:
Step S1031, audio data samples to described call;
Sampling to the voice data of the input and output listened in the unit interval, and sampled result is converted into spectrum analysis view, take time as abscissa, and with the frequency of voice data for ordinate, coordinate point value is voice data energy.
Step S1032, the quantity of voice data frequency in the unit interval being belonged to voice frequency range are added up;
Audible frequency due to people is 85HZ to 1100HZ (the present embodiment is defined as voice frequency range), therefore, can think that all coordinate points voice data dropped between 85HZ to 1100HZ is all effective call.Effective voice data is added up, namely the quantity of the voice data that frequency in the unit interval belongs between 85HZ to 1100HZ is added up.Certainly, voice frequency range can adjust to some extent, can on-fixed be 85HZ to 1100HZ.
Step S1033, when the quantity of described statistics is less than a predetermined threshold value, judge that described call is in disarmed state.
When the value of the effective voice data of statistics is less than predetermined threshold value (as 500), then the call be considered as in this unit interval is in disarmed state.
Step S104, when described call be in disarmed state reach the default very first time time, hang up the telephone.When monitoring that call is in disarmed state in a certain unit interval, timer starts timing.When timing reaches default the second time (as 5 minutes), prompting user, the mode of prompting can be arranged as required flexibly, as ejected prompting interface, or the sound etc. that gives a warning.When timing reaches the default very first time (as 10 minutes), then hang up the telephone by force.Above-mentioned second time must be greater than the unit interval, but is less than the very first time.
If but monitor call in a certain unit interval and be in disarmed state, after triggered timer starts timing, when timing does not also reach the very first time, when communication apparatus monitors again permissible call, then timer is reset and continues monitoring and converse.
One of ordinary skill in the art will appreciate that all or part of step realized in above-described embodiment method is that the hardware that can carry out instruction relevant by program has come, described program can be stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk, CD etc.
The embodiment of the present invention, by monitoring call, is carried out statistical analysis to the frequency of the voice data of input and output in communication process, thus is judged whether this call is in disarmed state, then determine whether hang up the telephone by force.
Fig. 3 shows the structure chart of the device that anti-leak-stopping that the embodiment of the present invention is suitable for is hung up, and comprising:
Monitoring modular 10, for when communication apparatus connects phone, monitors described call and whether is in disarmed state;
Hang up module 20, for be in when described call disarmed state reach the default very first time time, hang up described call.
As shown in Figure 4, described monitoring modular 10 comprises:
Sampling unit 11, for the audio data samples to described call;
Statistic unit 12, the quantity for voice data frequency in the unit interval being belonged to voice frequency range is added up;
Identifying unit 13, is less than a predetermined threshold value for the quantity when described statistics, judges that described call is in disarmed state.
As shown in Figure 5, hang up module 20 described in comprise:
Timing unit 21, for when described identifying unit judges that described call is in disarmed state, starts timing and notifies that sampling unit continues sampling; And when non-disarmed state appears in call described within the described very first time, timing resets.
Tip element 22, for be in when described call disarmed state reach the second default time time, prompting user on-hook.
The device of the embodiment of the present invention can be the communication apparatus such as mobile phone, and also can be the built-in or external device of communication apparatus, the operation principle of this device be specific as follows:
Communication apparatus incoming call answering or the outgoing calls such as mobile phone, when communication apparatus connects phone, enter communication process.Monitoring modular 10 starts the monitoring to call, the audio frequency of audio frequency input and the machine that monitoring modular 10 monitors the other side simultaneously exports, obtain the voice data of communication apparatus input and output, and statistical analysis is carried out to the voice data of communication apparatus input and output, to determine whether above-mentioned call is in disarmed state.Above-mentioned disarmed state refers to that the call in the unit interval is in disarmed state, and the unit interval should be less than the very first time, as being set to 1 minute for the unit time.
Wherein, the voice data of the input and output that sampling unit listened in 11 pairs of unit interval is sampled, and sampled result is converted into spectrum analysis view, take time as abscissa, and with the frequency of voice data for ordinate, coordinate point value is voice data energy.
The quantity that in 12 pairs of unit interval of statistic unit, frequency belongs to the voice data of voice frequency range is added up.Audible frequency due to people is 85HZ to 1100HZ (the present embodiment is defined as voice frequency range), therefore, can think that all coordinate points voice data dropped between 85HZ to 1100HZ is all effective call.Statistic unit 12 is added up effective voice data, namely adds up the quantity of the voice data that frequency in the unit interval belongs between 85HZ to 1100HZ.Certainly, voice frequency range can adjust to some extent, can on-fixed be 85HZ to 1100HZ.
When the value of the effective voice data of statistics is less than predetermined threshold value (as 500), then identifying unit 13 judges that the call in this unit interval is in disarmed state.
When described call be in disarmed state reach the default very first time time, hang up module 20 and hang up the telephone.When monitoring modular 10 monitors that call is in disarmed state in a certain unit interval, timing unit 21 starts timing.When timing reaches default the second time (as 5 minutes), Tip element 22 points out user, and the mode of prompting can be arranged as required flexibly, as ejected prompting interface, or the sound etc. that gives a warning.When timing reaches the default very first time (as 10 minutes), then hang up module 20 and hang up the telephone by force.Above-mentioned second time must be greater than the unit interval, but is less than the very first time.
If but monitoring modular 10 monitors call in a certain unit interval is in disarmed state, after triggering timing unit 10 starts timing, when timing does not also reach the very first time, when monitoring modular 10 monitors again permissible call, then timing unit 10 is reset and restart timing.The timing unit 10 of the embodiment of the present invention can utilize the timer of communication apparatus to realize.
The embodiment of the present invention, by monitoring call, is carried out statistical analysis to the frequency of the voice data of input and output in communication process, thus is judged whether this call is in disarmed state, then determine whether hang up the telephone by force.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. an anti-leak-stopping method of hanging up, it is characterized in that, described method comprises the steps:
When communication apparatus connects phone, monitor described call and whether be in disarmed state;
When described call be in disarmed state reach the default very first time time, hang up described call;
Whether described monitoring call is in disarmed state comprises:
To the audio data samples of described call;
Quantity frequency in unit interval being belonged to the voice data of voice frequency range is added up; The described unit interval is less than the very first time;
When the quantity of described statistics is less than a predetermined threshold value, judge that described call is in disarmed state.
2. the method for claim 1, is characterized in that, described when converse be in disarmed state reach the default very first time time, kill-call comprises:
When judging that described call is in disarmed state, timer starts timing and continues sampling;
When non-disarmed state appears in call described within the described very first time, timer resets.
3. method as claimed in claim 1 or 2, is characterized in that, described when call be in disarmed state reach the default very first time time, kill-call also comprises:
When described call be in disarmed state reach the second default time time, prompting user on-hook; Described second time is less than the very first time and the unit interval of being greater than.
4. method as claimed in claim 3, is characterized in that, described prompting user on-hook is specially ejects prompting interface or the sound that gives a warning.
5. an anti-leak-stopping device of hanging up, it is characterized in that, described device comprises:
Monitoring modular, for when communication apparatus connects phone, monitors described call and whether is in disarmed state;
Hang up module, for be in when described call disarmed state reach the default very first time time, hang up described call;
Described monitoring modular comprises:
Sampling unit, for the audio data samples to described call;
Statistic unit, the quantity for voice data frequency in the unit interval being belonged to voice frequency range is added up; The described unit interval is less than the very first time;
Identifying unit, is less than a predetermined threshold value for the quantity when described statistics, judges that described call is in disarmed state.
6. device as claimed in claim 5, is characterized in that, described in hang up module and comprise:
Timing unit, for when described identifying unit judges that described call is in disarmed state, starts timing and notifies that sampling unit continues sampling; And when non-disarmed state appears in call described within the described very first time, timing resets.
7. the device as described in claim 5 or 6, is characterized in that, described in hang up module and also comprise:
Tip element, for be in when described call disarmed state reach the second default time time, prompting user on-hook; Described second time is less than the very first time and the unit interval of being greater than.
8. device as claimed in claim 7, is characterized in that, described Tip element is specifically for ejecting prompting interface or the sound that gives a warning.
CN201210535503.XA 2012-12-12 2012-12-12 The method and apparatus that anti-leak-stopping is hung up Expired - Fee Related CN103051813B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210535503.XA CN103051813B (en) 2012-12-12 2012-12-12 The method and apparatus that anti-leak-stopping is hung up

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210535503.XA CN103051813B (en) 2012-12-12 2012-12-12 The method and apparatus that anti-leak-stopping is hung up

Publications (2)

Publication Number Publication Date
CN103051813A CN103051813A (en) 2013-04-17
CN103051813B true CN103051813B (en) 2016-01-13

Family

ID=48064306

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210535503.XA Expired - Fee Related CN103051813B (en) 2012-12-12 2012-12-12 The method and apparatus that anti-leak-stopping is hung up

Country Status (1)

Country Link
CN (1) CN103051813B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208579B (en) * 2014-06-27 2020-01-31 中兴通讯股份有限公司 Service processing method and device
CN104754711A (en) * 2015-03-04 2015-07-01 广东欧珀移动通信有限公司 Call ending method and terminal
CN106331307A (en) * 2015-06-30 2017-01-11 阿里巴巴集团控股有限公司 Method and apparatus for controlling hanging up and mobile device
CN111586241B (en) * 2020-04-08 2021-09-24 深圳震有科技股份有限公司 Energy-saving control method, system and storage medium
CN113840029B (en) * 2020-06-23 2023-11-10 中国移动通信集团辽宁有限公司 Abnormal call state identification method and device
CN114006974B (en) * 2021-10-25 2023-04-07 杭州逗酷软件科技有限公司 Information processing method and device, terminal equipment and computer storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104699A (en) * 2009-12-17 2011-06-22 深圳富泰宏精密工业有限公司 Automatic hanging-up method and system
CN101976563A (en) * 2010-10-22 2011-02-16 深圳桑菲消费通信有限公司 Method for judging whether mobile terminal has call voices after call connection
CN102647525A (en) * 2012-04-16 2012-08-22 中兴通讯股份有限公司 Mobile terminal and processing method on abnormal communication of mobile terminal

Also Published As

Publication number Publication date
CN103051813A (en) 2013-04-17

Similar Documents

Publication Publication Date Title
CN103051813B (en) The method and apparatus that anti-leak-stopping is hung up
CN103152740B (en) A kind of anti-monitor method and system for mobile terminal
EP2824897B1 (en) Mobile terminal and abnormal call processing method therefor
CN101510908B (en) Method and apparatus for implementing terminal calling firewall
EP2852134B1 (en) Method and terminal for answering incoming call
CN104253899B (en) The control method and device of communicating terminal
CN101426203A (en) Method and equipment for recognizing vicious disturbance call
CN103076977B (en) A kind of method and system of the transmission of trigger message in the standby state
CN104320529A (en) Information receiving processing method and voice communication device
CN102938819A (en) Mobile terminal music control system and method
CN101540797A (en) Incoming number filter method, system and mobile terminal
CN104348947A (en) Method and device of managing incoming call of mobile terminal
CN104079726B (en) A kind of mobile terminal and intelligence thereof disconnect the method and apparatus of call
CN103929619A (en) Remote audio-video monitoring system and method based on smart mobile phone
CN102723087A (en) Multimedia play method and device
CN102546897A (en) Method for preventing X undercover interception software from environment monitoring
CN102186166A (en) Method for preventing environmental monitoring and environmental sound-recording based on Bluetooth technology
EP3057377B1 (en) Network device, terminal device and voice service control method
CN101784063A (en) Mobile phone with non-signal prompt function and implementation method thereof
WO2017166642A1 (en) Mobile terminal redial method, device, and mobile terminal
CN105517151A (en) Method and device for notifying user of mobile terminal information
CN106101367B (en) Recording processing method and system
US20150296079A1 (en) Gateway and method for delaying telephone ringing
CN105791517A (en) Call ending method and mobile terminal
CN103533194A (en) Emergency broadcasting method and mobile fixed line telephone 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
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

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 523841 usha Beach Road No. 18

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

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160113

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