CN110536014B - Incoming call processing method and terminal equipment - Google Patents

Incoming call processing method and terminal equipment Download PDF

Info

Publication number
CN110536014B
CN110536014B CN201910809917.9A CN201910809917A CN110536014B CN 110536014 B CN110536014 B CN 110536014B CN 201910809917 A CN201910809917 A CN 201910809917A CN 110536014 B CN110536014 B CN 110536014B
Authority
CN
China
Prior art keywords
request
incoming call
port number
port
terminal equipment
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.)
Active
Application number
CN201910809917.9A
Other languages
Chinese (zh)
Other versions
CN110536014A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910809917.9A priority Critical patent/CN110536014B/en
Publication of CN110536014A publication Critical patent/CN110536014A/en
Application granted granted Critical
Publication of CN110536014B publication Critical patent/CN110536014B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/2281Call monitoring, e.g. for law enforcement purposes; Call tracing; Detection or prevention of malicious calls

Abstract

The invention provides an incoming call processing method and terminal equipment, wherein the method comprises the following steps: receiving an incoming call request and determining a request number of a calling party corresponding to the incoming call request; when the telephone number corresponding to the request number is not matched with the contact number in the terminal equipment, and the port number corresponding to the request number is not matched with each preset port number prestored in the terminal equipment or the request number does not carry the port number, the incoming call is hung up, so that the unfamiliar number can be intercepted when the telephone number is an unfamiliar number, and the port number is not matched with the preset port number of the terminal equipment or the telephone number does not carry the port number, the purpose of preventing harassment is achieved, and the use experience of a user is improved.

Description

Incoming call processing method and terminal equipment
Technical Field
The present invention relates to the field of terminal equipment technologies, and in particular, to an incoming call processing method and a terminal device.
Background
At present, terminal equipment users all have SIM cards, the indication in the SIM cards is telephone numbers, users can use point telephone numbers to make and receive calls, send short messages, surf the internet and the like, and the telephone numbers become more and more important for the users gradually.
At present, telephone number binding services are more and more, so that telephone number information is easy to obtain by people, no protective measures can be taken to prevent short-message numbers from being leaked, when the telephone numbers are leaked, a lot of junk calls and short messages, even fraud information, can be received in daily life, the safety of the property of a user can be threatened, and inconvenience is caused to the daily life.
Disclosure of Invention
The embodiment of the invention provides an incoming call processing method and terminal equipment, and aims to solve the problem that a telephone number is leaked and harassed in the prior art.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an incoming call processing method, where the method includes: receiving an incoming call request and determining a request number of a calling party corresponding to the incoming call request; and hanging up the incoming call under the condition that the telephone number corresponding to the request number is not matched with the contact number in the terminal equipment, and the port number corresponding to the request number is not matched with each preset port number prestored in the terminal equipment or the request number does not carry the port number.
In a second aspect, an embodiment of the present invention further provides a terminal device, where the terminal device includes: the first receiving module is used for receiving an incoming call request and determining a request number of a calling party corresponding to the incoming call request; and the intercepting module is used for hanging up the incoming call under the condition that the telephone number corresponding to the request number is not matched with the contact number in the terminal equipment, and the port number corresponding to the request number is not matched with each preset port number prestored in the terminal equipment or the request number does not carry the port number.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the incoming call processing method.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to perform the steps of the incoming call processing method.
In the embodiment of the invention, the request number of a calling party corresponding to an incoming call request is determined by receiving the incoming call request; when the telephone number corresponding to the request number is not matched with the contact number in the terminal equipment, and the port number corresponding to the request number is not matched with each preset port number prestored in the terminal equipment or the request number does not carry the port number, the incoming call is hung up, so that the unfamiliar number can be intercepted when the telephone number is an unfamiliar number, and the port number is not matched with the preset port number of the terminal equipment or the telephone number does not carry the port number, the purpose of preventing harassment is achieved, and the use experience of a user is improved.
Drawings
Fig. 1 is a flowchart illustrating steps of a method for processing an incoming call according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of an incoming call processing method according to a second embodiment of the present invention;
fig. 3 is a block diagram of a terminal device according to a third embodiment of the present invention;
fig. 4 is a block diagram of a terminal device according to a fourth embodiment of the present invention;
fig. 5 is a block diagram of a mobile terminal according to a fifth embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flow chart of the steps of an incoming call processing method of the present invention is shown.
The incoming call processing method provided by the embodiment of the invention comprises the following steps:
step 101: and receiving the incoming call request and determining the request number of the calling party corresponding to the incoming call request.
The request number of the calling party may be composed of a port number and a telephone number of the calling party, or may only include the telephone number of the calling party, and does not include the port number. The port number may be dialed by the caller.
Receiving an incoming call request of a calling party, and determining a request number corresponding to the incoming call request.
For example: if the telephone number of the calling party is a, the port number is a, the request number is "a + a", the port number may not be unique, or may be b, c, d, and the request number is a + b, a + c, a + d, etc.
Step 102: and hanging up the incoming call when the telephone number corresponding to the request number is not matched with the contact number in the terminal equipment, and the port number corresponding to the request number is not matched with each preset port number prestored in the terminal equipment or the request number does not carry the port number.
Wherein the preset port number is an effective port number.
When the terminal of the incoming call receiving party opens the port number, the preset port number is an effective port number, and if the terminal of the incoming call receiving party closes the port number, the preset port number is an invalid port number.
And matching the telephone number corresponding to the request number with the contact number in the address list in the terminal equipment one by one, and determining the telephone number corresponding to the request number as a strange number under the condition that the telephone numbers are not matched.
The incoming call receiving party terminal can set an opening port number, and when the opening port number is a, b, c or d, the incoming call receiving party terminal can receive incoming call requests of A + a, A + b, A + c and A + d. When the receiving incoming call side terminal closes any one of the port numbers a, b, c or d, the request number corresponding to the closed port number cannot be accessed.
And hanging up the incoming call under the condition that the corresponding telephone number is determined to be a strange number and the port number is not matched with each preset port number of the terminal equipment. Or, under the condition that the corresponding telephone number is determined to be a strange number and the request number does not have a port number, hanging up the incoming call. And carrying out anti-harassment operation on the request number.
In the embodiment of the invention, the request number of a calling party corresponding to an incoming call request is determined by receiving the incoming call request; when the telephone number corresponding to the request number is not matched with the contact number in the terminal equipment, and the port number corresponding to the request number is not matched with each preset port number prestored in the terminal equipment or the request number does not carry the port number, the incoming call is hung up, so that the unfamiliar number can be intercepted when the telephone number is an unfamiliar number, and the port number is not matched with the preset port number of the terminal equipment or the telephone number does not carry the port number, the purpose of preventing harassment is achieved, and the use experience of a user is improved.
Example two
Referring to fig. 2, a flowchart illustrating a method for processing an incoming call according to a second embodiment of the present invention is shown.
The incoming call processing method provided by the embodiment of the invention comprises the following steps:
step 201: and under the condition that the request number only comprises a telephone number, receiving a destination number which is sent by the base station and carries a default port number.
And the base station packs the default port number and the telephone number and sends the packed target number to the terminal equipment.
And some telephone numbers do not carry port numbers, when the request numbers do not carry port numbers, the opposite terminal user sends the telephone request to the base station, and the base station packs the default port numbers and the telephone numbers and sends the packed target numbers to the terminal equipment.
Step 202: and receiving the incoming call request and determining the request number of the calling party corresponding to the incoming call request.
Wherein the request number may be composed of a port number and a phone number.
For example: if the telephone number of the calling party is a, the port number is a, the request number is "a + a", the port number may not be unique, or may be b, c, d, and the request number is a + b, a + c, a + d, etc.
And under the condition that the request number is only the telephone number, receiving a destination number which is sent by the base station and carries a default port number, wherein the base station packs the default port number and the telephone number and sends the packed destination number to the terminal equipment.
Step 203: and analyzing the target number to obtain the telephone number and the default port number.
It should be noted that, a person skilled in the art may set the preset port number according to practical situations, where the port number may be 9999, 8888, 7777, and so on.
The terminal device and the base station can both analyze the port number, communicate with the base station when the user calls, support a field with the port number at the authentication stage in transmission, the base station also needs to support a communication packet with the port number and can analyze the port number field, and the base station supports the transmission of the port number information to the terminal device.
Step 204: and under the condition that the telephone number corresponding to the request number is matched with any one of the contact numbers in the terminal equipment, displaying the request number on a screen of the terminal equipment.
And displaying the request number on a screen of the terminal equipment under the condition that the port number is matched with any one of preset port numbers prestored in the terminal equipment.
And if the telephone number is an unknown number and the carried port number is matched with any one of the preset port numbers prestored in the terminal equipment, displaying the request number on a screen of the terminal equipment and receiving the access of the request number.
And matching the telephone number corresponding to the request number with the contact number in the address list in the terminal equipment one by one, and determining the request number as a strange number under the condition that the telephone number and the contact number are not matched.
The terminal device holder can set an opening port number, and when the user opens the port number a, b, c or d, the terminal device can receive incoming call requests of A + a, A + b, A + c and A + d. When the user closes any one of the port numbers a, b, c or d, the request number corresponding to the closed port number cannot be accessed.
Step 205: and hanging up the incoming call when the telephone number corresponding to the request number is not matched with the contact number in the terminal equipment, and the port number corresponding to the request number is not matched with each preset port number prestored in the terminal equipment or the request number does not carry the port number.
Wherein the preset port number is an effective port number.
Step 206: and when the telephone number corresponding to the request number is not matched with the contact number in the terminal equipment and the port number corresponding to the request number is matched with any one of the preset port numbers prestored in the terminal equipment, displaying the request number on a screen of the terminal equipment.
The user can also set a port number for the telephone number of the terminal equipment holder, when the telephone number is leaked, the user can select to close the leaked port number because the leaked port number carries the rear port number, and when the opposite terminal equipment dials the telephone number without the port number, the telephone number is invalid, so as to achieve the effect of preventing harassment.
The embodiment of the invention can intercept the short message according to the port number besides the telephone, and the operation of intercepting the short message is similar to the intercepting mode of the request number, which is not described again.
In the embodiment of the invention, the request number of a calling party corresponding to an incoming call request is determined by receiving the incoming call request; when the telephone number corresponding to the request number is not matched with the contact number in the terminal equipment, and the port number corresponding to the request number is not matched with each preset port number prestored in the terminal equipment or the request number does not carry the port number, the incoming call is hung up, so that the unfamiliar number can be intercepted when the telephone number is an unfamiliar number, and the port number is not matched with the preset port number of the terminal equipment or the telephone number does not carry the port number, the purpose of preventing harassment is achieved, and the use experience of a user is improved.
EXAMPLE III
Referring to fig. 3, a block diagram of a terminal device according to a third embodiment of the present invention is shown.
The terminal device provided by the embodiment of the invention comprises: a first receiving module 301, configured to receive an incoming call request and determine a request number of a calling party corresponding to the incoming call request; the intercepting module 302 is configured to hang up an incoming call when the telephone number corresponding to the request number does not match the contact number in the terminal device, and the port number corresponding to the request number does not match each preset port number prestored in the terminal device or the request number does not carry a port number; wherein the preset port number is an effective port number.
In the embodiment of the invention, the request number of a calling party corresponding to an incoming call request is determined by receiving the incoming call request; when the telephone number corresponding to the request number is not matched with the contact number in the terminal equipment, and the port number corresponding to the request number is not matched with each preset port number prestored in the terminal equipment or the request number does not carry the port number, the incoming call is hung up, so that the unfamiliar number can be intercepted when the telephone number is an unfamiliar number, and the port number is not matched with the preset port number of the terminal equipment or the telephone number does not carry the port number, the purpose of preventing harassment is achieved, and the use experience of a user is improved.
Example four
Referring to fig. 4, a block diagram of a terminal device according to a third embodiment of the present invention is shown.
The terminal device provided by the embodiment of the invention comprises: a first receiving module 401, configured to receive an incoming call request and determine a request number of a calling party corresponding to the incoming call request; an intercepting module 402, configured to hang up an incoming call when a phone number corresponding to the request number does not match a contact number in the terminal device, and a port number corresponding to the request number does not match each preset port number prestored in the terminal device or the request number does not carry a port number; wherein the preset port number is an effective port number.
Preferably, the terminal device further includes: a first display module 403, configured to display the request number on the screen of the terminal device when the interception module 402 does not match the phone number corresponding to the request number with the contact number in the terminal device, and the port number corresponding to the request number does not match with each preset port number pre-stored in the terminal device or the request number does not carry a port number, and after the incoming call is hung up, and when the phone number corresponding to the request number does not match with the contact number in the terminal device, and the port number corresponding to the request number matches with any one of the preset port numbers pre-stored in the terminal device.
Preferably, the terminal device further includes: a second display module 404, configured to display the request number on a screen of the terminal device when the interception module 402 does not match the phone number corresponding to the request number with the contact number in the terminal device, and before hanging up the incoming call, the phone number corresponding to the request number matches any one of the contact numbers in the terminal device when the port number corresponding to the request number does not match with each preset port number pre-stored in the terminal device or the request number does not carry a port number.
Preferably, the terminal device further includes: a second receiving module 405, configured to receive, before the first receiving module 401 receives an incoming call request and determines a request number of a caller corresponding to the incoming call request, a destination number that carries a default port number and is sent by a base station when the request number only includes a phone number, where the base station packs the default port number and the phone number and sends the packed destination number to the terminal device; the parsing module 406 is configured to, after the first receiving module receives the incoming call request and determines a request number of a caller corresponding to the incoming call request, parse the target number to obtain a phone number and a default port number.
The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
In the embodiment of the invention, the request number of a calling party corresponding to an incoming call request is determined by receiving the incoming call request; when the telephone number corresponding to the request number is not matched with the contact number in the terminal equipment, and the port number corresponding to the request number is not matched with each preset port number prestored in the terminal equipment or the request number does not carry the port number, the incoming call is hung up, so that the unfamiliar number can be intercepted when the telephone number is an unfamiliar number, and the port number is not matched with the preset port number of the terminal equipment or the telephone number does not carry the port number, the purpose of preventing harassment is achieved, and the use experience of a user is improved.
EXAMPLE five
Referring to fig. 5, a hardware structure diagram of a mobile terminal for implementing various embodiments of the present invention is shown.
The mobile terminal 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 5 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The radio frequency unit 501 is configured to receive an incoming call request and determine a request number of a calling party corresponding to the incoming call request.
The processor 510 is configured to hang up an incoming call when the phone number corresponding to the request number does not match the contact number in the terminal device, and the port number corresponding to the request number does not match each preset port number pre-stored in the terminal device or the request number does not carry a port number.
In the embodiment of the invention, the request number of a calling party corresponding to an incoming call request is determined by receiving the incoming call request; when the telephone number corresponding to the request number is not matched with the contact number in the terminal equipment, and the port number corresponding to the request number is not matched with each preset port number prestored in the terminal equipment or the request number does not carry the port number, the incoming call is hung up, so that the unfamiliar number can be intercepted when the telephone number is an unfamiliar number, and the port number is not matched with the preset port number of the terminal equipment or the telephone number does not carry the port number, the purpose of preventing harassment is achieved, and the use experience of a user is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 502, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the mobile terminal 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5061 and/or a backlight when the mobile terminal 500 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 508 is an interface through which an external device is connected to the mobile terminal 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 500 or may be used to transmit data between the mobile terminal 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the mobile terminal. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The mobile terminal 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 500 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 510, a memory 509, and a computer program that is stored in the memory 509 and can be run on the processor 510, and when being executed by the processor 510, the computer program implements each process of the foregoing incoming call processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the incoming call processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. An incoming call processing method, comprising:
receiving an incoming call request and determining a request number of a calling party corresponding to the incoming call request;
under the condition that the telephone number corresponding to the request number is not matched with the contact number in the terminal equipment, and the port number corresponding to the request number is not matched with each preset port number prestored in the terminal equipment or the request number does not carry the port number, hanging up the incoming call;
under the condition that the telephone number corresponding to the request number is leaked, closing the port number of the telephone number corresponding to the leaked request number, and when opposite-end equipment dials the telephone number without the port number, the telephone number is invalid;
wherein the preset port number is an effective port number;
and the port number of the telephone number corresponding to the request number is a part of the request number, which is not the telephone number.
2. The method according to claim 1, wherein after the step of hanging up the incoming call when the phone number corresponding to the request number does not match the contact number in the terminal device, and the port number corresponding to the request number does not match with each preset port number pre-stored in the terminal device or the request number does not carry a port number, the method further comprises:
and when the telephone number corresponding to the request number is not matched with the contact number in the terminal equipment and the port number corresponding to the request number is matched with any one of preset port numbers prestored in the terminal equipment, displaying the request number on a screen of the terminal equipment.
3. The method according to claim 1, wherein before the step of hanging up the incoming call, when the phone number corresponding to the request number does not match the contact number in the terminal device, and the port number corresponding to the request number does not match with each preset port number pre-stored in the terminal device or the request number does not carry a port number, the method further comprises:
and displaying the request number on a screen of the terminal equipment under the condition that the telephone number corresponding to the request number is matched with any one of the contact numbers in the terminal equipment.
4. The method of claim 1, wherein before the step of receiving the incoming call request and determining the request number of the caller corresponding to the incoming call request, the method further comprises:
under the condition that the request number only comprises a telephone number, receiving a destination number which is sent by a base station and carries a default port number, wherein the base station packs the default port number and the telephone number and sends the packed destination number to the terminal equipment;
after the step of receiving the incoming call request and determining the request number of the caller corresponding to the incoming call request, the method further includes:
and analyzing the target number to obtain a telephone number and a default port number.
5. A terminal device, characterized in that the terminal device comprises:
the first receiving module is used for receiving an incoming call request and determining a request number of a calling party corresponding to the incoming call request;
the intercepting module is used for hanging up an incoming call under the condition that the telephone number corresponding to the request number is not matched with the contact number in the terminal equipment, and the port number corresponding to the request number is not matched with each preset port number prestored in the terminal equipment or the request number does not carry the port number; wherein the preset port number is an effective port number;
wherein, the interception module further comprises: under the condition that the telephone number corresponding to the request number is leaked, closing the port number of the telephone number corresponding to the leaked request number, and when opposite-end equipment dials the telephone number without the port number, the telephone number is invalid;
and the port number of the telephone number corresponding to the request number is a part of the request number, which is not the telephone number.
6. The terminal device according to claim 5, wherein the terminal device further comprises:
the first display module is used for displaying the request number on a screen of the terminal equipment when the interception module is used for not matching the telephone number corresponding to the request number with the contact number in the terminal equipment, and the port number corresponding to the request number is not matched with each preset port number prestored in the terminal equipment or the request number does not carry the port number, and after the incoming call is hung up, when the telephone number corresponding to the request number is not matched with the contact number in the terminal equipment, and the port number corresponding to the request number is matched with any one of the preset port numbers prestored in the terminal equipment.
7. The terminal device according to claim 5, wherein the terminal device further comprises:
and the second display module is used for displaying the request number on a screen of the terminal equipment under the condition that the telephone number corresponding to the request number is not matched with the contact number in the terminal equipment, and before the incoming call is hung up under the condition that the port number corresponding to the request number is not matched with each preset port number prestored in the terminal equipment or the request number does not carry the port number when the telephone number corresponding to the request number is not matched with any one of the contact numbers in the terminal equipment.
8. The terminal device according to claim 5, wherein the terminal device further comprises:
a second receiving module, configured to receive, before the first receiving module receives an incoming call request and determines a request number of a caller corresponding to the incoming call request, a destination number that carries a default port number and is sent by a base station when the request number only includes a telephone number, where the base station packages the default port number and the telephone number and sends a packaged destination number to the terminal device;
and the analysis module is used for analyzing the target number to obtain a telephone number and a default port number after the first receiving module receives the incoming call request and determines the request number of the calling party corresponding to the incoming call request.
9. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements the steps of the incoming call processing method according to any one of claims 1 to 4.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the incoming call processing method according to any one of claims 1 to 4.
CN201910809917.9A 2019-08-29 2019-08-29 Incoming call processing method and terminal equipment Active CN110536014B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910809917.9A CN110536014B (en) 2019-08-29 2019-08-29 Incoming call processing method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910809917.9A CN110536014B (en) 2019-08-29 2019-08-29 Incoming call processing method and terminal equipment

Publications (2)

Publication Number Publication Date
CN110536014A CN110536014A (en) 2019-12-03
CN110536014B true CN110536014B (en) 2021-08-31

Family

ID=68665206

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910809917.9A Active CN110536014B (en) 2019-08-29 2019-08-29 Incoming call processing method and terminal equipment

Country Status (1)

Country Link
CN (1) CN110536014B (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7333496B1 (en) * 2001-12-31 2008-02-19 Cisco Technology, Inc. System and method for indicating the priority of voice over internet protocol (VoIP) calls
US7639792B2 (en) * 2005-11-23 2009-12-29 Att Knowledge Ventures, L.P. System and method for location management and emergency support for a voice over internet protocol device
US8503431B2 (en) * 2006-08-25 2013-08-06 Wireless Wonders Ltd. Mobile phone related indirect communication system and method
CN101540758A (en) * 2008-03-19 2009-09-23 华为技术有限公司 Method, device and system for inhibiting waste service
CN101754444B (en) * 2008-12-10 2012-08-15 中国移动通信集团湖北有限公司 SIM card and service application method based on SIM card
CN103167193A (en) * 2011-12-15 2013-06-19 中兴通讯股份有限公司 Home gateway calling information display method and home gateway capable of displaying calling information
CN102932565A (en) * 2012-10-09 2013-02-13 大唐移动通信设备有限公司 Internet-based communication method and communication terminal
CN103561153B (en) * 2013-10-25 2016-06-01 北京奇宝科技有限公司 The call processing method of carry-on position determining equipment and device, system
US10182460B2 (en) * 2016-03-14 2019-01-15 Zynga Inc. Multitenancy gaming services platform

Also Published As

Publication number Publication date
CN110536014A (en) 2019-12-03

Similar Documents

Publication Publication Date Title
CN108924037B (en) Display method of rich media communication RCS message and mobile terminal
CN108347512B (en) Identity recognition method and mobile terminal
CN108282759B (en) Service processing method and mobile communication terminal
CN107734172B (en) Information display method and mobile terminal
CN111064654A (en) Message display method and electronic equipment
CN111107223B (en) Message processing method and electronic equipment
CN107957914B (en) Information processing method and mobile terminal
CN111182118B (en) Volume adjusting method and electronic equipment
CN111093137B (en) Volume control method, volume control equipment and computer readable storage medium
CN109151741B (en) Multimedia message receiving method and terminal
CN109639738B (en) Voice data transmission method and terminal equipment
CN108093119B (en) Strange incoming call number marking method and mobile terminal
CN109067979B (en) Prompting method and mobile terminal
CN108307075B (en) Incoming call processing method and mobile terminal
CN108307048B (en) Message output method and device and mobile terminal
CN111314903B (en) Information sharing method and electronic equipment
CN109451143B (en) Call method and mobile terminal
CN109561214B (en) Call processing method and mobile terminal
CN111159738A (en) Permission configuration method, application login method and device
CN108259807B (en) Communication method, mobile terminal and computer readable storage medium
CN110796438A (en) Message sending method and mobile terminal
CN107678622B (en) Application icon display method, terminal and storage medium
CN111356096B (en) Information sending method and electronic equipment
CN110536014B (en) Incoming call processing method and terminal equipment
CN110717163B (en) Interaction method and terminal equipment

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