CN106791231A - A kind of harassing call treating method and apparatus - Google Patents

A kind of harassing call treating method and apparatus Download PDF

Info

Publication number
CN106791231A
CN106791231A CN201611094886.6A CN201611094886A CN106791231A CN 106791231 A CN106791231 A CN 106791231A CN 201611094886 A CN201611094886 A CN 201611094886A CN 106791231 A CN106791231 A CN 106791231A
Authority
CN
China
Prior art keywords
call number
call
harassing
current
current 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.)
Granted
Application number
CN201611094886.6A
Other languages
Chinese (zh)
Other versions
CN106791231B (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201611094886.6A priority Critical patent/CN106791231B/en
Publication of CN106791231A publication Critical patent/CN106791231A/en
Application granted granted Critical
Publication of CN106791231B publication Critical patent/CN106791231B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/436Arrangements for screening incoming calls, i.e. evaluating the characteristics of a call before deciding whether to answer it
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/436Arrangements for screening incoming calls, i.e. evaluating the characteristics of a call before deciding whether to answer it
    • H04M3/4365Arrangements for screening incoming calls, i.e. evaluating the characteristics of a call before deciding whether to answer it based on information specified by the calling party, e.g. priority or subject

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a kind of harassing call treating method and apparatus, methods described includes:Obtain current call information;Wherein, the current call information includes current call number, current call timestamp;When detecting that the current call number belongs to harassing call type, obtain timestamp of sending a telegram here first corresponding with the current call number, and the target duration between the current call timestamp and the timestamp of incoming call first is calculated, and obtain the corresponding incoming call number of times of the current call number in the target duration;If the target duration and incoming call number of times meet interception condition, interception operation is carried out to the current call number;If the target duration and incoming call number of times meet is answered condition, the current call number is carried out answering operation.Using the present invention, effectively harassing call can be intercepted, and a kind of harassing call Restoration Mechanism can be provided according to user's request.

Description

A kind of harassing call treating method and apparatus
Technical field
The present invention relates to communication technical field, more particularly to a kind of harassing call treating method and apparatus.
Background technology
With the fast development of Internet technology, each mechanics of communication also " is not being weeded out the old and bring forth the new on the basis of cloud computing, is being pushed away Communication traffic miscellaneous is gone out.Although the daily life that these business give people to a certain extent bring it is very big just Profit, but at the same time, also give people to add the worry of many.Such as, it is various for the purpose of harassing and wrecking or with how to deceive, push away The related harassing call such as pin, usually can bring many puzzlements to user, even life wealth of the entail dangers to user when serious Produce safety.
In consideration of it, having derived various anti-harassment method and systems, but in these method and systems, is belonged to mostly Software of the third party, and " phone is anti-harassment " function entrained by these third party softwares is more similar, is all to collect to use by high in the clouds These " flame numbers " are then distributed to oneself product (application, mobile phone productses) by the number that family is reported or marked, and then In the mobile phone terminal of these " flame number " incoming call users, incoming call can be shown on the mobile phone of user, and with ring Mode reminds user, and this incoming call is answered to allow user oneself to decide whether, or these " flame numbers " is drawn in black List.
Additionally, the popular several anti-harassment software of in the market can also recognize the short duration of call, such as, when there is strange number Code incoming call and after being hung up quickly, can point out whether owner carries out key words sorting or remember in incoming call to the unknown phone number of the incoming call Actively these unknown phone numbers quickly hung up are marked in record.
It can be seen that, all only these incoming calls of prompting user of various anti-harassment software mentioned above or anti-harassment scheme it is strange Number is " doubtful harassing call ", does not ensure that the unknown phone number of this pair incoming call first and carries out automatic rejection, i.e., can still pass through User is arrived in ring harassing and wrecking.Additionally, for the unknown phone number of incoming call, user is possible to because misoperation, by mistake by the unknown phone number Draw in blacklist, cause the unknown phone number in the blacklist to will be unable to continue the mobile phone of the incoming call user, in other words, for because with Family misoperation and cause the current call number cannot incoming call situation, lack a kind of Restoration Mechanism.
The content of the invention
Embodiment of the present invention technical problem to be solved is, there is provided a kind of harassing call treating method and apparatus, can Effectively harassing call is intercepted, and a kind of harassing call Restoration Mechanism can be provided according to user's request.
In order to solve the above-mentioned technical problem, embodiment of the present invention first aspect provides a kind of harassing call processing method, Including:
Obtain current call information;Wherein, the current call information includes current call number, current call time Stamp;
When detecting that the current call number belongs to harassing call type, obtain corresponding with the current call number Incoming call timestamp first, and calculate the current call timestamp and it is described first incoming call timestamp between target duration, And obtain the corresponding incoming call number of times of the current call number in the target duration;
If the target duration and incoming call number of times meet interception condition, interception behaviour is carried out to the current call number Make;
If the target duration and incoming call number of times meet is answered condition, the current call number is carried out answering behaviour Make.
Embodiment of the present invention second aspect provides a kind of harassing call processing unit, including:
Incoming call acquisition module, for obtaining current call information;Wherein, the current call information includes current call number Code, current call timestamp;
Detection computing module, for when detecting that the current call number belongs to harassing call type, obtaining and institute The corresponding timestamp of sending a telegram here first of current call number is stated, and calculates the current call timestamp and sent a telegram here first the time with described Target duration between stamp, and obtain the corresponding incoming call number of times of the current call number in the target duration;
Call blocking module, if meeting interception condition for the target duration and incoming call number of times, works as to come to described Electric number carries out interception operation;
Incoming call sound module, if meet answering condition for the target duration and incoming call number of times, works as to come to described Electric number carries out answering operation.
The embodiment of the present invention is by obtaining current call information;Wherein, the current call information includes current call number Code, current call timestamp;When detecting that the current call number belongs to harassing call type, obtain and work as to come with described The corresponding timestamp of sending a telegram here first of electric number, and calculate between the current call timestamp and the timestamp of incoming call first Target duration, and obtain the corresponding incoming call number of times of the current call number in the target duration;If the target duration and Incoming call number of times meets interception condition, then carry out interception operation to the current call number;If the target duration and incoming call Number satisfaction answers condition, then the current call number is carried out answering operation.Therefore, the harassing call processing unit Can be by the corresponding incoming call number of times of the current call number and incoming call duration, to meeting described in the interception condition when coming Electric number is intercepted, to ensure that automatic rejection can be carried out to the unknown phone number of incoming call first;Can also be in the incoming call number of times Operation is answered with being provided the user when answering condition described in incoming call duration satisfaction, to avoid user from causing described in misoperation Current call number occur cannot incoming call possibility;I.e. using the present invention, it is possible to provide the effective interception to harassing call, can also root A kind of harassing call Restoration Mechanism is provided according to user's request.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of harassing call processing method provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another harassing call processing method provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another harassing call processing method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of harassing call processing unit provided in an embodiment of the present invention;
Fig. 5 is the structural representation of another harassing call processing unit provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation for detecting computing module provided in an embodiment of the present invention;
Fig. 7 is the structural representation of another harassing call processing unit provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Term " comprising " and " having " in description and claims of this specification and above-mentioned accompanying drawing and they appoint What deforms, it is intended that covering is non-exclusive to be included.For example contain process, method, system, the product of series of steps or unit Product or equipment are not limited to the step of having listed or unit, but alternatively also include the step of not listing or unit, or Alternatively also include for these processes, method, product or other intrinsic steps of equipment or unit.
The execution of the harassing call processing method referred in the embodiment of the present invention depends on computer program, can run on Feng On the computer system of Ruo Yiman systems.The computer program can it is integrated in the application, also can as independent tool-class should With operation.The computer system can be the terminal devices such as PC, panel computer, notebook computer, smart mobile phone.
It is described in detail individually below.
Fig. 1 is referred to, is a kind of schematic flow sheet of harassing call processing method provided in an embodiment of the present invention.Such as Fig. 1 Shown, the harassing call processing method at least includes:
Step S101, obtains current call information;Wherein, the current call information includes current call number, currently Incoming call timestamp;
Specifically, harassing call processing unit is when the current call information is got, by the current call information It is buffered in communication data storehouse, and current call number and current call timestamp is recorded in the data communication storehouse;
Wherein, the harassing call processing unit can include:Smart mobile phone, mobile internet device, wearable device (such as intelligent watch (such as iwatch), Intelligent bracelet) or other terminal device of instant messaging applications client can be installed;
Step S102, when detecting that the current call number belongs to harassing call type, obtains and works as to come with described The corresponding timestamp of sending a telegram here first of electric number, and calculate between the current call timestamp and the timestamp of incoming call first Target duration, and obtain the corresponding incoming call number of times of the current call number in the target duration;
Specifically, the harassing call processing unit can obtain default harassing and wrecking list according to the current call information, and When being found with the current call number identical harassing call number in the default harassing and wrecking list, will be described current Caller ID is defined as harassing call type, and obtains timestamp of sending a telegram here first corresponding with the current call number, and counts The target duration between the current call timestamp and the timestamp of incoming call first is calculated, and obtains institute in the target duration State the corresponding incoming call number of times of current call number;
Wherein, the default harassing and wrecking list includes the multiple harassing call numbers stored on cloud server or Local Black name The multiple harassing call numbers stored in list;
Alternatively, the default harassing and wrecking list can be the multiple harassing call numbers stored on the cloud server, and The multiple harassing call number can be divided into various harassing call types, and the acquisition of its mode classification can be that user oneself is manual What mark was uploaded, can also be that user reports to be added on the cloud server by phone.Wherein, the harassing and wrecking Phone type can include:Swindle class phone, distribution class phone, insurance class phone and house property class phone etc..
Such as:So that the current call number is as 023-AAAA as an example, can be in the default harassing and wrecking list point in the part shown in table 1 Searched in cloth situation table and the current call number identical harassing call number, and the current call number that will be found Code is confirmed to be harassing call type, and the part that corresponding detailed process is referred on the cloud server shown in table 1 is preset and disturbed Disturb list distribution situation table:
Table 1
It can be seen that, the default harassing and wrecking list distribution situation table in part as shown in Table 1 above, user can be in the corresponding application of terminal The enterprising line period of program is set so that the application program can periodically (such as:One week) access the cloud server, with same Step gets the described newest harassing call inventory on the cloud server shown in table 1, and periodically updates described Ground caching harassing call inventory, and by renewal after described local harassing call inventory be defined as the default harassing and wrecking list. Once it is described it is default harassing and wrecking list in detect with the current call number 023-AAAA identical harassing call numbers, then Confirm that the current call number belongs to harassing call type (such as the swindle class phone shown in table 1).
Alternatively, the default harassing and wrecking list can also be by user in the corresponding message registration of the current call number Target caller ID is configured, the target caller ID is added in the local blacklist, when detecting When stating the incoming call of current call number, the blacklist can be added to by the default harassing and wrecking by network access server In list, and obtain the corresponding default harassing and wrecking list of the current call number.
Again such as:With when confirming that the current call number (023-AAAA) belongs to harassing call type, and read institute The first duration threshold value is stated, and obtains the timestamp of incoming call first corresponding with the current call number (such as:10 points 5 minutes 30 Second), and the target duration between the current call timestamp and the timestamp of incoming call first is calculated, it is specifically, described to work as The corresponding data statistics distribution table of preceding caller ID (023-AAAA) is as shown in table 2:
Incoming call number of times 1st time 2nd time 3rd time
Current call timestamp 10 points 30 seconds 5 minutes 10 points 40 seconds 5 minutes 10 points 50 seconds 5 minutes
Send a telegram here first timestamp 10 points 30 seconds 5 minutes 10 points 30 seconds 5 minutes 10 points 30 seconds 5 minutes
Target duration 0 point 0 second 0 point 10 seconds 0 point 20 seconds
Table 2
It can be seen that, data statistics distribution table as shown in Table 2 above, if the first duration threshold value for reading is 1 minute, Then when number of times of sending a telegram here is the 3rd time, then the current call timestamp (10: 50 5 :) and the timestamp of sending a telegram here first A length of 0 minute and 20 seconds during target between (10: 30 5 :), the target duration 0 point is less than the first duration threshold value in 20 seconds It it is 1 minute, it follows that the corresponding incoming call number of times of the current call number (023-AAAA) in the target duration is 3 times.
Step S103, if the target duration and incoming call number of times meet interception condition, enters to the current call number Row intercepts operation;
Alternatively, after above-mentioned steps S102 has been performed, the harassing call processing unit can be according to the institute being calculated The incoming call number of times in target duration and the target duration is stated, judges that the incoming call number of times in the target duration is It is no to be matched with pre-conditioned, and when the target duration and the incoming call number of times be satisfied by it is described it is pre-conditioned in interception condition When, interception operation is carried out to the current call number in execution step 103;
Wherein, it is described it is pre-conditioned including:Interception condition and answer condition;
Such as, the target duration corresponding to the current call number and incoming call number of times are satisfied by the interception condition, then The current call number is carried out into intercept process, in case causing unnecessary harassing and wrecking to user.
Step S104, if the target duration and incoming call number of times meet is answered condition, enters to the current call number Row answers operation;
Alternatively, after above-mentioned steps S102 has been performed, the harassing call processing unit can be according to the institute being calculated The incoming call number of times in target duration and the target duration is stated, judges that the incoming call number of times in the target duration is It is no to be matched with pre-conditioned, and when the target duration and the incoming call number of times be satisfied by it is described it is pre-conditioned in answer condition When, the current call number is carried out answering operation in execution step 104;
Such as, the target duration corresponding to the current call number and incoming call number of times be satisfied by it is described answer condition, then The current call number is carried out answering treatment, to avoid user from being added to behind the current call because of misoperation by mistake During the default harassing and wrecking list, answering for some phones is missed, and then provide a kind of harassing and wrecking Restoration Mechanism of hommization.
As can be seen here, the harassing call processing unit obtains current call information first;Wherein, the current call letter Breath includes current call number, current call timestamp;Secondly, when detecting that the current call number belongs to harassing call class During type, timestamp of sending a telegram here first corresponding with the current call number is obtained, and calculate the current call timestamp and institute The target duration between incoming call timestamp first is stated, and obtains the corresponding incoming call of the current call number in the target duration Number of times;Then, if the target duration and incoming call number of times meet interception condition, interception behaviour is carried out to the current call number Make;Finally, if the target duration and incoming call number of times meet is answered condition, the current call number is carried out answering behaviour Make.In consideration of it, using the present invention, effectively can be intercepted to harassing call, and a kind of harassing and wrecking can be provided according to user's request Phone Restoration Mechanism.
Further, Fig. 2 is referred to, is that the flow of another harassing call processing method provided in an embodiment of the present invention is shown It is intended to.As shown in Fig. 2 the harassing call processing method includes:
Step S201, obtains current call information;Wherein, the current call information includes current call number, currently Incoming call timestamp;
Specifically, harassing call processing unit is when the current call information is got, by the current call information It is buffered in communication data storehouse, and current call number and current call timestamp is recorded in the data communication storehouse;
Wherein, the harassing call processing unit can include:Smart mobile phone, mobile internet device, wearable device (such as intelligent watch (such as iwatch), Intelligent bracelet) or other terminal device of instant messaging applications client can be installed;
Alternatively, before the harassing call processing unit obtains the current call information, also including receiving user Setting instruction, and according to it is described set instruction set it is pre-conditioned;Wherein, it is described it is pre-conditioned including:Interception condition and connect Listen condition, the current call number and it is pre-conditioned between specific judgement and implementation procedure refer to Fig. 2 in the present invention it is real Apply step S203- steps S209 corresponding to example.
Wherein, the setting instruction refers to user for current in the corresponding user terminal of the harassing call processing unit The clicking operation that screen select area domain is carried out, and clicking operation includes but is not limited to:Pressing operation, double click operation or screen sliding behaviour The all types of operations for touching touch screens such as work.
Step S202, when detecting that the current call number belongs to harassing call type, obtains and works as to come with described The corresponding timestamp of sending a telegram here first of electric number, and calculate between the current call timestamp and the timestamp of incoming call first Target duration, and obtain the corresponding incoming call number of times of the current call number in the target duration;
Specifically, the harassing call processing unit can obtain default harassing and wrecking list according to the current call information, and When being found with the current call number identical harassing call number in the default harassing and wrecking list, will be described current Caller ID is defined as harassing call type, and obtains timestamp of sending a telegram here first corresponding with the current call number, and counts The target duration between the current call timestamp and the timestamp of incoming call first is calculated, and obtains institute in the target duration State the corresponding incoming call number of times of current call number;
Wherein, the default harassing and wrecking list includes the multiple harassing call numbers stored on cloud server or Local Black name The multiple harassing call numbers stored in list;
Alternatively, the default harassing and wrecking list can be the multiple harassing call numbers stored on the cloud server, and The multiple harassing call number can be divided into various harassing call types, and the acquisition of its mode classification can be that user oneself is manual What mark was uploaded, can also be that user reports to be added on the cloud server by phone.Wherein, the harassing and wrecking Phone type can include:Swindle class phone, distribution class phone, insurance class phone and house property class phone etc..
Such as:So that the current call number is as AAAAAAAA as an example, the current call number is confirmed to be harassing and wrecking electricity As shown in table 3, the table 3 is the default harassing and wrecking list distribution situation table in part in local blacklist to the detailed process of call type:
Harassing call type Harassing call number Current call number It is whether identical
How class phone is deceived AAAAAAAA AAAAAAAA It is
Promote class phone BBBBBBBB AAAAAAAA It is no
Insurance class phone CCCCCCCC AAAAAAAA It is no
Table 3
It can be seen that, the default harassing and wrecking list distribution situation table in part as shown in Table 3 above, user is in advance in the current call It is added to the Local Black in the corresponding message registration of number or by the incoming call that number is AAAAAAAA in contacts list Storage treatment is carried out in list, and is the target harassing call number being added in blacklist when the current call number is detected During code, can confirm that the current call number is harassing call type.Optionally, in addition, after the local blacklist is set, The blacklist can be also added in the default harassing and wrecking list on the cloud server by network access server.
Whether step S203, judge the target duration less than the first duration threshold value;
Specifically, the target duration is carried out into numeric ratio compared with when the current call number with the first duration threshold value When the corresponding target duration of code is less than the first duration threshold value, then after execution of step S203, step is performed S205- steps S209;
Alternatively, when it is determined that the target duration is more than or equal to the first duration threshold value, further perform described Step S204.
Step S204, if the target duration is greater than or equal to the first duration threshold value, to the current call The corresponding incoming call number of times of number performs clear operation, and when incoming call update of time stamp is the current call first by described in Between stab, and interception operation is carried out to the current call number;
Step S205, if the target duration is less than the first duration threshold value, judges whether the incoming call number of times is small In the first frequency threshold value;
Specifically, when the target duration is less than the first duration threshold value, judge described in the target duration Whether incoming call is now less than the first frequency threshold value;When the incoming call number of times is less than first frequency threshold value, then further hold Row step S206, and when it is determined that the current call number meets the interception condition, further perform step S207;
Alternatively, when the target duration is less than the first duration threshold value, judge described in the target duration Whether incoming call is now less than the first frequency threshold value, and when the incoming call number of times is more than or equal to first frequency threshold value, enters one Step performs step S208, and it is determined that the current call number meet it is described answer condition when, further perform step S209。
Step S206, if the incoming call number of times is less than the first frequency threshold value, it is determined that the current call number meets institute State interception condition;
Step S207, interception operation is carried out to the current call number;
Step S208, if the incoming call number of times is equal to or more than first frequency threshold value, it is determined that the current call Number meets the condition of answering;
Step S209, carries out answering operation to the current call number;
Such as, with the corresponding target duration of current call number 4 minutes, and get described in the target duration As a example by the corresponding incoming call number of times of current call number 6 times.First determine whether whether the target duration (compares less than the first duration threshold value Such as:User set the first duration threshold value be 5 minutes), during target corresponding due to the current call number a length of 4 minutes it is small Whether it is 5 minutes in the first duration threshold value, determines whether the incoming call number of times less than the first frequency threshold value;If user sets The first frequency threshold value put is 7 times, then the corresponding incoming call of the current call number is now less than first number threshold for 6 times Value 7 times, then perform step S205, determines that the current call number meets the interception condition.Accordingly, if what is set is described First frequency threshold value is 6 times, then the corresponding incoming call of the current call number is now equal to first frequency threshold value 6 for 6 times It is secondary, then step S206 is performed, determine that the current call number answers condition described in meeting;
As can be seen here, the harassing call processing unit obtains current call information first;Wherein, the current call letter Breath includes current call number, current call timestamp;Secondly, when detecting that the current call number belongs to harassing call class During type, timestamp of sending a telegram here first corresponding with the current call number is obtained, and calculate the current call timestamp and institute The target duration between incoming call timestamp first is stated, and obtains the corresponding incoming call of the current call number in the target duration Number of times;Then, judge whether the target duration and the incoming call number of times meet pre-conditioned;Then, if the target duration Meet interception condition with incoming call number of times, then interception operation is carried out to the current call number;Finally, if the target duration and Incoming call number of times meets answers condition, then the current call number is carried out answering operation.In consideration of it, using the present invention, can be right Interception condition and the condition of answering carry out default setting, and pre-conditioned the target duration and incoming call number of times can be entered according to described Row judgement is processed, and then realizes the effective interception to harassing call, and can provide a kind of harassing call recovery according to user's request Mechanism.
Further, Fig. 3 is referred to, is that the flow of another harassing call processing method provided in an embodiment of the present invention is shown It is intended to.As shown in figure 3, the harassing call processing method includes:
Step S301, obtains current call information;Wherein, the current call information includes current call number, currently Incoming call timestamp;
Specifically, harassing call processing unit is when the current call information is got, by the current call information It is buffered in communication data storehouse, and current call number and current call timestamp is recorded in the data communication storehouse;
Wherein, the harassing call processing unit can include:Smart mobile phone, mobile internet device, wearable device (such as intelligent watch (such as iwatch), Intelligent bracelet) or other terminal device of instant messaging applications client can be installed;
Alternatively, before the harassing call processing unit obtains the current call information, also including receiving user Setting instruction, and according to it is described set instruction set it is pre-conditioned;Wherein, it is described it is pre-conditioned including:Interception condition and connect Listen condition, and the current call number and it is pre-conditioned between specific judgement and implementation procedure refer to the present invention in Fig. 3 Step S203- steps S209 corresponding to embodiment
Wherein, the setting instruction refers to user for current in the corresponding user terminal of the harassing call processing unit The clicking operation that screen select area domain is carried out, and clicking operation includes but is not limited to:Pressing operation, double click operation or screen sliding behaviour The all types of operations for touching touch screens such as work.
Step S302, when detecting that the current call number belongs to harassing call type, obtains and works as to come with described The corresponding timestamp of sending a telegram here first of electric number, and calculate between the current call timestamp and the timestamp of incoming call first Target duration, and obtain the corresponding incoming call number of times of the current call number in the target duration;
Specifically, the harassing call processing unit can obtain default harassing and wrecking list according to the current call information, and When being found with the current call number identical harassing call number in the default harassing and wrecking list, will be described current Caller ID is defined as harassing call type, and obtains timestamp of sending a telegram here first corresponding with the current call number, and counts The target duration between the current call timestamp and the timestamp of incoming call first is calculated, and obtains institute in the target duration State the corresponding incoming call number of times of current call number;
Wherein, the default harassing and wrecking list includes the multiple harassing call numbers stored on cloud server or Local Black name The multiple harassing call numbers stored in list;
Alternatively, the default harassing and wrecking list can be the multiple harassing call numbers stored on the cloud server, and The multiple harassing call number can be divided into various harassing call types, and the acquisition of its mode classification can be that user oneself is manual What mark was uploaded, can also be that user reports to be added on the cloud server by phone.Wherein, the harassing and wrecking Phone type can include:Swindle class phone, distribution class phone, insurance class phone and house property class phone etc..
Whether step S303, judge the target duration less than the first duration threshold value;
Specifically, the target duration is carried out into numeric ratio compared with when the current call number with the first duration threshold value When the corresponding target duration of code is less than the first duration threshold value, after execution of step S303, can further perform Step S305- steps S311;
Alternatively, when it is determined that the target duration is more than or equal to the first duration threshold value, can also further perform The step S304.
Step S304, if the target duration is greater than or equal to the first duration threshold value, to the current call The corresponding incoming call number of times of number performs clear operation, and when incoming call update of time stamp is the current call first by described in Between stab, and interception operation is carried out to the current call number;
Such as, the corresponding user terminal of party A-subscriber detects party B-subscriber and just carries out phone incoming call using the current call number Operation, and entered row in 5 minutes to party A-subscriber in the first duration threshold value and come electrically operated for 5 times, and come electrically operated (institutes described 5 times State incoming call number of times) the corresponding target when a length of 4 points 50 seconds, and detect party A-subscriber carry out the 6th time come it is electrically operated when correspondence The target when a length of 5 points 10 seconds (wherein, the current call timestamp be 10 points 15 seconds 20 minutes, it is described when sending a telegram here first Between stamp for 10 points 5 seconds 15 minutes), now the corresponding target duration of the current call number be more than the first duration threshold Value, then the harassing call processing unit corresponding with party B-subscriber is then by the corresponding incoming call of the current call number (5 times) execution clear operations of number, and the update of time stamp that will first send a telegram here described at described 6th time is for the current call number The corresponding current call timestamp, and interception operation is performed to the current call number in the first duration threshold value (performing the operation of rejection first).
Step S305, if the target duration is less than the first duration threshold value, obtains the current call number correspondence Call Waiting time, and judge the Call Waiting time whether less than the second duration threshold value;
Specifically, when the Call Waiting time is less than the second duration threshold value, further in execution step S306 It is described the step of whether judge the incoming call number of times less than the first frequency threshold value, and can be found in the specific embodiments that provide of Fig. 3 In step perform step S307-S308;
Alternatively, when the Call Waiting time is more than or equal to the second duration threshold value, step is further performed S309, and the first duration threshold value is updated into the corresponding second duration threshold value of the current call number, goes forward side by side one The step of whether step ground judges the incoming call number of times less than the first frequency threshold value, its detailed process refers to the embodiment of the present invention pair The step of answering S310-S311.
Step S306, if the Call Waiting time is less than the second duration threshold value, performs described in the judgement The step of whether incoming call number of times is less than the first frequency threshold value;
Specifically, when the Call Waiting time is less than the second duration threshold value, after execution of step S305, enter Whether it is described the step of judge the incoming call number of times less than the first frequency threshold value that one step performs in step S306, further, Execution step S307-S308 in the specific embodiment be given referring also to Fig. 3, you can according to the incoming call number of times and described the The corresponding execution step S307 or step S308 of comparison between one frequency threshold value.
Step S307, if the incoming call number of times is less than the first frequency threshold value, it is determined that the current call number meets institute Interception condition is stated, and interception operation is carried out to the current call number;
Step S308, if the incoming call number of times is equal to or more than first frequency threshold value, it is determined that the current call Number meets the condition of answering, and the current call number is carried out answering operation;
Step S309, if the Call Waiting time is equal to or more than the second duration threshold value, by the first time Whether number threshold value is updated to the second frequency threshold value, and judge the incoming call number of times less than second frequency threshold value;
Specifically, in the first duration threshold value, when the Call Waiting time is equal to or more than second duration During threshold value, first frequency threshold value is carried out into numerical value renewal according to preset rules, and the first time after numerical value is updated Number threshold value is defined as second frequency threshold value, wherein, first frequency threshold value is more than second frequency threshold value;
Wherein, the preset rules can include:Carry out subtracting one operation, at double on the basis of first frequency threshold value Reducing operation or other can reduce the arithmetic operation of the numerical value corresponding to first frequency threshold value.
Step S310, if the incoming call number of times is less than second frequency threshold value, it is determined that the current call number symbol Interception condition is closed, and interception operation is carried out to the current call number;
Specifically, in execution of step S310, when it is determined that the corresponding incoming call number of times of the current call number is small When first frequency threshold value, further determine that the current call number meets the interception condition, then can work as to described Preceding caller ID carries out interception operation;
Alternatively, also after execution of step S302, then step S310 can be performed, specifically, refer to above-mentioned Fig. 1 to Step S102 and step S103 corresponding to the specific embodiment for going out;
Step S311, if the incoming call number of times is equal to or more than be equal to second frequency threshold value, it is determined that described current Caller ID meets the condition of answering, and the current call number is carried out answering operation;
Specifically, in execution of step S311, when it is determined that corresponding described incoming call number of times of the current call number etc. When first frequency threshold value, further determine that the current call number answers condition described in meeting, then may be used The current call number is carried out answering operation;
Alternatively, also after execution of step S302, then step S311 can be performed, specifically, refer to above-mentioned Fig. 1 to Step S102 and step S104 corresponding to the specific embodiment for going out;
Such as, in the first duration threshold value 5 minutes, the first frequency threshold value is set to 8 times, described current when detecting The corresponding Call Waiting time of caller ID, and current call number stand-by period during first time incoming call is 20 seconds When, confirm the Call Waiting time less than the second duration threshold value (such as:30 seconds), then perform step S305.Alternatively, If the second duration threshold value for setting is 20 seconds, now the Call Waiting time is equal to the second duration threshold value, then First frequency threshold value that will be set before is updated to second frequency threshold value for 8 times 4 times, and determines whether described current Whether the corresponding incoming call number of times of caller ID is less than second frequency threshold value 4 times;If the current call number correspondence The incoming call number of times be less than second frequency threshold value, it is determined that the current call number meets interception condition, to described Current call number is performed and intercepts operation;Relatively, in the first duration threshold value 5 minutes, when the incoming call number of times is more than Or during equal to second frequency threshold value, determine that the current call number meets the condition of answering, and to the current call number Code is performed and answers operation.
As can be seen here, the harassing call processing unit obtains current call information first;Wherein, the current call letter Breath includes current call number, current call timestamp;Secondly, when detecting that the current call number belongs to harassing call class During type, timestamp of sending a telegram here first corresponding with the current call number is obtained, and calculate the current call timestamp and institute The target duration between incoming call timestamp first is stated, and obtains the corresponding incoming call of the current call number in the target duration Number of times;Then, judge whether the target duration and the Call Waiting time and the incoming call number of times meet pre-conditioned; Then, if the target duration and incoming call number of times meet interception condition, interception operation is carried out to the current call number;Most Afterwards, if the target duration and incoming call number of times meet is answered condition, the current call number is carried out answering operation.In view of This, using the present invention, can carry out default setting to interception condition and the condition of answering, and can be according to described pre-conditioned to the mesh Timestamp is long and Call Waiting time carries out judgement treatment, and when the Call Waiting time is less than the second duration threshold value, Further incoming call number of times corresponding to the current call number judges;Or when the Call Waiting time is more than or equal to During the second duration threshold value, first frequency threshold value is updated to second frequency threshold value, and further to incoming call Number carries out judgement treatment, additionally, when the target duration is more than or equal to the first duration threshold value, when removing described first The corresponding incoming call number of times of the current call number in threshold value long, and by the current call timestamp is corresponding send a telegram here first when Between stab and be updated, and interception operation is carried out to the current call number.It can be seen that, by the Call Waiting time, can be right The corresponding number of calls of the current call number is adjusted, and then realizes the effective interception to harassing call, and can basis User's request provides a kind of reliable harassing call Restoration Mechanism, and can ensure that the unknown phone number of incoming call first is refused automatically Connect.
Further, then Fig. 4 is referred to, is a kind of harassing call processing unit provided in an embodiment of the present invention.Such as Fig. 4 institutes Show, the harassing call processing unit 1 includes:Incoming call acquisition module 10, detect computing module 20, call blocking module 30 and come Electricity answers module 40;
The incoming call acquisition module 10, for obtaining current call information;Wherein, the current call information includes current Caller ID, current call timestamp;
Specifically, the incoming call acquisition module 10, can be used to being got in the harassing call processing unit 1 described current During incoming information, by the current call information cache in communication data storehouse, and recorded in the data communication storehouse current Caller ID and current call timestamp;
Wherein, the harassing call processing unit 1 can include:Smart mobile phone, mobile internet device, wearable device (such as intelligent watch (such as iwatch), Intelligent bracelet) or other terminal device of instant messaging applications client can be installed;
The detection computing module 20, for when detecting that the current call number belongs to harassing call type, obtaining Take timestamp of sending a telegram here first corresponding with the current call number, and calculate the current call timestamp to come first with described Target duration between electric timestamp, and obtain the corresponding incoming call number of times of the current call number in the target duration;
Specifically, the detection computing module 20, can be used for according to the current call information, obtain default harassing and wrecking name It is single, and when being found with the current call number identical harassing call number in the default harassing and wrecking list, by institute State current call number and be defined as harassing call type, and obtain first send a telegram here time corresponding with the current call number Stamp, and the target duration between the current call timestamp and the timestamp of incoming call first is calculated, and obtain the target The corresponding incoming call number of times of the current call number in duration;
Wherein, the default harassing and wrecking list includes the multiple harassing call numbers stored on cloud server or Local Black name The multiple harassing call numbers stored in list;
Alternatively, the default harassing and wrecking list can be the multiple harassing call numbers stored on the cloud server, and The multiple harassing call number can be divided into various harassing call types, and the acquisition of its mode classification can be that user oneself is manual What mark was uploaded, can also be that user reports to be added on the cloud server by phone.Wherein, the harassing and wrecking Phone type can include:Swindle class phone, distribution class phone, insurance class phone and house property class phone etc..
The call blocking module 30, if meeting interception condition for the target duration and incoming call number of times, to described Current call number carries out interception operation;
Such as, the target duration corresponding to the current call number and incoming call number of times are satisfied by the interception condition (example Such as:Number of times of being sent a telegram here in 1 minute is 4 times, and dials the corresponding stand-by period every time and be both less than 20 seconds), then by the current call Number carries out intercept process, in case causing unnecessary harassing and wrecking to user.
The incoming call sound module 40, if meet answering condition for the target duration and incoming call number of times, to described Current call number carries out answering operation;
Such as, the target duration corresponding to the current call number and incoming call number of times are satisfied by described answering condition (example Such as:Number of times of being sent a telegram here in 2 minutes is 4 times, and dials the corresponding stand-by period every time and be equal to 30 seconds), then by the current call Number carries out answering treatment, to avoid user from being added to the default harassing and wrecking name behind the current call by mistake because of misoperation Dan Shi, misses answering for some phones, and then provide a kind of harassing and wrecking Restoration Mechanism of hommization.
As can be seen here, the incoming call acquisition module 10, for obtaining current call information first;Wherein, it is described to work as to come Power information includes current call number, current call timestamp;Secondly, the detection computing module 20, institute is detected for working as When stating current call number and belonging to harassing call type, timestamp of sending a telegram here first corresponding with the current call number is obtained, And the target duration between the current call timestamp and the timestamp of incoming call first is calculated, and obtain the target duration The corresponding incoming call number of times of the interior current call number;Then, the call blocking module 30, if for the target duration and Incoming call number of times meets interception condition, then carry out interception operation to the current call number;Finally, the incoming call sound module 40, if meet answering condition for the target duration and incoming call number of times, the current call number is carried out answering operation. In consideration of it, using the present invention, effectively can be intercepted to harassing call, and a kind of harassing call can be provided according to user's request Restoration Mechanism.
Further, Fig. 5 is referred to, is that the structure of another harassing call processing unit provided in an embodiment of the present invention is shown It is intended to.As shown in figure 5, the incoming call that the harassing call processing unit 1 can be included in above-mentioned Fig. 5 correspondence embodiments is obtained Module 10, detects computing module 20, call blocking module 30 and incoming call sound module 40, further, at the harassing call Reason device 1 can also include:First judge module 50, the second judge module 60, determining module 70, the 3rd judge module 80 leads to Know module 90, the 4th judge module 100 resets blocking module 110;
First judge module 50, for judging the target duration whether less than in the first duration threshold value;
Second judge module 60, the target duration less than described if sentencing 50 for first judge module and breaking In first duration threshold value, then judge the incoming call number of times whether less than the first frequency threshold value;
The confirmation module 70, if judging that the incoming call number of times is less than first number for second judge module 60 Threshold value, it is determined that the current call number meets the interception condition;
The determining module 70, if being additionally operable to second judge module 60 judges that the incoming call number of times is equal to or more than First frequency threshold value, it is determined that the current call number meets the condition of answering;
3rd judge module 80, for obtaining the corresponding Call Waiting time of the current call number, and judges Whether the Call Waiting time is less than the second duration threshold value;
The notification module 90, if being less than the second duration threshold value for the Call Waiting time, notifies institute State the second judge module 60 perform it is described judge it is described incoming call number of times whether less than the first frequency threshold value the step of;
Specifically, when the Call Waiting time is less than the second duration threshold value, then second judge module is notified 60 perform the step S204 in above-mentioned Fig. 2 correspondences specific embodiment, and after execution of step S204, according to the incoming call number of times The step S205 or step that perform in above-mentioned Fig. 2 corresponding embodiment corresponding with the comparison between first frequency threshold value S206。
4th judge module 100, if being equal to or more than the second duration threshold value for the Call Waiting time, First frequency threshold value is then updated to the second frequency threshold value, and judges the incoming call number of times whether less than second number Threshold value;
Specifically, in the first duration threshold value, when the 4th judge module 110 detects the Call Waiting Between be equal to or more than the second duration threshold value when, first frequency threshold value is carried out into numerical value renewal according to preset rules, and First frequency threshold value after numerical value is updated is defined as second frequency threshold value, wherein, first frequency threshold value is big In second frequency threshold value;
Wherein, the preset rules can include:Carry out subtracting one operation, at double on the basis of first frequency threshold value Reducing operation or other can reduce the arithmetic operation of the numerical value corresponding to first frequency threshold value.
The determining module 70, if being additionally operable to the 4th judge module and sentencing 100 and break the incoming call number of times less than described Second frequency threshold value, it is determined that the current call number meets interception condition;
The determining module 70, breaks the incoming call number of times and be equal to or big if being additionally operable to the 4th judge module and sentencing 100 In equal to second frequency threshold value, it is determined that the current call number meets the condition of answering;
The clearing blocking module 110, if sentence 50 for first judge module to break the target duration and be greater than Or equal to the first duration threshold value, then the incoming call number of times corresponding to the current call number performs clear operation, and Incoming call update of time stamp is the current call timestamp first by described in, and carries out interception behaviour to the current call number Make.
As can be seen here, the harassing call processing unit 1 obtains current call information first;Wherein, the current call Information includes current call number, current call timestamp;Secondly, when detecting that the current call number belongs to harassing call During type, obtain corresponding with current call number timestamp of sending a telegram here first, and calculate the current call timestamp with Target duration between the timestamp of incoming call first, and it is corresponding next to obtain the current call number in the target duration Electric number of times;Then, judge whether the target duration and the Call Waiting time and the incoming call number of times meet default bar Part;Then, alternatively, when the target duration is less than the first duration threshold value, if the target duration and incoming call number of times Meet interception condition, then interception operation is carried out to the current call number;If the target duration and incoming call number of times meet connecing Condition is listened, then the current call number is carried out answering operation, finally, alternatively, when the target duration is more than or equal to institute When stating the first duration threshold value, then the clearing blocking module 110 can the incoming call number of times corresponding to the current call number Operation is zeroed out, and interception operation is carried out to the current call number.In consideration of it, using the present invention, can be to intercepting condition Default setting is carried out with the condition of answering, and pre-conditioned the target duration and Call Waiting time can be sentenced according to described Disconnected treatment, and when the Call Waiting time is less than the second duration threshold value, further to the current call number pair The incoming call number of times answered is judged;Or when the Call Waiting time is more than or equal to the second duration threshold value, will be described First frequency threshold value is updated to second frequency threshold value, and further to incoming call number of times carries out judgement treatment, it is seen then that by institute Call Waiting time is stated, the corresponding number of calls of the current call number can be adjusted, and then realized to harassing call Effective interception, and a kind of reliable harassing call Restoration Mechanism can be provided according to user's request, also grown up in the target When the first duration threshold value, a kind of rejection mechanism first is provided the user.
Further, Fig. 6 is referred to, is a kind of structural representation for detecting computing module provided in an embodiment of the present invention. As shown in fig. 6, the detection computing module 20 includes:List acquiring unit 201, searches acquiring unit 202 and calculates acquisition list Unit 203;
The list acquiring unit 201, for according to the current call information, obtaining default harassing and wrecking list;Wherein, institute Stating default harassing and wrecking list includes the multiple harassing call numbers stored on cloud server or the multiple stored in local blacklist Harassing call number;
Alternatively, the default harassing and wrecking list can be the multiple harassing call numbers stored on the cloud server, and The multiple harassing call number can be divided into various harassing call types, and the acquisition of its mode classification can be that user oneself is manual What mark was uploaded, can also be that user reports to be added on the cloud server by phone.Wherein, the harassing and wrecking Phone type can include:Swindle class phone, distribution class phone, insurance class phone and house property class phone etc..
The lookup acquiring unit 202, for being found and the current call number when in the default harassing and wrecking list During code identical harassing call number, the current call number is defined as harassing call type, and obtain current with described The corresponding timestamp of sending a telegram here first of caller ID;
It is described calculating acquiring unit 203, for calculate the current call timestamp and it is described first incoming call timestamp it Between target duration, and obtain the corresponding incoming call number of times of the current call number in the target duration.
As can be seen here, the detection computing module 20, can be used to detect that it is electric that the current call number belongs to harassing and wrecking During call type, timestamp of sending a telegram here first corresponding with the current call number is obtained, and calculate the current call timestamp With the target duration between the timestamp of incoming call first, and it is corresponding to obtain the current call number in the target duration Incoming call number of times.In consideration of it, using the present invention, can with corresponding incoming call number of times and the target duration of the current call number, The computational methods of a kind of accurate and reliable target duration are formed, and then is provided the user according to the target duration a kind of effective Anti-harassment method and one kind reliably harass Restoration Mechanism.
Further, then Fig. 7 is referred to, is the structure of another harassing call processing unit provided in an embodiment of the present invention Schematic diagram, as shown in fig. 7, the harassing call processing unit 1000 can include:At least one processor 1001, such as CPU, At least one network interface 1004, user interface 1003, memory 1005, at least one communication bus 1002.Wherein, communicate total Line 1002 is used to realize the connection communication between these components.Wherein, user interface 1003 can include display screen (Display), keyboard (Keyboard), optional user interface 1003 can also include wireline interface, the wave point of standard.Net Network interface 1004 can optionally include wireline interface, the wave point (such as WI-FI interfaces) of standard.Memory 1005 can be High-speed RAM memory, or non-labile memory (non-volatile memory), for example, at least one disk Memory.Memory 1005 optionally can also be at least one storage device for being located remotely from aforementioned processor 1001.Such as Fig. 7 It is shown, as operating system, network communication module, Yong Hujie can be included in a kind of memory 1005 of computer-readable storage medium Mouth mold block and equipment control application program.
In the harassing call processing unit 1000 shown in Fig. 7, and user interface 1003 be mainly used in providing the user it is defeated The interface for entering, obtains the data of user's output;And processor 1001 can be used for calling the equipment control stored in memory 1005 Application program processed, to realize:
Obtain current call information;Wherein, the current call information includes current call number, current call time Stamp;
When detecting that the current call number belongs to harassing call type, obtain corresponding with the current call number Incoming call timestamp first, and calculate the current call timestamp and it is described first incoming call timestamp between target duration, And obtain the corresponding incoming call number of times of the current call number in the target duration;
If the target duration and incoming call number of times meet interception condition, interception behaviour is carried out to the current call number Make;
If the target duration and incoming call number of times meet is answered condition, the current call number is carried out answering behaviour Make.
In one embodiment, the processor 1001 described is disturbed when detecting that the current call number belongs to performing When disturbing phone type, timestamp of sending a telegram here first corresponding with the current call number is obtained, and when calculating the current call Between target duration between stamp and the timestamp of incoming call first, and obtain the current call number pair in the target duration During the incoming call number of times answered, following steps are specifically performed:
According to the current call information, default harassing and wrecking list is obtained;Wherein, the default harassing and wrecking list takes including high in the clouds The multiple harassing call numbers stored on business device or the multiple harassing call numbers stored in local blacklist;
When being found with the current call number identical harassing call number in the default harassing and wrecking list, will The current call number is defined as harassing call type, and obtains first send a telegram here time corresponding with the current call number Stamp;
The target duration between the current call timestamp and the timestamp of incoming call first is calculated, and obtains the mesh The corresponding incoming call number of times of the timestamp interior current call number long.
In one embodiment, blocked if the processor 1001 meets in the execution target duration and incoming call number of times The condition of cutting, then before carrying out interception operation to the current call number, also perform following steps:
Judge the target duration whether less than the first duration threshold value;
If the target duration is less than the first duration threshold value, judge the incoming call number of times whether less than first number Threshold value;
If the incoming call number of times is less than the first frequency threshold value, it is determined that the current call number meets the interception bar Part;
If the incoming call number of times is equal to or more than first frequency threshold value, it is determined that the current call number meets and connects Listen condition.
In one embodiment, the processor 1001 perform it is described judge it is described incoming call number of times whether less than first time Before number threshold value, following steps are also performed:
The corresponding Call Waiting time of the current call number is obtained, and judges whether the Call Waiting time is less than Second duration threshold value;
If the Call Waiting time be less than the second duration threshold value, perform it is described judge it is described send a telegram here number of times whether The step of less than the first frequency threshold value;
If the Call Waiting time is equal to or more than the second duration threshold value, first frequency threshold value is updated Whether it is the second frequency threshold value, and judges the incoming call number of times less than second frequency threshold value;
If the incoming call number of times is less than second frequency threshold value, it is determined that the current call number meets interception bar Part;
If the incoming call number of times is equal to or more than be equal to second frequency threshold value, it is determined that the current call number symbol Splice grafting listens condition.
In one embodiment, the processor 1001 perform it is described judge the target duration whether be in first when After step in threshold value long, following steps are also performed:
It is corresponding to the current call number if the target duration is greater than or equal to the first duration threshold value The incoming call number of times performs clear operation, and update of time stamp of being sent a telegram here first by described in is for the current call timestamp and right The current call number carries out interception operation.
It can be seen that, the harassing call processing unit 1000 can be used to obtain current call information;Wherein, the current call Information includes current call number, current call timestamp, and ought detect that the current call number belongs to harassing call class During type, timestamp of sending a telegram here first corresponding with the current call number is obtained, and calculate the current call timestamp and institute The target duration between incoming call timestamp first is stated, and obtains the corresponding incoming call of the current call number in the target duration Number of times;And if the target duration and incoming call number of times meet interception condition, and interception operation is carried out to the current call number; And if the target duration and incoming call number of times satisfaction answer condition, and the current call number is carried out answering operation.Using A kind of present invention, it is possible to provide effective harassing call hold-up interception method, and a kind of reliably harassing and wrecking electricity can be provided according to user's request Words Restoration Mechanism, and further ensure that automatic rejection is carried out to the unknown phone number of incoming call first.
One of ordinary skill in the art will appreciate that all or part of flow in realizing above-described embodiment method, can be The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Above disclosed is only present pre-ferred embodiments, can not limit the right model of the present invention with this certainly Enclose, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope that the present invention is covered.

Claims (10)

1. a kind of harassing call processing method, it is characterised in that including:
Obtain current call information;Wherein, the current call information includes current call number, current call timestamp;
When detecting that the current call number belongs to harassing call type, head corresponding with the current call number is obtained Secondary incoming call timestamp, and the target duration between the current call timestamp and the timestamp of incoming call first is calculated, and obtain Take the corresponding incoming call number of times of the current call number in the target duration;
If the target duration and incoming call number of times meet interception condition, interception operation is carried out to the current call number;
If the target duration and incoming call number of times meet is answered condition, the current call number is carried out answering operation.
2. harassing call processing method according to claim 1, it is characterised in that described when detecting the current call When number belongs to harassing call type, timestamp of sending a telegram here first corresponding with the current call number is obtained, and calculate described Target duration between current call timestamp and the timestamp of incoming call first, and obtain described current in the target duration The corresponding incoming call number of times of caller ID, including:
According to the current call information, default harassing and wrecking list is obtained;Wherein, the default harassing and wrecking list includes cloud server The multiple harassing call numbers stored in multiple harassing call numbers of upper storage or local blacklist;
When being found with the current call number identical harassing call number in the default harassing and wrecking list, will be described Current call number is defined as harassing call type, and obtains timestamp of sending a telegram here first corresponding with the current call number;
The target duration between the current call timestamp and the timestamp of incoming call first is calculated, and when obtaining the target Grow the corresponding incoming call number of times of the interior current call number.
3. harassing call processing method according to claim 1, it is characterised in that if in the target duration and coming Electric number of times meets interception condition, then before carrying out interception operation to the current call number, also include:
Judge the target duration whether less than the first duration threshold value;
If the target duration is less than the first duration threshold value, judge the incoming call number of times whether less than first number threshold Value;
If the incoming call number of times is less than the first frequency threshold value, it is determined that the current call number meets the interception condition;
If the incoming call number of times is equal to or more than first frequency threshold value, it is determined that the current call number meets answers bar Part.
4. harassing call processing method according to claim 3, it is characterised in that judge that the incoming call number of times is described It is no be less than the first frequency threshold value before, also include;
The corresponding Call Waiting time of the current call number is obtained, and judges the Call Waiting time whether less than second Duration threshold value;
If the Call Waiting time be less than the second duration threshold value, perform it is described judge it is described send a telegram here number of times whether be less than The step of first frequency threshold value;
If the Call Waiting time is equal to or more than the second duration threshold value, first frequency threshold value is updated to the Two frequency threshold values, and judge the incoming call number of times whether less than second frequency threshold value;
If the incoming call number of times is less than second frequency threshold value, it is determined that the current call number meets interception condition;
If the incoming call number of times is equal to or more than be equal to second frequency threshold value, it is determined that the current call number meets and connects Listen condition.
5. harassing call processing method according to claim 3, it is characterised in that judge that the target duration is described It is no be in the first duration threshold value after, also include:
It is corresponding to the current call number described if the target duration is greater than or equal to the first duration threshold value Incoming call number of times performs clear operation, and incoming call update of time stamp is the current call timestamp first by described in, and to described Current call number carries out interception operation.
6. a kind of harassing call processing unit, it is characterised in that including:
Incoming call acquisition module, for obtaining current call information;Wherein, the current call information includes current call number, Current call timestamp;
Detection computing module, works as when detecting that the current call number belongs to harassing call type, obtaining with described The corresponding timestamp of sending a telegram here first of preceding caller ID, and calculate the current call timestamp and it is described first incoming call timestamp it Between target duration, and obtain the corresponding incoming call number of times of the current call number in the target duration;
Call blocking module, if meeting interception condition for the target duration and incoming call number of times, to the current call number Code carries out interception operation;
Incoming call sound module, if meet answering condition for the target duration and incoming call number of times, to the current call number Code carries out answering operation.
7. harassing call processing unit according to claim 5, it is characterised in that the detection computing module, including:
List acquiring unit, for according to the current call information, obtaining default harassing and wrecking list;Wherein, the default harassing and wrecking List includes the multiple harassing call numbers stored on cloud server or the multiple harassing calls number stored in local blacklist Code;
Acquiring unit is searched, for being found and current call number identical harassing and wrecking when in the default harassing and wrecking list During telephone number, the current call number is defined as harassing call type, and obtain corresponding with the current call number Incoming call timestamp first;
Acquiring unit is calculated, for calculating during the target between the current call timestamp and the timestamp of incoming call first It is long, and obtain the corresponding incoming call number of times of the current call number in the target duration.
8. harassing call processing unit according to claim 6, it is characterised in that also include:
First judge module, for judging the target duration whether less than the first duration threshold value;
Second judge module, if being less than the first duration threshold value for the target duration, judges that the incoming call number of times is It is no to be less than the first frequency threshold value;
Determining module, if judging that the incoming call number of times is less than the first frequency threshold value for second judge module, it is determined that The current call number meets the interception condition;
The determining module, if being additionally operable to second judge module judges that the incoming call number of times is equal to or more than described first Frequency threshold value, it is determined that the current call number meets the condition of answering.
9. harassing call processing unit according to claim 8, it is characterised in that also include;
3rd judge module, for obtaining the corresponding Call Waiting time of the current call number, and judges described calling etc. Treat the time whether less than the second duration threshold value;
Notification module, if being less than the second duration threshold value for the Call Waiting time, notifies described second to judge Module execution is described to judge the step of whether the incoming call number of times is less than the first frequency threshold value;
4th judge module, if being equal to or more than the second duration threshold value for the Call Waiting time, by described the Whether one frequency threshold value is updated to the second frequency threshold value, and judge the incoming call number of times less than second frequency threshold value;
The determining module, if being additionally operable to the 4th judge module judges that the incoming call number of times is less than second number threshold Value, it is determined that the current call number meets interception condition;
The determining module, if being additionally operable to the 4th judge module judges that the incoming call number of times is equal to or more than equal to described Second frequency threshold value, it is determined that the current call number meets the condition of answering.
10. harassing call processing unit according to claim 8, it is characterised in that also include:
Blocking module is reset, if being greater than or equal to the first duration threshold value for the target duration, to described current The corresponding number of times of sending a telegram here of caller ID performs clear operation, and the incoming call update of time stamp first is worked as to come for described Electric timestamp, and interception operation is carried out to the current call number.
CN201611094886.6A 2016-11-30 2016-11-30 Crank call processing method and device Expired - Fee Related CN106791231B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611094886.6A CN106791231B (en) 2016-11-30 2016-11-30 Crank call processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611094886.6A CN106791231B (en) 2016-11-30 2016-11-30 Crank call processing method and device

Publications (2)

Publication Number Publication Date
CN106791231A true CN106791231A (en) 2017-05-31
CN106791231B CN106791231B (en) 2020-05-19

Family

ID=58882759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611094886.6A Expired - Fee Related CN106791231B (en) 2016-11-30 2016-11-30 Crank call processing method and device

Country Status (1)

Country Link
CN (1) CN106791231B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769437A (en) * 2018-05-28 2018-11-06 中国联合网络通信集团有限公司 Call-waiting processing method, Call Waiting server and Call Waiting processing system
CN110445944A (en) * 2019-08-19 2019-11-12 携程旅游信息技术(上海)有限公司 Call center prevents the method and system made nuisance calls
CN110602304A (en) * 2019-09-17 2019-12-20 卓尔智联(武汉)研究院有限公司 Information processing method, device and storage medium
CN110933222A (en) * 2018-09-20 2020-03-27 中兴通讯股份有限公司 Call control method, device, equipment and computer readable medium
CN112153222A (en) * 2020-10-20 2020-12-29 中国联合网络通信集团有限公司 Harassment number identification method and server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100775332B1 (en) * 2005-12-26 2007-11-08 주식회사 팬택 A mobile Communication Terminal and a method for automatically registration of unwanted call numbers
CN101827367A (en) * 2009-03-06 2010-09-08 中兴通讯股份有限公司 Recognition method and device of harassing calls
CN102264042A (en) * 2010-05-31 2011-11-30 张正舟 Method for preventing disturbance of incoming call
CN105635414A (en) * 2014-10-29 2016-06-01 小米科技有限责任公司 Method and device for screening incoming calls
CN105657130A (en) * 2015-11-30 2016-06-08 东莞酷派软件技术有限公司 Crank call intercepting method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100775332B1 (en) * 2005-12-26 2007-11-08 주식회사 팬택 A mobile Communication Terminal and a method for automatically registration of unwanted call numbers
CN101827367A (en) * 2009-03-06 2010-09-08 中兴通讯股份有限公司 Recognition method and device of harassing calls
CN102264042A (en) * 2010-05-31 2011-11-30 张正舟 Method for preventing disturbance of incoming call
CN105635414A (en) * 2014-10-29 2016-06-01 小米科技有限责任公司 Method and device for screening incoming calls
CN105657130A (en) * 2015-11-30 2016-06-08 东莞酷派软件技术有限公司 Crank call intercepting method and system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769437A (en) * 2018-05-28 2018-11-06 中国联合网络通信集团有限公司 Call-waiting processing method, Call Waiting server and Call Waiting processing system
CN108769437B (en) * 2018-05-28 2020-07-31 中国联合网络通信集团有限公司 Call waiting processing method, call waiting server and call waiting processing system
CN110933222A (en) * 2018-09-20 2020-03-27 中兴通讯股份有限公司 Call control method, device, equipment and computer readable medium
CN110933222B (en) * 2018-09-20 2022-05-10 中兴通讯股份有限公司 Call control method, device, equipment and computer readable medium
CN110445944A (en) * 2019-08-19 2019-11-12 携程旅游信息技术(上海)有限公司 Call center prevents the method and system made nuisance calls
CN110602304A (en) * 2019-09-17 2019-12-20 卓尔智联(武汉)研究院有限公司 Information processing method, device and storage medium
CN110602304B (en) * 2019-09-17 2021-06-11 卓尔智联(武汉)研究院有限公司 Information processing method, device and storage medium
CN112153222A (en) * 2020-10-20 2020-12-29 中国联合网络通信集团有限公司 Harassment number identification method and server
CN112153222B (en) * 2020-10-20 2021-10-22 中国联合网络通信集团有限公司 Harassment number identification method and server

Also Published As

Publication number Publication date
CN106791231B (en) 2020-05-19

Similar Documents

Publication Publication Date Title
CN106791231A (en) A kind of harassing call treating method and apparatus
CN107343077B (en) Method, device and equipment for identifying malicious phone and establishing identification model
CN106791220B (en) Method and system for preventing telephone fraud
CN102209326B (en) Malicious behavior detection method and system based on smartphone radio interface layer
CN108810275A (en) A kind of information displaying method and device
CN104253908B (en) Unknown number stage division, unknown number labeling method and device
CN103763690A (en) Method and device for sending short messages to mobile terminal from detection fake base station
CN104506711A (en) Communication information processing method and device for terminal
CN105101132B (en) A kind of call forwarding setting reminding method and terminal
CN104320529A (en) Information receiving processing method and voice communication device
CN105744064A (en) Automatic communication help calling method, automatic communication help calling and terminal
CN110351237B (en) Honeypot method and device for numerical control machine tool
CN108616915A (en) A kind of call mode switching method, device, storage medium and electronic equipment
CN113923669B (en) Multi-source cross-platform fusion anti-fraud early warning method, device, equipment and medium
CN112256748B (en) Abnormality detection method and device, electronic equipment and storage medium
CN106027739A (en) Incoming call processing method and device, and terminal
CN114169438A (en) Telecommunication network fraud identification method, device, equipment and storage medium
CN106911675A (en) A kind of mobile phone Malware method for early warning and device
CN114168423A (en) Abnormal number calling monitoring method, device, equipment and storage medium
CN110113748B (en) Crank call monitoring method and device
CN109819125A (en) A kind of method and device limiting telecommunication fraud
CN108363915A (en) unlocking method, mobile terminal and computer readable storage medium
KR20130083286A (en) System for processing spam for mobile phone
CN114374769B (en) Abnormal number acquisition method and device, server and storage medium
CN115878932A (en) Website security event processing method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200519

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