Abstract:
This invention discloses a method for preventing Spam over Internet Telephony, comprising: receiving by a terminal a call request by a calling user; setting by the terminal an identifier of said calling user into a SPIT reporting request upon receipt of said call request; and sending the SPIT reporting request to a server in response to an instruction by a called user that the call request is SPIT.

Description:
CROSS REFERENCE 
       [0001]    The present application claims the priority of Chinese application 200610152402.9, which was filed on Sep. 6, 2006, which is hereby incorporated by reference. 
       FIELD OF THE INVENTION 
       [0002]    The present invention relates generally to Voice over IP (VoIP) technology, and, more particularly, to a system and method for preventing Spam over Internet Telephony (SPIT). 
       BACKGROUND OF THE INVENTION 
       [0003]    Next generation network (NGN) and VoIP services are developing rapidly around the world, and are greatly challenging conventional telephone service. However, cybersecurity is a crucial issue in the development of Internet systems, and the NGN based on IP technology inherit the vulnerability of IP networks. The VoIP and NGN services struggle with several Internet security problems. 
         [0004]    Beyond conventional security threats, the VoIP service faces a new security threat, SPIT. The SPIT is not a traditional security threat in the original sense of security. Because SPIT exists in the course of normal transmission, it is not threatening to the network. The harm of SPIT comes from the disturb to each called party caused by the content transfer in the SPIT. VoIP service is inexpensive both on call costs and hardware costs, therefore, it is used by many. The spread of SPIT would bring in problems similar to SPAM: SPIT consumes large amounts of network resource, reducing the quality of service provides to users by providers. In another hand, the call from SPIT is unsolicited junk message according to the definition of SPIT. Therefore, the SPIT may severely interfere with users&#39; life and job. 
         [0005]    There is no technology addressing preventing SPIT in NGN in the prior art at present. 
       BRIEF SUMMARY OF THE INVENTION 
       [0006]    Some embodiments of the present invention provide system and method for preventing Spam over Internet Telephony. According to an embodiment of the present invention, the method for preventing Spam over Internet Telephony, comprising: receiving by a terminal a call request by a calling user; setting by the terminal an identifier of said calling user into a SPIT reporting request upon receipt of said call request; and sending the SPIT reporting request to a server in response to an instruction by a called user that the call request is SPIT. 
         [0007]    Numerous additional features, embodiments and benefits of the present invention will be apparent in view of the detailed description which follows. 
     
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0008]      FIG. 1  is a flowchart showing a method for preventing SPIT according to an embodiment of the present invention. 
           [0009]      FIG. 2  is a flowchart showing the process of a terminal reporting SPIT, according to an embodiment of the present invention. 
           [0010]      FIG. 3  is a flowchart showing the process of a server processing the SPIT reporting request, according to an embodiment of the present invention. 
           [0011]      FIG. 4  is a flowchart showing the process of a server processing the call request, according to an embodiment of the present invention. 
           [0012]      FIG. 5  is a schematic drawing showing a system for preventing SPIT according to an embodiment of the present invention. 
           [0013]      FIG. 6  is a schematic drawing showing a SPIT reporting module and a SPIT processing module according to an embodiment of the present invention. 
       
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
       [0014]    In an embodiment of the present invention, the terminal includes a SPIT reporting module, and the server includes a SPIT processing module. The terminal detects a received call request, and sends a SPIT reporting request to the server. The SPIT reporting request contains an identifier of the calling user which the terminal wants to report. The server obtains and saves the identifier, and sets the calling user as a SPIT user. 
         [0015]    Upon a new call request, the server obtains an identifier from the received new call request containing the calling user&#39;s identifier, and determines whether the calling user&#39;s identifier is saved and set as a SPIT user. If the identifier is set as a SPIT user, it refuses the new call request. 
         [0016]    As shown in  FIG. 1 , the method for preventing SPIT according to an embodiment of the present invention includes the following: 
         [0017]    Block  101 : The terminal detects and records received call requests, and sets the identifier of the calling user of the call request into a SPIT reporting request if the user decides the call request is by a SPIT caller, and sends the SPIT reporting request to a server. 
         [0018]    Block  102 : The server obtains and saves the calling user&#39;s identifier from the received SPIT reporting request. The SPIT reporting request may further include the call time and the called user&#39;s identifier of the call request. In such condition, the server obtains the call time, the calling user&#39;s identifier, and the called user&#39;s identifier from the SPIT reporting request in response to receiving the SPIT reporting request. The server compares the call time, the calling user&#39;s identifier and the called user&#39;s identifier with records of a call log maintained in the server. If the calling user didn&#39;t call the called user at the call time according to the records, the server will not process the SPIT reporting request, and will send a response message stating such to the terminal. If the calling user called the called user at the call time according to the records, the server processes as described in block  103 . 
         [0019]    Block  103 : The server sets the calling user&#39;s identifier as being of a SPIT user. In an embodiment, if the SPIT reporting request contains the calling user&#39;s identifier and the called user&#39;s identifier. The server will obtain and save the calling user&#39;s identifier and the called user&#39;s identifier. The server will set the calling user as the reported user, and set the called user as the reporting user. 
         [0020]    Before the server sets the calling user&#39;s identifier as being of a SPIT user, the server analyzes the number of times the calling user has been reported as a SPIT user in the past. If the number surpasses a preset threshold value, the calling user&#39;s identifier is set as being of a SPIT user. 
         [0021]    Block  104 : Upon receiving a new call request, the server obtains the calling user&#39;s identifier of the new call request, determines whether the calling user&#39;s identifier is saved and set as a SPIT user, and refuses to forward the new call request if the calling user&#39;s identifier is saved and set as a SPIT user. 
         [0022]    If the calling user&#39;s identifier is not saved and set as a SPIT user, the server determines whether the calling user&#39;s identifier is in the list of reported users, and forwards the new call request if not in the list of reported users. Otherwise, the server determines whether the called user&#39;s identifier is in the list of the reporting users corresponding to the reported user, and it refuses the new call request if ‘yes’, the server forwards the new call request if ‘no’. 
         [0023]    In an embodiment, the server may send the identifiers of the SPIT users to other servers in communicating with the server. The other servers receive the identifiers and set respective users as SPIT users in their lists. 
         [0024]      FIG. 2  is a flowchart showing the process of a terminal reporting SPIT, according to an embodiment of the present invention. In an embodiment, the communication between terminals is via SIP, which is a dominant signal protocol in NGN. The method includes: 
         [0025]    Block  201 : When receiving a SPIT reporting instruction from a user, the terminal sends the SPIT reporting instruction to a SPIT reporting module. The SPIT reporting module sends the call register of call requests, which the SPIT reporting module detecting, and displays to the user. 
         [0026]    In an embodiment, the terminal may not be allowed to report the SPIT users unless that user has called the terminal in past. The terminal is permitted to activate the SPIT reporting function if the terminal received a call request in idle status, and answered the call request, for example, monitoring the 200 OK signaling or ACK signaling. 
         [0027]    Block  202 : The user selects a call register on the terminal to report the received call as SPIT. If the user determines not to report the user, the process ends. 
         [0028]    In an embodiment, each call register may include: call time, SIP address and IP address of both the calling user and the called user. The call registers are sorted according to call time. The terminal may auto-save a predetermined number of call registers in a call registers list. When it exceeds the predetermined number, the terminal will automatically delete the call registers having the earliest call time. 
         [0029]    Block  203 : The terminal obtains the call register to report, including call time, the calling user&#39;s identifier and the called user&#39;s identifier, for example, SIP address and IP address of calling user and called user. 
         [0030]    Block  204 : The SPIT reporting module sets the call register to be reported into a SPIT reporting request and sends the SPIT reporting request to the server. 
         [0031]    Block  205 : The reporting process is complete, upon the SPIT reporting module receiving a reporting response from the server. 
         [0032]    Block  206 : If the terminal doesn&#39;t receive the reporting response from the server in a predetermined time, the terminal determines whether to resend the reporting request or not. If yes, return to  204 , and resend the reporting request to the server. Otherwise, complete the process. 
         [0033]      FIG. 3  is a flowchart showing the process of a server processing the SPIT reporting request according to an embodiment of the present invention. The process includes: 
         [0034]    Block  301 : The server obtains reporting information from the SPIT reporting request, when it receives the SPIT reporting request. 
         [0035]    In an embodiment, the reporting information includes: call time, the reporting user&#39;s identifier and the reported user&#39;s identifier. 
         [0036]    Block  302 : The server compares the call time, the reporting user&#39;s identifier and the reported user&#39;s identifier with the call log maintained in the server. If the reported user hasn&#39;t called reporting user at the call time, the server will not process the reporting request, and will send a response to the terminal. 
         [0037]    Block  303 : If the reported user called reporting user at the call time, the server searches a temporary reporting record in the server to determine whether the calling user&#39;s identifier in the temporary reporting record. The temporary reporting record is also referred as a grey list; the reporting record is also referred as a black list. 
         [0038]    Block  304 : If the calling user&#39;s identifier is in the grey list, the server adds the reporting user&#39;s identifier corresponding to the reported user to the grey list, and increments the alarm value of the reported user in the grey list. 
         [0039]    Block  305 : The server determines whether the alarm value exceeds a preestablished threshold value, if not exceed the threshold value, it sends a response message to the terminal to notify the terminal that the reporting was successful. 
         [0040]    Block  306 : If the alarm value does exceed the threshold value, the server saves the identifier of reported user on the black list, and sends a response message to the terminal to notify the terminal that the report was successful. In an embodiment, the server may send a message to other servers, notifying the other servers to save the identifier of reported user to their black lists. 
         [0041]    Block  307 : If the calling user&#39;s identifier is not in the grey list, the server saves the reported user&#39;s identifier and the reporting user&#39; identifier to the grey list, sets the alarm value of the reported user as 1, and sends a response message to the terminal to notify that the terminal reporting was successfully. 
         [0042]    Here, the reported user and reporting user respectively correspond to the calling user and called user. 
         [0043]      FIG. 4  is a flowchart showing the process of a server processing the call request, according to an embodiment of the present invention. The process includes: 
         [0044]    Block  401 : The server obtains the calling user&#39;s identifier and called user&#39;s identifier from a received new call request. 
         [0045]    Block  402 : The server compares the calling user&#39;s identifier with each of the identifiers of the reported users in the black list. 
         [0046]    Block  403 : If the black list does not include the calling user&#39;s identifier, the server compares the calling user&#39;s identifier with each of the identifiers of the reported users in the grey list. 
         [0047]    Block  404 : If the grey list includes the calling user&#39;s identifier, the server determines whether the identifiers of the reporting users corresponding to the calling user on the grey list include the called user&#39;s identifier. If the identifiers of the reporting users corresponding to the calling user on the grey list don&#39;t include the called user&#39;s identifier, the server sends an alert message to the called user. 
         [0048]    Block  405 : If the grey list does not include the calling user&#39;s identifier, or if the identifiers of the reporting users corresponding to the calling user on the grey list don&#39;t include the called user&#39;s identifier, the server forwards the received new call request, and completes the process. 
         [0049]    Block  406 : If the black list includes the calling user&#39;s identifier, or if the identifiers of the reporting users corresponding to the calling user on the grey list include the called user&#39;s identifier, the server sends a ‘refuse’ message to the calling user of the new call request, and completes the process. 
         [0050]      FIG. 5  illustrates a system for preventing SPIT according to an embodiment of the present invention. The system includes: at least two terminals with the function of reporting SPIT, and a server with the function of preventing SPIT. 
         [0051]    The terminal includes: a terminal man-machine interface, a SPIT reporting module, and a terminal communication module. The server includes: a SPIT processing module. 
         [0052]    In an embodiment, the terminal communication module sends a call request to the man-machine interface, upon receiving the call request from the server. 
         [0053]    The SPIT reporting module is capable of detecting the call requests received by the terminal communication module; providing call requests records to the user via the man-machine interface after receiving a SPIT reporting instruction by a user via the man-machine interface; and setting the identifier of the calling user which the user select into a SPIT reporting request, and sending the SPIT reporting request to the SPIT processing module of the server. 
         [0054]    The SPIT processing module is on the base of the protocol stack of SIP server, the SPIT processing module processes the received SIP signaling before other components of the server. 
         [0055]    The SPIT processing module is capable of obtaining and saving the calling user&#39;s identifier as SPIT user. The SPIT processing module obtains a new calling user&#39;s identifier and determining whether the new calling user&#39;s identifier is in the list of SPIT users, refuses to forward the new call request if the new calling user&#39;s identifier is in the list of SPIT users. 
         [0056]      FIG. 6  is a schematic drawing showing a SPIT reporting module and a SPIT processing module according to an embodiment of the present invention. As shown in  FIG. 6 , the SPIT reporting module includes: a man-machine interactive unit, an SIP signaling monitoring unit, a first main processing unit and a server interactive unit. 
         [0057]    The man-machine interactive unit is coupled to the terminal man-machine interface, configured to transmit the user&#39;s reporting request received from the terminal to the first processing unit, and to receive the response message from the first processing unit to confirm the reporting SPIT user. The man-machine interactive unit is further configured to provide related alert messages for the user via the terminal man-machine interface when the reporting process finishes or is determined to be unsuccessful. 
         [0058]    The SIP signaling monitoring unit is configured to monitor and record the call requests received by the terminal communication module, and to send the calling user&#39;s identifier and the called user&#39;s identifier to the first main processing unit. 
         [0059]    When the terminal receives a call request, the SIP signaling monitoring unit obtains the calling user&#39;s identifier and the called user&#39;s identifier from the terminal communication module, and transmits the calling user&#39;s identifier and the called user&#39;s identifier to the first processing unit. When the first main processing unit finishes the process of reporting to the server, the SIP signaling monitoring unlit clears the current call register, and goes into idle status, monitoring the SIP signaling message. 
         [0060]    The first main processing unit is configured to receive and save the calling user&#39;s identifier and the called user&#39;s identifier which are sent from the SIP signaling monitoring unit. 
         [0061]    The SIP signaling monitoring unit is further configured to send the call time of the monitored call request to the first main processing unit. The first main processing unit receives and saves the call register of the call request from the SIP signaling monitoring unit. The call registers includes a call time, the calling user&#39;s identifier and the called user&#39;s identifier, e.g. the SIP address and the IP address. 
         [0062]    In an embodiment, the first main processing unit sorts the call registers of the call requests according to the call time. The terminal can set the maximum number of the call registers saved by the first main processing unit. When the number of the call registers exceeds the maximum, the first main processing unit will automatically delete the call register of the earliest call time. 
         [0063]    In an embodiment, the first main processing unit is further configured to receive a reporting instruction via the man-machine interactive unit, and to notify the man-machine interactive unit send the call registers to be displayed by the terminal man-machine interface. In an embodiment, the default mode of a terminal displays the most recent call register first, and the user may select the previous call register by scrolling the call registers. If the user wants to report a call request, the first main processing unit obtains the calling user&#39; identifier and the called user&#39;s identifier, sets the calling user&#39;s identifier and the called user&#39;s identifier into the SPIT reporting request, and sends the SPIT reporting request to the server interface unit. 
         [0064]    In an embodiment, the first main processing unit may set the call time of the call register into the SPIT reporting request, and sends the SPIT reporting request to the server interface unit. The SPIT reporting request may contain: the SIP address of the reported user, the IP address of the reported user, the SIP address of the reporting user, the IP address of the reporting user, and the call time. 
         [0065]    The server interface unit establishes the message interface between the terminal and the server. The communication protocol between the server and the terminal may be SIP or an other communication protocol. The server interactive unit is configured to transfer the received SPIT reporting request to the communication unit of the SPIT processing unit in the server, to receive a reporting response message from the communication unit, and to send the reporting response message to the first main processing unit. The first main processing unit sends the reporting response message to the terminal man-machine interface via the man-machine interactive unit, to display to the user. 
         [0066]    As shown in  FIG. 6 , the SPIT processing module includes: a communication unit, a second main processing unit, a reporting record unit and a temporary reporting record unit. The communication unit is configured to communicate with the server interactive unit of the SPIT reporting module in the terminal and with communication units of the neighboring servers. 
         [0067]    Specifically, the communication unit is configured to obtain reporting information from the received SPIT reporting request and transfer the reporting information to the second main processing unit. The communication unit is further configured to receive the response message from the second main processing unit, and transfer to the server interactive unit in the terminal. The reporting information includes: call time, the reporting user&#39;s identifier and the reported user&#39;s identifier. 
         [0068]    The communication protocol used in the communication unit is similar to that of the server interactive unit, e.g. SIP or other communication protocol. 
         [0069]    Further, the communication unit is sends the reporting records in the reporting record unit to the neighboring servers. The communication protocol which the SPIT processing unit in the neighboring servers supports may be the same protocols the communication unit and server interactive unit. 
         [0070]    In an embodiment, the function of the second processing unit includes: determining whether to forward the call request to the conventional SIP server; and receive and process the SPIT reporting request from the terminal via the communication unit. 
         [0071]    In an embodiment, the second processing unit is capable of obtaining the calling user&#39;s identifier and the called user&#39;s identifier, searching the reporting record unit and the temporary reporting record unit to determine whether the identifiers are listed, and processing the call request according to the search result. 
         [0072]    Processing the call request according to the searching result includes four conditions as follows. 
         [0073]    If the calling user&#39;s identifier is not listed in the reported users&#39; identifiers saved in the reporting record unit or temporary reporting record unit, the second main processing unit transfers the call request to the conventional SIP server. The conventional SIP server forwards the call request to the called user. 
         [0074]    If the calling user&#39;s identifier is listed in the reported users&#39; identifiers saved in the reporting record unit, the second main processing unit will not forward the call request, and will send a ‘refuse’ message to the calling user via the communication unit. 
         [0075]    If the identifier of the calling user is listed in the reported users&#39; identifiers saved in the temporary reporting record unit, the second main processing unit further searches the temporary reporting record unit to determine whether the called user&#39;s identifier is listed. If the called user&#39;s identifier is listed, the second main processing unit will not forward the call request, and sends a ‘refuse’ message to the calling user via the communication unit. If the called user&#39;s identifier is not listed, the second main processing unit will send a notifying message to the called user to notify the calling user that it has been reported by other users, and forward the call request to the conventional SIP server. 
         [0076]    The second main processing unit obtains the reporting information from the received SPIT reporting request from the communication and compares the reporting information with reporting information in the temporary reporting record, and processes the reporting request according to the comparison. 
         [0077]    If the reporting information received by the second main processing unit includes the reporting user&#39;s identifier and the reported user&#39;s identifier, the processing of the second main processing unit processes the reporting request according to the comparison may include any of three conditions as follows. 
         [0078]    1) If the second main processing unit confirms that the reported user&#39;s identifier exists in the temporary reporting record, increment the alarm value by one and save the reporting user&#39;s identifier to the temporary reporting record. The second main processing unit determines whether the alarm value exceeds a predetermined value or not, and retain the reported user&#39;s identifier in the temporary reporting record if it does not exceed the predetermined value. 
         [0079]    2) If the alarm value exceeds the predetermined value, the second main processing unit adds the reported user&#39;s identifier to the reporting record, deletes the reported user&#39;s identifier from the reporting record, and sends a message to other servers via the communication unit to notify the other servers to add the reported user to their reporting record. 
         [0080]    3) If the second main processing unit confirms that the reported user&#39;s identifier does not exist in the temporary reporting record, the second main processing unit adds the reported user&#39;s identifier and the reporting user&#39;s identifier to the temporary reporting record, and sets the alarm value of the reported user in the temporary reporting record to 1. 
         [0081]    If the reporting information received by the second main processing unit includes call time, the second main processing unit determines whether the reported user called the reporting user at the call time. If the reported user called the reporting user at the call time, the second main processing unit processes the reporting request according to the three conditions above. If the reported user did not call the reporting user at the call time, the second main processing unit deletes the reporting request. 
         [0082]    In an embodiment, the SPIT reporting module is implemented by existing hardware of a conventional terminal. In an alternative embodiment, hardware is added to a conventional terminal to implement this function. 
         [0083]    In an embodiment, the SPIT processing module is implemented by existing hardware of a conventional server. In an alternative embodiment, hardware is added to a conventional terminal to implement this function. 
         [0084]    Although the present invention has been described through several embodiments, a myriad of changes, variations, alterations, transformations, and modifications may be suggested to one skilled in the field, and it is intended that the present invention comprise such changes, variations, alterations, transformations, and modifications as fall within the scope of the appended claims.