Abstract:
A method, a terminal, and a system for implementing call diversion. The method comprises: when a call access anomaly of a request terminal occurs, setting and sending call forwarding request information to a target terminal; the target terminal reading a call forwarding identification in the call forwarding request information, determining whether the call forwarding identification is correct, and if yes, reading an address of the target terminal in the call forwarding request information; the target terminal determining whether the address of the target terminal is correct, and if yes, reading a forwarding address identification in the call forwarding request information, setting a forwarding terminal address according to the forwarding address identification, and setting and sending call forwarding success response information to the request terminal; and the request terminal receiving the call forwarding success response information and setting up call forwarding.

Description:
TECHNICAL FIELD 
       [0001]    The disclosure relates to the field of communication technology, and in particular to a method, terminal, and system for implementing call diversion. 
       BACKGROUND 
       [0002]    A trunked communication system is a radio mobile communication system in which multiple users share multiple channels via dynamic channel assignment. The system generally consists of mobile terminals and a dispatcher station, and has functions of dispatch, group call, priority call, etc. In a conventional trunked communication system, the dispatcher station is mainly responsible for dispatch and smart distribution of mobile terminals. When the mobile terminal is not able to access an incoming call, for example, when the mobile terminal is busy or the battery runs out, the dispatcher station forwards the call to the mobile terminal as needed. 
         [0003]    After registering in the dispatcher station, the mobile terminal applies to the dispatcher station for call diversion; in response to an instruction from the dispatcher station for obtaining target address, the mobile terminal sends the target address to the dispatcher station; and the dispatcher station stores the received target address. A caller terminal requests to the dispatcher station calling the mobile terminal, and if the mobile terminal is not able to access the incoming call, for example, when the mobile terminal is busy or battery runs out, the dispatcher station sends the target address to the caller terminal, the caller terminal initiates a call to the target terminal, and the call diversion of mobile terminal is accomplished. 
         [0004]    When using the above method to implement call diversion, those skilled in the art find the following drawbacks. 
         [0005]    The mobile terminal sends the target address to the dispatcher station to establish call diversion setting, and when performing the call diversion, the dispatcher station sends the target address to the caller terminal to implement call diversion. The mobile terminal is passive in the process of call dispatch and distribution, and is controlled by the dispatcher station. In a conventional communications system without the dispatcher station, the mobile terminal can only implement basic call services and information transmission function, and cannot implement call diversion. 
       SUMMARY 
       [0006]    In view of this, a method, a terminal, and a system for implementing call diversion are provided according to the embodiments of the disclosure, and the function of call diversion among mobile terminals is implemented without using a dispatcher station. 
         [0007]    A method for implementing call diversion, includes: 
         [0008]    setting, by a requesting terminal, a message requesting for call diversion and sending the message to a target terminal, in a case that the requesting terminal encounters abnormal call access; 
         [0009]    reading, by the target terminal, an identifier of call diversion in the message requesting for call diversion, determining whether the identifier of call diversion is valid, and in case of positive determination, reading the address of the target terminal in the message requesting for call diversion; 
         [0010]    determining, by the target terminal, whether the address of the target terminal is valid, and in case of positive determination, reading an identifier of diversion address in the message requesting of call diversion, setting an address of a diverting terminal based on the identifier of diversion address, setting a acknowledgement message of successful call diversion and sending the acknowledgement message to the requesting terminal; and 
         [0011]    receiving, by the requesting terminal, the acknowledgement message of successful call diversion, and establishing the call diversion. 
         [0012]    Preferably, if the identifier of diversion address is an identifier of a source terminal, the setting the address of the diverting terminal based on the identifier of diverting address includes: 
         [0013]    reading, by the target terminal, an address of the requesting terminal in the message requesting for call diversion; and 
         [0014]    setting the address of the requesting terminal as the address of the diverting terminal. 
         [0015]    Preferably, if the identifier of diversion address is an identifier of a side terminal, the setting the address of the diverting terminal based on the identifier of diversion address includes: 
         [0016]    reading, by the target terminal, an address of at least one diverted terminal in the message requesting for call diversion; and 
         [0017]    setting the address of at least one diverted terminal as the address of the diverting terminal. 
         [0018]    Preferably, if the address of the target terminal is valid, the method further includes: 
         [0019]    reading, by the target terminal, authorization information in the message requesting for call diversion, determining whether the authorization information is valid, and in case of positive determination, setting the address of the diverting terminal based on the identifier of diversion address, setting a acknowledgement message of successful call diversion and sending the acknowledgement message to the requesting terminal. 
         [0020]    Preferably, after setting the message requesting for call diversion and sending the message to the target terminal, the method further includes: 
         [0021]    timing, by the requesting terminal; and in a case that no acknowledgement message of successful call diversion is received after the timing exceeds a preset threshold, sending a trigger signal to trigger the resending of the message requesting for call diversion. 
         [0022]    A method for implementing cancellation of call diversion, includes: 
         [0023]    setting, by a requesting terminal, a message for canceling call diversion and sending the message to a target terminal, when the requesting terminal recovers to normal call access; 
         [0024]    reading, by the target terminal, an identifier of diversion cancellation in the message for canceling call diversion, determining whether the identifier of diversion cancellation is valid, and in case of positive determination, reading the address of the target terminal in the message for canceling call diversion; 
         [0025]    determining, by the target terminal, whether the address of the target terminal is valid, in case of positive determination, reading the identifier of cancellation address in the message for canceling call diversion, removing the address of the diverting terminal based on the identifier of cancellation address, setting a message of successful cancellation of call diversion and sending the message to the requesting terminal; and 
         [0026]    canceling, by the requesting terminal, the call diversion based on the message of successful cancellation of call diversion. 
         [0027]    A requesting terminal for implementing call diversion, includes: 
         [0028]    a module for setting requesting message, configured to set a message requesting for call diversion in case of abnormal call access; 
         [0029]    a module for sending requesting message, configured to send the message requesting for call diversion to the target terminal, to allow the target terminal to read an identifier of call diversion in the message requesting for call diversion, determine whether the identifier of call diversion is valid, in case of positive determination, read an address of the target terminal in the message requesting for call diversion, determine whether the address of the target terminal is valid, in case of positive determination, read an identifier of diversion address in the message requesting of call diversion, set an address of a diverting terminal based on the identifier of diversion address, set a acknowledgement message of successful call diversion and send the acknowledgement message; and 
         [0030]    a module for receiving acknowledgement message, configured to receive a acknowledgement message of successful call diversion and establish the call diversion. 
         [0031]    Preferably, the terminal further includes: 
         [0032]    a timing module, configured for timing after setting the message requesting for call diversion and sending the message to the target terminal; where after the timing exceeds the preset threshold, to send a trigger signal to the module for sending requesting message, wherein the trigger signal triggers the module for sending requesting message to resend the message requesting for call diversion. 
         [0033]    A target terminal for implementing call diversion, includes: 
         [0034]    a module for receiving requesting message, configured to receive a message requesting for call diversion, wherein the message requesting for call diversion is set and sent by a requesting terminal in a case that the requesting terminal encounters abnormal call access; 
         [0035]    a module for determining identifier of call diversion, configured to determine whether an identifier of call diversion is valid, wherein in case of positive determination, the address of the target terminal in the message requesting for call diversion is read; 
         [0036]    a module for determining address of target terminal, configured to determine whether the address of the target terminal is valid, wherein in case of positive determination, the identifier of diversion address in the message requesting for call diversion is read; 
         [0037]    a module for setting an address of a diverting terminal, configured to set the address of the diverting terminal based on the identifier of diversion address; 
         [0038]    a module for setting acknowledgement message of diversion, configured to set a acknowledgement message of successful call diversion in a case that the address of the target terminal is valid; and 
         [0039]    a module for sending acknowledgement message of diversion, configured to send a acknowledgement message of successful diversion to the requesting terminal, to allow the requesting terminal to receive the acknowledgement message of successful call diversion and establish the call diversion. 
         [0040]    Preferably, if the identifier of diversion address is an identifier of a source terminal, the module for setting the address of the diverting terminal includes: 
         [0041]    a first module for address reading, configured to read the address of requesting terminal in the message requesting for call diversion; and 
         [0042]    a first module for address setting, configured to set the address of requesting terminal as the address of the diverting terminal. 
         [0043]    Preferably, if the identifier of diversion address is an identifier of a side terminal, the module for setting address of the diverting terminal includes: 
         [0044]    a second module for address reading, configured to read the address of at least one diverted terminal in the message requesting for call diversion; and 
         [0045]    a second module for address setting, configured to set the address of at least one diverted terminal as the address of the diverting terminal. 
         [0046]    Preferably, the terminal further includes: 
         [0047]    a module for determining authorization information, configured to read authorization information in the message requesting for call diversion in a case that the address of target is valid, determine whether the authorization information is valid, and in case of positive determination, set the address of the diverting terminal based on the identifier of diversion address; and 
         [0048]    a module for setting acknowledgement message of diversion, configured to set the acknowledgement message of successful call diversion in a case that the authorization information is valid. 
         [0049]    A requesting terminal for implementing cancellation of call diversion, includes: 
         [0050]    a module for setting cancellation message, configured to set a message for canceling call diversion when recovering to normal call access; 
         [0051]    a module for sending cancellation message, configured to send the message for canceling call diversion to the target terminal, to allow the target terminal to read an identifier of diversion cancellation in the message for canceling call diversion, determine whether the identifier of diversion cancellation is valid, and in case of positive determination, read an address of a target terminal in the message for canceling call diversion, determine whether the address of the target terminal is valid, and in case of positive determination, read an identifier of address cancellation in the message for canceling call diversion, remove an address of a diverting terminal based on the identifier of address cancellation, and set and send a message of successful cancellation of call diversion; and 
         [0052]    a module for receiving message of successful cancellation, configured to cancel the call diversion based on the message of successful cancellation of call diversion. 
         [0053]    A target terminal for implementing cancellation of call diversion, includes: 
         [0054]    a module for receiving cancellation message, configured to receive a message for canceling call diversion, wherein the message for canceling call diversion is set and sent by the requesting terminal when the requesting terminal recovers to normal call access; 
         [0055]    a module for determining identifier of diversion cancellation, configured to determine whether the identifier of diversion cancellation is valid, and in case of positive determination, address of the target terminal in the message for canceling call diversion is read; 
         [0056]    a module for determining address, configured to determine whether the address of the target terminal is valid, and in case of positive determination, an identifier of cancellation address in the message for canceling call diversion is read; 
         [0057]    a module for removing, configured to remove the address of the diverting terminal based on the identifier of cancellation address; 
         [0058]    a module for setting a message of successful cancellation, configured to set a message of successful cancellation of call diversion in a case that the address of the target terminal is valid; and 
         [0059]    a module for sending message of successful cancellation, configured to send the message of successful cancellation of call diversion to the requesting terminal, to allow the requesting terminal to receive the message of successful cancellation of call diversion and cancel the call diversion. 
         [0060]    A system for implementing call diversion, includes: 
         [0061]    a requesting terminal in the disclosure, and a target terminal in the disclosure. 
         [0062]    It may be learned from the above that, beneficial effects of the disclosure are as follows: 
         [0063]    in the method for call diversion provided in the disclosure, the message requesting for call diversion is set and sent to the target terminal in a case that the requesting terminal encounters abnormal call access, the target terminal reads the identifier of call diversion in the message requesting for call diversion, determines whether the identifier of call diversion is valid, in case of positive determination, the address of the target terminal in the message requesting for call diversion is read, the target terminal determines whether the address of the target terminal is valid, in case of positive determination, the identifier of diversion address in the message requesting of call diversion is read, the address of the diverting terminal is set based on the identifier of diversion address, the acknowledgement message of successful call diversion is set and sent to the requesting terminal, and the requesting terminal receives the acknowledgement message of successful call diversion and establishes the call diversion; the requesting terminal sends the message requesting for call diversion to the target terminal directly, after verifying the validity of the message requesting for call diversion, the target terminal sets the address of the diverting terminal and the acknowledgement message of successful call diversion, sends the acknowledgement message of successful call diversion to the requesting terminal, and establishes the call diversion, where no dispatcher station is needed, and call diversion among terminals is realized. 
     
    
     
       BRIEF DESCRIPTION 
         [0064]    The drawings, as part of the disclosure, are used to provide further understanding of the disclosure, and illustrate the disclosure in conjunction with the embodiments of the disclosure without limitation to the disclosure. 
           [0065]      FIG. 1  is a flow chart of a method for call diversion according to a first embodiment of the disclosure; 
           [0066]      FIG. 2  is a diagram of frame structure of control signaling block defined in digital mobile radio standard in conventional technology; 
           [0067]      FIG. 3  is a structure diagram of the protocol data frame requesting for call diversion; 
           [0068]      FIG. 4  is a structure diagram of a protocol data unit of a middle block in a protocol data frame for carrying a message of call diversion; 
           [0069]      FIG. 5  is a structure diagram of a protocol data unit of a last block in a protocol data frame for carrying a message of call diversion; 
           [0070]      FIG. 6  is a structure diagram of a protocol data frame for call diversion acknowledgement; 
           [0071]      FIG. 7  is a flow chart of a method for implementing call diversion according to a second embodiment of the disclosure; 
           [0072]      FIG. 8  is a structure diagram of a requesting terminal for implementing call diversion according to a fourth embodiment of the disclosure; 
           [0073]      FIG. 9  is a structure diagram of a target terminal for implementing call diversion according to a fifth embodiment of the disclosure; 
           [0074]      FIG. 10  is a structure diagram of a requesting terminal for implementing cancellation of call diversion according to a sixth embodiment of the disclosure; 
           [0075]      FIG. 11  is a structure diagram of a target terminal for complementing cancellation of call diversion according to a seventh embodiment of the disclosure; 
           [0076]      FIG. 12  is a structure diagram of a protocol data frame requesting for call diversion according to Example 1 of the disclosure; 
           [0077]      FIG. 13  is a structure diagram of a protocol data frame of acknowledgement for call diversion according to Example 1 of the disclosure; 
           [0078]      FIG. 14  is a structure diagram of a protocol data frame requesting for call diversion according to Example 2 of the disclosure; 
           [0079]      FIG. 15  is a structure diagram of a protocol data frame for carrying the call diversion according to Example 2 of the disclosure; and 
           [0080]      FIG. 16  is a structure diagram of a protocol data frame of acknowledgement for call diversion according to Example 2 of the disclosure. 
       
    
    
     DETAILED DESCRIPTION 
       [0081]    A method, a terminal, and a system for implementing call diversion are provided according to the embodiments of the disclosure, with which call diversion may be implemented among mobile terminals without using a dispatcher station. 
         [0082]    The method provided in the disclosure includes: setting, by a requesting terminal, a message requesting for call diversion and sending the message to a target terminal, in a case that the requesting terminal encounters abnormal call access; reading, by the target terminal, an identifier of call diversion in the message requesting for call diversion, determining whether the identifier of call diversion is valid, and in case of positive determination, reading an address of the target terminal in the message requesting for call diversion; determining, by the target terminal, whether the address of the target terminal is valid, and in case of positive determination, reading the identifier of diversion address in the message requesting for call diversion, setting the address of the diverting terminal based on the identifier of diversion address, setting a acknowledgement message of successful call diversion and sending the acknowledgement message to the requesting terminal; and receiving, by the requesting terminal, the acknowledgement message of successful call diversion, and establishing the call diversion. 
         [0083]    The requesting terminal provided in the disclosure includes: a module for setting requesting message, configured to set the message requesting for call diversion in case of abnormal call access; a module for sending requesting message, configured to send the message requesting for call diversion to the target terminal, to allow the target terminal to read an identifier of call diversion in the message requesting for call diversion, determine whether the identifier of call diversion is valid, in case of positive determination, read an address of the target terminal in the message requesting for call diversion, determine whether the address of the target terminal is valid, in case of positive determination, read an identifier of diversion address in the message requesting of call diversion, set an address of a diverting terminal based on the identifier of diversion address, set a acknowledgement message of successful call diversion and send the acknowledgement message; a module for receiving acknowledgement message, configured to receive the acknowledgement message of successful call diversion and establish the call diversion. 
         [0084]    The target terminal provided in the disclosure includes: a module for receiving requesting message, configured to receive the message requesting for call diversion, where the message requesting for call diversion is set and sent by the requesting terminal in a case that the requesting terminal encounters abnormal call access; a module for determining identifier of call diversion, configured to determine whether the identifier of call diversion is valid, where in case of positive determination, the address of the target terminal in the message requesting for call diversion is read; a module for determining address of target terminal, configured to determine whether the address of the target terminal is valid, where in case of positive determination, the identifier of diversion address in the message requesting for call diversion is read; a module for setting an address of a diverting terminal, configured to set the address of the diverting terminal based on the identifier of diversion address; a module for setting acknowledgement message of diversion, configured to set the acknowledgement message of successful call diversion in a case that the address of the target terminal is valid; a module for sending acknowledgement message of diversion, configured to send the acknowledgement message of successful diversion to the requesting terminal, to allow the requesting terminal to receive the acknowledgement message of successful call diversion and establish the call diversion. 
         [0085]    The requesting terminal provided in the disclosure includes: a module for setting cancellation message, configured to set a message for canceling call diversion when recovering to normal call access; a module for sending cancellation message, configured to send the message for canceling call diversion to the target terminal, to allow the target terminal to read an identifier of diversion cancellation in the message for canceling call diversion, determine whether the identifier of diversion cancellation is valid, and in case of positive determination, read an address of a target terminal in the message for canceling call diversion, determine whether the address of the target terminal is valid, and in case of positive determination, read an identifier of address cancellation in the message for canceling call diversion, remove an address of a diverting terminal based on the identifier of address cancellation, and set and send a message of successful cancellation of call diversion; a module for receiving message of successful cancellation, configured to cancel the call diversion based on the message of successful cancellation of call diversion. 
         [0086]    The target terminal provided in the disclosure includes: a module for receiving cancellation message, configured to receive a message for canceling call diversion, where the message for canceling call diversion is set and sent by the requesting terminal when the requesting terminal recovers to normal call access; a module for determining identifier of diversion cancellation, configured to determine whether the identifier of diversion cancellation is valid, where in case of positive determination, address of the target terminal in the message for canceling call diversion is read; a module for determining address, configured to determine whether the address of the target terminal is valid, where in case of positive determination, an identifier of cancellation address in the message for canceling call diversion is read; a module for removing, configured to remove the address of the diverting terminal based on the identifier of cancellation address; a module for setting a message of successful cancellation, configured to set the message of successful cancellation of call diversion in a case that the address of the target terminal is valid; and a module for sending message of successful cancellation, configured to send the message of successful cancellation of call diversion to the requesting terminal, to allow the requesting terminal to receive the message of successful cancellation of call diversion and cancel the call diversion. 
         [0087]    The system provided in the disclosure includes: a requesting terminal provided in the disclosure and a target terminal provided in the disclosure. 
         [0088]    Hereinafter the embodiments are illustrated in detail in conjunction with the drawings. 
       The First Embodiment 
       [0089]      FIG. 1  is a flowchart of a method for implementing call diversion according to a first embodiment of the disclosure. The method includes steps  101 - 104 . 
         [0090]    In step  101 , a message requesting for call diversion is set and sent to a target terminal, in a case that a requesting terminal encounters abnormal call access. 
         [0091]    The case that the requesting terminal encounters abnormal call access includes various situations. If situations such as no service, a battery alarm, and a busy call are encountered, the requesting terminal may automatically trigger the establishment of a request for call diversion; alternatively, a user may set to establish the request for call diversion in business trip. 
         [0092]    When encountering abnormal call access, the requesting terminal sets a message of call diversion, which includes setting a protocol data frame requesting for call diversion, and defining respective information units in the protocol data frame requesting for call diversion. 
         [0093]    A frame structure of Control Signaling Block (CSBK) is defined in Digital Mobile Radio (DMR) standard, as shown in  FIG. 2 . The 64-bit data from byte  2  to byte  9  may be user-defined. 
         [0094]      FIG. 3  is a structure diagram of the protocol data frame requesting for call diversion, and the definitions of respective information units are as follows. 
         [0095]    Table 1 shows a definition of an information unit Last_Block (LB), which is represented using a 1-bit binary code with length of 1-bit. When the value of LB is 0, it indicates a beginning or middle block among multiple control blocks; when the value of LB is 1, it indicates a single control signaling block or the last block among multiple control signaling blocks. 
         [0000]    
       
         
               
             
               
               
               
               
             
           
               
                 TABLE 1 
               
             
             
               
                   
               
               
                 Definition of information unit Last_Block (LB) 
               
             
          
           
               
                 Information 
                   
                   
                   
               
               
                 unit 
                 Length 
                 Value 
                 Label 
               
               
                   
               
               
                 Last_Block 
                 1 
                 0 
                 The beginning or middle block 
               
               
                   
                   
                   
                 among multiple control blocks 
               
               
                   
                   
                 1 
                 A single control signaling block or 
               
               
                   
                   
                   
                 the last block among multiple control 
               
               
                   
                   
                   
                 signaling blocks 
               
               
                   
               
             
          
         
       
     
         [0096]    Table 2 shows the definition of information unit Protect Flag (PF), which is represented using a 1-bit binary code with length of 1-bit. When the value of PF is 0, it indicates a reserved information unit. 
         [0000]    
       
         
               
             
               
               
               
               
               
             
           
               
                 TABLE 2 
               
             
             
               
                   
               
               
                 Definition of information unit Protect Flag (PF) 
               
             
          
           
               
                   
                 Information unit 
                 Length 
                 Value 
                 Label 
               
               
                   
                   
               
               
                   
                 Protect Flag 
                 1 
                 0 
                 Reserved for future use 
               
               
                   
                   
               
             
          
         
       
     
         [0097]    Table 3 shows the definition of information unit Control Signaling Block Opcode (CSBK Opcode), which is represented using a 6-bit binary code with length of 6-bit. When the value of CSBK Opcode is 110110, it indicates a control signaling operation code of the request for call diversion; when the value of CSBK Opcode is 110111, it indicates a control signaling operation code of the acknowledgement for call diversion. The control signaling operation code may be set at another value based on an actual situation, and it is not limited here. 
         [0000]    
       
         
               
             
               
               
               
               
             
           
               
                 TABLE 3 
               
             
             
               
                   
               
               
                 Definition of information unit Control 
               
               
                 Signaling Block Opcode (CSBK Opcode) 
               
             
          
           
               
                 Information unit 
                 Length 
                 Value 
                 Label 
               
               
                   
               
               
                 Control Signaling 
                 6 
                 110110 
                 The control signaling operation 
               
               
                 Block Opcode 
                   
                   
                 code of the request for 
               
               
                 (CSBK Opcode) 
                   
                   
                 call diversion 
               
               
                   
                   
                 110111 
                 The control signaling operation 
               
               
                   
                   
                   
                 code of the acknowledgement 
               
               
                   
                   
                   
                 for call diversion 
               
               
                   
               
             
          
         
       
     
         [0098]    Table 4 shows the definition of information unit Manufacturer&#39;s Feature set ID (MFID), which is represented using an 8-bit binary code with length of 8-bit. When the value of MFID is 00000000, it indicates an identifier code of DMR standard service. 
         [0000]    
       
         
               
             
               
               
               
               
             
           
               
                 TABLE 4 
               
             
             
               
                   
               
               
                 Definition of Manufacturer&#39;s Feature set ID 
               
               
                 (MFID) information unit 
               
             
          
           
               
                 Information unit 
                 Length 
                 Value 
                 Label 
               
               
                   
               
               
                 Manufacturer&#39;s 
                 8 
                 00000000 
                 The identifier code of 
               
               
                 Feature set ID 
                   
                   
                 DMR standard service 
               
               
                   
                   
                 00000001 
                 Reserved for standard 
               
               
                   
                   
                   
                 future application 
               
               
                   
                   
                 00000010 
                 Reserved for standard 
               
               
                   
                   
                   
                 future application 
               
               
                   
                   
                 00000011 
                 Reserved for standard 
               
               
                   
                   
                   
                 future application 
               
               
                   
                   
                 00000100 
                 Manufacturer&#39;s 
               
               
                   
                   
                   
                 Feature set ID 
               
               
                   
                   
                 . . . 
                 And so on 
               
               
                   
                   
                 01111111 
                 Manufacturer&#39;s 
               
               
                   
                   
                   
                 Feature set ID 
               
               
                   
                   
                 lxxxxxxx 
                 Reserved for future 
               
               
                   
                   
                   
                 Manufacturer&#39;s Feature 
               
               
                   
                   
                   
                 set ID 
               
               
                   
               
             
          
         
       
     
         [0099]    Table 5 shows the definition of information unit Group or Individual (G/I), which is represented using a 1-bit binary code with length of 1-bit. When the value of G/I is 0, it indicates that the target address of calling is a single mobile station; when the value of G/I is 1, it indicates that the target address of calling is a group of mobile stations. 
         [0000]    
       
         
               
             
               
               
               
               
             
           
               
                 TABLE 5 
               
             
             
               
                   
               
               
                 Definition of Group or Individual (G/I) information unit 
               
             
          
           
               
                 Information unit 
                 Length 
                 Value 
                 Label 
               
               
                   
               
               
                 Group or 
                 1 
                 0 
                 The target address of calling is 
               
               
                 Individual 
                   
                   
                 a single mobile station 
               
               
                   
                   
                 1 
                 The target address of calling is 
               
               
                   
                   
                   
                 a group of mobile stations 
               
               
                   
               
             
          
         
       
     
         [0100]    Table 6 shows the definition of information unit Operation Code (OC) of call diversion, which is represented using a 2-bit binary code with length of 2-bit. When the value of OC is 00, it indicates the establishment operation of call diversion; when the value of OC is 01, it indicates a cancellation operation of call diversion. 
         [0000]    
       
         
               
             
               
               
               
               
             
           
               
                 TABLE 6 
               
             
             
               
                   
               
               
                 Definition of information unit Operation Code 
               
               
                 (OC) of call diversion 
               
             
          
           
               
                 Information unit 
                 Length 
                 Value 
                 Label 
               
               
                   
               
               
                 Operation 
                 2 
                 00 
                 The establishment operation of call 
               
               
                 Code of call 
                   
                   
                 diversion 
               
               
                 diversion 
                   
                 01 
                 The cancellation operation of call 
               
               
                   
                   
                   
                 diversion 
               
               
                   
                   
                 10 
                 Reserved for future application 
               
               
                   
                   
                 11 
                 Reserved for future application 
               
               
                   
               
             
          
         
       
     
         [0101]    Table 7 shows the definition of information unit Number of Address (NOA), which is represented using a 4-bit binary code with length of 4-bit. When the value of NOA is 0, it indicates that the address of source terminal is the address of call diversion; when the value of NOA is any one of 1˜15, it indicates the number of third-party terminals which the call diversion is performed for, and the address of the third-party terminal is the address of diverted terminal. 
         [0000]    
       
         
               
             
               
               
               
               
             
           
               
                 TABLE 7 
               
             
             
               
                   
               
               
                 Definition of information unit Number of Address (NOA) 
               
             
          
           
               
                 Information 
                   
                   
                   
               
               
                 unit 
                 Length 
                 Value 
                 Label 
               
               
                   
               
               
                 Number of 
                 4 
                 0 
                 The address of source terminal is 
               
               
                 Address 
                   
                   
                 the address of call diversion 
               
               
                   
                   
                 1~15 
                 The number of third-party terminals 
               
               
                   
                   
                   
                 which the call diversion is performed for 
               
               
                   
               
             
          
         
       
     
         [0102]    Table 8 shows the definition of information unit Address, which is represented using a 24-bit binary code with length of 24-bit. When the value of Address is a number between 1˜16776415, the address of requesting terminal indicates the address of initiator of call diversion; the address of target terminal indicates the address of target of call diversion, the address of diverted terminal indicates the address of call diversion of multiple users of the third-party. 
         [0000]    
       
         
               
             
               
               
               
               
             
           
               
                 TABLE 8 
               
             
             
               
                   
               
               
                 Definition of information unit Address 
               
             
          
           
               
                 Information unit 
                 Length 
                 Value 
                 Label 
               
               
                   
               
               
                 Address of requesting 
                 24 
                 1~16776415 
                 Address of initiator 
               
               
                 terminal 
                   
                   
                 of call diversion 
               
               
                 Address of target 
                 24 
                 1~16776415 
                 Address of target 
               
               
                 terminal 
                   
                   
                 of call diversion 
               
               
                 Address of diverted 
                 24 
                 1~16776415 
                 address of call 
               
               
                 terminal 
                   
                   
                 diversion of multiple 
               
               
                   
                   
                   
                 terminals of the 
               
               
                   
                   
                   
                 third-party 
               
               
                   
               
             
          
         
       
     
         [0103]    When performing call diversion for at least one mobile terminal of the third-party, it requires to define a protocol data frame for carrying the message of call diversion, which includes: a protocol data unit of a middle block (as shown in  FIG. 4 ) and a protocol data unit of a last block (as shown in  FIG. 5 ). 
         [0104]    Preferably, at most 6 mobile terminals may be call-forwarded to a same target terminal. In the protocol data frame for carrying the message of call diversion, the protocol data unit of the middle block carries information of the 8 Most-Significant-Bits of the address of the fourth diverted terminal; the protocol data unit of the last block carries information of the 16 Least-Significant-Bits of the address of the fourth diverted terminal. 
         [0105]    The set message requesting for call diversion is sent to the target terminal through a conventional Time Division Multiple Access channel. 
         [0106]    In step  102 , the target terminal reads an identifier of call diversion in the message requesting for call diversion, and determines whether the identifier of call diversion is valid. In case of positive determination, the address of the target terminal in the message requesting for call diversion is read. 
         [0107]    The identifier of call diversion read by the target terminal, is the Control Signaling operation code in the protocol frame requesting for call diversion, i.e., the value of Control Signaling Block Opcode CSBK Opcode should be 110110, based on the definition of information unit Control Signaling Block Opcode in above Table 3. 
         [0108]    The address of target terminal, refers to the address of the target of call diversion, which is a number between 1˜16776415, based on the definition of information unit Address in above Table 8. 
         [0109]    In step  103 , the target terminal determines whether the address of the target terminal is valid, and in case of positive determination, the identifier of diversion address in the message requesting for call diversion is read, the address of the target terminal is set based on the identifier of diversion address, and a acknowledgement message of successful call diversion is set and sent to the requesting terminal. 
         [0110]    The identifier of diversion address read by the target terminal, refers to Number of Address in the protocol frame requesting for call diversion, i.e., based on the definition of information unit Number of Address, when the read value of Number of Address is 0, it indicates that the address of requesting terminal is the address of the diverting terminal, and the address of requesting terminal is read and set as the address of the diverting terminal; when the read value of Number of Address is any one of 1˜15, it indicates the number of third-party terminals which the call diversion is performed for, and the address of at least one diverted terminal is read and set as the address of diverting terminal. For example, the number of address is 3, then addresses of 3 diverted terminals are read and set as the addresses of diverting terminals, and call diversion is established for the 3 terminals. 
         [0111]    In a case that the identifier of call diversion and address of target terminal are both valid, the acknowledgement message of successful call diversion is set, i.e., respective information units in the protocol data frame of acknowledgement for call diversion are defined in detail.  FIG. 6  shows a structure diagram of the protocol data frame of acknowledgement for call diversion. 
         [0112]    The definition of information unit LB is shown in Table 1; the definition of information unit PF is shown in Table 2; the definition of information unit CSBK Opcode is shown in Table 3, i.e., the value of CSBK Opcode should be set at 110111; the definition of information unit MFID is shown in Table 4. These will not be described again here. 
         [0113]    Table 9 shows the definition of information unit Response Code (RC), which is represented using an 8-bit binary code with length of 8-bit. When the value of RC is 0, it indicates that the target terminal permits receiving the request for call diversion, i.e., it is a acknowledgement message of successful call diversion; when the value of RC is 1, it indicates that the target terminal refuses to receive the request for call diversion, i.e., it is a acknowledgement message of unsuccessful call diversion. 
         [0000]    
       
         
               
             
               
               
               
               
             
           
               
                 TABLE 9 
               
             
             
               
                   
               
               
                 Definition of information unit Response Code (RC) 
               
             
          
           
               
                 Information 
                   
                   
                   
               
               
                 unit 
                 Length 
                 Value 
                 Label 
               
               
                   
               
               
                 Response 
                 8 
                 00000000 
                 The target terminal permits receiving 
               
               
                 Code 
                   
                   
                 the request for call diversion 
               
               
                   
                   
                 00000001 
                 The target terminal refuses to receive 
               
               
                   
                   
                   
                 the request for call diversion 
               
               
                   
               
             
          
         
       
     
         [0114]    In step  104 , the requesting terminal receives the acknowledgement message of successful call diversion and establishes the call diversion. 
         [0115]    When the requesting terminal receives the acknowledgement message of successful call diversion sent by the target terminal, the requesting terminal shows that the call diversion succeeds. 
         [0116]    It may be learned from the above that, beneficial effects of the disclosure are as follows: 
         [0117]    In the method for call diversion provided in the disclosure, the message requesting for call diversion is set and sent to the target terminal, in a case that the requesting terminal encounters abnormal call access; the target terminal reads the identifier of call diversion in the message requesting for call diversion, determines whether the identifier of call diversion is valid, in case of positive determination, the address of the target terminal in the message requesting for call diversion is read, and the target terminal determines whether the address of the target terminal is valid, in case of positive determination, the identifier of diversion address in the message requesting for call diversion is read, the address of the diverting terminal is set based on the identifier of diversion address, the acknowledgement message of successful call diversion is set and sent to the requesting terminal, the requesting terminal receives the acknowledgement message of successful call diversion and establishes the call diversion; the requesting terminal sends the message requesting for call diversion to the target terminal directly, and after verifying the validity of the message requesting for call diversion, the target terminal sets the address of diverting terminal and the acknowledgement message of successful call diversion, sends the acknowledgement message of successful call diversion to the requesting terminal, and establishes the call diversion, where no dispatcher station is needed, and the setting of call diversion among terminals is realized on their own. 
       The Second Embodiment 
       [0118]      FIG. 7  shows a flow chart of a method for implementing call diversion according to a second embodiment of the disclosure. Compared to the first embodiment, the second embodiment further checks the validity of authorization information, which includes steps  701 - 707 . 
         [0119]    In step  701 , a message requesting for call diversion is set and sent to a target terminal, in a case that a requesting terminal encounters abnormal call access. 
         [0120]    Setting the message requesting for call diversion, refers to setting the protocol data frame requesting for call diversion. The definition of information units, including Last_Block (LB), Protect Flag (PF), Control Signaling Block Opcode (CSBK Opcode), Manufacturer&#39;s Feature set ID (MFID), Group or Individual (G/I), Operation Code of call diversion (OC), Number of Address (NOA), and Address, are described in the first embodiment, and these will not be described again here. 
         [0121]    Table 10 shows the definition of information unit Authorization Code (AC), which is represented using an 8-bit binary code with length of 8-bit. The value of Authorization Code is a number between 0˜255, representing the value of Authorization Code of call diversion. The setting of Authorization Code is user-defined based on different target terminals. 
         [0000]    
       
         
               
             
               
               
               
               
             
           
               
                 TABLE 10 
               
             
             
               
                   
               
               
                 Definition of information unit Authorization Code (AC) 
               
             
          
           
               
                 Information unit 
                 Length 
                 Value 
                 Label 
               
               
                   
               
               
                 Authorization Code 
                 8 
                 0~255 
                 Authorization Code of call 
               
               
                   
                   
                   
                 diversion 
               
               
                   
               
             
          
         
       
     
         [0122]    When the requesting terminal sends the message requesting for call diversion to the target terminal, timing is started simultaneously, and a preset threshold for timing is set based on actual requirements. In the case that no acknowledgement message of call diversion sent by the target terminal is received after the timing exceeds the preset threshold, it is determined whether the allowed number of times for resend runs out. In case of positive determination, the establishment of call diversion fails; in case of negative determination, a trigger signal is sent to trigger the resending of the message requesting for call diversion. 
         [0123]    If the requesting terminal receives a acknowledgement message of successful call diversion returned by the target terminal within the preset threshold, it indicates that the establishment of call diversion for the requesting terminal succeeds. 
         [0124]    If the requesting terminal receives a acknowledgement message of unsuccessful call diversion returned by the target terminal within the preset threshold, or the number of times for resending the message requesting for call diversion exceeds the preset number, it indicates that the establishment of call diversion for the requesting terminal fails. 
         [0125]    In step  702 , the target terminal reads an identifier of call diversion in the message requesting for call diversion, determines whether the identifier of call diversion is valid, and in case of positive determination, the process proceeds to step  703 . 
         [0126]    The identifier of call diversion read by the target terminal, refers to the Control Signaling operation code in the protocol frame requesting for call diversion. If the value of Control Signaling operation code is 110110, it indicates that the identifier of call diversion is valid. 
         [0127]    In step  703 , the target terminal reads an address of the target terminal in the message requesting for call diversion, determines whether the address of the target terminal is valid, and in case of positive determination, the process proceeds to step  704 . 
         [0128]    The address of the target terminal refers to the address of the receiving party of call diversion. The target terminal reads the Authorization Code in the message requesting for call diversion, which is the Authorization Code in the protocol frame requesting for call diversion. 
         [0129]    In step  704 , the target terminal reads authorization information in the message requesting for call diversion, determines whether the authorization information is valid, and in case of positive determination, the process proceeds to step  705 ; in case of negative determination, the process proceeds to step  706 . 
         [0130]    According to the definition of Authorization Code in Table 10, the Authorization Code is an 8-bit binary code and is a number between 0˜255, in a case that the read Authorization Code matches the Authorization Code preset on the target terminal, it indicates that the Authorization Code is valid. 
         [0131]    In step  705 , the address of diverting terminal is set based on the identifier of diversion address, and the acknowledgement message of successful call diversion is set and sent to the requesting terminal. 
         [0132]    In step  706 , the acknowledgement message of unsuccessful call diversion is set and sent to the requesting terminal. 
         [0133]    In step  707 , the requesting terminal establishes the call diversion based on the received the acknowledgement message of call diversion. 
         [0134]    If the requesting terminal receives the acknowledgement message of successful call diversion, it indicates that the establishment of call diversion succeeds. 
         [0135]    If the requesting terminal receives the acknowledgement message of unsuccessful call diversion, it indicates that the establishment of call diversion fails. 
       The Third Embodiment 
       [0136]    A method for canceling call diversion includes four steps. 
         [0137]    In Step One, when recovering to normal call access, the requesting terminal sets a message for canceling call diversion and sends the message to the target terminal. 
         [0138]    When the requesting terminal recovers to situations such as a normal network or sufficient electricity, the message for canceling call diversion is set and sent to the target terminal, which includes setting a protocol data frame for canceling call diversion. 
         [0139]    The definition of information units including Last_Block (LB), Protect Flag (PF), Control Signaling Block Opcode (CSBK Opcode), Manufacturer&#39;s Feature set ID (MFID), Group or Individual (G/I), Number of Address (NOA), and Address are the same as those in the first embodiment, and will not be described again here. 
         [0140]    The value of information unit Operation Code (OC) of call diversion should be set at 01, based on the definition of OC in Table 6. 
         [0141]    In Step Two, the target terminal reads the identifier of diversion cancellation in the message for canceling call diversion, determines whether the identifier of diversion cancellation is valid, and in case of positive determination, address of the target terminal in the message for canceling call diversion is read. 
         [0142]    In Step Three, the target terminal determines whether the address of the target terminal is valid, and in case of positive determination, the identifier of cancellation address in the message for canceling call diversion is read, the address of diverting terminal is removed based on the identifier of cancellation address, and a message of successful cancellation of call diversion is set and sent to the requesting terminal. 
         [0143]    In Step Four, the requesting terminal cancels the call diversion based on the message of successful cancellation of call diversion. 
         [0144]    Preferably, when the address of target is valid, the authorization information in the message for canceling call diversion is read, it is determined whether the authorization information is valid, and in case of positive determination, the identifier of cancellation address in the message for canceling call diversion is read, the address of diverting terminal is removed based on the identifier of cancellation address, and the message of successful cancellation of call diversion is set and sent to the requesting terminal. 
       The Fourth Embodiment 
       [0145]      FIG. 8  shows a structure diagram of a requesting terminal for implementing call diversion according to the fourth embodiment of the disclosure. The requesting terminal includes a module for setting requesting message, a module for sending requesting message, and a module for receiving acknowledgement message. 
         [0146]    The module  801  for setting requesting message, is configured to set a message requesting for call diversion in case of abnormal call access. 
         [0147]    Setting the message requesting for call diversion is the same as that in the first embodiment, and is not described again here. 
         [0148]    The module  802  for sending requesting message, is configured to send the message requesting for call diversion to the target terminal, to allow the target terminal to read an identifier of call diversion in the message requesting for call diversion, determine whether the identifier of call diversion is valid, in case of positive determination, read an address of the target terminal in the message requesting for call diversion, determine whether the address of the target terminal is valid, in case of positive determination, read an identifier of diversion address in the message requesting of call diversion, set an address of a diverting terminal based on the identifier of diversion address, set a acknowledgement message of successful call diversion and send the acknowledgement message. 
         [0149]    The module  803  for receiving acknowledgement message, is configured to receive a acknowledgement message of successful call diversion and establish the call diversion. 
         [0150]    Preferably, the requesting terminal for call diversion further includes a timing module. 
         [0151]    The timing module is configured for timing after setting the message requesting for call diversion and sending the message to the target terminal. When the timing exceeds a preset threshold, a trigger signal is sent to the module for sending requesting message, where the trigger signal triggers the module for sending requesting message to resend the message requesting for call diversion. 
       The Fifth Embodiment 
       [0152]      FIG. 9  shows a structure diagram of a target terminal for implementing call diversion according to the fifth embodiment of the disclosure. The target terminal includes a module for receiving requesting message, a module for determining identifier of call diversion, a module for determining address of target terminal, a module for setting address of diverting terminal, a module for setting acknowledgement message of diversion, and a module for sending acknowledgement message of diversion. 
         [0153]    The module  901  for receiving requesting message, is configured to receive a message requesting for call diversion, where the message requesting for call diversion is set and sent by the requesting terminal in a case that the requesting terminal encounters abnormal call access. 
         [0154]    The module  902  for determining identifier of call diversion, is configured to determine whether an identifier of call diversion is valid, and in case of positive determination, the address of the target terminal in the message requesting for call diversion is read. 
         [0155]    The module  903  for determining address of target terminal, is configured to determine whether the address of the target terminal is valid, and in case of positive determination, the identifier of diversion address in the message requesting of call diversion is read. 
         [0156]    The module  904  for setting address of diverting terminal, is configured to set the address of diverting terminal based on the identifier of diversion address. 
         [0157]    The module  905  for setting acknowledgement message of diversion, is configured to set a acknowledgement message of successful call diversion in a case that the address of the target terminal is valid. 
         [0158]    The module  906  for sending acknowledgement message of diversion, is configured to send the acknowledgement message of successful diversion to the requesting terminal, to allow the requesting terminal to receive the acknowledgement message of successful call diversion and establish the call diversion. 
         [0159]    Preferably, the module for setting address of diverting terminal includes: 
         [0160]    a first module for address reading, configured to read the address of requesting terminal in the message requesting for call diversion; and 
         [0161]    a first module for address setting, configured to set the address of requesting terminal as the address of diverting terminal; 
         [0162]    or, 
         [0163]    a second module for address reading, configured to read the address of at least one diverted terminal in the message requesting for call diversion; and 
         [0164]    a second module for address setting, configured to set the address of the at least one diverted terminal as the address of diverting terminal. 
         [0165]    Preferably, the target terminal further includes: 
         [0166]    a module for determining authorization information, configured to read authorization information in the message requesting for call diversion in a case that the address of target is valid, determine whether the authorization information is valid, and in case of positive determination, set the address of diverting terminal based on the identifier of diversion address; and 
         [0167]    a module for setting acknowledgement message of diversion, configured to set the acknowledgement message of successful call diversion in a case that the authorization information is valid. 
       The Sixth Embodiment 
       [0168]      FIG. 10  shows a structure diagram of a requesting terminal for cancelation of call diversion according to the sixth embodiment of the disclosure. The requesting terminal includes a module for setting cancellation message, a module for sending cancellation message, and a module for receiving message of successful cancellation. 
         [0169]    The module  1001  for setting cancellation message, is configured to set a message for canceling call diversion when recovering to normal call access. 
         [0170]    The module  1002  for sending cancellation message, is configured to send a message for canceling call diversion to a target terminal, to allow the target terminal to read an identifier of diversion cancellation in the message for canceling call diversion, determine whether the identifier of diversion cancellation is valid, and in case of positive determination, read an address of a target terminal in the message for canceling call diversion, determine whether the address of the target terminal is valid, and in case of positive determination, read an identifier of address cancellation in the message for canceling call diversion, remove an address of a diverting terminal based on the identifier of address cancellation, and set and send a message of successful cancellation of call diversion. 
         [0171]    The module  1003  for receiving message of successful cancellation, is configured to cancel the call diversion based on the message of successful cancellation of call diversion. 
       The Seventh Embodiment 
       [0172]      FIG. 11  is a structure diagram of a target terminal for complementing cancellation of call diversion according to the seventh embodiment of the disclosure. The target terminal includes a module for receiving a cancellation message, a module for determining identifier of diversion cancellation, a module for determining address, a module for removing, a module for setting message of successful cancellation, and a module for sending message of successful cancellation. 
         [0173]    The module  1101  for receiving cancellation message, is configured to receive a message for canceling call diversion, where the message for canceling call diversion is set and sent by the requesting terminal when the requesting terminal recovers to normal call access. 
         [0174]    The module  1102  for determining identifier of diversion cancellation, is configured to determine whether an identifier of diversion cancellation is valid, and in case of positive determination, address of the target terminal in the message for canceling call diversion is read. 
         [0175]    The module  1103  for determining address, is configured to determine whether the address of the target terminal is valid, and in case of positive determination, an identifier of cancellation address in the message for canceling call diversion is read. 
         [0176]    The module  1104  for removing, is configured to remove the address of diverting terminal based on the identifier of cancellation address. 
         [0177]    The module  1105  for setting message of successful cancellation, is configured to set the message of successful cancellation of call diversion in a case that the address of the target terminal is valid. 
         [0178]    The module  1106  for sending message of successful cancellation, is configured to send the message of successful cancellation of call diversion to the requesting terminal, to allow the requesting terminal to receive the message of successful cancellation of call diversion and cancel the call diversion. 
       The Eighth Embodiment 
       [0179]    A system for call diversion includes: 
         [0180]    a requesting terminal provided in the disclosure and a target terminal provided in the disclosure. 
         [0181]    The embodiments of the disclosure are illustrated in conjunction with specific application scenarios hereinafter. 
         [0182]    In Example 1, a requesting terminal is A, and a target terminal is B. Requesting terminal A performs call diversion for itself, and the target terminal of the call diversion is B, i.e., in a case that requesting terminal A encounters abnormal access, the call is forwarded to target terminal B automatically. 
         [0183]    If requesting terminal A encounters abnormal call in situations such as a dead battery or no service, a request for establishing call diversion is triggered. A message requesting for call diversion, i.e., the protocol data frame requesting for call diversion, is set. It may be learned from the definitions of respective information units in the protocol data frame requesting for call diversion according to the first embodiment that, Last_Block (LB) is set at 1; Protect Flag (PF) is set at 0; Control Signaling Block Opcode (CSBK Opcode) is set at 110110; Group or Individual (G/I) is set at 0, which indicates that the object establishing the call diversion is an individual; Operation Code of call diversion (OC) is set at 0, which indicates the establishment of call diversion; Number of Address (NOA) is set at 0, which indicates that the call diversion is performed for the requesting terminal itself, and Address of the requesting terminal is the Address of the diverting terminal; Authorization Code (AC) is set as an authorization code matching target terminal B; address of the requesting terminal is set as the address of terminal A; address of the target terminal is set as the address of terminal B. The protocol data frame requesting for call diversion is set as shown in  FIG. 12 . 
         [0184]    After receiving the message requesting for call diversion, target terminal B determines whether an identifier of call diversion, i.e., Control Signaling Block Opcode (CSBK Opcode), is valid, and in case of positive determination, the Address of target terminal is read. It is determined whether the Address of target terminal is the address of target terminal B, and in case of positive determination, Authorization Code (AC) is read. It is determined whether Authorization Code matches target terminal B. In case of valid CSBK Opcode, valid Address of target terminal and matching Authorization Code simultaneously, the Address of diverting terminal is set to be the address of requesting terminal A, and a acknowledgement message of successful call diversion is set. Last_Block (LB) is set at 1; Protect Flag (PF) is set at 0; Control Signaling Block Opcode (CSBK Opcode) is set at 110111; Response Code is set at 0. The protocol data frame of acknowledgement for call diversion is set as shown in  FIG. 13 . 
         [0185]    If CSBK Opcode is invalid, Address of target terminal is invalid, or Authorization Code does not match, a acknowledgement message of unsuccessful call diversion is set, and Response Code is set at 0. 
         [0186]    After requesting terminal A receives the acknowledgement message of successful call diversion, the establishment of call diversion succeeds. In a case that requesting terminal A encounters abnormal access, the call is forwarded to target terminal B automatically. 
         [0187]    In a case that requesting terminal A recovers to normal call access, a message for canceling call diversion is set. Last_Block (LB) is set at 1, Protect Flag (PF) is set at 0, Control Signaling Block Opcode (CSBK Opcode) is set at 110110, Group or Individual (G/I) is set at 0, Number of Address (NOA) is set at 0, which indicates that the cancellation of call diversion is performed for the requesting terminal itself, Authorization Code (AC) is set as an authorization code matching target terminal B; and Address of the requesting terminal is set as the address of A; Address of the target terminal is set as the address of B. Based on the definition of information unit Operation Code of call diversion (OC) in Table 6, the value of OC should be set at 0. 
         [0188]    After receiving the message for canceling call diversion, target terminal B determines whether an identifier of diversion cancellation, i.e., Control Signaling Block Opcode (CSBK Opcode), is valid, and in case of positive determination, the Address of target terminal is read. It is determined whether Address of target terminal is the address of target terminal B, and in case of positive determination, Authorization Code (AC) is read. It is determined whether Authorization Code matches target terminal B. In case of valid CSBK Opcode, valid Address of target terminal and matching Authorization Code simultaneously, the address of diverting terminal is removed based on the identifier of cancellation address, and a message of successful cancellation of call diversion is set. Last_Block (LB) is set at 1; Protect Flag (PF) is set at 0; Control Signaling Block Opcode (CSBK Opcode) is set at 110111; Response Code is set at 0. 
         [0189]    After requesting terminal A receives a message of successful cancellation of call diversion, the call diversion is canceled. 
         [0190]    In Example 2, a requesting terminal is C, and a target terminal is D, requesting terminal C performs call diversion for third terminals E and F, the target terminal of call diversion is D, i.e., in a case that requesting terminals E and F encounter abnormal access, the calls are forwarded to target terminal D automatically. 
         [0191]    Requesting terminal C sets a message requesting for call diversion, i.e., the protocol data frame requesting for call diversion and the ported data frame requesting for call diversion. When setting the protocol data frame requesting for call diversion, it may be learned from the definitions of respective information units in the protocol data frame requesting for call diversion according to the first embodiment that, Last_Block (LB) is set at 1; Protect Flag (PF) is set at 0; Control Signaling Block Opcode (CSBK Opcode) is set at 110110; Group or Individual (G/I) is set at 1, which indicates that the object establishing the call diversion is a group; Operation Code of call diversion (OC) is set at 0, which indicates the establishment of call diversion; Number of Address (NOA) is set at 2, which indicates that the call diversion is performed for two third terminals E and F, and Address of terminal E and terminal F are the Address of the diverting terminal; Authorization Code is set as an authorization code matching target terminal D; Address of the requesting terminal is set as the address of C; Address of the target terminal is set as the address of D. The protocol data frame requesting for call diversion is set as shown in  FIG. 14 . 
         [0192]    When setting the protocol data frame of carrying the call diversion, Last_Block (LB) is set at 1; Protect Flag (PF) is set at 0; Control Signaling Block Opcode (CSBK Opcode) is set at 110110; Address of terminal E is set as Address of a first diverted terminal; Address of terminal F is set as Address of a second diverted terminal. The protocol data frame for carrying the call diversion is shown in  FIG. 15 . 
         [0193]    After receiving the message requesting for call diversion, target terminal D determines whether an identifier of call diversion, i.e., Control Signaling Block Opcode (CSBK Opcode), is valid, and in case of positive determination, the Address of target terminal is read. It is determined whether Address of target terminal is the address of target terminal D, and in case of positive determination, Authorization Code (AC) is read. It is determined whether Authorization Code matches target terminal D. In case of valid CSBK Opcode, valid Address of target terminal and matching Authorization Code simultaneously, the addresses of terminal E and terminal F are set as the addresses of diverting terminals, and a acknowledgement message of successful call diversion is set. Last_Block (LB) is set at 1; Protect Flag (PF) is set at 0; Control Signaling Block Opcode (CSBK Opcode) is set at 110111; Response Code is set at 0. The protocol data frame of acknowledgement for call diversion is set as shown in  FIG. 16 . 
         [0194]    If CSBK Opcode is invalid, Address of target terminal is invalid, or Authorization Code does not match, a acknowledgement message of unsuccessful call diversion is set, and Response Code is set at 0. 
         [0195]    After requesting terminal C receives an acknowledgement message of successful for call diversion, the establishment of call diversion for the third-party terminal E and terminal F succeeds. In a case that terminal E and terminal F encounter abnormal access, the calls are forwarded to target terminal D automatically. 
         [0196]    When establishing the cancellation of call diversion and setting a message for canceling call diversion, it is only required to set Operation Code of call diversion (OC) in the data protocol frame for canceling call diversion at 1, and others are set as described in the first embodiment, which is not described again here. Each mobile terminal may serve as either the requesting terminal or the target terminal, thus each mobile terminal has a function of sending the message requesting for call diversion and sending the acknowledgement message of call diversion, which is not limited. 
         [0197]    The cancellation of call diversion in Example 2, may be the case that requesting terminal C performs cancellation of call diversion for the third-party terminal E and terminal F, or may be the case that the third-party terminal E and terminal F perform cancellation of call diversion, which is not limited here. 
         [0198]    The mobile terminal in the disclosure may serve as either the requesting terminal or the target terminal, or serve as both the requesting terminal and the target terminal with respect to another terminal; the mobile terminal may perform either call diversion or cancellation of call diversion, or perform both call diversion and cancellation of call diversion, which is not limited here. 
         [0199]    Preferably, the call diversion is performed for an interphone, or may be established for other mobile terminals communicating through conventional time division multiple access channel, which is not limited here. 
         [0200]    The described embodiments are merely preferred embodiments of the disclosure, and are not intended to limit the disclosure. Any change, equivalent replacement, modification, etc., without departing from the spirit and principle of the disclosure should fall in the scope of protection of the disclosure.