Abstract:
A digitmap configuration method, device and system are described. The method includes: detecting, by a session initiation protocol (SIP) server, a configuration condition; and when the configuration condition is satisfied, issuing, by the SIP server, a latest digitmap using a MESSAGE to an SIP terminal. The method, device and system realize the flexible configuration conducted on a digitmap of an SIP terminal, and solve the problem that the related SIP terminal digitmap configuration manner lacks flexibility.

Description:
CROSS-REFERENCE TO RELATED APPLICATION 
       [0001]    This application is the U.S. national phase of PCT Application No. PCT/CN2014/088906 filed Oct. 20, 2014, which claims priority to Chinese Application No. 201410432361.3 filed Aug. 28, 2014, the disclosures of which are incorporated in their entirety by reference herein. 
     
    
     TECHNICAL FIELD 
       [0002]    The present disclosure relates to the field of digitmap configuration technology in Next Generation Network NGN, and in particular to a digitmap configuration method, apparatus and system in the NGN network. 
       BACKGROUND 
       [0003]    A digitmap is a dialing plan stored in a voice terminal or a gateway device and used for detecting and reporting dialing events, and the digitmap defines one or a plurality of rules of permitting a user to dial numbers. At present, for terminals using different voice call control protocols, digitmap acquisition ways of the terminals are also different. For the MGCP/H.248 protocol, generally the digitmap is sent to the terminal by a SoftSwitch through an MGCP/H.248 message. For a Session Initiation Protocol SIP, since the protocol itself does not define related contents and sending modes of the digitmap, two ways are usually adopted at present. One is to preconfigure the digitmap on the terminal, and the other one is to configure the digitmap to the terminal by a network management server through protocols such as TR069 or the like. 
         [0004]    For a SIP terminal to acquire the digitmap, either the preconfiguration way or the network management configuration way lacks enough flexibility. Taking the network management configuration way as an example, since a network management device is an independent network element uncorrelated with the voice call control, the network management device cannot flexibly switch the digitmap according to service attributes and service flows of the user like a SIP server. 
       SUMMARY 
       [0005]    Embodiments of the present disclosure provide a digitmap configuration method, apparatus and system, which solves the problem that the related SIP terminal digitmap configuration ways lack flexibility. 
         [0006]    To solve the above technical problem, the following technical scheme is adopted. 
         [0007]    A digitmap configuration method includes the following steps. 
         [0008]    A session initiation protocol SIP sever detects a configuration condition. 
         [0009]    When the configuration condition is satisfied, the SIP server sends a latest digitmap to a SIP terminal through a MESSAGE. 
         [0010]    In an exemplary embodiment, the configuration condition includes any one or more of the following conditions: 
         [0011]    the SIP terminal is registered to the SIP server successfully; 
         [0012]    a service attribute of an service on the SIP server changes, and a digitmap of a user is required to be modified; and 
         [0013]    different digitmaps are required to be used at different stages of a voice service. 
         [0014]    In an exemplary embodiment, the SIP server is a network element implementing call control. 
         [0015]    A digitmap configuration method includes the following steps. 
         [0016]    A SIP terminal receives a MESSAGE sent by a SIP server. Herein, the MESSAGE carries a latest digitmap. 
         [0017]    The SIP terminal updates a digitmap according to the MESSAGE sent by the SIP server. 
         [0018]    In an exemplary embodiment, when the latest digitmap is saved, if there has been an original digitmap, the SIP terminal covers the original digitmap with the latest digitmap. 
         [0019]    A SIP server includes a detection module and a digitmap sending module. 
         [0020]    The detection module is arranged to detect a configuration condition. 
         [0021]    The digitmap sending module is arranged to, when the configuration condition is satisfied, send a latest digitmap to a SIP terminal through a MESSAGE. 
         [0022]    A SIP terminal includes a configuration receiving module and a configuration saving module. 
         [0023]    The configuration receiving module is arranged to receive a MESSAGE sent by a SIP server. Herein, the MESSAGE carries a latest digitmap. 
         [0024]    The configuration saving module is arranged to update a digitmap according to the MESSAGE sent by the SIP server. 
         [0025]    In an exemplary embodiment, the configuration saving module is further arranged to, when the latest digitmap is saved, if there has been an original digitmap, cover the original digitmap with the latest digitmap. 
         [0026]    A digitmap configuration system includes a SIP server and a terminal registered to the SIP server. 
         [0027]    The SIP server is arranged to, detect a configuration condition, and when the configuration condition is satisfied, send a latest digitmap to the SIP terminal through a MESSAGE. 
         [0028]    The SIP terminal is arranged to receive the MESSAGE sent by the SIP server, herein, the MESSAGE carries the latest digitmap; and update a digitmap according to the MESSAGE sent by the SIP server. 
         [0029]    In an exemplary embodiment, the configuration condition includes any one or more of the following conditions: 
         [0030]    the SIP terminal is registered to the SIP server; 
         [0031]    a service attribute of a service on the SIP server changes, and a digitmap of a user is required to be modified; and 
         [0032]    different digitmaps are required to be used at different stages of a voice service. 
         [0033]    A computer program, including a program instruction is provided. Herein, when the program instruction is executed by a session initiation protocol SIP sever, the session initiation protocol SIP sever can execute the corresponding digitmap configuration method. 
         [0034]    A carrier carrying the computer program is provided. 
         [0035]    A computer program including a program instruction is provided. Herein, when the program instruction is executed by a session initiation protocol SIP terminal, the session initiation protocol SIP terminal can execute the corresponding digitmap configuration method. 
         [0036]    A carrier carrying the computer program is provided. 
         [0037]    With the digitmap configuration method, apparatus and system of the above technical scheme, a SIP server detects a configuration condition, and when the configuration condition is satisfied, the SIP server sends a latest digitmap to a SIP terminal through a MESSAGE; the SIP terminal receives the MESSAGE sent by the SIP server, and updates a digitmap according to the MESSAGE sent by the SIP server. Therefore, the flexible digitmap configuration on the SIP terminal is implemented, and the problem that the related SIP terminal digitmap configuration ways lack flexibility is solved. 
     
    
     
       BRIEF DESCRIPTION OF DRAWINGS 
         [0038]      FIG. 1  is a flow chart of a digitmap configuration method provided in embodiment 1 of the present disclosure. 
           [0039]      FIG. 2  is a flow chart of a SIP terminal acquiring a digitmap from a network management server in embodiment 2 of the present disclosure. 
           [0040]      FIG. 3  is a flow chart of a SIP terminal acquiring a digitmap from a SIP server through a MESSAGE in embodiment 2 of the present disclosure. 
           [0041]      FIG. 4  is a schematic diagram of a structure of a digitmap configuration apparatus provided in embodiment 3 of the present disclosure. 
           [0042]      FIG. 5  is a schematic diagram of a structure of another digitmap configuration apparatus provided in embodiment 3 of the present disclosure. 
       
    
    
     DETAILED DESCRIPTION 
       [0043]    For a SIP terminal to acquire the digitmap, either the preconfiguration way or the network management configuration way lacks enough flexibility. Taking the network management configuration way as an example, since a network management device is an independent network element uncorrelated with the voice call control, the network management device cannot flexibly switch the digitmap according to service attributes and service flows of the user like a SIP server. 
         [0044]    To solve the above problem, embodiments of the present disclosure provide a digitmap configuration method, apparatus and system. According to embodiments of the present disclosure, a SIP server sends a digitmap to a SIP terminal through a MESSAGE, and the MESSAGE carrying the digitmap is required to indicate that the MESSAGE carries the “digitmap”, so that the SIP terminal can identify the message. The embodiments of the present disclosure will be described in detail in combination with the accompanying drawings below. It should be noted that the embodiments in the present disclosure and the characteristics in the embodiments may be arbitrarily combined with each other in the case of no conflict. 
         [0045]    Firstly embodiment 1 of the present disclosure will be described in combination with the accompanying drawing. 
         [0046]    An embodiment of the present disclosure provides a digitmap configuration method. A flow of configuring a digitmap of a SIP terminal with the method is as shown in  FIG. 1 , and the following steps  101 - 104  are included. 
         [0047]    In step  101 , a SIP server detects a configuration condition. 
         [0048]    In the embodiment of the present disclosure, the configuration condition includes any one or more of the following conditions: 
         [0049]    1. The SIP terminal is registered to the SIP server successfully. 
         [0050]    2. When a service attribute of a service on the SIP server changes, a digitmap of a user is required to be modified. 
         [0051]    3. different digitmaps are required to be used at different stages of a voice service. 
         [0052]    In step  102 , when the configuration condition is satisfied, the SIP server sends a latest digitmap to a SIP terminal through a MESSAGE. 
         [0053]    In the step, when the SIP terminal is registered to the SIP server successfully, or when a service attribute of a user on the SIP server changes and a digitmap of the user is required to be modified, or when different digitmaps are required to be used at different stages of a voice service, the SIP server may send the latest digitmap to the SIP terminal in real time through the MESSAGE. 
         [0054]    In step  103 , the SIP terminal receives the MESSAGE sent by the SIP server, herein, the MESSAGE carries the latest digitmap. 
         [0055]    In step  104 , the SIP terminal updates a digitmap according to the MESSAGE sent by the SIP server. 
         [0056]    In the step, the SIP terminal is required to receive, identify and save the digitmap in the MESSAGE and applies the digitmap to a later call process of the user. An original digitmap should be covered when the SIP terminal receives a new digitmap. 
         [0057]    In the NGN network, a softswitch as the SIP server is a network element implementing call control. Compared with a network management sever, the scheme that the softswitch sends the digitmap to the SIP terminal is more flexible and easy to manage, and the softswitch may send different digitmaps to various users according to different service authorities and even different stages of a voice service flow. 
         [0058]    Embodiment 2 of the present disclosure will be described in combination with the accompanying drawings below. 
         [0059]    An embodiment of the present disclosure provides a digitmap configuration method. a flow of a SIP terminal acquiring a digitmap from a network management server and a flow of the SIP terminal acquiring a digitmap from a SIP server through a MESSAGE will be respectively described in combination with the accompanying drawings below. 
         [0060]      FIG. 2  is a flow of the SIP terminal acquiring a digitmap from a network management server, and the following steps  201 - 205  are included. 
         [0061]    In step  201 , a SIP terminal makes a registration to a network management server, and the network management server sends configuration information including a digitmap to the SIP terminal after the registration is successful, and the SIP terminal saves digitmap information. 
         [0062]    In step  202  to step  203 , the SIP terminal initiates a SIP registration to a SIP server and receives a response normally, and the registration is successful. 
         [0063]    In step  204 , a user takes off-hook and performs number receiving according to the digitmap rule saved in the step  1 . 
         [0064]    In step  205  to step  208 , the number receiving is completed, and the SIP terminal sends an INVITE message and initiates and establishes a call normally. 
         [0065]    A flow of a SIP terminal acquiring a digitmap during a registration is as shown in  FIG. 3 , and the following steps  301 - 309  are included. 
         [0066]    In step  301  to step  302 , a SIP terminal initiates a SIP registration to a SIP server and receives a response normally, and the registration is successful. 
         [0067]    In step  303  to step  304 , the SIP server sends a digitmap corresponding to the user to the SIP terminal through a MESSAGE, and the SIP terminal saves the digitmap and makes a normal response to the SIP server. 
         [0068]    In step  305 , the user takes off-hook and performs number receiving according to the digitmap rule saved in the step  3 . 
         [0069]    In step  306  to step  309 , the number receiving is completed, and the SIP terminal sends an INVITE message and initiates and establishes a call normally. 
         [0070]    A flow of acquiring a digitmap when a user service authority changes includes the following steps  310 - 312  as follows. 
         [0071]    In step  310 , a service authority of a terminal user on a SIP server changes, and then a digitmap corresponding to the user is required to be changed. 
         [0072]    In step  311  to step  312 , the SIP server sends a latest digitmap to a SIP terminal through a MESSAGE, and the SIP terminal saves the latest digitmap and makes a response normally. 
         [0073]    Embodiment 3 of the present disclosure will be described in combination with the accompanying drawings below. 
         [0074]    An embodiment of the present disclosure provides a SIP server. A structure of the SIP server is as shown in  FIG. 4 , which includes a detection module  401 and a digitmap sending module  402 . 
         [0075]    The detection module  401  is arranged to detect a configuration condition. 
         [0076]    The digitmap sending module  402  is arranged to, when the configuration condition is satisfied, send a latest digitmap to a SIP terminal through a MESSAGE. 
         [0077]    An embodiment of the present disclosure also provides a SIP terminal. A structure of the SIP terminal is as shown in  FIG. 5 , which includes a configuration receiving module  501  and a configuration saving module  502 . 
         [0078]    The configuration receiving module  501  is arranged to receive a MESSAGE sent by a SIP server. Herein, the MESSAGE carries a latest digitmap. 
         [0079]    The configuration saving module  502  is arranged to update a digitmap according to the MESSAGE sent by the SIP server. 
         [0080]    In an exemplary embodiment, the configuration saving module  502  is further arranged to, when the latest digitmap is saved, if there has been an original digitmap, cover the original digitmap with the latest digitmap. 
         [0081]    An embodiment of the present disclosure also provides a digitmap configuration system, which includes a SIP server and a terminal registered to the SIP server. 
         [0082]    The SIP server is arranged to detect a configuration condition, and when the configuration condition is satisfied, send a latest digitmap to a SIP terminal through a MESSAGE. 
         [0083]    The SIP terminal is arranged to receive the MESSAGE sent by the SIP server, herein, the MESSAGE carries the latest digitmap; and update a digitmap according to the MESSAGE sent by the SIP server. 
         [0084]    In an exemplary embodiment, the configuration condition includes any one or more of the following: 
         [0085]    The SIP terminal is registered to the SIP server successfully. 
         [0086]    A service attribute of a service on the SIP server changes, and a digitmap of a user is required to be modified. 
         [0087]    Different digitmaps are required to be used at different stages of a voice service. 
         [0088]    The embodiments of the present disclosure provide a digitmap configuration method, apparatus and system. According to the embodiments of the present disclosure, a SIP server detects a configuration condition, and when the configuration condition is satisfied, the SIP server sends a latest digitmap to a SIP terminal through a MESSAGE; the SIP terminal receives the MESSAGE sent by the SIP server, and updates a digitmap according to the MESSAGE sent by the SIP server, s to apply the latest digitmap to a later call process. Therefore, the flexible digitmap configuration on the SIP terminal is implemented, and the problem that the related SIP terminal digitmap configuration ways lack flexibility is solved. 
         [0089]    The ordinary person skilled in the art can understand that all or part of steps of the above embodiments can be implemented by using a flow of computer program. The computer program may be stored in a computer readable memory medium. The computer program is executed on corresponding hardware platforms (such as a system, a device, an apparatus and a component, etc.), and when the computer program is executed, one of the steps or a combination of the steps of the method embodiments is comprised. 
         [0090]    Alternatively, all or part of the steps of the above embodiments can also be implemented by using integrated circuits, these steps can be made into a plurality of integrated circuit modules respectively, or a plurality of modules or steps therein can be made into a single integrated circuit module to be implemented. Therefore, the present disclosure is not limited to any combination of hardware and software in a specific form. 
         [0091]    Various apparatuses/functional modules/functional units in the above embodiments can be implemented by using a universal calculating device, and they can be concentrated on a single calculating device or distributed in a network consisting of a plurality of calculating devices. 
         [0092]    If implemented in the form of a software function module and sold or used as an independent product, various apparatuses/functional modules/functional units in the above embodiments can be stored in a computer readable memory medium. The above-mentioned computer readable memory medium may be a read-only memory, a magnetic disk or an optical disk, etc. 
         [0093]    Changes or substitutions which may occur easily to any skilled people familiar to the art within the technical scope disclosed by the present disclosure shall all be covered within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope described by the claims. 
       INDUSTRIAL APPLICABILITY 
       [0094]    The above technical scheme implements flexible digitmap configuration on the SIP terminal, and solves the problem that the related SIP terminal digitmap configuration ways lack flexibility. Therefore, the present disclosure has very strong industrial applicability.