Abstract:
A method for processing an incoming call, includes: an accessing call mark being preset in a called terminal; the called terminal, on receiving a call initiated by a calling party, determining whether the call contains the accessing call mark of the called terminal; if the call contains the accessing call mark of the called terminal, the called terminal putting through the call; otherwise, the called terminal terminating the call. The invention may solve the problems caused by various methods used in the prior art to avoid being disturbed by phone calls, such as missing important calls, extra service fee, partial protection against harassing telephone calls, and etc. The solution may ensure that the called user will not be disturbed by unimportant calls or harassing calls when the called user does not want to be disturbed, while ensuring that the called user will not miss any important call.

Description:
CROSS-REFERENCE TO RELATED APPLICATIONS  
       [0001]     This application is a continuation of International Application No. PCT/CN2005/000788 filed Jun. 5, 2005. This application claims the benefit of Chinese Patent Application No. 200410037182.6 filed on Jun. 7, 2004. The disclosures of the above applications are incorporated herein by reference. 
     
    
     FIELD  
       [0002]     The present disclosure relates to the call technique in the communication field, and particularly, relates to a method for processing an incoming call.  
       BACKGROUND  
       [0003]     The statements in this section merely provide background information related to the present disclosure and may not constitute prior art.  
         [0004]     Along with the popularization of terminal devices such as fixed telephones and mobile phones, people&#39;s work and life have become more convenient as they may communicate with each other through the terminal devices at any time. However, terminal devices also bring troubles to their users. For example, as no user wants to be disturbed by unimportant phone calls at night or during leisure time, a user may turn off the terminal device, which, however, makes it possible for the user to miss important calls. If the user keeps the terminal on at night or during leisure time, there are indeed unimportant calls coming in during such periods, some of which are even harassing calls.  
         [0005]     Terminal devices include fixed terminals and mobile terminals, and it is comparatively easy to turn off mobile terminals while the only way to turn off a fixed phone is to disconnect the telephone line, which is very inconvenient for the user. Moreover, turning off terminals, mobile or fixed, will bring other problems: the user will not get any phone calls when the terminal device is turned off, and others will not be able to contact the user even with very important business matters. And the user needs to turn on the terminal again when he needs to use the terminal. It is convenient to turn off or turn on mobile terminals, but it is common that a user forgets to turn on a fixed terminal. Thus the user will not get the phone calls from anyone through the terminal if it is not turned on again.  
         [0006]     A user may also utilize the secretary service currently offered by a mobile communication system, but the service is applied to mobile terminals only. The user of a mobile terminal may customize the settings of his secretary station; for instance, the user who does not want to be disturbed by phone calls may request the secretary station to record voice messages for the calling users and send the messages to the called user. Therefore when the secretary receives a phone call for the user, it will ask the calling user to leave a message and then inform the called user by a short message or other means. The called user calls the secretary station to get the voice message left for him by the calling user. The called user may decide whether to call back according to the contents of the voice message, and thus will not be disturbed by incoming calls.  
         [0007]     However, the secretary service is a paid service, i.e. the users of the service need to pay for it. The secretary station only converts incoming calls into short messages or other forms of notice to the called user, so the called user receives short messages or other messages instead of calls and is still somewhat disturbed. In this sense, the solution is not a perfect one. Besides, the short messages from the secretary station to the called user may be delayed or even lost, and the called user may not read the short messages in time. For example, as short messages are not real-time communication and users usually set gentle, weak or even mute short-message notifying sounds, it is common for a user to fail to handle a short message in time and accordingly fail to handle an urgent business in time.  
         [0008]     Another solution is to set an incoming call filter. For instance, blacklists and whitelists can be used to protect users from the disturbance of unimportant phone calls while guaranteeing that important calls will never be missed. For example, the whitelist solution comprises: setting a whitelist of calling numbers that are allowed to access the called terminal; when the called terminal enables the whitelist function, only the calling numbers in the whitelist may access the called terminal. The whitelist solution may solve the above-mentioned problem to a large extent, but the authorized calling numbers are limited in the solution. When a user A needs to call a user C in emergency, although the cellular phone number of the user A is in the whitelist, the user A, as his cellular phone is out of power, may have to call with a user B&#39;s cellular phone, the number of which is not in the whitelist. In that case, the user A is unable to call through a number in the whitelist so that the user A will not be able to contact user C. The blacklist solution comprises: setting a blacklist of calling numbers that are not allowed to access the called terminal, when the called terminal enables the blacklist function, the incoming calls from the numbers in the blacklist will be refused. The blacklist solution is unable to block incoming calls from the number outside the blacklist. For example, harassing calls from public telephones are not blocked by the blacklist solution. What&#39;s more, the maintenance of the blacklist and the whitelist is complicated.  
       SUMMARY  
       [0009]     A method for processing an incoming call, including:  
         [0010]     setting an accessing call mark set in a called terminal;  
         [0011]     the called terminal, on receiving a call initiated by a calling party, determining whether the call contains the accessing call mark of the called terminal; if the call contains the accessing call mark of the called terminal, putting through the call; otherwise, terminating the call.  
         [0012]     According to the present solution, an accessing call mark is set in the called terminal. When the calling user initiates a call to the called terminal with a calling number, the called terminal can decide whether to process the current call according to the normal procedure by determining whether the call carries the accessing call mark of the called terminal. Moreover, a whitelist and a blacklist are set in the called terminal, enabling the called terminal to confine the calling numbers contained in the calling number registration list via the whitelist and blacklist, so that the terminal can control incoming calls in a more flexible and convenient way.  
         [0013]     Further areas of applicability will become apparent from the description provided herein. It should be understood that the description and specific examples are intended for purposes of illustration only and are not intended to limit the scope of the present disclosure. 
     
    
     DRAWINGS  
       [0014]     The drawings described herein are for illustration purposes only and are not intended to limit the scope of the present disclosure in any way.  
         [0015]      FIG. 1  is an implementing flowchart of an embodiment of the present invention.  
         [0016]      FIG. 2  is an implementing flowchart of another embodiment of the present invention. 
     
    
     DETAILED DESCRIPTION  
       [0017]     The following description is merely exemplary in nature and is not intended to limit the present disclosure, application, or uses. It should be understood that throughout the drawings, corresponding reference numerals indicate like or corresponding parts and features.  
         [0018]     The key idea of the present invention mainly comprises: setting an accessing call mark in a called terminal; the called terminal, on receiving a call initiated by a calling party, determining whether the call contains the accessing call mark of the called terminal; if the call contains the accessing call mark of the called terminal, the called terminal processing the call according to the normal procedure; otherwise, the called terminal terminating the call. Processing the call following the normal procedure in accordance with this invention comprises putting through the call as in the prior art and notifying the user who uses the called terminal to receive the call, e.g. notifying the user with a ringing.  
         [0019]     Specifically speaking, there are two modes to set an accessing call mark; correspondingly, the called terminal has two modes of processing. One mode comprises: taking the calling number as the accessing call mark; the other mode comprises: setting an accessing code and taking the accessing code as the accessing call mark. In accordance with the first processing mode, a function of recognizing the registration request, an accessing code and a calling number registration list are set in the called terminal; the calling user can record its calling number in the calling registration list by sending to the called terminal a registration request with the accessing code, so that the calling number is regarded as the accessing call mark; when the calling number calls the called terminal with the calling number, the called terminal determines whether the calling number, i.e. the accessing call mark is saved in the calling number registration list so as to decide whether to process the current call according to the normal procedure. In accordance with the second processing mode, an accessing code is set in the called terminal and regarded as the accessing call mark; when the calling user calls the called terminal, the called terminal determines whether the call carries the accessing code so as to decide whether to process the call according to the normal procedure.  
         [0020]     The two modes are hereinafter illustrated in detail with reference to the accompanying drawings.  
         [0021]     According to the first mode, the process of setting an accessing call mark is as follows: set the function of recognizing a registration request; and set by a called user an accessing code and a calling number registration list in the called terminal; when the called terminal receives a call initiated by a calling party, if the call is a registration request, the called terminal acquires the calling number to be registered from the call, and records the acquired calling number in the calling number registration list; thereby, the calling number which is allowed to access the called user is saved in the called terminal, i.e. the accessing call mark is saved in the called terminal. By such settings, if the call is not a registration request, the called terminal processes the call according to the normal procedure if the called terminal confirms that the calling number registration list contains the corresponding calling number of the call, namely contains the corresponding accessing call mark.  
         [0022]     The detailed process of the first mode is as shown in  FIG. 1 , which can be, for example, implemented by the steps as follows.  
         [0023]     Step  101 : a function of recognizing a registration request for registering the calling number is preset in a called terminal.  
         [0024]     The registration request can be set as a short message, a multimedia short message, a User-to-User signal (UUS) or a voice call.  
         [0025]     The function of recognizing a registration request can be set as follows: if a call received by the called terminal is a short message or a multimedia short message, the call is recognized as a registration request; or if a call received by the called terminal carries a registration request mark, the call is recognized as a registration request.  
         [0026]     Step  102 : an accessing code and a calling number registration list are set in the called terminal.  
         [0027]     Usually, the accessing code is set by the called user. The called user, after setting the accessing code, can tell the accessing code to his relatives and friends, etc. so that they can contact the called user with the accessing code at any moment. The set calling number registration list is used for recording the calling number.  
         [0028]     Step  103 : a calling user initiates a call to the called terminal.  
         [0029]     Step  104 : the called terminal, when receiving the call, first determines whether the call is a registration request; if the call is a registration request, proceeds to Step  105 ; otherwise, proceeds to Step  108 .  
         [0030]     Since the function of recognizing a registration request has been set in Step  101  according to the embodiment of the invention, it can be determined according to the type of the received call whether the call is a registration request.  
         [0031]     Step  105 , the called terminal determines whether the registration request contains the accessing code set in the called terminal; if the registration request contains the accessing code, proceeds to Step  106 ; otherwise, proceeds to Step  107 .  
         [0032]     If the registration request is a short message, the accessing code and the calling number may be contained in the short message. Obviously, if the calling number to be registered is the calling number of the current call, the calling number may be transmitted to the called terminal via the calling number recognition, and here, the short message as the registration request needs only to contain the accessing code.  
         [0033]     Step  106 : the called terminal acquires the calling number from the call, and saves the calling number in the calling number registration list.  
         [0034]     Step  107 : the called terminal refuses to make the registration, and terminates the procedure.  
         [0035]     Step  108 : the called terminal determines whether the corresponding calling number of the call is contained in the calling number registration list of the called terminal; if the corresponding calling number of the call is contained in the calling number registration list, proceeds to Step  109 ; otherwise, proceeds to Step  110 .  
         [0036]     Step  109 : the called terminal processes the call according to the normal procedure.  
         [0037]     Step  110 : the called terminal terminating the call, and terminates the procedure.  
         [0038]     Because the call initiated by a calling user may be a short message, a multimedia short message, a UUS or a voice call, when the call is a short message, a multimedia short message or a UUS, the called terminal deletes the short message, the multimedia short message or the UUS to terminate the call; when the call is a voice call, the called terminal refuses to put through the voice call to terminate the call.  
         [0039]     In addition, in the case that the registration request is a short message, a special mark may be set in the short message, and the mark is called a registration request mark. Thus, the called terminal, on receiving a call, first determines whether the call is a short message; if the call is a short message, the called terminal further determines whether a registration request mark is carried in the short message; if the registration request mark is carried in the short message, the short message is determined as a registration request, otherwise the short message is not determined as a registration request. Obviously, in the case that the registration request is a short message, the called terminal may alternatively be set as follows: after the current call is determined as a short message, the call is regarded as a registration request. Thus, when making the decision in Step  105 , if the accessing code set by the called terminal is not carried in the registration request, the called terminal may process the call according to Step  108 -Step  110  after denying the registration.  
         [0040]     If the registration request is a voice call, the transmission of the registration message can be realized by converting the Dual Tone Multiple Frequency signal into a digital signal.  
         [0041]     No matter which mode of registration request is adopted, if the calling number to be registered is the calling number of the current call, the calling number to be registered can be transmitted to the called terminal the calling number recognition. In some cases, the calling number to be registered is not the calling number of the current call. For example, if a short message is used as a registration request, a fixed terminal can not send the short message, thus, the calling user may use a mobile terminal which is able to send a short message to register the number of the fixed terminal to the calling number registration list in the called terminal such that the call initiated by the fixed terminal can be put through to the called terminal.  
         [0042]     By the above steps, the embodiment of the present invention can be implemented.  
         [0043]     In accordance with the embodiment of the present invention, a whitelist for saving the information of the calling numbers which can initiate a call to the called terminal may be further set in the called terminal. A call initiated by a user using a number in the whitelist as the calling number can access the called terminal. By such settings, in Step  104 , the called terminal, before determining whether the call is a registration request, may first determine whether the corresponding calling number of the call has been contained in the whitelist. If the corresponding calling number of the call has been contained in the whitelist, the called terminal can directly put through the call; in other words, it is not necessary to save the calling number in the calling number registration list. As a result, even if the called terminal confirms that the call is a registration request, the called terminal may refuse to save the calling number in the calling number registration list, for example, the called terminal may directly terminate the call. Obviously, the called terminal, after confirming that the current call is a registration request and before determining whether the registration request contains the accessing code set by the called terminal, namely between Step  104  and Step  105 , can determine whether the whitelist contains the corresponding calling number of the current call. If the whitelist contains the corresponding calling number of the current call, the called terminal will deny the registration directly, and terminate the present procedure.  
         [0044]     Therefore, in the case that there is a whitelist, the calling number in the whitelist will not be contained in the calling number registration list. In Step  108 , however, after inquiring the calling number registration list, if the corresponding calling number is not in the registration list, the called terminal will terminate the call. As a result, after setting the whitelist, the called terminal needs not only to determine whether the corresponding calling number of the current call is contained in the calling number registration list, but also to determine whether the calling number is contained in the whitelist; as long as any one of the calling number registration list and the whitelist contains the calling number, the corresponding call of the calling number should be put through. Obviously, in practice, the whitelist and the calling number registration list can be combined as one single list to be used.  
         [0045]     In accordance with the embodiment of the present invention, a blacklist for saving the information of the calling numbers which can not initiate a call to the called terminal can be further set in the called terminal as well. When other users, using a number in the blacklist as the calling number, initiate a call to the called terminal, the called terminal will refuse to put through the call. By such settings, the called terminal, on receiving a call, can first determine whether the corresponding calling number of the call is contained in the blacklist; if the corresponding calling number of the call is contained in the blacklist, the subsequent processing steps need not be performed, and the procedure can be terminated directly. In other words, in Step  104 , the called terminal, before determining whether the call is a registration request, should first determine whether the corresponding calling number of the call is contained in the blacklist; if the corresponding calling number of the call is contained in the blacklist, the called terminal will directly terminate the current call; if the corresponding calling number of the call is not contained in the blacklist, the called terminal will perform subsequent steps such as determining whether the call is a registration request.  
         [0046]     In the case that a blacklist is set, there is another processing method as follows: the called terminal, before determining whether the registration request contains the preset accessing code, namely before Step  105 , first determine whether the corresponding calling number of the call is contained in the blacklist; if the corresponding calling number of the call is contained in the blacklist, the calling number will not be contained in the calling number registration list; otherwise, the called terminal performs the subsequent processing steps.  
         [0047]     In fact, a whitelist and a blacklist can be set in a called terminal simultaneously according to the embodiment of the present invention. Thus, if a certain calling number is contained in the whitelist, the called terminal can directly put through the corresponding call of the calling number; if a certain calling number is contained in the blacklist, the called terminal shall not save the calling number in the calling number registration list of the terminal itself.  
         [0048]     When the above steps are performed, corresponding decisions should be made according to the blacklist and the whitelist. For example, a decision may be made first based either on the blacklist or the whitelist. The case that a decision is made based on the blacklist first is hereinafter taken as an example to describe the process.  
         [0049]     In the case that a blacklist is set, after receiving a call, namely before Step  104 , the called terminal determines whether the corresponding calling number of the call is contained in the blacklist, if the corresponding calling number of the call is contained in the blacklist, the called terminal terminates the current procedure directly; if the corresponding calling number of the call is not contained in the blacklist, the called terminal further determines whether the corresponding calling number of the call is contained in the whitelist. When making a decision according to the whitelist, the called terminal determines whether the corresponding calling number of the call has been contained in the whitelist before determining whether the call is a registration request; if the corresponding calling number of the call has been contained in the whitelist, when the call is confirmed as a registration request, the called terminal refuse to save the calling number in the calling number registration list; if the corresponding calling number of the call has not been contained in the whitelist, the called terminal performs the subsequent steps according to the procedure as shown in  FIG. 1 . Obviously, when making a decision according to the whitelist, the called terminal, after confirming that the call is a registration request and before determining whether the registration request contains the set accessing code, namely between Step  104  and Step  105 , may determine whether the corresponding calling number of the call has been save in the whitelist; if the corresponding calling number of the call has been save in the whitelist, the called terminal will refuse the registration directly; if the corresponding calling number of the call has not been save in the whitelist, the subsequent steps will be performed according to the procedure as shown in  FIG. 1 .  
         [0050]     Obviously, the called terminal, after confirming that the current call is a registration request and before determining whether the registration request contains the set accessing code, namely between Step  104  and Step  105 , may further determine whether the corresponding calling number of the call has been contained in the whitelist or blacklist; if the corresponding calling number of the call has been contained in the whitelist or blacklist, the called terminal will terminate the current procedure directly; if the called terminal confirms that the accessing code is contained in neither the whitelist nor the blacklist, the called terminal will perform the subsequent steps.  
         [0051]     In the case that the whitelist and blacklist are set simultaneously, if the current call is not a registration request, in Step  110 , the called terminal, before terminating the current call, should determine whether the corresponding calling number of the call is contained in the whitelist; if the corresponding calling number of the call is contained in the whitelist, the called terminal will process the call according to the normal procedure; otherwise, the called terminal will terminate the current call.  
         [0052]     In accordance with the embodiment of the present invention, the calling number information may be contained in any one of the calling number registration list, the whitelist and the blacklist of the called terminal. For example, if the whitelist and/or the blacklist are set in the called terminal, after a certain calling number is set in the whitelist or the blacklist of the called terminal, the called terminal should determine whether the calling number registration list has contained the same calling number; if the calling number registration list has contained the calling number, the calling number will be deleted from the calling number registration list. If a calling number is set in the blacklist, the called terminal should check whether the same calling number is contained in the whitelist; if the calling number is contained in the whitelist, the calling number will be deleted from the whitelist. If a calling number is set in the whitelist, the called terminal should check whether the same calling number is contained in the blacklist; if the calling number is contained in the blacklist, the calling number will be deleted from the blacklist.  
         [0053]     The above description is that of the first mode, namely the case that the calling number is set as the accessing call mark. The second mode is hereinafter described in detail.  
         [0054]     The detailed process of the second mode is as shown in  FIG. 2 , which can be, for example, implemented by the steps as follows.  
         [0055]     Step  201 : an accessing code is preset in a called terminal.  
         [0056]     In practice, the accessing code is set by the called user. The called user, after setting the accessing code, may tell the accessing code to his relatives and friends, so that they can communicate with the called user with the accessing code at any time.  
         [0057]     Step  202 : a calling user initiates a call to the called terminal.  
         [0058]     The call initiated by the calling party could be a short message, a multimedia short message, a UUS or a voice call. If the call initiated by the calling is a short message, a multiple media short message or a UUS, the accessing code can be carried in the message, for example, taking *# as the beginning identifier of the accessing code and the follow-on information as the accessing code.  
         [0059]     Steps  203 - 205 : the called terminal, on receiving the call, determines whether the call contains the accessing code set by itself; if the call contains the accessing code, the called terminal will process the call according to the normal procedure; otherwise, the called terminal will terminate the call, and terminate the procedure.  
         [0060]     Since the call initiated by the calling may be a short message, a multimedia short message, a UUS or a voice call, when the called terminal terminates the current call, the terminating steps are same as the corresponding steps in the first mode. In other words, the called terminal deletes the short message, the multimedia short message or the UUS to terminate the call; or the called terminal refuses to put through the current voice call or terminates the current voice call to terminate the call.  
         [0061]     If the call is a short message, a multimedia short message or a UUS, the called terminal may determine whether the current call carries an accessing code according to the beginning identifier *#.  
         [0062]     If the call is a voice call, the called terminal, on receiving the call, can first connect or put through the call, and automatically play the prompting sound to prompt the calling party to input the accessing code; Obviously, it is necessary to preset the sound to be played in the called terminal; if the called does not receive the accessing code sent by the calling within a set time period, the called determines that the call does not contain the accessing code; otherwise, the called determines that the call contains the accessing code. Here, processing the call according to the normal procedure means that the called terminal notifies the called user of an incoming call, and for example, the called terminal notifies the called user with a ringing; and terminating the call means terminating the call or the session directly.  
         [0063]     If the accessing code is transmitted by means of other calling information, the called terminal can directly determine whether the call contains the accessing code according to the information carried in the call, and determine whether to put through the call or to refuse the call according to the determination. Accordingly, processing the call according the normal procedure means that the called terminal puts through the call and notifies the called user of an incoming call, and for example, the called terminal notifies the called user with a ringing; and terminating the call means directly refusing to put through the call.  
         [0064]     In practice, in the case that the call is a voice call, when the called terminal prompts the calling party to input the accessing code, the calling party can send the accessing code to the communication network by means of Dual Tone Multiple Frequency (DTMF) signals, Frequency Shift Keying (FSK) signals, signal or voice. Then the called terminal can receive the accessing code from the communication network in the above four modes. If the called terminal has a function of receiving a voice call sent by the calling party, the called terminal may receive the call information directly; otherwise, the communication network need to transform the voice call sent by the calling party into the format which can be recognized by the called terminal, and send the transformed call information to the called terminal.  
         [0065]     The transmission process will be described in detail hereinafter by taking the case that the calling sends the accessing code by DTMF signals as an example. Specifically speaking, the calling party can transmit the accessing code via the communication network by means of DTMF signals; the termination switch in the communication network, on receiving the DTMF signals, determines whether the called terminal has the function of converting a DTMF signal into a digital signal. If the called terminal has the function of converting a DTMF signal into a digital signal, the DTMF signal is forwarded to the called terminal directly, and the called terminal converts the DTMF signal into the digital signal of the accessing code. If the called terminal has no function of converting a DTMF signal into a digital signal, the termination switch converts the DTMF signal into the format which can be recognized by the called terminal; and after that, the converted information will be sent to the called terminal, and the called terminal will perform the digital signal conversion according to the format.  
         [0066]     In practice, the processing performed by the termination switch, which converts the DTMF signal into the format which can be recognized by the called terminal, can also be completed by the originator switch. For example, the accessing code, which is sent to the mobile terminal by the fixed terminal through DTMF signals, can be converted into digital signals directly by the originator switch; and after that, the communication network can transmit the accessing code to the called terminal by means of the digital signals.  
         [0067]     In the case of transmitting the accessing code in the voice mode, if the called terminal supports the function of voice recognition, the called terminal can prompt the calling party to send the accessing code by means of voice; the called terminal, after receiving the voice information, can acquire the accessing code sent by the calling party through voice recognition.  
         [0068]     The processing in the other modes is similar, and will no longer be described here.  
         [0069]     Obviously, the called terminal, after acquiring the accessing code, needs to further determine whether the accessing code is the accessing code of itself.  
         [0070]     Similar to the above first mode, a whitelist or a blacklist can be set in the called terminal, and the whitelist and the blacklist can be set in the called terminal simultaneously as well.  
         [0071]     In the case that a whitelist is set, the called terminal, on receiving a call initiated by a calling party, first determines whether the corresponding calling number of the call is contained in the whitelist; if the corresponding calling number of the call is contained in the whitelist, the called terminal directly process the call according to the normal procedure; otherwise, the determining process in Step  203  will be performed.  
         [0072]     In the case that a blacklist is set, the called terminal, on receiving a call initiated by a calling party, first determines whether the corresponding calling number of the call is contained in the blacklist; if the corresponding calling number of the call is contained in the blacklist, the called terminal will terminate the call directly; otherwise, the called terminal will perform the determining process in Step  203 .  
         [0073]     In the case that a whitelist and a blacklist is simultaneously set, the called terminal can still determine first whether the corresponding calling number of the call is contained in the whitelist; if the calling number is contained in the whitelist, the call will be processed according to the normal procedure; otherwise, the called terminal determines whether the calling number is contained in the blacklist; if the calling number is contained in the blacklist, the called terminal will terminate the call directly; if the calling number is contained in neither the blacklist nor the whitelist, the determining process in Step  203  will be performed.  
         [0074]     Obviously, the calling party and the called terminal mentioned in the above description may be a mobile terminal, a fixed terminal, a Personal Digital Assistant (PDA), a portable device, or other terminal with a communication function.  
         [0075]     The foregoing is only preferred embodiments of the invention and is not to be used to limit the protection scope thereof.