CN103002446A - Method and device for intercepting call - Google Patents

Method and device for intercepting call Download PDF

Info

Publication number
CN103002446A
CN103002446A CN2012104622476A CN201210462247A CN103002446A CN 103002446 A CN103002446 A CN 103002446A CN 2012104622476 A CN2012104622476 A CN 2012104622476A CN 201210462247 A CN201210462247 A CN 201210462247A CN 103002446 A CN103002446 A CN 103002446A
Authority
CN
China
Prior art keywords
telephone number
layer
phone
blacklist
application layer
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
CN2012104622476A
Other languages
Chinese (zh)
Other versions
CN103002446B (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 CN201210462247.6A priority Critical patent/CN103002446B/en
Publication of CN103002446A publication Critical patent/CN103002446A/en
Application granted granted Critical
Publication of CN103002446B publication Critical patent/CN103002446B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention belongs to the field of mobile terminals and particularly relates to a method and a device for intercepting a call. The method includes the following steps that a modem receives an access phone signal and reports the signal through an AT instruction, a system frame layer receives the reported instruction and analyzes the reported instruction so as to obtain the access phone number, and application layer software compares the phone number, judges whether the phone number is one number in a blacklist, and informs the system frame layer of intercepting the call when judging that the phone number is one number in the blacklist. After the system frame layer acquires phone number information, the system frame layer transmits the phone number to an application layer in broadcast mode to compare the phone number, directly conduct comparison work and conduct comparison feedback. If the phone number obtained by comparison is one number in the blacklist, the number is directly intercepted by the system frame layer to enable the intercepted number to be quickly processed.

Description

A kind of method and apparatus of call interceptor
Technical field
The invention belongs to field of mobile terminals, relate in particular to a kind of method and apparatus of call interceptor.
Background technology
At present, the equipment on the portable terminal market, blacklist call block are to adopt third party software to carry out mostly.Yet third party software has individual shortcoming, because third party software all belongs to the software application on the application layer, the application layer software call interceptor can only be processed on the upper strata of application layer.Between the third party software owing to can mutually fight for system resource, in order to seize more resource, the capital is set to the priority of oneself the highest, third party software problem owing to Resources allocation in call interceptor will occur in this case and cause call block untimely, not reach the effect of effective interception.
Summary of the invention
The object of the present invention is to provide a kind of method and apparatus of call interceptor, be intended to by changing the hold-up interception method of interception blacklist phone, after accessing, phone acquires after the access telephone number by the system framework layer, directly be broadcast to application layer by the system framework layer and carry out the number contrast by application layer, handling process by change is obtained the method for number and carried out the number contrast just can obtain later feeding back and processing so that the interception number obtains number information at the system framework layer fast.
The embodiment of the invention is achieved in that a kind of method of call interceptor, and described method comprises the steps:
Modulator-demodulator receives the access telephone signal, and reports by the AT instruction;
The system framework layer receives and reports instruction and resolve the telephone number that obtains accessing phone;
Application layer software contrast telephone number judges whether telephone number is the blacklist telephone number;
When judging that telephone number is the blacklist telephone number, reporting system ccf layer interception access phone.
A kind of device of call interceptor, described device comprises:
Modem module is used for modulator-demodulator and receives the access telephone signal, and reports by the AT instruction;
The system framework administrative unit receives the telephone number that reports instruction and parsing to obtain accessing phone by the system framework layer;
Application layer contrast unit is used for application layer software contrast telephone number, judges whether telephone number is the blacklist telephone number;
The number interception unit is used for when judging that telephone number is the blacklist telephone number, reporting system ccf layer interception access phone.
The present invention is by a kind of method and apparatus of call interceptor, after obtaining telephone number information at the system framework layer, by the form of broadcasting telephone number is sent to application layer by the system framework layer and carry out the telephone number contrast, application layer directly compares work, and compare feedback, if to obtain telephone number be the blacklist telephone number in contrast, directly tackled by the system framework layer, thereby so that the call interceptor number can obtain processing in mode the most fast.
Description of drawings
Fig. 1 is the realization flow figure of the method for a kind of call interceptor of providing of first embodiment of the invention;
Fig. 2 is the realization flow figure of the method for a kind of call interceptor of providing of second embodiment of the invention;
Fig. 3 is the structure chart of the device of a kind of call interceptor of providing of third embodiment of the invention;
Fig. 4 is the structure chart of the device of a kind of call interceptor of providing of fourth embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, 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, is not intended to limit the present invention.
Below in conjunction with specific embodiment specific implementation of the present invention is described in detail:
Embodiment one:
Fig. 1 is the realization flow figure of the method for a kind of call interceptor of providing of first embodiment of the invention, and details are as follows:
S101, modulator-demodulator receive the access telephone signal, and report by the AT instruction.
Because telephone wire is to transmit by analog signal when propagating voice signal, and portable terminal especially intelligent mobile terminal generally adopted digital signal to carry out information processing, portable terminal is received the analog signal of network and at first will be modulated by modulator-demodulator, be digital signal with analog signal conversion, modulator-demodulator receives the access telephone signal, be converted to after the digital signal, report by the AT instruction.
S102, system framework layer receive and report instruction and resolve the telephone number that obtains accessing phone.
The system framework layer resolves and obtains to access the telephone number of phone by the phone access information that the AT command reception reports.。
S103, application layer software contrast telephone number judges whether telephone number is the blacklist telephone number.
Application layer software obtains the number information of access telephone number, and whether the telephone number of contrast access is the blacklist telephone number, and the method that specifically contrasts telephone number is known technology, does not repeat them here.
S104, when judging that telephone number is the blacklist telephone number, reporting system ccf layer interception access phone.
Judge later on that when application layer software contrast telephone number telephone number is the blacklist telephone number, application layer software is made corresponding interception feedback information in application software, and tackles the telephone number of access by forms of broadcasting reporting system ccf layer.
The embodiment of the invention by the way, a kind of method of call interceptor, after obtaining telephone number information at the system framework layer, by the form of broadcasting telephone number is sent to application layer by the system framework layer and carry out the telephone number contrast, because directly having the system framework layer to send to application layer, employing compares, so that application layer directly compares work, and compare feedback, if it is the blacklist telephone number that contrast obtains telephone number, directly tackle at the system framework layer, processing signals and interception work are mainly carried out at the system framework layer, application layer only compares, can not occur since application layer software to obtain system resource untimely and can not tackle fast the blacklist phone everywhere.
Embodiment two:
Fig. 2 shows the realization flow figure of the method for a kind of call interceptor that second embodiment of the invention provides, and details are as follows:
S201, modulator-demodulator receive the access telephone signal, and report by the AT instruction.
Portable terminal is received the analog signal of network and at first will be modulated by modulator-demodulator, and with analog signal conversion, modulator-demodulator receives the access telephone signal, reports by the AT instruction.The AT instruction sends to terminal adapter or data circuit termination equipment from terminal equipment or data terminal equipment.By AT instruction rapid feedback incoming information.
S202, system framework layer receive and report instruction and resolve the telephone number that obtains accessing phone.
The system framework layer receives the feedback incoming information of AT instruction, and resolves the number of incoming call, obtains accessing the telephone number of phone.
S203, the system framework layer is by the information of orderly broadcast transmission access phone.
The system framework layer obtains accessing the telephone number of phone later on by orderly broadcast caller ID, and the form by broadcasting sends the information of caller ID.
S204, application layer software contrast telephone number judges whether telephone number is the blacklist telephone number.
Application layer software acquires the information of access phone by broadcasting, and the number of contrast access phone judges, the telephone number of judging the access phone is the blacklist phone whether.
S205 is in the access of application layer feedback blacklist phone.
Determine that by contrasting number is the telephone number of blacklist when application layer, make a feedback action in application layer, namely record the call case of this blacklist number.
S206 when judging that telephone number is the blacklist telephone number, sends broadcast delivery to the system framework layer by application layer software, reporting system ccf layer interception access phone.
Simultaneously, determine that access code is after the blacklist, the mode transmission of information that sends broadcasting by application layer software is to the system framework layer, and the reporting system ccf layer determines that by than checking numbers access code is the blacklist number.The system framework layer receives blacklist information and just access code is tackled later.
The embodiment of the invention by the way, a kind of method of call interceptor, owing to adopted the broadcast transmission of carrying out incoming information at the system framework layer, obtain whether blacklist telephone number of number by application layer contrast, when being defined as the blacklist telephone number, application layer is tackled by broadcasting apprizing system ccf layer, because initial information is to be sent by the system framework layer, final number interception all is to carry out at the system framework layer.Traditional to pass through third party software interception blacklist phone be after system layer has obtained caller ID, in application layer caller ID analyzed, and finally judges and feed back and feedback result is processed in application layer in application layer.Because the order priority treatment level of application layer is well below the order of system framework layer.The order of application layer just can be processed after need to compiling first, so that application layer software is processed system resource that call interceptor expends than more by the system framework layer, simultaneously treated speed is also slower.Finally causing can not be effectively with in time at the application layer process call interceptor.And the present invention is owing to process and tackle at the system framework layer, and command process speed is faster than the application layer reaction, and it is high to carry out efficient, therefore can carry out effectively and fast tackling the blacklist phone.
Embodiment three:
Fig. 3 shows the structure chart of the device of a kind of call interceptor that third embodiment of the invention provides, and for convenience of explanation, only shows the part relevant with the embodiment of the invention.
Modem module 31 is used for modulator-demodulator and receives the access telephone signal, and reports by the AT instruction.
Receive the access telephone signal by modem module, demodulation reports by the AT instruction after obtaining accessing the information of phone, is reported to the system framework administrative unit.
System framework administrative unit 32 receives the telephone number that reports instruction and parsing to obtain accessing phone by the system framework layer.
The system framework administrative unit receives and reports instruction and resolve the telephone number that obtains accessing phone, sends to application layer by the form of broadcasting.
Application layer contrast unit 33 is used for application layer software contrast telephone number, judges whether telephone number is the blacklist telephone number.
By application layer contrast unit contrast telephone number, judge whether telephone number is the blacklist telephone number, because application layer is only carried out the telephone number contrast, the approach that application layer is obtained telephone number is to obtain by the system framework layer, it does not need to fight for system resource with other application programs, directly compare later on acquiring the access telephone number information, obtain whether blacklist telephone number of telephone number.
Number interception unit 34 is used for when judging that telephone number is the blacklist telephone number, reporting system ccf layer interception access phone.
When the number interception unit judges that telephone number is the blacklist telephone number, reporting system ccf layer interception access phone, the mode of the information of concrete transmission call interceptor is notified the system framework layer by the form of broadcasting.
The embodiment of the invention by the way, a kind of device of call interceptor, after receiving the phone access, demodulating unit just passes through AT instruction notification system framework layer by adjusting, after acquiring telephone number by the system framework layer, be broadcast to application layer and carry out the number contrast, it is later when being found to be the blacklist number that application layer has contrasted number, and the result who contrasts is fed back to the system framework layer by the form of broadcasting, finally by system framework layer interception number.Because it processes number and the interception number is to be undertaken by the system framework layer.Because the supervisory level that is in is higher, the feedback speed of processing priority and processing is faster, can the most fast the blacklist number be tackled, thereby so that the untimely situation of number can not occur tackling in the process of operation and use for the system framework layer.
Embodiment four:
Fig. 4 shows the structure chart of the device of a kind of call interceptor that fourth embodiment of the invention provides, and for convenience of explanation, only shows the part relevant with the embodiment of the invention.
Modem module 41 is used for modulator-demodulator and receives the access telephone signal, and reports by the AT instruction.
At first by modem module the information of access is modulated, then be reported to the system framework administrative unit by the AT instruction.
System framework administrative unit 42 receives the telephone number that reports instruction and parsing to obtain accessing phone by the system framework layer.
The system framework administrative unit is resolved the information that reports after receiving and reporting instruction, the information that obtains sending a telegram here by the AT instruction and the telephone number information that obtains access code.
Ccf layer radio unit 43 is used for the system framework layer by the information of orderly broadcast transmission access phone
The ccf layer radio unit sends the number information that accesses telephone number by the information of orderly broadcast transmission access phone.
Application layer contrast unit 44 is used for application layer software contrast telephone number, judges whether telephone number is the blacklist telephone number.
The number that application layer contrast unit obtains accessing phone by the ccf layer radio unit line number code contrast of going forward side by side judges whether telephone number is the blacklist telephone number.
Application layer feedback unit 45 is used in the access of application layer feedback blacklist phone.
Current calling access is namely recorded in the final access of feedback blacklist phone when obtaining telephone number being the blacklist telephone number after application layer is judged.
Number interception unit 46 is used for when judging that telephone number is the blacklist telephone number, sends broadcast delivery to the system framework layer by application layer software, reporting system ccf layer interception access phone.
The number interception unit is then when application layer judges that telephone number is the blacklist telephone number, the form of broadcasting with transmission by application layer software will be that the blacklist phone is delivered to the system framework layer, reporting system ccf layer interception access phone, the system framework layer directly will access incoming call and tackle.
The embodiment of the invention by the way, a kind of device of call interceptor, after receiving the phone access, demodulating unit just passes through AT instruction notification system framework layer by adjusting, after acquiring telephone number by the system framework layer, be broadcast to application layer and carry out the number contrast, it is later when being found to be the blacklist number that application layer has contrasted number, and the result who contrasts is fed back to the system framework layer by the form of broadcasting, finally by system framework layer interception number.Because it processes number and the interception number is to be undertaken by the system framework layer.Because the supervisory level that is in is higher, the feedback speed of processing priority and processing is faster, can the most fast the blacklist number be tackled, thereby so that the untimely situation of number can not occur tackling in the process of operation and use for the system framework layer.
One of ordinary skill in the art will appreciate that all or part of step that realizes in above-described embodiment method is to come the relevant hardware of instruction to finish by program, described program can be stored in the computer read/write memory medium, described storage medium is such as ROM/RAM, disk, CD etc.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. the method for a call interceptor is characterized in that, described method comprises the steps:
Modulator-demodulator receives the access telephone signal, and reports by the AT instruction;
The system framework layer receives and reports instruction and resolve the telephone number that obtains accessing phone;
Application layer software contrast telephone number judges whether telephone number is the blacklist telephone number;
When judging that telephone number is the blacklist telephone number, reporting system ccf layer interception access phone.
2. the method for claim 1 is characterized in that, described method receives at the system framework layer and also comprises after reporting instruction and resolving the telephone number step that obtains accessing phone:
The system framework layer is by the information of orderly broadcast transmission access phone.
3. the method for claim 1 is characterized in that, described method judges that telephone number is that blacklist telephone number step also comprises afterwards:
In the access of application layer feedback blacklist phone.
4. the method for claim 1 is characterized in that, the concrete grammar of described method reporting system ccf layer interception access phone is:
Send broadcast delivery to the system framework layer by application layer software.
5. the device of a call interceptor is characterized in that, described device comprises:
Modem module is used for modulator-demodulator and receives the access telephone signal, and reports by the AT instruction;
The system framework administrative unit receives the telephone number that reports instruction and parsing to obtain accessing phone by the system framework layer;
Application layer contrast unit is used for application layer software contrast telephone number, judges whether telephone number is the blacklist telephone number;
The number interception unit is used for when judging that telephone number is the blacklist telephone number, reporting system ccf layer interception access phone.
6. device as claimed in claim 5 is characterized in that, described device also comprises: the ccf layer radio unit is used for the system framework layer by the information of orderly broadcast transmission access phone.
7. device as claimed in claim 5 is characterized in that, described action acquiring unit specifically comprises: the application layer feedback unit is used in the access of application layer feedback blacklist phone.
8. device as claimed in claim 5 is characterized in that, described device also comprises: the application layer radio unit is used for sending broadcast delivery to the system framework layer by application layer software.
CN201210462247.6A 2012-11-15 2012-11-15 A kind of method and apparatus of call interceptor Active CN103002446B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210462247.6A CN103002446B (en) 2012-11-15 2012-11-15 A kind of method and apparatus of call interceptor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210462247.6A CN103002446B (en) 2012-11-15 2012-11-15 A kind of method and apparatus of call interceptor

Publications (2)

Publication Number Publication Date
CN103002446A true CN103002446A (en) 2013-03-27
CN103002446B CN103002446B (en) 2016-02-17

Family

ID=47930483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210462247.6A Active CN103002446B (en) 2012-11-15 2012-11-15 A kind of method and apparatus of call interceptor

Country Status (1)

Country Link
CN (1) CN103002446B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104348947A (en) * 2013-07-30 2015-02-11 腾讯科技(深圳)有限公司 Method and device of managing incoming call of mobile terminal
WO2015154399A1 (en) * 2014-09-03 2015-10-15 中兴通讯股份有限公司 Blacklist processing method and device
CN105636051A (en) * 2015-12-18 2016-06-01 北京奇虎科技有限公司 Message intercepting method and system for intelligent device
CN106714116A (en) * 2016-06-29 2017-05-24 腾讯科技(深圳)有限公司 Message processing method and apparatus
CN113472952A (en) * 2020-03-31 2021-10-01 深圳市万普拉斯科技有限公司 Call making method, device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050070249A1 (en) * 2003-09-27 2005-03-31 Lg Electronics Inc. Method of preventing clone call of clone terminal
CN102340891A (en) * 2011-10-12 2012-02-01 中兴通讯股份有限公司 Service switching method and device for multimode terminal
CN102355519A (en) * 2011-06-30 2012-02-15 北京邮电大学 Malicious call dialing prevention method for mobile intelligent terminal and system thereof
CN102395128A (en) * 2011-06-30 2012-03-28 北京邮电大学 Malicious information transmission preventing method and system of mobile intelligent terminal
CN102710842A (en) * 2012-05-28 2012-10-03 青岛海信移动通信技术股份有限公司 Method and device for processing incoming calls of Android platform mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050070249A1 (en) * 2003-09-27 2005-03-31 Lg Electronics Inc. Method of preventing clone call of clone terminal
CN102355519A (en) * 2011-06-30 2012-02-15 北京邮电大学 Malicious call dialing prevention method for mobile intelligent terminal and system thereof
CN102395128A (en) * 2011-06-30 2012-03-28 北京邮电大学 Malicious information transmission preventing method and system of mobile intelligent terminal
CN102340891A (en) * 2011-10-12 2012-02-01 中兴通讯股份有限公司 Service switching method and device for multimode terminal
CN102710842A (en) * 2012-05-28 2012-10-03 青岛海信移动通信技术股份有限公司 Method and device for processing incoming calls of Android platform mobile terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104348947A (en) * 2013-07-30 2015-02-11 腾讯科技(深圳)有限公司 Method and device of managing incoming call of mobile terminal
WO2015154399A1 (en) * 2014-09-03 2015-10-15 中兴通讯股份有限公司 Blacklist processing method and device
CN105636051A (en) * 2015-12-18 2016-06-01 北京奇虎科技有限公司 Message intercepting method and system for intelligent device
CN105636051B (en) * 2015-12-18 2019-03-01 北京奇虎科技有限公司 Message block method and system for smart machine
CN106714116A (en) * 2016-06-29 2017-05-24 腾讯科技(深圳)有限公司 Message processing method and apparatus
CN106714116B (en) * 2016-06-29 2018-11-06 腾讯科技(深圳)有限公司 A kind of message treatment method and device
CN113472952A (en) * 2020-03-31 2021-10-01 深圳市万普拉斯科技有限公司 Call making method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN103002446B (en) 2016-02-17

Similar Documents

Publication Publication Date Title
CN103002446B (en) A kind of method and apparatus of call interceptor
CN102123021B (en) Method and apparatus for handling semi-persistent transmission resources
US20190335032A1 (en) Incoming call management method and apparatus
CN103442391A (en) Data transmission method and system as well as user terminal
US8582745B1 (en) Simultaneous mutual call handling
CN103294553A (en) Method and device for managing multimedia resources of mobile terminal
CN104244198A (en) Prompting method and device for on-state of call
CN103124402A (en) Miscall prompt system and method
CN105721492B (en) A kind of method, apparatus and terminal of speech processes
CN102291694A (en) Polyphonic ring tone realizing method, polyphonic ring tone service platform, terminal equipment and polyphonic ring tone service system
CN103188618B (en) Call processing method, subscriber equipment and network equipment
CN103379662A (en) Network access method, interface equipment and movable network-surfing equipment
CN104038639A (en) Terminal communication method and terminals
CN104092648B (en) file request method and device
CN106713171A (en) Server and delay-queue-based current-limiting protection system and method
CN105119937A (en) Communication method and device of user terminal
CN105635497A (en) Terminal call transfer method and call transfer terminal
CN110856213B (en) Method and device for switching data transmission modes, storage medium and electronic equipment
CN102857877A (en) System, equipment and method for state notification in multi-party call
CN102655690A (en) Information notifying method and device and electronic equipment
CN102655631A (en) Information notifying method, device and first electronic equipment
CN104427287A (en) Data processing method and device
US20160088033A1 (en) Electronic device and method for establishing conference call
CN105553935A (en) Data packet processing method and device, and terminal
CN113630870B (en) Method and device for receiving and transmitting multicast service

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
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.