Abstract:
A method, a device and a storage medium for processing a communication service in a circuit switch domain are provided. The method may include: judging, when a communication service being currently processed by a communication terminal is a voice call service or a short message service in a circuit switch domain, whether a switching condition for switching the communication service onto a real-time communication tool in a packet switch domain of the communication terminal is met; if it is met, switching the communication service onto the real-time communication tool in the packet switch domain of the communication terminal.

Description:
TECHNICAL FIELD 
       [0001]    The present invention relates to Internet Protocol Multimedia Subsystem (IP IMS) technologies, and in particular relates to a method, equipment, system and computer storage medium for implementing NP (Number Portability) announcement. 
       BACKGROUND 
       [0002]    NP refers to that an telecom user still keeps an original telecom service number under the condition that the telecom user migrates from a permanent address or changes an operator. In other words, the NP requires that the user number remains unchanged permanently. In some regions, the NP, which is taken as a compulsive requirement of telecom supervision, is used for protecting the benefit of weak telecom operators; and part of operators further provide the NP inside an own network to meet the demands of the user who changes the permanent address, so as to reduce the churn rate. 
         [0003]    The NP is mainly implemented in a network element that is a CSCF (Call Session Control Function) in the existing IMS network, and specifically, the CSCF acquires callee number information containing NP information of a callee number by an ENUMS (Telephone Number Mapping Server) query; and a calling is routed according to the callee number information. In this way, in a whole calling process, a network element of an IMS is only used for completing routing processing of the calling, and does not judge whether the callee number generates the NP and cannot announce an NP prompt tone to a caller, causing poor user experience. 
         [0004]    At present, in order to implement the judgment whether the callee number generates the NP, the IMS network adopts an NP announcement manner as follows: an SCSCF (Serving-CSCF) triggers ENUM to execute an ENUM query to acquire callee number information, a calling, after the ENUM query, is routed to an NPA AS (Number Portability Announcement Application Server), and an NP indicating parameter is contained in a calling request; the NPA AS firstly checks whether a caller has an NP prompt tone announcement attribute after receiving the calling request; under the conditions that the caller has the prompt tone announcement attribute, and the calling request contains the NP indicating parameter, whether a callee generates the NP is judged according to the callee number information and local NP criteria; the NPA AS controls an MRFP (Media Resource Function Processor) to announce the NP prompt tone to the caller when the callee number generates the NP; and after the announcement is ended, the NPA AS sends the calling to the SCSCF, the SCSCF implements the routing of the calling according to route configuration, and the calling is routed to an MGCF (Media Gateway Control Function) for subsequent routing processing. 
         [0005]    However, the above NPA manner has greater defects: 1) caller business information needs to be deployed at the NPA AS, and an NPA function can not be provided to a non-NPA AS user; 2) the SCSCF routes all callings to the NPA AS, thereby increasing the performance processing requirements of the SCSCF and the NPA AS to a certain extent; and 3) the requirements of the route configuration of the SCSCF are more complex, thereby being not conductive to subsequent operation and maintenance. 
       SUMMARY 
       [0006]    Embodiments of the present invention provide a method, equipment, system and computer storage medium for implementing NPA, which can reduce dependence between network elements and performance effect on the network elements while effectively implementing the NPA. 
         [0007]    Technical solutions of embodiments of the present invention are implemented as follows. 
         [0008]    Embodiments of the present invention provide a method for implementing the NPA, including: 
         [0009]    acquiring caller subscription information; and 
         [0010]    sending a calling request according to IFC (Initial Filter Criteria) when the IFC of the caller subscription information contains trigger criteria for an NPA AS, 
         [0011]    where the trigger criteria for the NPA AS includes: a trigger priority of the NPA AS is the lowest at a calling side. 
         [0012]    Embodiments of the present invention further provide a method for implementing the NPA, including: 
         [0013]    receiving a calling request; 
         [0014]    triggering ENUM to execute an ENUM query and acquiring a query result; 
         [0015]    judging whether a callee number generates NP according to the query result and acquiring a judgment result; and 
         [0016]    sending an announcement instruction to an MRFP when the judgment result is that the callee number generates the NP, so as to enable the MRFP to announce an NP prompt tone to a caller according to the announcement instruction. 
         [0017]    In one embodiment, the query result is that callee number information in the calling request is in an TEL URI (Telephone Uniform Resource Identifier) format; 
         [0018]    the judging whether the callee number generates the NP according to the query result, includes: judging whether the callee number generates the NP according to the callee number information in the TEL URI format. 
         [0019]    In one embodiment, the judging whether the callee number generates the NP according to the callee number information in the TEL URI format, includes: extracting a network routing code and a user number section in the callee number information in the TEL URI format; querying whether the network routing code is consistent with a pre-configured network routing code corresponding to the user number section in a first corresponding relationship table according to the user number section; if not consistent, it is indicated that the callee number generates the NP; and if consistent, it is indicated that the callee number does not generate the NP. 
         [0020]    In one embodiment, the query result is that the callee number information in the calling request is in an SIP URI (Session Initialization Protocol Uniform Resource Identifier) format; and 
         [0021]    the judging whether the callee number generates the NP according to the query result, includes: judging whether the callee number generates the NP according to the callee number information in the SIP URI format. 
         [0022]    In one embodiment, the judging whether the callee number generates the NP according to the callee number information in the SIP URI format, includes: extracting a network domain name and a user number section in the callee number information in the SIP URI format; querying whether the network domain name is consistent with a pre-configured network domain name corresponding to a user number section in a second corresponding relationship table according to the user number section; if not consistent, it is indicated that the callee number generates the NP; and if consistent, it is indicated that the callee number does not generate the NP. 
         [0023]    In one embodiment, the method further includes: feeding back an error message to an SCSCF when the judgment result is that the callee number does not generate the NP. 
         [0024]    Embodiments of the present invention provide an SCSCF, including: an acquisition module and a calling sending module, where 
         [0025]    the acquisition module is configured to acquire caller subscription information; and 
         [0026]    the calling sending module is configured to send a calling request according to an IFC when the IFC of the caller subscription information contains trigger criteria for an NPA AS, 
         [0027]    where the trigger criteria for the NPA AS includes: a trigger priority of the NPA AS is the lowest at the calling side. 
         [0028]    Embodiments of the present invention provide an NPA AS, including: a calling receiving module, an execution module, a judgment processing module and a sending module, where 
         [0029]    the calling receiving module is configured to receive a calling request; 
         [0030]    the execution module is configured to trigger ENUM to execute an ENUM query and acquire a query result; 
         [0031]    the judgment processing module is configured to judge whether a callee number generates NP according to the query result and acquire a judgment result; and 
         [0032]    the sending module is configured to send an announcement instruction to an MRFP when the judgment result acquired by the judgment processing module is that the callee number generates the NP, so as to enable the MRFP to announce the NP prompt tone to the caller according to the announcement instruction. 
         [0033]    In one embodiment, the query result is that the callee number information in the calling request is in an TEL URI format; and 
         [0034]    the judgment processing module is configured to judge whether the callee number generates the NP according to the callee number information in the TEL URI format. 
         [0035]    In one embodiment, the judgment processing module includes a first extraction unit and a first query unit, where 
         [0036]    the first extraction unit is configured to extract a network routing code and a user number section in the callee number information in the TEL URI format; and 
         [0037]    the first query unit is configured to query whether the network routing code is consistent with a pre-configured network routing code corresponding to the user number section in a first corresponding relationship table according to the user number section; if not consistent, it is indicated that the callee number generates the NP; and if consistent, it is indicated that the callee number does not generate the NP. 
         [0038]    In one embodiment, the query result is that the callee number information in the calling request is in an SIP URI format; and 
         [0039]    the judgment processing module is configured to judge whether the callee number generates the NP according to the callee number information in the SIP URI format. 
         [0040]    In one embodiment, the judgment processing module includes a second extraction unit and a second query unit, where 
         [0041]    the second extraction unit is configured to extract a network routing code and a user number section in the callee number information in the SIP URI format; and 
         [0042]    the second query unit is configured to query whether the network routing code is consistent with a pre-configured network routing code corresponding to a user number section in a first corresponding relationship table according to the user number section; if not consistent, it is indicated that the callee number generates the NP; and if consistent, it is indicated that the callee number does not generate the NP. 
         [0043]    In one embodiment, the sending module is further configured to feed back an error message to an SCSCF when the judgment result acquired by the judgment processing module is that the callee number does not generate the NP. 
         [0044]    Embodiments of the present invention further provide a system for implementing the NPA, including: the SCSCF, the NPA AS, the ENUMS and the MRFP, where 
         [0045]    the SCSCF is configured to acquire caller subscription information; and send a calling request to the NPA AS according to an IFC when the IFC of the caller subscription information contains trigger criteria for the NPA AS; 
         [0046]    the NPA AS is configured to receive the calling request; trigger ENUM to execute an ENUM query and acquire a query result; judge whether a callee number generates NP according to the query result and acquire a judgment result; and send an announcement instruction to the MRFP when the judgment result is that the callee number generates the NP; 
         [0047]    the ENUMS is configured to execute the ENUM query; and 
         [0048]    the MRFP is configured to receive the announcement instruction sent by the NPA AS; and announce the NP prompt tone to a caller according to the announcement instruction. 
         [0049]    In one embodiment, the query result is that the callee number information in the calling request is in an TEL URI format; and 
         [0050]    the NPA AS is configured to judge whether the callee number generates the NP according to the callee number information in the TEL URI format. 
         [0051]    In one embodiment, the NPA AS is configured to extract a network routing code and a user number section in the callee number information in the TEL URI format; and query whether the network routing code is consistent with a pre-configured network routing code corresponding to the user number section in a first corresponding relationship table according to the user number section; if not consistent, it is indicated that the callee number generates the NP; and if consistent, it is indicated that the callee number does not generate the NP. 
         [0052]    In one embodiment, the query result is that the callee number information in the calling request is in an SIP URI format; and 
         [0053]    the NPA AS is configured to judge whether the callee number generates the NP according to the callee number information in the SIP URI. 
         [0054]    In one embodiment, the NPA AS is configured to extract a network domain name and a user number section in the callee number information in the SIP URI format; and query whether the network domain name is consistent with a pre-configured network domain name corresponding to a user number section in a second corresponding relationship table according to the user number section; if not consistent, it is indicated that the callee number generates the NP; and if consistent, it is indicated that the callee number does not generate the NP. 
         [0055]    In one embodiment, the NPA AS is further configured to feed back an error message to the SCSCF when the judgment result is that the callee number does not generate the NP; and the SCSCF is further configured to continue subsequent calling flows after receiving the error message. 
         [0056]    Embodiments of the present invention further provide a computer storage medium storing computer executable instructions for executing the NPA described in embodiments of the present invention. 
         [0057]    According to the method, the equipment and the system for implementing the NPA and the computer storage medium provided by embodiments of the present invention, the SCSCF acquires the caller subscription information; the SCSCF sends the calling request to the NPA AS according to the IFC when the IFC of the caller subscription information contains the trigger criteria for the NPA AS; the NPA AS receives the calling request; ENUM is triggered to execute the ENUM query, and the query result is acquired; whether the callee number generates the NP is judged according to the query result, and the judgment result is acquired; the NPA AS sends the announcement instruction to the MRFP when the judgment result is that the callee number generates the NP; and the MRFP announces the NP prompt tone to the caller according to the announcement instruction. Therefore, the NPA AS triggers ENUM to execute the ENUM query and implements the judgment for the NP after the ENUM query, so as to reduce dependence between the network elements while effectively implementing the NPA. 
         [0058]    Additionally, in embodiments of the present invention, the SCSCF triggers the NPA AS based on the IFC, rather than a full routing manner, thereby effectively reducing the performance processing requirements of the NPA AS and the SCSCF and the complexity of route configuration of the SCSCF; and meanwhile, the IFC is utilized for implementing an NPA attribute of the caller, so that the NPA AS does not need to deploy caller business information, so as to improve the system processing capacity of the NPA AS. 
     
    
     
       BRIEF DESCRIPTION OF DRAWINGS 
         [0059]      FIG. 1  is a flow chart illustrating a method for implementing NPA at an SCSCF side according to embodiments of the present invention; 
           [0060]      FIG. 2  is a flow chart illustrating a method for implementing NPA at an NPA AS side according to embodiments of the present invention; 
           [0061]      FIG. 3  is a flow chart illustrating implementation of a method for implementing NPA according to embodiments of the present invention; 
           [0062]      FIG. 4  is a schematic structural diagram illustrating an SCSCF according to embodiments of the present invention; 
           [0063]      FIG. 5  is a schematic structural diagram illustrating an NPA AS according to embodiments of the present invention; 
           [0064]      FIG. 6  is a schematic structural diagram illustrating a judgment processing module in the NPA AS according to embodiments of the present invention; 
           [0065]      FIG. 7  is another schematic structural diagram illustrating a judgment processing module in the NPA AS according to embodiments of the present invention; and 
           [0066]      FIG. 8  is a schematic structural diagram illustrating a system for implementing NPA according to embodiments of the present invention. 
       
    
    
     DETAILED DESCRIPTION 
       [0067]    In embodiments of the present invention, an SCSCF acquires caller subscription information; the SCSCF sends a calling request to an NPA AS according to an IFC when the IFC of the caller subscription information contains trigger criteria for the NPA AS; the NPA AS receives the calling request; ENUM is triggered to execute an ENUM query, and a query result is acquired; whether a callee number generates NP is judged according to the query result, and a judgment result is acquired; the NPA AS sends an announcement instruction to an MRFP when the judgment result is that the callee number generates the NP; and the MRFP receives the announcement instruction sent by the NPA AS and announces an NP prompt tone to a caller according to the announcement instruction, 
         [0068]    where the query result includes: callee number information in the calling request is in an TEL URI format or in an SIP URI format; it should be noted that: in order to avoid the influence on business implementation of other ASs caused by transformation of the callee number information acquired after the NPA AS triggers ENUM to execute the ENUM query, the trigger criteria for the NPA AS contained in the IFC are required to include: the trigger priority of the NPA AS is the lowest at a calling side, i.e. at a calling network side, the NPA AS, which is taken as a last AS, is triggered by the SCSCF. 
         [0069]    The present invention is further described below in detail in combination with drawings and specific embodiments. 
         [0070]      FIG. 1  is a flow chart illustrating a method for implementing NPA at an SCSCF side according to embodiments of the present invention. As shown in  FIG. 1 , the method for implementing the NPA at the SCSCF side according to embodiments of the present invention includes: 
         [0071]    S 100 : caller subscription information is acquired; 
         [0072]    Here, an HSS (Home Subscriber Server) stores the caller subscription information; and accordingly, the acquiring the caller subscription information, includes: an SCSCF acquires the caller subscription information from the HSS by a Cx interface. 
         [0073]    S 101 : a calling request is sent according to an IFC when the IFC of the caller subscription information contains trigger criteria for an NPA AS. 
         [0074]    Here, the calling request refers to that the SCSCF sends the calling request to the NPA AS according to the IFC; and the trigger criteria for the NPA AS include: the trigger priority of the NPA AS is the lowest at a calling side; 
         [0075]    It should be noted that: if the IFC of the caller subscription information contains the trigger criteria for the NPA AS, it is indicated that the caller has an NPA attribute; otherwise, it is indicated that the caller does not have the NPA attribute. Therefore, the IFC is utilized for implementing the NPA attribute of the caller, so that the NPA AS does not need to deploy caller business information, so as to improve the system processing capacity of the NPA AS. 
         [0076]    Embodiments of the present invention further provide a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are configured to execute the above method for implementing the NPA described in embodiments of the present invention. 
         [0077]      FIG. 2  is a flow chart illustrating a method for implementing NPA at an NPA AS side according to embodiments of the present invention. As shown in  FIG. 2 , the method for implementing the NPA at the NPA AS side according to embodiments of the present invention includes: 
         [0078]    S 200 : a calling request is received; 
         [0079]    S 201 : ENUM is triggered to execute an ENUM query, and a query result is acquired, 
         [0080]    where the ENUM query refers to that the ENUMS queries the format of callee number information in the calling request. 
         [0081]    Specifically, an NPA AS sends an ENUM query request to the ENUMS after receiving the calling request, and the ENUMS feeds back the query result to the NPA AS after completing the ENUM query. 
         [0082]    Here, the query result includes: the callee number information in the calling request is in an TEL URI format or in an SIP URI format. 
         [0083]    S 202 : whether a callee number generates NP is judged according to the query result, and a judgment result is acquired; 
         [0084]    Here, when the query result is that the callee number information in the calling request is in the TEL URI format, the judging whether the callee number generates the NP according to the query result, includes: the NPA AS judges whether the callee number generates the NP according to the callee number information in the TEL URI format. 
         [0085]    Specifically, the NPA AS extracts a network routing code and a user number section in the callee number information in the TEL URI format; and for example, the callee number information is tel: +8625 NDC SN; npdi; rn=ab, where ab represents the network routing code, and NDC represents the user number section. 
         [0086]    Further, the NPA AS queries whether the network routing code is consistent with a pre-configured network routing code corresponding to the user number section in a first corresponding relationship table according to the user number section; if not consistent, it is indicated that the callee number generates the NP; and if consistent, it is indicated that the callee number does not generate the NP. 
         [0087]    Here, when the query result is that the callee number information in the calling request is in the SIP URI format, the judging whether the callee number generates the NP according to the query result, includes: the NPA AS judges whether the callee number generates the NP according to the callee number information in the SIP URI format. 
         [0088]    Specifically, the NPA AS extracts a network domain name and a user number section in the callee number information in the SIP URI format; and for example, the callee number information is sip: +8625 NDC SN@example.com.cn, where example.com.cn represents the network domain name, and NDC represents the user number section. 
         [0089]    Further, the NPA AS queries whether the network domain name is consistent with a pre-configured network domain name corresponding to the user number section in a second corresponding relationship table according to the user number section; if not consistent, it is indicated that the callee number generates the NP; and if consistent, it is indicated that the callee number does not generate the NP. 
         [0090]    It should be noted that: the first corresponding relationship table and the second corresponding relationship table need to be pre-configured in the NPA AS, where the first corresponding relationship table refers to a corresponding relationship between the user number section and the network routing code that are pre-appointed by an operator; and the second corresponding relationship table refers to a corresponding relationship between the user number section and the network domain name that are pre-appointed by the operator. 
         [0091]    S 203 : when the judgment result is that the callee number generates the NP, an announcement instruction is sent to an MRFP, so as to enable the MRFP to announce an NP prompt tone to a caller according to the announcement instruction. 
         [0092]    Here, the NPA AS sends different announcement instructions to the MRFP according to different network types of the callee number. For example, the NP prompt tone in the announcement instruction is that the subscriber you dialed has moved a telephone to a network A if the callee number generates the NP and is carried to the network A. 
         [0093]    Further, the method also includes: an error message is fed back to an SCSCF when the judgment result is that callee number does not generate the NP. 
         [0094]    Here, the NPA AS feeds back the error message to the SCSCF; and the NPA AS continues subsequent calling flows, such as called routing and the like, after the SCSCF receives the error message. Therefore, the NPA AS does not need to be added into the subsequent calling flows, so as to reduce unnecessary performance expense. 
         [0095]    Here, it should be added that: when the judgment result is that the callee number does not generate the NP, the step that the NPA AS feeds back the error message to the SCSCF is an optional operation, and specifically, the NPA AS can choose and determine whether to feed back the error message to the SCSCF by a switch control key. Further, when the NPA AS determines not to feed back the error message to the SCSCF by the switch control key, the NPA AS can feed back an INVITE session initiation request to the SCSCF, so as to enable the SCSCF to continue the subsequent calling flows after receiving the INVITE session initiation request. 
         [0096]    Embodiments of the present invention further provide a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are configured to execute the above method for implementing the NPA described in embodiments of the present invention. 
         [0097]      FIG. 3  is a flow chart illustrating implementation of a method for implementing NPA according to embodiments of the present invention. As shown in  FIG. 3 , the method for implementing the NPA according to embodiments of the present invention includes: 
         [0098]    S 300 : an SCSCF acquires caller subscription information; 
         [0099]    Here, an HSS stores the caller subscription information; and accordingly, the step that the SCSCF acquires the caller subscription information includes: the SCSCF acquires the caller subscription information from the HSS by a Cx interface. 
         [0100]    S 301 : the SCSCF sends a calling request to the NPA AS according to an IFC when the IFC of the caller subscription information contains trigger criteria for the NPA AS. 
         [0101]    Here, the trigger criteria for the NPA AS include: the trigger priority of the NPA AS is the lowest at a calling side; 
         [0102]    It should be noted that: when the IFC of the caller subscription information contains the trigger criteria for the NPA AS, it is indicated that a caller has an NPA attribute; otherwise, it is indicated that the caller does not have the NPA attribute. Therefore, the IFC is utilized for implementing the NPA attribute of the caller, so that the NPA AS does not need to deploy caller business information, so as to improve the system processing capacity of the NPA AS. 
         [0103]    S 302 : the NPA AS triggers ENUM to execute an ENUM query and acquires a query result after receiving the calling request, 
         [0104]    where the ENUM query refers to that the ENUMS queries the format of callee number information in the calling request. 
         [0105]    Specifically, the NPA AS sends the ENUM query request to the ENUMS after receiving the calling request, and the ENUMS feeds back the query result to the NPA AS after completing the ENUM query. 
         [0106]    Here, the query result includes: the callee number information in the calling request is in an TEL URI format or in an SIP URI format. 
         [0107]    S 303 : whether a callee number generates NP is judged according to the query result, and a judgment result is acquired; 
         [0108]    Here, when the query result is that the callee number information in the query result is in the TEL URI format, the judging whether the callee number generates the NP according to the query result, includes: the NPA AS judges whether the callee number generates the NP according to the callee number information in the TEL URI format. 
         [0109]    Specifically, the NPA AS extracts a network routing code and a user number section in the callee number information in the TEL URI format; and for example, the callee number information is tel: +8625 NDC SN; npdi; rn=ab, where ab represents the network routing code, and NDC represents the user number section. 
         [0110]    Further, the NPA AS queries whether the network routing code is consistent with a pre-configured network routing code corresponding to the user number section in a first corresponding relationship table according to the user number section; if not consistent, it is indicated that the callee number generates the NP; and if consistent, it is indicated that the callee number does not generate the NP. 
         [0111]    Here, when the query result is that the callee number information in the calling request is in the SIP URI format, the judging whether the callee number generates the NP according to the query result, includes: the NPA AS judges whether the callee number generates the NP according to the callee number information in the SIP URI format. 
         [0112]    Specifically, the NPA AS extracts a network domain name and a user number section in the callee number information in the SIP URI format; and for example, the callee number information is sip: +8625 NDC SN@example.com.cn, where example.com.cn represents the network domain name, and NDC represents the user number section. 
         [0113]    Further, the NPA AS queries whether the network domain name is consistent with a pre-configured network domain name corresponding to the user number section in a second corresponding relationship table according to the user number section; if not consistent, it is indicated that the callee number generates the NP; and if consistent, it is indicated that the callee number does not generate the NP. 
         [0114]    It should be noted that: the first corresponding relationship table and the second corresponding relationship table need to be pre-configured in the NPA AS, where the first corresponding relationship table refers to a corresponding relationship between the user number section and the network routing code that are pre-appointed by an operator; and the second corresponding relationship table refers to a corresponding relationship between the user number section and the network domain name that are pre-appointed by the operator. 
         [0115]    S 304 : the NPA AS sends an announcement instruction to an MRFP when the judgment result is that the callee number generates the NP; 
         [0116]    Here, the NPA AS sends different announcement instructions to the MRFP according to different network types of the callee number. For example, an NP prompt tone in the announcement instruction is that the subscriber you dialed has moved a telephone to a network A if the callee number generates the NP and is carried to the network A. 
         [0117]    S 305 : the MRFP announces the NP prompt tone to the caller according to the announcement instruction. 
         [0118]    Therefore, according to embodiments of the present invention, the NPA AS triggers ENUM to execute the ENUM query, and an NP judgment is carried out after the ENUM query, so as to reduce dependence between network elements. 
         [0119]    Further, the method also includes: the NPA AS feeds back an error message to the SCSCF when the judgment result is that the callee number generates the NP; and the SCSCF continues subsequent calling flows such as called routing and the like, after receiving the error message. Therefore, the NPA AS does not need to be added into the subsequent calling flows, so as to reduce the unnecessary performance expense. It should be noted that: the IFC of the caller subscription information stored in the HSS needs to be configured to have a “SESSION-CONTINUED” manner. 
         [0120]    Here, it should be added that: when the judgment result is that the callee number does not generate the NP, the step that the NPA AS feeds back the error message to the SCSCF is an optional operation, and specifically, the NPA AS can choose and determine whether to feed back the error message to the SCSCF by a switch control key. Further, when the NPA AS determines not to feed back the error message to the SCSCF by the switch control key, the NPA AS can feed back an INVITE session initiation request to the SCSCF, so as to enable the SCSCF to continue the subsequent calling flows after receiving the INVITE session initiation request. 
         [0121]    Embodiments of the present invention further provide a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are configured to execute the above method for implementing the NPA described in embodiments of the present invention. 
         [0122]      FIG. 4  is a schematic structural diagram illustrating an SCSCF according to embodiments of the present invention. As shown in  FIG. 4 , the SCSCF according to embodiments of the present invention includes: an acquisition module  40  and a calling sending module  41 , where 
         [0123]    the acquisition module  40  is configured to acquire caller subscription information; and 
         [0124]    here, an HSS stores the caller subscription information; and accordingly, the step that the acquisition module  40  in the SCSCF acquires the caller subscription information includes: the caller subscription information is acquired from the HSS by a Cx interface. 
         [0125]    The calling sending module  41  is configured to send a calling request according to an IFC when the IFC of the caller subscription information contains trigger criteria for an NPA AS. 
         [0126]    Here, the sending the calling request refers to that the calling sending module  41  in the SCSCF sends the calling request to the NPA AS according to the IFC, 
         [0127]    where the trigger criteria for the NPA AS include: the trigger priority of the NPA AS is the lowest at a calling side. 
         [0128]    It should be noted that: when the IFC of the caller subscription information contains the trigger criteria for the NPA AS, it is indicated that a caller has an NPA attribute; otherwise, it is indicated that the caller does not have the NPA attribute. Therefore, the IFC is utilized for implementing the NPA attribute of the caller, so that the NPA AS does not need to deploy caller business information, so as to improve the system processing capacity of the NPA AS. 
         [0129]    In an actual application, the acquisition module  40  and the calling sending module  41  can be implemented by a CPU (Central Processing Unit), an MPU (Micro Processor Unit), a DSP (Digital Signal Processor) or an FPGA (Field Programmable Gate Array) that are located in the SCSCF. 
         [0130]      FIG. 5  is a schematic structural diagram illustrating an NPA AS according to embodiments of the present invention. As shown in  FIG. 5 , the NPA AS according to embodiments of the present invention includes: a calling receiving module  50 , an execution module  51 , a judgment processing module  52  and a sending module  53 , where 
         [0131]    the calling receiving module  50  is configured to receive a calling request; 
         [0132]    the execution module  51  is configured to trigger ENUM to execute an ENUM query and then acquire a query result, 
         [0133]    where the ENUM query refers to that the ENUMS queries the format of callee number information in the calling request; and 
         [0134]    specifically, the execution module  51  in the NPA AS sends an ENUM query request to the ENUMS, and the ENUMS feeds back a query result to the execution module  51  after completing the ENUM query. 
         [0135]    Here, the query result is that the callee number information in the calling request is in an TEL URI format or in an SIP URI format. 
         [0136]    The judgment processing module  52  is configured to judge whether a callee number generates NP according to the query result and acquire a judgment result; and 
         [0137]    here, when the query result is that the callee number information in the calling request is in the TEL URI format, the judgment processing module  52  is configured to judge whether the callee number generates the NP according to the callee number information in the TEL URI format. 
         [0138]    In one embodiment, as shown in  FIG. 6 , the judgment processing module  52  includes a first extraction unit  521   a  and a first query unit  522   a,  where 
         [0139]    the first extraction unit  521   a  is configured to extract a network routing code and a user number section in the callee number information in the TEL URI format; and for example, the callee number information is +8625 NDC SN; npdi; rn=ab, where ab represents the network routing code, and NDC represents the user number section. 
         [0140]    Further, the first query unit  522   a  is configured to query whether the network routing code is consistent with a pre-configured network routing code corresponding to the user number section in a first corresponding relationship table according to the user number section; if not consistent, it is indicated that the callee number generates the NP; and if consistent, it is indicated that the callee number does not generate the NP. 
         [0141]    Here, when the query result is that the callee number information in the calling request is in the SIP URI format, the judgment processing module  52  is configured to judge whether the callee number generates the NP according to the callee number information in the SIP URI format. 
         [0142]    In one embodiment, as shown in  FIG. 7 , the judgment processing module  52  includes a second extraction unit  521   b  and a second query unit  522   b,  where 
         [0143]    the second extraction unit  521   b  is configured to extract a network domain name and a user number section in the callee number information in the SIP URI format; and for example, the callee number information is sip: +8625 NDC SN@example.com.cn, where example.com.cn represents the network domain name, and NDC represents the user number section. 
         [0144]    Further, the second query unit  522   b  is configured to query whether the network domain name is consistent with a pre-configured network domain name corresponding to the user number section in a second corresponding relationship table according to the user number section; if not consistent, it is indicated that the callee number generates the NP; and if consistent, it is indicated that the callee number does not generate the NP. 
         [0145]    It should be noted that: the first corresponding relationship table and the second corresponding relationship table need to be pre-configured in the NPA AS, where the first corresponding relationship table refers to a corresponding relationship between the user number section and the network routing code that are pre-appointed by an operator; and the second corresponding relationship table refers to a corresponding relationship between the user number section and the network domain name that are pre-appointed by the operator. 
         [0146]    The sending module  53  is configured to send an announcement instruction to an MRFP when the judgment result acquired by the judgment processing module  52  is that the callee number generates the NP, so as to enable the MRFP to announce an NP prompt tone to a caller according to the announcement instruction. 
         [0147]    Further, the sending module  53  is further configured to feed back an error message to the SCSCF when the judgment result is that the callee number does not generate the NP. 
         [0148]    Here, the sending module  53  in the NPA AS feeds back the error message to the SCSCF; and the SCSCF continues subsequent calling flows such as called routing and the like after receiving the error message. Therefore, the NPA AS does not need to be added into the subsequent calling flows, so as to reduce the unnecessary performance expense. 
         [0149]    Here, it should be added that: when the judgment result is that the callee number does not generate the NP, the step that the sending module  53  in the NPA AS feeds back the error message to the SCSCF is an optional operation, and specifically, the sending module  53  in the NPA AS can choose and determine whether to feed back the error message to the SCSCF by a switch control key. Further, when the sending module  53  in the NPA AS determines not to feed back the error message to the SCSCF by the switch control key, the sending module  53  can feed back an INVITE session initiation request to the SCSCF, so as to enable the SCSCF to continue the subsequent calling flows after receiving the INVITE session initiation request. 
         [0150]    In an actual application, the calling receiving module  50 , the execution module  51 , the judgment processing module  52 , the sending module  53 , the first extraction unit  521   a,  the first query unit  522   a,  the second extraction unit  521   b  and the second query unit  522   b  are all implemented by a CPU, an MPU, a DSP or an FPGA that are located in the NPA AS. 
         [0151]      FIG. 8  is a schematic structural diagram illustrating a system for implementing NPA according to embodiments of the present invention. As shown in  FIG. 8 , the system for implementing the NPA according to embodiments of the present invention includes: an SCSCF 80 , an NPA AS 81 , an ENUMS  82  and an MRFP 83 , where 
         [0152]    the SCSCF 80  is configured to acquire caller subscription information; and send a calling request to the NPA AS 81  according to an IFC when the IFC of the caller subscription information contains trigger criteria for the NPA AS 81 ; and 
         [0153]    here, an HSS stores the caller subscription information; and accordingly, the step that the SCSCF 80  acquires the caller subscription information specifically includes: the caller subscription information is acquired from the HSS by a Cx interface. 
         [0154]    Here, the trigger criteria for the NPA AS 81  includes: the trigger priority of the NPA AS 81  is the lowest at a calling sides. 
         [0155]    It should be noted that: when the IFC of the caller subscription information contains the trigger criteria for the NPA AS 81 , it is indicated that a caller has an NPA attribute; otherwise, it is indicated that the caller does not have the NPA attribute. Therefore, the IFC is utilized for implementing the NPA attribute of the caller, so that the NPA AS 81  does not need to deploy caller business information, so as to improve the system processing capacity of the NPA AS 81 . 
         [0156]    The NPA AS 81  is configured to receive the calling request, trigger the ENUMS  82  to execute an ENUM query and acquire a query result; and 
         [0157]    specifically, the NPA AS 81  sends an ENUM query request to the ENUMS  82 , and the ENUMS  82  feeds back the query result to the NPA AS 81  after completing the ENUM query. 
         [0158]    Here, the query result is that callee number information in the calling request is in an TEL URI format or in an SIP URI format. 
         [0159]    The NPA AS 81  is configured to judge whether a callee number generates NP according to the query result and acquire a judgment result; and 
         [0160]    here, when the query result is that the callee number information in the calling request is in the TEL URI format, the NPA AS 81  is configured to judge whether the callee number generates the NP according to the callee number information in the TEL URI format. 
         [0161]    Specifically, the NPA AS 81  extracts a network routing code and a user number section in the callee number information in the TEL URI format; and for example, the callee number information is tel: +8625 NDC SN; npdi; m=ab, where ab represents the network routing code, and NDC represents the user number section. 
         [0162]    Further, the NPA AS 81  queries whether the network routing code is consistent with a pre-configured network routing code corresponding to the user number section in a first corresponding relationship table according to the user number section; if not consistent, it is indicated that the callee number generates the NP; and if consistent, it is indicated that the callee number does not generate the NP. 
         [0163]    Here, when the query result is that the callee number information in the calling request is in the SIP URI format, the NPA AS 81  is configured to judge whether the callee number generates the NP according to the callee number information in the SIP URI format. 
         [0164]    Specifically, the NPA AS 81  extracts a network domain name and a user number section in the callee number information in the SIP URI format; and for example, the callee number information is sip: +8625 NDC SN@example.com.cn, where example.com.cn represents the network domain name, and NDC represents the user number section. 
         [0165]    Further, the NPA AS 81  queries whether the network domain name is consistent with a pre-configured network domain name corresponding to the user number section in a second corresponding relationship table according to the user number section; if not consistent, it is indicated that the callee number generates the NP; and if consistent, it is indicated that the callee number does not generate the NP. 
         [0166]    It should be noted that: the first corresponding relationship table and the second corresponding relationship table need to be pre-configured in the NPA AS 81 , where the first corresponding relationship table refers to a corresponding relationship between the user number section and the network routing code that are pre-appointed by an operator; and the second corresponding relationship table refers to a corresponding relationship between the user number section and the network domain name that are pre-appointed by the operator. 
         [0167]    The NPA AS 81  is further configured to send an announcement instruction to the MRFP 83  when the judgment result is that the callee number generates the NP; and 
         [0168]    here, the NPA AS 81  can send different announcement instructions to the MRFP 83  according to different network types of the callee number. For example, an NP prompt tone in the announcement instruction is that the subscriber you dialed has moved a telephone to a network A if the callee number generates the NP and is carried to the network A. 
         [0169]    The ENUMS  82  is configured to execute the ENUM query; and the ENUM query is that the ENUMS queries the format of the callee number information in the calling request; and 
         [0170]    the MRFP 83  is configured to announce the NP prompt tone to the caller according to the announcement instruction. 
         [0171]    Therefore, according to embodiments of the present invention, the NPA AS 81  triggers the ENUMS  82  to execute the ENUM query, and an NP judgment is carried out after the ENUM query, so as to reduce dependence between network elements. 
         [0172]    Further, the NPA AS 81  is further configured to feed back an error message to the SCSCF 80  when the judgment result is that the callee number does not generate the NP; and the SCSCF 80  is further configured to continue subsequent calling flows, such as called routing and the like, after receiving the error message. Therefore, the NPA AS 81  does not need to be added into the subsequent calling flows, so as to reduce the unnecessary performance expense. It should be noted that: the IFC of the caller subscription information stored in the HSS needs to be configured to have a “SESSION-CONTINUED” manner. 
         [0173]    Here, it should be added that: when the judgment result is that the callee number does not generate the NP, the step that the NPA AS 81  feeds back the error message to the SCSCF 80  is an optional operation, and specifically, the NPA AS 81  can choose and determine whether to feed back the error message to the SCSCF 80  by a switch control key. Further, when the NPA AS 81  in the NPA AS determines not to feed back the error message to the SCSCF 80  by the switch control key, the NPA AS 81  can feed back an INVITE session initiation request to the SCSCF 80 , so as to enable the SCSCF 80  to continue the subsequent calling flows after receiving the INVITE session initiation request. 
         [0174]    Those skilled in the art should understand that: embodiments of the present invention can provide a method, an apparatus or a computer program product. Therefore, the present invention can adopt hardware embodiments, software embodiments or an embodiment form combining hardware and software aspects. Moreover, the present invention can adopt a form of the computer program product implemented on one or a more computer available storage media (including but not limited to a disk memory, an optical memory, etc.) containing computer available program codes. 
         [0175]    The present invention is described with reference to the flow charts and/or block diagrams of the method, the apparatus and the computer program product of embodiments of the present invention. It should be understood that: the combination of each flow and/or each block in the flow charts and/or block diagrams and the combination of flows and/or blocks in the flow charts and/or block diagrams are implemented by computer program instructions. The computer program instructions can be provided to processors of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing equipments to generate a machine, so that the apparatus used for implementing functions appointed in one flow or more flows of the flow charts and/or a block or more blocks in the block diagrams is generated according to the instructions executed by the processors of the computers or other programmable data processing equipments. 
         [0176]    The computer program instructions can also be stored in a computer readable memory which can guide the computers or other programmable data processing equipments to work in a specific manner, so that the instructions stored in the computer readable memory can generate a manufactured product including an instruction apparatus, and the instruction apparatus implements the functions appointed in one flow or more flows of the flow charts and/or a block or more blocks in the block diagrams. 
         [0177]    The computer program instructions can also be loaded in the computers or other programmable data processing equipments, so that a series of operation steps can be executed on the computers or other programmable equipments to generate processing implemented by the computers; therefore, the instructions executed on the computers or other programmable equipments provide the steps used for implementing the functions appointed in one flow or more flows of the flow charts and/or a block or more blocks in the block diagrams. 
         [0178]    The above descriptions are only the implementation manners of embodiments of the present invention. It should be noted that: those ordinary skilled in the art can also make several improvements and modifications on the premise of not departing from the theories of embodiments of the present invention, and the improvements and modifications should also be included in the protection scope of embodiments of the present invention. 
       INDUSTRIAL APPLICABILITY 
       [0179]    According to embodiments of the present invention, the NPA AS triggers ENUM to execute the ENUM query, and the NP judgment is carried out after the ENUM query, so as to reduce independence between the network elements while effectively implementing the NPA. In addition, in embodiments of the present invention, the SCSCF triggers the NPA AS based on the IFC, rather than in a full routing manner, so as to effectively reduce the performance processing requirements of the NPA AS and the SCSCF and the complexity of route configuration of the SCSCF; and meanwhile, the IFC is utilized for implementing the NPA attribute of the caller, so that the NPA AS does not need to deploy the caller business information, so as to improve the system processing capacity of the NPA AS.