WO2008003211A1 - A method and apparatus for signaling transport configuration matching detection - Google Patents

A method and apparatus for signaling transport configuration matching detection Download PDF

Info

Publication number
WO2008003211A1
WO2008003211A1 PCT/CN2007/001305 CN2007001305W WO2008003211A1 WO 2008003211 A1 WO2008003211 A1 WO 2008003211A1 CN 2007001305 W CN2007001305 W CN 2007001305W WO 2008003211 A1 WO2008003211 A1 WO 2008003211A1
Authority
WO
WIPO (PCT)
Prior art keywords
configuration
message
asp
signaling
matching detection
Prior art date
Application number
PCT/CN2007/001305
Other languages
French (fr)
Chinese (zh)
Inventor
Jianxing Hou
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2008003211A1 publication Critical patent/WO2008003211A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/10Integrity
    • H04W12/108Source integrity

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and apparatus for signaling transmission configuration matching detection. Background technique
  • the protocol stack supports the transmission of circuit-switched signaling over IP networks.
  • the SIGTRAN protocol stack supports the inter-layer standard primitive interface in the layered model definition of the circuit-switched signaling protocol, thereby ensuring that the existing circuit-switched signaling can be used without modification, and also using the standard IP transmission protocol as the transmission underlayer. Meet the special transmission requirements of circuit-switched signaling by adding its own functions.
  • SIGTRAN is a protocol stack consisting of a set of protocols, including M2UA (SS7 MTP2 User Adaptation Layer, NO.7 signaling messaging part second level user adaptation layer), M3UA (SS7 MTP3 User Adaptation Layer, N0.7 Signaling message passing part of the third level user adaptation layer), SUA (Signaling Connection Control Part User Adaptation Layer), IUA (ISDN Q.921 - User Adaptation Layer, ISDN Q921 user adaptation layer), V5UA (V5.2-User Adaptation Layer, V5.2 User Adaptation Layer) is used to implement Signaling No. 7, ISDN (Integrated Services Digital Network) signaling, and V5 access network signaling messages. Signaling interworking between the IP network and the original circuit network.
  • M2UA SS7 MTP2 User Adaptation Layer, NO.7 signaling messaging part second level user adaptation layer
  • M3UA SS7 MTP3 User Adaptation Layer, N0.7 Signaling message passing part of the third level user adaptation layer
  • SUA Signalaling Connection Control Part User
  • Fig. 1 shows an application model specified by the related art M2UA standard.
  • MTP is the abbreviation of the "message delivery part" protocol. It is a set of protocols defined by the ITU. It is divided into three layers. MTP 1 is the physical layer, MTP 2 Is the link layer, responsible for reliable transmission of messages, MTP 3 is the network layer, responsible for signaling network status maintenance and message routing Management, the interface identifiers are 0, 1, 2, 3; respectively, MTP link 0 (MTP link 0) on the SG (Signaling Gateway) is managed by the MGC1 (Media Gateway Controller). And link 1 (MTP link 1), MGC 2 manages MTP link 2 (MTP link 2) and 3 (MTP link 3) on the SG.
  • the MTP link 0 and the MTP link 1 on the SG belong to the AS (Application Server) 0. This AS has ASP 1 and ASP 2 to provide services.
  • ASP 2 If the services from the MTP 0 and MTP 1 links are distributed to ASP 2, ASP 2 It will find that it cannot process the service messages sent by the two links, and may send a message to the SG to remove the two MTP links, or at least send an ERROR message to the SG (because the interface identifier does not exist); SG After receiving this message, it is considered that the MGC can not handle the services on the two links, and the MTP link 0 and the MTP link 1 are also removed, causing the two link services to be interrupted. Because the MTP link may serve A large number of users, if a large number of MTP links are interrupted, will bring huge losses to operators and users.
  • FIG 2 shows the basic business processes in the M2UA, IUA, SUA, M3UA, and V5UA protocols.
  • the basic business process is completed in four steps:
  • Step 201 After the SCTP connection is established between the two devices, the ASP (Application Server Process) side initiates an ASP UP message to the peer SG side.
  • ASP Application Server Process
  • Step 202 After receiving the ASP UP message, the SG side responds to the ASP UP ACK message to the ASP side.
  • Step 203 After receiving the ASP UP ACK message, the ASP side may send an ASP ACTIVE message to the SG side.
  • Step 204 After receiving the ASP ACTIVE message, the SG side responds to the ASP ACTIVE ACK message to the ASP side.
  • the ASP ACTIVE message sent by the user may have an interface identifier parameter (the interface identifier is optional, generally not included).
  • the SG side compares the SG on the interface identifier. Check whether the link corresponding to the interface identifier is configured. If no interface is configured on the SG, you can not respond to the ASP ACTIVE ACK message or send an ERROR message.
  • the inventor has noticed that the above solution has a problem in that, in the above process, since the MTP link is configured on the SG and the MGC, respectively, there may be a configuration that is out of synchronization.
  • an ASP ACTIVE message is sent by the ASP side, an MTP2 link is not configured on the MGC.
  • the transmitted ASP ACTIVE message does not contain the Interface Id (interface identifier). Therefore, the ASP ACTIVE message sent by the MGC does not have the configured interface identifier. In this case, this mechanism will not work.
  • An MGC often controls an MTP link on multiple SGs.
  • the interface identifiers on the SG are generally started from 0, so that the ASP ACTIVE message sent by the ASP side that does not match is
  • the interface identifier may be the same as the interface identifier of the link configured on the SG. Because the two ends of the device are not synchronized, the exact match cannot be strictly required. As long as one interface identifier is the same, the SG side should respond to ASP ACTIVE ACK. The message, if this is configured incorrectly, can't be checked.
  • the embodiment of the present invention provides a method and a device for detecting and matching SIGTRAN configurations, which are used to solve the problem that a large number of link services are interrupted due to a small configuration error of the user, and the user is lost.
  • the embodiment of the present invention provides a signaling transmission configuration matching detection method, which includes the following steps: setting matching detection information in a message sent by a transmitting end to a peer end, and matching detection information reflects a configuration of a transmitting end, where the transmitting end and the opposite end
  • the message transmission is in accordance with the signaling transmission protocol stack specification; after receiving the message containing the matching detection information, the peer end performs the consistency check on the configuration of the sending end according to the configuration of the local end; Determine whether to make both ends enter the service state according to the consistency check result.
  • the embodiment of the present invention further provides a signaling transmission configuration matching detection apparatus, including: a matching detection information setting module, configured to set matching detection information in a message sent by the transmitting end to the opposite end, and the matching detection information reflects the configuration of the transmitting end, Wherein, the message transmission between the sender and the peer follows the signaling transport protocol stack specification;
  • the consistency check module is configured to perform consistency check on the configuration of the sender after receiving the message containing the matching detection information on the peer end.
  • the service state determining module is configured to determine, according to the consistency check result, whether the two ends enter the service state.
  • the embodiment of the invention further provides a media gateway controller, including:
  • a matching detection information setting module configured to set a matching detection information in a message sent by the sending end to the opposite end, where the matching detection information reflects a configuration of the sending end, where the message between the sending end and the opposite end
  • the transmission follows the signaling transport protocol stack specification
  • the message of the matching detection information is used to perform consistency check on the configuration of the sending end according to the configuration of the local end, and determine whether to enable the two ends to enter according to the consistency check result. State of business.
  • the embodiment of the invention further provides a signaling gateway, including:
  • the consistency check module is configured to perform consistency check on the configuration of the sending end according to the configuration of the local end, and the matching detection information is sent by the sending end to reflect the configuration of the sending end.
  • Message wherein the message transmission of the sender follows a signaling transport protocol stack specification
  • a service state determining module configured to determine, according to the consistency check result, whether to enter the two ends into the service state.
  • the configuration matching detection information of the sending end is set in the message sent by the sending end to the opposite end, and the peer end receives the message including the matching detection information, and performs consistency check on the configuration of the sending end according to the configuration of the local end. Therefore, it is determined whether the two ends are brought into the service state, so that the embodiment of the present invention can solve the problem of a large number of link service interruptions caused by small configuration errors of the user, and avoids loss to the user.
  • 1 is a schematic diagram of an application model specified by the M2UA standard in the background art
  • FIG. 2 is a schematic diagram of implementation of a basic service flow in the M2UA, IUA, SUA, M3UA, and V5UA protocols in the background art;
  • FIG. 3 is a schematic diagram of a flow of implementation of the SIGTRAN configuration matching detection method according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a SIGTRAN configuration matching detection apparatus according to an embodiment of the present invention
  • FIG. 5 is a media gateway control used for SIGTRAN configuration matching detection.
  • FIG. 6 is a schematic structural diagram of a signaling gateway used for SIGTRAN configuration matching detection;
  • FIG. 7 is a schematic flowchart of an implementation process of a SIGTRAN configuration matching detection method in an M2UA according to an embodiment of the present invention
  • FIG. 8 is a schematic diagram of a process for establishing an M3UA basic service flow according to the prior art
  • FIG. 9 is a schematic diagram of an implementation process for detecting an M3UA layer configuration match when establishing an M3UA basic service according to an embodiment of the present invention.
  • the service testing process of the M2UA, the IUA, the SUA, the M3UA, and the V5UA is introduced, so as to solve the deficiencies in the prior art, that is, the configuration of the two ends may be mismatched, so that the user can intervene in time. Measures to correct the configuration to avoid a large number of link service interruptions caused by small configuration errors of the user, causing significant losses to the user.
  • FIG. 3 is a schematic diagram of an implementation process of a SIGTRAN configuration matching detection method; as shown in the figure, an implementation of the SIGTRAN configuration matching detection method includes the following steps:
  • Step 301 Set the matching detection information in the message sent by the sending end to the peer end, where the information reflects the configuration of the sending end, where the message transmission between the sending end and the opposite end follows the SIGTRAN protocol stack;
  • Step 302 the peer end receives the After the matching detection information is matched, the matching detection process is started, and the configuration reflected in the information is checked for consistency according to the configuration of the local end;
  • Step 303 Determine, according to the consistency check result, whether the two ends enter the service state.
  • the configuration reflected in the implementation may include: an MGC device identifier, a device unique identification number, a device preferred IP address, or a signaling point where the device is located, or other content that can identify the device plus a combination of an AS identifier or a link set identifier;
  • the SIGTRAN protocol stack includes M2UA, IUA, V5UA, SUA, M3UA, etc.; detection information can be included in ASP UP, ASP UP ACK:, ASP ACTIVE, ASP ACTIVE
  • step 303 if the configuration of the two ends is found to be inconsistent, the continuing message interaction process is terminated, otherwise the normal message interaction process is continued;
  • the SIGTRAN configuration matching detecting apparatus 400 includes:
  • the matching detection information setting module 401 is configured to set the matching detection information in the message sent by the sending end to the opposite end, where the information reflects the configuration of the sending end, wherein the message transmission between the sending end and the opposite end follows the SIGTRAN protocol;
  • the consistency insurance module 402 is configured to start a matching detection process after the peer receives the matching detection information, and perform consistency check on the configuration reflected in the information according to the configuration of the local end;
  • the service state determining module 403 is configured to determine whether to bring the two ends into the service state according to the consistency check result, where, optionally, the service state determining module 403 includes:
  • An error handling module (not shown) is used to report an error message to prevent both ends from entering the service processing state.
  • FIG. 5 is a schematic structural diagram of a media gateway controller for SIGTRAN configuration matching detection; as shown in the figure, the media gateway controller includes:
  • the matching detection information setting module is configured to set a matching check in the message sent by the sending end to the opposite end. Detecting information, the matching detection information reflects the configuration of the sending end, wherein the message transmission between the transmitting end and the opposite end follows the signaling transmission protocol stack specification;
  • the message of the matching detection information is used to perform consistency check on the configuration of the sending end according to the configuration of the local end, and determine whether to enable the two ends to enter according to the consistency check result. State of business.
  • FIG. 6 is a schematic structural diagram of a signaling gateway used for SIGTRAN configuration matching detection. As shown in the figure, the signaling gateway includes:
  • a consistency check module configured to perform consistency check on the configuration of the sending end according to the configuration of the local end, and the matching detection information is sent by the sending end to reflect the sending end a configured message, where the message transmission of the sender follows a signaling transport protocol stack specification;
  • a service state determining module configured to determine, according to the consistency check result, whether to enter the two ends into the service state.
  • the signaling gateway may further include: a sending module, configured to send a message carrying the local configuration information to the sending end.
  • the service state determining module may include:
  • the error processing module is configured to prevent the two ends from entering the service processing state if the consistency check result is a configuration mismatch.
  • the detection information is added to some messages in the message interaction process, and the detection information may be added in the form of a new parameter, or may be added to the original parameter,
  • the device After receiving the message, the device removes the information from the message and checks whether the match is matched. If the configuration is matched, the M2UA is allowed to enter the service state. Otherwise, the error message is sent to prevent the service from being processed. .
  • the configuration detection mechanism is introduced, and the problem that the configurations of the two ends are matched cannot be detected. Wake up the configuration of the two sides of the user does not match, to avoid waiting for the failure of the large number of calls to locate the failure, resulting in a large number of communication interruptions, causing huge losses to operators and users.
  • FIG. 7 is a schematic flowchart of an implementation process of a SIGTRAN configuration matching detection method in an M2UA, as shown in the figure, when there are two or more ASPs serving the AS on the ASP side (for a link set using a link set)
  • the model is that an M2UA link set has two or more M2UA links to provide services for it. If ASP 1 is the first ASP that sends ASP UP messages for the AS service, ASP2 is for the AS service. The ASP that sends the ASP UP message (for the link set-link model, the M2UA link 1 sends the ASP UP message first, and the M2UA link 2 sends the ASP UP message).
  • the following processing steps are performed:
  • Step 701 On the ASP, ASP 1 sends an ASP UP message to the SG side, where the INFO String parameter (which may also be a new parameter) in the ASP UP message is added with the local configuration information (such as the MGC device identifier and the AS identifier.
  • the link set-link model may use the M2UA link set number, etc.);
  • the configuration detection information of the peer is not saved (because the ASP that receives the ASP UP message is the first in the ASP service ASP on the SG side). If the discovery message contains configuration detection information, the SG side configures the ASP UP ACK message. The detection information is saved, and then the ASP side responds to the ASP UP ACK message.
  • the INFO String parameter in the ASP UP ACK message (or a new parameter) can be used to add the local configuration information on the SG (such as an IP address configured on the SG plus the AS identifier.
  • the link model can use an IP address configured on the SG plus the M2UA link set number, or any other information that can uniquely identify the AS.
  • the sender can use the information to enable the sender. Understand the status of the peer, such as positioning, check the configuration match, and understand the reasons for the failure.
  • Step 703 On the MGC, ASP 1 receives the responded ASP UP ACK message, and finds the AS served by the ASP according to the corresponding ASP (for the link set-link model, the corresponding one is found. M2UA link set); The configuration detection information of the peer end has not been saved in the corresponding AS on the current MGC (because the ASP that sent the ASP UP message for the first AS service on the ASP side), if the ASP UP ACK is received If the message includes the configuration detection information, the configuration detection information in the ASP UP ACK message is saved; and the ASP ACTIVE message is continuously sent to the SG side;
  • Step 704 After receiving the ASP ACTIVE message on the SG side, the ASP ACTIVE ACK message is sent to the ASP side, and the ASP side enters the service processing state after receiving the ASP ACTIVE message.
  • Step 705 On the MGC, ASP2 sends an ASP UP message to the SG side, where the INFO String parameter in the ASP UP message (which may also add a parameter) includes adding local configuration information.
  • Step 706 After receiving the ASP UP message on the SG, find the ASP configured on the SG (for the link set-link model, the corresponding M2UA link may be found), and then find the AS served by the ASP (for The link set-link model may be used to find the corresponding M2UA link set, and the configuration detection information of the peer end is saved in the corresponding AS on the current SG, and the received message also includes configuration detection information.
  • the configuration detection information in the received ASP UP message is compared with the configuration detection information stored in the corresponding AS in the corresponding AS on the SG. If the information contained in the two is identical, the configurations on both ends are matched, and the response is ASP UP ACK.
  • the message is sent to the ASP side; if the content of the two is different, it needs to be handled according to different situations:
  • the gateway supports multiple homing, that is, one SG may have multiple ASPs on the MGC to provide services for the MG.
  • the configuration detection content sent by the AS on different MGCs may be different.
  • the SG can parse the content of the configuration detection.
  • the MGC device ID and the AS ID are distinguished from each other. If the device ID is the same and the ASP ID is different, the configuration error is considered. Some measures can be taken to terminate further message interaction on both sides. If the device ID cannot be resolved, directly respond to ASP UP. ACK message; and
  • gateway support does not support multi-homing, then an SG has only one ASP on the MGC to provide services for it, and it is considered that a configuration error has occurred. Some measures can be taken to terminate further message interaction on both sides.
  • the message contains configuration error information, or the configuration information of the local end is also included in the issued ASP UP ACK message, etc., which can inform the peer that the configuration parameter or content is abnormal;
  • Step 707 After receiving the ASP UP ACK message, the ASP2 on the MGC may perform the following processing according to the content included in the message:
  • the error message is output to remind the user to intervene;
  • the service flow defined by the M3UA protocol is used in this embodiment.
  • the message sending end is added to some messages in the message interaction before or after the M3UA layer enters the service state.
  • the information is sent to the peer end.
  • the configuration information can be in the form of new parameters or the original parameters of the message.
  • the peer end After receiving the information about the configuration information, the peer end obtains the configuration information for detecting the matching, and performs the consistency check with the configuration information of the peer. If the configuration information matches, the two ends connected to the M3UA layer are allowed to enter the service. State, otherwise, return an error message to the message sender to prevent access to the business processing state.
  • FIG. 8 is a schematic diagram of the implementation process of the basic service flow of the M3UA.
  • the basic business process of the M3UA layer is established as follows: Step 801: According to the service process defined by the M3UA protocol, after the SG completes the configuration of the ASP serving the AS, the SG initiates an SCTP connection with the MGC where the configured ASP is located; for example, it is assumed that ASP0 on the MGC1 is configured as AS0. Service, the SG initiates establishment of an SCTP protocol layer connection with the MGC1;
  • Step 802 After the connection of the SCTP protocol layer is completed, the MGC1 sends an eighth message to 80.
  • Step 804 The MGC1 receives the ASP. After the UP ACK message, enter the inactive state, and send an ASP ACTIVE message to the SG;
  • Step 805 After receiving the ASP ACTIVE message, the SG enters an active state, and returns an ASP ACTIVE ACK message to the MGC1.
  • Step 806 After the entire M3UA message interaction is completed, the SG and the MGC1 enter the service state, and the upper layer service message can be delivered. It is assumed that the SG in this step receives the signaling message of the destination narrowband network and the destination signaling point code is 0x111111 ( MGC1 ), and can be processed according to the destination signaling point code of the message, for example, AS0 on the SG.
  • Step 807 AS0 can select ASP0 on MGC1 to serve it, so that the signaling message encoding the destination signaling point received by the traditional narrowband network to 0x111111 (MGC1) is sent to MGC1.
  • the process of establishing the basic service flow of the M3UA layer is the same as that of the basic service flow of the M3UA layer in the SG-ASP mode.
  • the SG is replaced by an IPSEP (for example, IPSEP1) and the MGC1 is replaced.
  • Another IPSEP (such as IPSEP2), IPSEP1 and IPSEP2 replace SG and MGC1 respectively for corresponding message interaction. In this way, after the M3UA message interaction is completed, IPSEP1 and IPSEP2 can enter the service state and transmit the upper layer service message.
  • the M3UA layer can detect the M3UA layer connection by periodically sending a heartbeat message.
  • the ASP UP message and the ASP ACTIVE message sent by the MGC1 or IPSEP1 do not include the information of the signaling point code, for example, the sender's letter.
  • Point coding source signaling point coding
  • the signaling point coding (destination signaling point coding) of the receiving end, and the network identification of the transmitting end and the receiving end, etc. therefore, it is impossible to detect whether the configuration information matches. Therefore, the above process can only ensure that the M3UA layer is established between the transmitting end and the peer M3UA layer of the receiving end, but the receiving end is not the destination signaling point for receiving data. That is to say, since the signaling point code and the network identifier of the receiving end are not detected during the connection establishment process of the M3UA layer, in the case of a configuration mismatch, the receiving end may not be the destination signaling point for data reception.
  • the AS0 is configured to be served by ASP2 on MGC2 due to a configuration error, as shown by the dotted line in FIG. 1, and the SG and MGC2 perform SCTP connection and M3UA connection establishment, namely: SG initiation and MGC2
  • SCTP protocol layer connection After the SCTP protocol layer connection is completed, the MPC2 sends an ASP UP message to the SG; after receiving the ASP UP message, the SG returns an ASP UP ACK message to the MGC2; the MGC2 receives the ASP UP ACK message. Afterwards, it enters the inactive state and sends an ASP ACTIVE message to the SG.
  • the SG After receiving the ASP ACTIVE message, the SG enters an active state and returns an ASP ACTIVE ACK message to MGC2. After that, SG and MGC2 enter the service state, if the destination signaling point received by the SG from the traditional narrowband network is coded as 0x111111.
  • the signaling message of ( MGC1 ) is allocated to AS0 for processing, and AS0 selects ASP2 on the misconfigured MGC2 to serve it, then the SG will encode the destination signaling point to 0x111111.
  • the signaling message of (MGC1) is sent to MGC2 with the signaling point coded as 0x222222. However, MGC2 will discard the signaling message with the destination signaling point of 0x111111, which will cause the communication to fail.
  • the existing messages in the process of establishing an M3UA connection between the SG and the MGC do not include configuration information, and the SG and the MGC do not perform configuration matching detection, it may cause a potentially undetectable communication failure.
  • the M3UA protocol may define a message, for example, an ASP UP message, an ASP ACTIVE message, an ASP UP ACK message,
  • the configuration information for checking is added to at least one of the ASP ACTIVE ACK message, the heartbeat message, or the heartbeat response message, for example, the signaling point code of the transmitting end, the signaling point code of the receiving end, and the signaling point of the transmitting end and the receiving end.
  • the INFO String parameter in the ASP UP message is an optional parameter. Therefore, configuration information for checking may also be added therein, for example, signaling point coding at the transmitting end, signaling point coding at the receiving end, and Network identifiers of the sender and receiver.
  • new parameters can also be defined in the M3UA protocol for recording the above configuration information, so that the configuration information can be checked according to the newly defined parameters, and the definition of the M3UA protocol should be modified accordingly.
  • FIG. 9 is a schematic diagram of an implementation process for detecting an M3UA layer configuration match when establishing an M3UA basic service.
  • the configuration information for checking is added to the INFO String parameter in the ASP UP message as an example.
  • the M3UA is described with reference to the flowchart of FIG. 8.
  • Layer configuration matching detection implementation as shown in the figure, the detection includes the following steps:
  • Step 901 After the SG completes the configuration of the ASP served by the AS, the SG initiates an SCTP connection with the MGC where the configured ASP is located. For example, if the ASP0 on the MGC1 is configured as the AS0 service, the SG initiates an association with the MGC1. The establishment of the SCTP protocol layer connection.
  • Step 902 After the connection of the SCTP protocol layer is completed, the ASP UP message with the configuration information of the MGC1 is sent by the MGC1 to the SG; that is, after the SCTP protocol layer connection is established between the SG and the MGC 1, the ASP UP message is sent by the MGC1.
  • the INFO String parameter of the ASP UP message includes configuration information for checking whether the configuration of the two ends matches the destination.
  • the configuration information may be the signaling point code of the transmitting end MGC1, the destination signaling point code, and the transmitting end of the MGC1.
  • Step 903 After receiving the ASP UP message sent by the MGC1, the SG extracts the configuration information from the ASP UP message, and performs consistency check with the configuration information of the SG.
  • the SG checks the signaling point code of the transmitting end MGC1 included in the ASP UP message, the destination destination signaling point code, the network identifier of the signaling point, and the destination signaling point code of the corresponding ASP configured on the SG, and the local end. Whether the signaling point code is consistent with the network identifier of the destination signaling point, or whether the check code of the sender MGCl included in the ASP UP message is consistent with the ASP check code configured on the SG. If the detection is consistent, go to step 906, otherwise go to step 904.
  • Step 906 The foregoing configuration information is consistent, and returns a normal ASP UP ACK message to the MGCl. The flow thus proceeds to step 907.
  • Step 907 After receiving the ASP UP ACK message, the MGC1 detects that the message is a normal ASP UP ACK message that does not include a check result, so that the message can be transferred to the active state, and the ASP ACTIVE message is sent to the SG.
  • Step 908 After receiving the ASP ACTIVE message, the SG transits to the active state and returns to the ASP.
  • the ACTIVE ACK message is sent to MGC1.
  • Steps 909, SG, and MGC1 can perform delivery of upper layer service messages.
  • the SG may send a signaling message encoding the destination signaling point received from the traditional narrowband network to 0x111111 ( MGC1 ) to the MGCL.
  • the SG initiates the establishment of the SCTP protocol layer connection with the MGC2, and the MPC2 sends the ASP UP message with the configuration information of the MGC2 to the SG.
  • the SG will find a configuration error condition (the signaling point code 0x222222 of the transmitting end MGC2 is inconsistent with the destination signaling point code 0x111111 of the signaling message to be sent), that is, the signaling point code is configured as
  • the application server process ASP2 on the MGC 2 of 0x222222 serves the AS0 (the application server responsible for processing the destination signaling point code bit 0x111111)
  • AS0 the application server responsible for processing the destination signaling point code bit 0x111111
  • Step 904 The SG reports information such as a configuration error, a cause of the error (for example, a parameter indicating a mismatch) to the user, and includes information such as a configuration error and a cause of the error in the ASP UP ACK message and returns it to the MGC2.
  • information such as a configuration error, a cause of the error (for example, a parameter indicating a mismatch) to the user, and includes information such as a configuration error and a cause of the error in the ASP UP ACK message and returns it to the MGC2.
  • the SG may also send an exception message including a check result, such as an ERROR message, a NOTIFY message, or an ASP DOWN ACK message to the MGC2.
  • a check result such as an ERROR message, a NOTIFY message, or an ASP DOWN ACK message
  • the SG may also actively release the SCTP connection that has been established between the MGC and the M3UA, and report the error to the user.
  • Step 905 After receiving the ASP UP ACK message or the abnormal message returned by the SG, the MGC2 detects that the configuration error and the cause of the error are included, and may report the configuration error and the cause of the error to the user, and may further disconnect.
  • SCTP protocol layer connection The implementation of the M3UA layer configuration matching detection shows that after the MGC completes the SCTP connection with the SG, the configuration information is included in the ASP UP message and sent to the SG, so that the SG can Compare the self information to check whether it matches. When the mismatch is found, you can report the configuration error to the user in time to avoid the situation where it is difficult to find the configuration error.
  • the MGC includes configuration information in the ASP UP message and sends it to the SG for consistency check.
  • the configuration information of the MGC may be included by the MGC in the ASPUP message established during the M3UA establishment process, the ASP ACTIVE message, or any one of the heartbeat messages after the M3UA connection is established.
  • the ASP may send an ASP UP message, an ASP ACTIVE message, or a heartbeat message that does not contain its own configuration information to the SG.
  • the SG returns its configuration information to the MGC in the SG's response message such as ASP UP ACK message, ASP ACTIVE ACK message, and heartbeat message response message, and the MGC performs consistency check according to its configuration information.
  • the destination signaling point code of the signaling message to be sent by the SG, the local signaling point code, the network identifier of the destination signaling point, or the check code agreed by the signaling devices at both ends are included in the response message and returned.
  • the MGC, the destination signaling point code of the sender SG included in the MGC check response message, the network identifier of the destination signaling point is consistent with its own signaling point code and the signaling point network identifier, or the check message includes Whether the check code is the same as the check code configured on the MGC.
  • the SG-ASP mode is used as an example to describe the configuration matching detection process.
  • the configuration matching detection process is the same as the configuration matching detection process in the SG-ASP mode, except that the SG is replaced by an IPSEP ( For example, IPSEP1) and the above MGC are replaced by another IPSEP (for example, IPSEP2), and SGEP1 and IPSEP2 replace SG and MGC respectively for corresponding message interaction.
  • IPSEP1 and IPSEP2 replace SG and MGC respectively for corresponding message interaction.
  • the M3UA layer configuration detection can solve the M3UA layer cannot be solved. It is detected whether the configuration of the two sides of the message interaction matches. Further, in the case where the configurations of the two sides of the message interaction are inconsistent, the user is promptly reminded to avoid the failure cause location after the discovery of a large number of call failures, which wastes a lot of time and brings economic loss to the user.
  • the actual configuration detection information may be the device identification number, the device preferred IP address, or the device unique identification number, or the device preferred identification address.
  • the signaling point of the device or other device that can identify the device plus the combination of the AS identifier or the link set identifier, and the detection information can be in the ASP UP, ASP UP ACK, ASP ACTIVE, ASP ACTIVE ACK, HeartBeat, HeartBeat ACK messages. Carrying in any one message; after receiving the message, the peer can also check the consistency of the content in the message;
  • the above process is applicable not only to M2UA, but also to other protocols of SIGTRAN such as IUA, V5UA, M3UA, SUA, and the like.
  • the configuration detection mechanism is configured, that is, the configuration matching detection that reflects the sending end is set in the message sent by the sending end to the opposite end.
  • the peer receives the message containing the matching detection information, it performs the consistency check on the configuration of the sender with the configuration of the local end, and then determines whether the two ends enter the service state.
  • the problem is that when the configuration of the two ends is inconsistent, the user is reminded that the configuration on both sides does not match, so as to avoid the failure of the positioning after the discovery of a large number of call failures, so as to cause huge losses to the user.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)

Abstract

A method for signaling transport configuration matching detection, includes the following steps: set the matching detection information in the message which is sent to the opposite end by the sending end, and the matching detection information reflects the configuration of the sending end, in which the message transport between the sending end and the opposite end complies with the signaling transport protocol stack specification; after the opposite end received the matching detection information, it verifies the consistency of the configuration of the sending end with its configuration; determine whether to enable the two ends turn into service state according to the result of the consistency verify. An apparatus for signaling transport configuration matching detection is also provided.

Description

信令传输配置匹配检测的方法和装置 技术领域  Method and device for signaling transmission configuration matching detection
本发明涉及通信领域, 特别涉及一种信令传输配置匹配检测的方法和装 置。 背景技术  The present invention relates to the field of communications, and in particular, to a method and apparatus for signaling transmission configuration matching detection. Background technique
为了满足在 IP ( Internet Protocol, 互联网协议)网络上传输信令协议的需 求, 因特网工程任务组(Internet Engineering Task Force, IETF )成立一个专 门的信令传输小组,他们所制定的信令传输( Signalling Transport, SIGTRAN ) 协议栈支持通过 IP网络传输电路交换信令。 SIGTRAN协议栈支持电路交换信 令协议分层模型定义中的层间标准原语接口, 从而保证已有的电路交换信令 可以未经修改地使用, 同时也利用标准的 IP传输协议作为传输底层,通过增加 自身的功能来满足电路交换信令的特殊传输要求。  In order to meet the requirements of transmitting signaling protocols over IP (Internet Protocol) networks, the Internet Engineering Task Force (IETF) has established a dedicated signaling transmission group to develop signaling signaling (Signalling). Transport, SIGTRAN) The protocol stack supports the transmission of circuit-switched signaling over IP networks. The SIGTRAN protocol stack supports the inter-layer standard primitive interface in the layered model definition of the circuit-switched signaling protocol, thereby ensuring that the existing circuit-switched signaling can be used without modification, and also using the standard IP transmission protocol as the transmission underlayer. Meet the special transmission requirements of circuit-switched signaling by adding its own functions.
SIGTRAN是由一組协议组成的协议栈, 其中包含了 M2UA ( SS7 MTP2 User Adaptation Layer, NO.7信令消息传递部分第二级用户适配层) 、 M3UA ( SS7 MTP3 User Adaptation Layer, N0.7信令消息传递部分第三級用户适配 层 ) 、 SUA ( Signalling Connection Control Part User Adaptation Layer, SCCP 用户适配层)、 IUA ( ISDN Q.921 -User Adaptation Layer, ISDN Q921 用户适 配层)、 V5UA ( V5.2-User Adaptation Layer, V5.2用户适配层)分别用来实 现七号信令、 ISDN ( Integrated Services Digital Network, 综合业务数字网)信 令、 V5接入网信令消息在 IP网上和原来的电路网上的信令互通。  SIGTRAN is a protocol stack consisting of a set of protocols, including M2UA (SS7 MTP2 User Adaptation Layer, NO.7 signaling messaging part second level user adaptation layer), M3UA (SS7 MTP3 User Adaptation Layer, N0.7 Signaling message passing part of the third level user adaptation layer), SUA (Signaling Connection Control Part User Adaptation Layer), IUA (ISDN Q.921 - User Adaptation Layer, ISDN Q921 user adaptation layer), V5UA (V5.2-User Adaptation Layer, V5.2 User Adaptation Layer) is used to implement Signaling No. 7, ISDN (Integrated Services Digital Network) signaling, and V5 access network signaling messages. Signaling interworking between the IP network and the original circuit network.
图 1示出了相关技术的 M2UA标准规定的应用模型。  Fig. 1 shows an application model specified by the related art M2UA standard.
以 M2UA为例, M2UA标准规定的应用模型如图 1所示:  Taking M2UA as an example, the application model specified by the M2UA standard is shown in Figure 1:
假如 SG上有链路 0、 1、 2、 3四条 MTP链路, MTP是 "消息传递部分" 协 议的缩写, 是 ITU定义的一组协议, 分为三层, MTP 1是物理层, MTP 2是链 路层, 负责消息可靠传输, MTP 3是网络层, 负责信令网状态维护和消息路由 管理,其接口标识分别为 0、 1、 2、 3;分别由 MGC1 ( Media Gateway Controller, 媒体网关控制器)上管理 SG ( Signaling Gateway, 信令网关)上的 MTP链路 0 ( MTP link 0 )和链路 1 ( MTP link 1 ) , MGC 2管理 SG上的 MTP链路 2 ( MTP link 2 )和 3 ( MTP link 3 )。 SG上的 MTP链路 0和 MTP链路 1属于 AS ( Application Server, 应用服务器) 0, 这个 AS有 ASP 1和 ASP 2为其提供服务。 If there are four MTP links on the SG, such as links 0, 1, 2, and 3. MTP is the abbreviation of the "message delivery part" protocol. It is a set of protocols defined by the ITU. It is divided into three layers. MTP 1 is the physical layer, MTP 2 Is the link layer, responsible for reliable transmission of messages, MTP 3 is the network layer, responsible for signaling network status maintenance and message routing Management, the interface identifiers are 0, 1, 2, 3; respectively, MTP link 0 (MTP link 0) on the SG (Signaling Gateway) is managed by the MGC1 (Media Gateway Controller). And link 1 (MTP link 1), MGC 2 manages MTP link 2 (MTP link 2) and 3 (MTP link 3) on the SG. The MTP link 0 and the MTP link 1 on the SG belong to the AS (Application Server) 0. This AS has ASP 1 and ASP 2 to provide services.
然而, 一个问题在于, 如果当 ASP 0和 ASP 1都已经进入业务态, MTP链 路 0和 MTP链路 1都已经建立链路并且进行数据通讯时,如果用户在配置 ASP 2 时不小心将 ASP 2配置成也为 AS (W良务时, 因为标准没有定义配置检查机制, ASP 2也会进入业务态。 如果此时来自 MTP 0和 MTP 1链路上的业务分发给 ASP 2处理, ASP 2会发现其不能处理这两条链路发来的业务消息, 可能会发 送消息给 SG要求拆除这两条 MTP链路,或者至少给 SG发一个 ERROR消息(原 因是不存在的接口标识); SG收到这个消息以后认为 MGC已经不能处理这两 条链路上的业务了, 也会拆除 MTP链路 0和 MTP链路 1 , 从而造成两条链路业 务中断。 因为 MTP链路都可能服务于大量的用户, 如果大量 MTP链路中断, 将会给运营商和用户带来巨大的损失。  However, one problem is that if both ASP 0 and ASP 1 have entered the service state, both MTP link 0 and MTP link 1 have established a link and data communication, if the user accidentally ASP when configuring ASP 2 2 is configured to be also AS (W), because the standard does not define a configuration check mechanism, ASP 2 will also enter the service state. If the services from the MTP 0 and MTP 1 links are distributed to ASP 2, ASP 2 It will find that it cannot process the service messages sent by the two links, and may send a message to the SG to remove the two MTP links, or at least send an ERROR message to the SG (because the interface identifier does not exist); SG After receiving this message, it is considered that the MGC can not handle the services on the two links, and the MTP link 0 and the MTP link 1 are also removed, causing the two link services to be interrupted. Because the MTP link may serve A large number of users, if a large number of MTP links are interrupted, will bring huge losses to operators and users.
图 2示出了 M2UA、 IUA、 SUA, M3UA、和 V5UA协议中的基本业务流程。 如图 2所示, 在 M2UA、 IUA、 SUA, M3UA、 和 V5UA协议中, 基本业务 流程是分四步完成的:  Figure 2 shows the basic business processes in the M2UA, IUA, SUA, M3UA, and V5UA protocols. As shown in Figure 2, in the M2UA, IUA, SUA, M3UA, and V5UA protocols, the basic business process is completed in four steps:
步驟 201, 在两侧设备之间建立好 SCTP连接以后, 由 ASP ( Application Server Process, 应用服务器进程 )侧发起 ASP UP消息到对端 SG侧;  Step 201: After the SCTP connection is established between the two devices, the ASP (Application Server Process) side initiates an ASP UP message to the peer SG side.
步驟 202, SG侧收到 ASP UP消息以后回应 ASP UP ACK消息给 ASP侧; 步骤 203, ASP侧收到 ASP UP ACK消息以后, 就可以发送 ASP ACTIVE 消息给 SG侧;  Step 202: After receiving the ASP UP message, the SG side responds to the ASP UP ACK message to the ASP side. Step 203: After receiving the ASP UP ACK message, the ASP side may send an ASP ACTIVE message to the SG side.
步骤 204, SG侧收到 ASP ACTIVE消息以后, 响应 ASP ACTIVE ACK消息 给 ASP侧。  Step 204: After receiving the ASP ACTIVE message, the SG side responds to the ASP ACTIVE ACK message to the ASP side.
用户发出的 ASP ACTIVE消息可以带有接口标识参数(接口标识属于可 选, 一般都不带) , SG侧收到 ASP ACTIVE消息以后根据接口标识对照 SG上 看看接口标识对应的链路是否已经配置,如果没有一个接口在 SG上得到配置, 就可以不响应 ASP ACTIVE ACK消息或者发送 ERROR消息。 The ASP ACTIVE message sent by the user may have an interface identifier parameter (the interface identifier is optional, generally not included). After receiving the ASP ACTIVE message, the SG side compares the SG on the interface identifier. Check whether the link corresponding to the interface identifier is configured. If no interface is configured on the SG, you can not respond to the ASP ACTIVE ACK message or send an ERROR message.
发明人在实现本发明的过程中, 注意到上述方案的问题在于, 上述的进 程中, 因为 MTP链路是分別在 SG和 MGC两个设备上进行配置的, 所以可能存 在配置不同步,有可能 ASP侧发送 ASP ACTIVE消息时 MGC上还没有配置一个 MTP2链路, 发送的 ASP ACTIVE消息中就不会包含 Interface Id (接口标识) , 因此一般 MGC发出的 ASP ACTIVE消息中都不带配置的接口标识, 这种情况 下这种机制就无法发挥效用。  In the process of implementing the present invention, the inventor has noticed that the above solution has a problem in that, in the above process, since the MTP link is configured on the SG and the MGC, respectively, there may be a configuration that is out of synchronization. When an ASP ACTIVE message is sent by the ASP side, an MTP2 link is not configured on the MGC. The transmitted ASP ACTIVE message does not contain the Interface Id (interface identifier). Therefore, the ASP ACTIVE message sent by the MGC does not have the configured interface identifier. In this case, this mechanism will not work.
另外一方面, 上述方案还存在一个问题, 一个 MGC往往控制多个 SG上的 MTP链路, SG上的接口标识习惯上一般都是从 0开始, 这样不匹配的 ASP侧发 出的 ASP ACTIVE消息中带有的接口标识可能恰好与 SG上配置的链路的接口 标识相同, 因为设备两端配置不同步的原因, 不能严格要求完全匹配, 只要 有一个接口标识相同, SG侧就应该回应 ASP ACTIVE ACK消息, 这样配置错 误的情况下也检查不出来。  On the other hand, the above solution still has a problem. An MGC often controls an MTP link on multiple SGs. The interface identifiers on the SG are generally started from 0, so that the ASP ACTIVE message sent by the ASP side that does not match is The interface identifier may be the same as the interface identifier of the link configured on the SG. Because the two ends of the device are not synchronized, the exact match cannot be strictly required. As long as one interface identifier is the same, the SG side should respond to ASP ACTIVE ACK. The message, if this is configured incorrectly, can't be checked.
因此, 在例如 M2UA、 IUA、 SUA, M3UA、 和 V5UA协议的现有技术中, 当两端配置不匹配时, 会因为用户小的配置失误就造成大量链路业务中断, 给用户带来重大损失。 发明内容  Therefore, in the prior art of the M2UA, IUA, SUA, M3UA, and V5UA protocols, when the configuration of the two ends does not match, a large number of link services are interrupted due to a small configuration error of the user, causing significant loss to the user. . Summary of the invention
本发明实施例提供了一种 SIGTRAN配置匹配检测方法和装置, 用以解决 由于用户小的配置失误而造成的大量链路业务中断, 以至给用户带来损失的 问题。  The embodiment of the present invention provides a method and a device for detecting and matching SIGTRAN configurations, which are used to solve the problem that a large number of link services are interrupted due to a small configuration error of the user, and the user is lost.
本发明实施例提供了一种信令传输配置匹配检测方法 , 包括以下步骤: 在发送端向对端发送的消息中设置匹配检测信息 , 匹配检测信息反映发 送端的配置, 其中, 发送端与对端之间的消息传送遵循信令传输协议栈规范; 对端收到包含匹配检测信息的消息后, 结合本端的配置对发送端的配置 进行一致性校验; 根据一致性校验结果确定是否使两端进入业务态。 The embodiment of the present invention provides a signaling transmission configuration matching detection method, which includes the following steps: setting matching detection information in a message sent by a transmitting end to a peer end, and matching detection information reflects a configuration of a transmitting end, where the transmitting end and the opposite end The message transmission is in accordance with the signaling transmission protocol stack specification; after receiving the message containing the matching detection information, the peer end performs the consistency check on the configuration of the sending end according to the configuration of the local end; Determine whether to make both ends enter the service state according to the consistency check result.
本发明实施例还提供了一种信令传输配置匹配检测装置, 包括: 匹配检测信息设置模块, 用于在发送端向对端发送的消息中设置匹配检 测信息, 匹配检测信息反映发送端的配置, 其中, 发送端与对端之间的消息 传送遵循信令传输协议栈规范;  The embodiment of the present invention further provides a signaling transmission configuration matching detection apparatus, including: a matching detection information setting module, configured to set matching detection information in a message sent by the transmitting end to the opposite end, and the matching detection information reflects the configuration of the transmitting end, Wherein, the message transmission between the sender and the peer follows the signaling transport protocol stack specification;
一致性校验模块, 用于对端收到包含匹配检测信息的消息后, 结合本端 的配置对发送端的配置进行一致性校验;  The consistency check module is configured to perform consistency check on the configuration of the sender after receiving the message containing the matching detection information on the peer end.
业务态确定模块, 用于根据一致性校验结果确定是否使两端进入业务态。 本发明实施例还提供了一种媒体网关控制器, 包括:  The service state determining module is configured to determine, according to the consistency check result, whether the two ends enter the service state. The embodiment of the invention further provides a media gateway controller, including:
匹配检测信息设置模块, 用于在发送端向对端发送的消息中设置匹配检 测信息, 所述匹配检测信息反映所述发送端的配置, 其中, 所述发送端与所 述对端之间的消息传送遵循信令传输协议栈规范;  a matching detection information setting module, configured to set a matching detection information in a message sent by the sending end to the opposite end, where the matching detection information reflects a configuration of the sending end, where the message between the sending end and the opposite end The transmission follows the signaling transport protocol stack specification;
所述匹配检测信息的消息, 用于在对端收到后结合本端的配置对所述发 送端的配置进行一致性校验, 并根据所述一致性校验结果确定是否使所述两 端进入所述业务态。  And the message of the matching detection information is used to perform consistency check on the configuration of the sending end according to the configuration of the local end, and determine whether to enable the two ends to enter according to the consistency check result. State of business.
本发明实施例还提供了一种信令网关, 包括:  The embodiment of the invention further provides a signaling gateway, including:
一致性校验模块, 用于收到包含匹配检测信息的消息后, 结合本端的配 置对发送端的配置进行一致性校验, 所述匹配检测信息是所述发送端发送的 反映所述发送端配置的消息, 其中, 所述发送端的消息传送遵循信令传输协 议栈规范;  The consistency check module is configured to perform consistency check on the configuration of the sending end according to the configuration of the local end, and the matching detection information is sent by the sending end to reflect the configuration of the sending end. Message, wherein the message transmission of the sender follows a signaling transport protocol stack specification;
业务态确定模块, 用于根据所述一致性校验结果确定是否使所述两端进 入所述业务态。  And a service state determining module, configured to determine, according to the consistency check result, whether to enter the two ends into the service state.
由于本发明实施例中, 在发送端向对端发送的消息中设置反映发送端的 配置匹配检测信息, 对端收到包含匹配检测信息的消息后, 结合本端的配置 对发送端的配置进行一致性校验, 从而再确定是否使两端进入业务态, 使得 本发明实施例可以解决由于用户小的配置失误而造成的大量链路业务中断的 问题, 避免了给用户带来损失。 附图说明 In the embodiment of the present invention, the configuration matching detection information of the sending end is set in the message sent by the sending end to the opposite end, and the peer end receives the message including the matching detection information, and performs consistency check on the configuration of the sending end according to the configuration of the local end. Therefore, it is determined whether the two ends are brought into the service state, so that the embodiment of the present invention can solve the problem of a large number of link service interruptions caused by small configuration errors of the user, and avoids loss to the user. DRAWINGS
图 1为背景技术中所述 M2UA标准规定的应用模型示意图;  1 is a schematic diagram of an application model specified by the M2UA standard in the background art;
图 2为背景技术中所述 M2UA、 IUA、 SUA、 M3UA、 和 V5UA协议中的基 本业务流程实施示意图;  2 is a schematic diagram of implementation of a basic service flow in the M2UA, IUA, SUA, M3UA, and V5UA protocols in the background art;
图 3为本发明实施例中所述 SIGTRAN配置匹配检测方法实施流程示意图; 图 4为本发明实施例中所述 SIGTRAN配置匹配检测装置结构示意图; 图 5为用于 SIGTRAN配置匹配检测的媒体网关控制器结构示意图; 图 6为用于 SIGTRAN配置匹配检测的信令网关结构示意图;  FIG. 3 is a schematic diagram of a flow of implementation of the SIGTRAN configuration matching detection method according to an embodiment of the present invention; FIG. 4 is a schematic structural diagram of a SIGTRAN configuration matching detection apparatus according to an embodiment of the present invention; and FIG. 5 is a media gateway control used for SIGTRAN configuration matching detection. FIG. 6 is a schematic structural diagram of a signaling gateway used for SIGTRAN configuration matching detection;
图 7为本发明实施例中所述在 M2UA中的 SIGTRAN配置匹配检测方法实 施流程示意图; .  7 is a schematic flowchart of an implementation process of a SIGTRAN configuration matching detection method in an M2UA according to an embodiment of the present invention;
图 8为现有技术中所述 M3UA基本业务流程建立实施流程示意图; 图 9为本发明实施例中所述在建立 M3UA基本业务时检测 M3UA层配置匹 配的实施流程示意图。 具体实施方式  FIG. 8 is a schematic diagram of a process for establishing an M3UA basic service flow according to the prior art; FIG. 9 is a schematic diagram of an implementation process for detecting an M3UA layer configuration match when establishing an M3UA basic service according to an embodiment of the present invention. detailed description
下面结合附图说明本发明的具体实施方式。  Specific embodiments of the present invention will be described below with reference to the accompanying drawings.
本发明实施例中引入了 M2UA、 IUA、 SUA、 M3UA、 和 V5UA业务测试 流程, 以便解决现有技术中的不足, 即, 能够检测出两端配置不匹配的情况, 从而使得用户能够及时采取干预措施, 修正配置, 避免因为用户小的配置失 误造成大量链路业务中断, 给用户带来重大损失。  In the embodiment of the present invention, the service testing process of the M2UA, the IUA, the SUA, the M3UA, and the V5UA is introduced, so as to solve the deficiencies in the prior art, that is, the configuration of the two ends may be mismatched, so that the user can intervene in time. Measures to correct the configuration to avoid a large number of link service interruptions caused by small configuration errors of the user, causing significant losses to the user.
图 3为 SIGTRAN配置匹配检测方法实施流程示意图; 如图所示, 实施中 SIGTRAN配置匹配检测方法包括以下步骤:  FIG. 3 is a schematic diagram of an implementation process of a SIGTRAN configuration matching detection method; as shown in the figure, an implementation of the SIGTRAN configuration matching detection method includes the following steps:
步驟 301 , 在发送端向对端发送的消息中设置匹配检测信息, 该信息反映 发送端的配置, 其中, 发送端与对端之间的消息传送遵循 SIGTRAN协议栈; 步驟 302, 对端收到该匹配检测信息后启动匹配检测进程, 结合本端的配 置对信息中所反映的配置进行一致性校验; 步驟 303 , 根据一致性校验结果来确定是否使两端进入业务态。 Step 301: Set the matching detection information in the message sent by the sending end to the peer end, where the information reflects the configuration of the sending end, where the message transmission between the sending end and the opposite end follows the SIGTRAN protocol stack; Step 302, the peer end receives the After the matching detection information is matched, the matching detection process is started, and the configuration reflected in the information is checked for consistency according to the configuration of the local end; Step 303: Determine, according to the consistency check result, whether the two ends enter the service state.
在上述的方法中, 在步骤 301中, 实施中所反映的配置可以包括: MGC 设备标识、 设备唯一标识号、 设备首选 IP地址、 或者设备所在信令点、 或者其 他可以标识设备的内容加上 AS标识或者链路集标识的組合;  In the foregoing method, in step 301, the configuration reflected in the implementation may include: an MGC device identifier, a device unique identification number, a device preferred IP address, or a signaling point where the device is located, or other content that can identify the device plus a combination of an AS identifier or a link set identifier;
SIGTRAN协议栈包括 M2UA、 IUA、 V5UA、 SUA、 M3UA等; 检测信息可以包含在 ASP UP、 ASP UP ACK:、 ASP ACTIVE, ASP ACTIVE The SIGTRAN protocol stack includes M2UA, IUA, V5UA, SUA, M3UA, etc.; detection information can be included in ASP UP, ASP UP ACK:, ASP ACTIVE, ASP ACTIVE
ACK、 NOTIFY, ERROR、 HEARTBEAT、 HEARTBEAT ACK等消息中。 ACK, NOTIFY, ERROR, HEARTBEAT, HEARTBEAT ACK, etc.
在步骤 303中, 实施中如果发现两端配置不一致, 就终止继续的消息交互 流程, 否则继续正常的消息交互流程;  In step 303, if the configuration of the two ends is found to be inconsistent, the continuing message interaction process is terminated, otherwise the normal message interaction process is continued;
如果配置匹配, 则允许两侧进入业务态, 否则报出错信息, 阻止进入业 务处理状态。  If the configuration matches, the two sides are allowed to enter the service state. Otherwise, an error message is reported to prevent the entry into the service processing state.
图 4为 SIGTRAN配置匹配检测装置结构示意图; 如图所示, SIGTRAN配 置匹配检测装置 400包括:  4 is a schematic structural diagram of a SIGTRAN configuration matching detecting apparatus; as shown in the figure, the SIGTRAN configuration matching detecting apparatus 400 includes:
匹配检测信息设置模块 401 , 用于在发送端向对端发送的消息中设置匹配 检测信息, 该信息反映发送端的配置, 其中, 发送端与对端之间的消息传送 遵循 SIGTRAN协议桟;  The matching detection information setting module 401 is configured to set the matching detection information in the message sent by the sending end to the opposite end, where the information reflects the configuration of the sending end, wherein the message transmission between the sending end and the opposite end follows the SIGTRAN protocol;
一致性校险模块 402 , 用于对端收到该匹配检测信息后启动匹配检测进 程 , 结合本端的配置对信息中所反映的配置进行一致性校验;  The consistency insurance module 402 is configured to start a matching detection process after the peer receives the matching detection information, and perform consistency check on the configuration reflected in the information according to the configuration of the local end;
业务态确定模块 403, 用于根据一致性校验结果来确定是否使两端进入业 务态, 其中, 可选地, 业务态确定模块 403包括:  The service state determining module 403 is configured to determine whether to bring the two ends into the service state according to the consistency check result, where, optionally, the service state determining module 403 includes:
允许进入模块 (未示出) , 用于如果一致性校验结果为配置匹配, 则允 许两端进入业务态; 以及  Allow access to the module (not shown) for allowing the two ends to enter the service state if the consistency check result is a configuration match;
出错处理模块(未示出) , 用于报出错信息, 阻止两端进入业务处理状 态。  An error handling module (not shown) is used to report an error message to prevent both ends from entering the service processing state.
图 5为用于 SIGTRAN配置匹配检测的媒体网关控制器结构示意图;如图所 示, 媒体网关控制器, 包括:  FIG. 5 is a schematic structural diagram of a media gateway controller for SIGTRAN configuration matching detection; as shown in the figure, the media gateway controller includes:
匹配检测信息设置模块, 用于在发送端向对端发送的消息中设置匹配检 测信息, 所迷匹配检测信息反映所述发送端的配置, 其中, 所述发送端与所 迷对端之间的消息传送遵循信令传输协议栈规范; The matching detection information setting module is configured to set a matching check in the message sent by the sending end to the opposite end. Detecting information, the matching detection information reflects the configuration of the sending end, wherein the message transmission between the transmitting end and the opposite end follows the signaling transmission protocol stack specification;
所述匹配检测信息的消息, 用于在对端收到后结合本端的配置对所述发 送端的配置进行一致性校验, 并根据所述一致性校验结果确定是否使所述两 端进入所述业务态。  And the message of the matching detection information is used to perform consistency check on the configuration of the sending end according to the configuration of the local end, and determine whether to enable the two ends to enter according to the consistency check result. State of business.
图 6为用于 SIGTRAN配置匹配检测的信令网关结构示意图, 如图所示, 信令网关包括:  FIG. 6 is a schematic structural diagram of a signaling gateway used for SIGTRAN configuration matching detection. As shown in the figure, the signaling gateway includes:
—致性校验模块, 用于收到包含匹配检测信息的消息后, 结合本端的配 置对发送端的配置进行一致性校验, 所述匹配检测信息是所述发送端发送的 反映所述发送端配置的消息, 其中, 所述发送端的消息传送遵循信令传输协 议栈规范;  a consistency check module, configured to perform consistency check on the configuration of the sending end according to the configuration of the local end, and the matching detection information is sent by the sending end to reflect the sending end a configured message, where the message transmission of the sender follows a signaling transport protocol stack specification;
业务态确定模块, 用于根据所述一致性校验结果确定是否使所述两端进 入所述业务态。  And a service state determining module, configured to determine, according to the consistency check result, whether to enter the two ends into the service state.
信令网关还可以进一步包括: 发送模块, 用于向所述发送端发送携带本 端配置信息的消息。  The signaling gateway may further include: a sending module, configured to send a message carrying the local configuration information to the sending end.
所述业务态确定模块可以包括:  The service state determining module may include:
允许进入模块, 用于如果所述一致性校验结果为配置匹配, 则允许所述 两端进入所述业务态;  Allowing the entry module to allow the two ends to enter the service state if the consistency check result is a configuration match;
出错处理模块, 用于如果所述一致性校验结果为配置不匹配, 拫出错信 息, 阻止所述两端进入业务处理状态。  The error processing module is configured to prevent the two ends from entering the service processing state if the consistency check result is a configuration mismatch.
本发明实施例中采用了在 M2UA消息交互过程中,在消息交互流程中的某 些消息中加入检测信息, 检测信息可以以新增参数的形式, 也可以利用在原 有参数中加入检测内容, 对端收到这个消息以后, 从消息中取出检测是否匹 配的信息, 结合本端配置进行一致性校验, 如果配置匹配, 则允许 M2UA两侧 进入业务态, 否则报出错信息, 阻止进入业务处理状态。  In the embodiment of the present invention, in the M2UA message interaction process, the detection information is added to some messages in the message interaction process, and the detection information may be added in the form of a new parameter, or may be added to the original parameter, After receiving the message, the device removes the information from the message and checks whether the match is matched. If the configuration is matched, the M2UA is allowed to enter the service state. Otherwise, the error message is sent to prevent the service from being processed. .
从上述实施例可以看出, 由于引入了配置检测机制, 解决了无法检测出 两端配置是否匹配的问题, 从而当出现两端配置不一致的情况, 能够即时提 醒用户两侧配置不匹配, 避免等到发现大量呼叫失败以后才定位失败原因, 导致大量通信中断, 给运营商和用户带来巨大的损失。 It can be seen from the foregoing embodiment that the configuration detection mechanism is introduced, and the problem that the configurations of the two ends are matched cannot be detected. Wake up the configuration of the two sides of the user does not match, to avoid waiting for the failure of the large number of calls to locate the failure, resulting in a large number of communication interruptions, causing huge losses to operators and users.
下面将参照图 7, 以 M2UA为例, 来说明本发明的具体实施方式。  A specific embodiment of the present invention will be described below with reference to Fig. 7, taking M2UA as an example.
图 7为在 M2UA中的 SIGTRAN配置匹配检测方法实施流程示意图,如图所 示, 如图所示, 当在 ASP侧有两个或者多个 ASP为该 AS服务(对于采用链路 集一链路模型的是某个 M2UA链路集有两个或者多个 M2UA链路为其提供服 务) , 假如 ASP 1是为该 AS服务的第一个发送 ASP UP消息的 ASP, ASP2是为 该 AS服务的后发送 ASP UP消息的 ASP (对于采用链路集-链路模型的是 M2UA链路1先发送ASP UP消息, M2UA链路 2后发送 ASP UP消息) , 在该实 施例中有如下处理步骤:  7 is a schematic flowchart of an implementation process of a SIGTRAN configuration matching detection method in an M2UA, as shown in the figure, when there are two or more ASPs serving the AS on the ASP side (for a link set using a link set) The model is that an M2UA link set has two or more M2UA links to provide services for it. If ASP 1 is the first ASP that sends ASP UP messages for the AS service, ASP2 is for the AS service. The ASP that sends the ASP UP message (for the link set-link model, the M2UA link 1 sends the ASP UP message first, and the M2UA link 2 sends the ASP UP message). In this embodiment, the following processing steps are performed:
步骤 701: 在 ASP上 ASP 1发出 ASP UP消息给 SG侧, 其中 ASP UP消息中 的 INFO String参数(也可以是新增参数) 中增加本端配置信息 (比如 MGC设 备标识、 AS标识,对于采用链路集 -链路模型的可以使用 M2UA链路集号等); 步骤 702:在 SG上收到 ASP UP消息以后,会找到在 SG上配置的对应的 ASP (对于采用链路集-链路模型的可以是找到对应的 M2UA链路),进而找到该 ASP所服务的 AS (对于采用链路集 -链路模型的可以是找到对应的 M2UA链 路集), 而当前 SG上对应 AS中还没有保存过对端的配置检测信息(因为在 SG 侧为该 AS服务 ASP中第一个收到 ASP UP消息的 ASP ) , 如果发现消息中包含 配置检测信息, SG侧将 ASP UP ACK消息中的配置检测信息保存下来, 然后 给 ASP侧回应 ASP UP ACK消息。作为可选, ASP UP ACK消息中的 INFO String 参数(也可以新增参数) 中可以增加 SG上本端配置信息 (比如 SG上配置的某 个 IP地址加上 AS标识, 对于采用链路集-链路模型的可以使用 SG上配置的某 个 IP地址加上 M2UA链路集号, 或者其他能够唯一标识该 AS的任何信息) , 通过增加本端配置信息后, 可以通过该信息来使发送端了解对端的状况, 如 定位、 检查配置匹配情况, 从而了解匹配失败的原因等。  Step 701: On the ASP, ASP 1 sends an ASP UP message to the SG side, where the INFO String parameter (which may also be a new parameter) in the ASP UP message is added with the local configuration information (such as the MGC device identifier and the AS identifier. The link set-link model may use the M2UA link set number, etc.); Step 702: After receiving the ASP UP message on the SG, the corresponding ASP configured on the SG is found (for the link set-link) The model may be to find the corresponding M2UA link), and then find the AS served by the ASP (for the link set-link model, the corresponding M2UA link set may be found), and the current SG corresponds to the AS. The configuration detection information of the peer is not saved (because the ASP that receives the ASP UP message is the first in the ASP service ASP on the SG side). If the discovery message contains configuration detection information, the SG side configures the ASP UP ACK message. The detection information is saved, and then the ASP side responds to the ASP UP ACK message. As an option, the INFO String parameter in the ASP UP ACK message (or a new parameter) can be used to add the local configuration information on the SG (such as an IP address configured on the SG plus the AS identifier. The link model can use an IP address configured on the SG plus the M2UA link set number, or any other information that can uniquely identify the AS. After adding the local configuration information, the sender can use the information to enable the sender. Understand the status of the peer, such as positioning, check the configuration match, and understand the reasons for the failure.
步骤 703: 在 MGC上 ASP 1收到了响应的 ASP UP ACK消息, 会根据对应 的 ASP找到该 ASP所服务的 AS (对于采用链路集-链路模型的是找到对应的 M2UA链路集) ; 而当前 MGC上对应 AS中还没有保存过对端的配置检测信息 (因为在 ASP侧为该 AS服务的第一个发送 ASP UP消息的 ASP ) , 如果收到的 ASP UP ACK消息中包含配置检测信息, 则将 ASP UP ACK消息中的配置检测 信息保存下来; 继续发送 ASP ACTIVE消息给 SG侧; Step 703: On the MGC, ASP 1 receives the responded ASP UP ACK message, and finds the AS served by the ASP according to the corresponding ASP (for the link set-link model, the corresponding one is found. M2UA link set); The configuration detection information of the peer end has not been saved in the corresponding AS on the current MGC (because the ASP that sent the ASP UP message for the first AS service on the ASP side), if the ASP UP ACK is received If the message includes the configuration detection information, the configuration detection information in the ASP UP ACK message is saved; and the ASP ACTIVE message is continuously sent to the SG side;
步骤 704: 在 SG侧收到了 ASP ACTIVE消息以后, 响应 ASP ACTIVE ACK 消息给 ASP侧, ASP侧收到 ASP ACTIVE消息以后双方都进入到业务处理状 态;  Step 704: After receiving the ASP ACTIVE message on the SG side, the ASP ACTIVE ACK message is sent to the ASP side, and the ASP side enters the service processing state after receiving the ASP ACTIVE message.
步骤 705: 在 MGC上 ASP2发出 ASP UP消息给 SG侧 , 其中 ASP UP消息中 的 INFO String参数 (也可以新增参数 ) 中包含有增加本端配置信息;  Step 705: On the MGC, ASP2 sends an ASP UP message to the SG side, where the INFO String parameter in the ASP UP message (which may also add a parameter) includes adding local configuration information.
步骤 706: 在 SG上收到 ASP UP消息以后, 找到在 SG上配置的 ASP (对于 采用链路集-链路模型的可以是找到对应的 M2UA链路), 进而找到 ASP所服 务的 AS (对于采用链路集-链路模型的可以是找到对应的 M2UA链路集) , 而当前 SG上对应 AS中保存了对端的配置检测信息, 而收到的消息 ASP UP中 也包含配置检测信息, 则拿收到的 ASP UP消息中的配置检测信息与 SG上对应 AS中保存了对端的配置检测信息进行比较, 如果两者包含的信息完全相同, 则认为两端配置是匹配的, 响应 ASP UP ACK消息给 ASP侧; 如果两者包含的 内容不同, 则需要根据不同情况处理:  Step 706: After receiving the ASP UP message on the SG, find the ASP configured on the SG (for the link set-link model, the corresponding M2UA link may be found), and then find the AS served by the ASP (for The link set-link model may be used to find the corresponding M2UA link set, and the configuration detection information of the peer end is saved in the corresponding AS on the current SG, and the received message also includes configuration detection information. The configuration detection information in the received ASP UP message is compared with the configuration detection information stored in the corresponding AS in the corresponding AS on the SG. If the information contained in the two is identical, the configurations on both ends are matched, and the response is ASP UP ACK. The message is sent to the ASP side; if the content of the two is different, it needs to be handled according to different situations:
1、如果网关支持多归属, 即一个 SG可以有多个 MGC上的 ASP为其提供服 务,可能不同 MGC上 AS发出的配置检测内容是不相同的,如杲 SG可以解析出 配置检测的内容, 从中区分出 MGC设备标识和 AS标识, 则进行比较, 如果设 备标识相同, ASP标识不同, 就认为发生了配置错误, 可以采取一些措施终止 两侧进一步消息交互; 如果不能解析, 则直接响应 ASP UP ACK消息; 以及 1. If the gateway supports multiple homing, that is, one SG may have multiple ASPs on the MGC to provide services for the MG. The configuration detection content sent by the AS on different MGCs may be different. For example, the SG can parse the content of the configuration detection. The MGC device ID and the AS ID are distinguished from each other. If the device ID is the same and the ASP ID is different, the configuration error is considered. Some measures can be taken to terminate further message interaction on both sides. If the device ID cannot be resolved, directly respond to ASP UP. ACK message; and
2、如果网关支持不支持多归属,则一个 SG只有一个 MGC上的 ASP为其提 供服务, 就认为发生了配置错误, 可以采取一些措施终止两侧进一步消息交 互。 2. If the gateway support does not support multi-homing, then an SG has only one ASP on the MGC to provide services for it, and it is considered that a configuration error has occurred. Some measures can be taken to terminate further message interaction on both sides.
终止两侧的进一步消息交互的方法有 [艮多, 可以但不限于采用类似如下 一些措施: 当不响应 ASP UP ACK消息时, 可以输出出错信息让 SG侧用户干预; 当响应一个异常消息如 ERROR、 NOTIFY > ASP DOWN ACK等消息时, 消息中可以包含错误原因信息; There are [more] ways to terminate further message interactions on both sides, but it is not limited to using some measures like the following: When the ASP UP ACK message is not responded, an error message may be output to allow the SG side user to intervene; when responding to an abnormal message such as ERROR, NOTIFY > ASP DOWN ACK, the message may include error cause information;
当响应 ASP UP ACK消息时, 但消息中包含了配置出错信息, 或者将本端 的配置信息也包含在发出的 ASP UP ACK消息等可以告知对端发生了配置异 常的参数或者内容;  When responding to the ASP UP ACK message, but the message contains configuration error information, or the configuration information of the local end is also included in the issued ASP UP ACK message, etc., which can inform the peer that the configuration parameter or content is abnormal;
当拆除建立的 SCTP偶链时, 可以输出错误信息。  When the established SCTP couple chain is removed, an error message can be output.
步骤 707: MGC上 ASP2如果发出 ASP UP消息以后收到 ASP UP ACK消息, 可以根据消息中包含的内容分别做如下处理:  Step 707: After receiving the ASP UP ACK message, the ASP2 on the MGC may perform the following processing according to the content included in the message:
1、 如果消息中包含了配置出错信息, 则输出错误信息提醒用户干预; 1. If the message contains configuration error information, the error message is output to remind the user to intervene;
2、 消息中没有出错信息, 但是存在对端的配置信息, 而当前 MGC上对应 AS中保存有对端的配置检测信息, 则拿 ASP UP ACK消息中的配置检测信息 和 MGC上对应 AS中保存的对端的配置检测信息进行比较, 如果一致则继续处 理, 如果不一致, 则输出错误信息提醒用户干预; 以及 2. There is no error message in the message, but there is configuration information of the peer. If the configuration detection information of the peer is saved in the corresponding AS on the current MGC, the configuration detection information in the ASP UP ACK message and the pair saved in the corresponding AS on the MGC are obtained. The configuration detection information of the end is compared, if it is consistent, the processing is continued, and if it is inconsistent, an error message is output to prompt the user to intervene;
3、 如果消息中不包含配置检测信息也没有错误信息, 继续按照原来处理 发送 ASP ACTIVE消息。  3. If the message does not contain configuration detection information and no error message, continue to send the ASP ACTIVE message according to the original processing.
下面再以 M3 UA为例来说明本发明的具体实施方式。  The specific embodiment of the present invention will be described below by taking M3 UA as an example.
为了与 M3UA协议兼容, 本实施例中使用 M3UA协议定义的业务流程, 不 同的是,在实施例中, 消息发送端在 M3UA层进入业务态之前或之后的消息交 互中的某些消息中加入配置信息, 并将加入配置信息的消息发送给对端, 配 置信息可以采用新增参数的形式, 也可以利用消息原有的参数。 对端收到加 入配置信息的消息以后, 从消息中取出用于检测是否匹配的配置信息, 结合 自身的配置信息进行一致性校验,如果配置信息匹配, 则允许 M3UA层连接的 两端进入业务态, 否则, 向消息发送端返回出错信息, 阻止进入业务处理状 态。  In order to be compatible with the M3UA protocol, the service flow defined by the M3UA protocol is used in this embodiment. The difference is that, in the embodiment, the message sending end is added to some messages in the message interaction before or after the M3UA layer enters the service state. The information is sent to the peer end. The configuration information can be in the form of new parameters or the original parameters of the message. After receiving the information about the configuration information, the peer end obtains the configuration information for detecting the matching, and performs the consistency check with the configuration information of the peer. If the configuration information matches, the two ends connected to the M3UA layer are allowed to enter the service. State, otherwise, return an error message to the message sender to prevent access to the business processing state.
图 8为 M3UA基本业务流程建立实施流程示意图, 如图所示, 以 SG-ASP 模式为例, 在 M3UA层基本业务流程的建立过程如下: 步骤 801、按照 M3UA协议定义的业务流程, 当 SG完成了为 AS服务的 ASP 的配置之后, SG发起与配置的 ASP所在的 MGC之间的 SCTP连接; 例如, 假定 配置了 MGC1上的 ASP0为 AS0服务, 则 SG发起与 MGC1之间的 SCTP协议层连 接的建立; Figure 8 is a schematic diagram of the implementation process of the basic service flow of the M3UA. As shown in the figure, taking the SG-ASP mode as an example, the basic business process of the M3UA layer is established as follows: Step 801: According to the service process defined by the M3UA protocol, after the SG completes the configuration of the ASP serving the AS, the SG initiates an SCTP connection with the MGC where the configured ASP is located; for example, it is assumed that ASP0 on the MGC1 is configured as AS0. Service, the SG initiates establishment of an SCTP protocol layer connection with the MGC1;
步骤 802、 当 SCTP协议层连接完成之后, 由 MGC1发送八8? 1^消息到80; 步骤 803、 SG收到 ASP UP消息后, 返回 ASP UP ACK消息给 MGC1; 步驟 804、 MGC1在收到 ASP UP ACK消息以后, 进入去激活 ( inactive ) 状态, 并发送 ASP ACTIVE消息给 SG;  Step 802: After the connection of the SCTP protocol layer is completed, the MGC1 sends an eighth message to 80. Step 803: After receiving the ASP UP message, the SG returns an ASP UP ACK message to the MGC1. Step 804: The MGC1 receives the ASP. After the UP ACK message, enter the inactive state, and send an ASP ACTIVE message to the SG;
步骤 805、 SG收到 ASP ACTIVE消息以后, 进入激活状态, 并返回 ASP ACTIVE ACK消息给 MGC1。  Step 805: After receiving the ASP ACTIVE message, the SG enters an active state, and returns an ASP ACTIVE ACK message to the MGC1.
步驟 806、 整个 M3UA消息交互完成以后, SG和 MGC1就进入了业务态, 可以进行上层业务消息的传递。 假定本步骤中 SG收到了传统窄带网络发来的 目的信令点编码为 0x111111 ( MGC1 )的信令消息, 就可以根据该消息的目的 信令点编码分配例如 SG上的 AS0进行处理。  Step 806: After the entire M3UA message interaction is completed, the SG and the MGC1 enter the service state, and the upper layer service message can be delivered. It is assumed that the SG in this step receives the signaling message of the destination narrowband network and the destination signaling point code is 0x111111 ( MGC1 ), and can be processed according to the destination signaling point code of the message, for example, AS0 on the SG.
步骤 807、 AS0就可以选择 MGC1上的 ASP0为其服务, 从而将从传统窄带 网络收到的目的信令点编码为 0x111111 ( MGC1 ) 的信令消息发送到 MGC1。  Step 807: AS0 can select ASP0 on MGC1 to serve it, so that the signaling message encoding the destination signaling point received by the traditional narrowband network to 0x111111 (MGC1) is sent to MGC1.
对于 IPSP-IPSP模式, 其 M3UA层基本业务流程的建立过程与 SG-ASP模式 下 M3UA层基本业务流程的建立过程大致相同,只是将上述 SG换作一个 IPSEP (例如 IPSEP1 )和将上述 MGC1换作另一个 IPSEP (例如 IPSEP2 ) , 由 IPSEP1 和 IPSEP2分别代替 SG和 MGC1进行相应的消息交互即可。 这样, 在 M3UA消 息交互完成后, IPSEP1和 IPSEP2之间就可以进入业务状态, 进行上层业务消 息的传递。  For the IPSP-IPSP mode, the process of establishing the basic service flow of the M3UA layer is the same as that of the basic service flow of the M3UA layer in the SG-ASP mode. The SG is replaced by an IPSEP (for example, IPSEP1) and the MGC1 is replaced. Another IPSEP (such as IPSEP2), IPSEP1 and IPSEP2 replace SG and MGC1 respectively for corresponding message interaction. In this way, after the M3UA message interaction is completed, IPSEP1 and IPSEP2 can enter the service state and transmit the upper layer service message.
在上层业务消息传递的过程中, M3UA层可以通过定时发送心跳消息来检 测 M3UA层连接。  In the process of upper-layer service message delivery, the M3UA layer can detect the M3UA layer connection by periodically sending a heartbeat message.
在上面的过程中, MGC1或 IPSEP1发送的 ASP UP消息和 ASP ACTIVE消 息、以及 SG或 IPSEP2返回的 ASP UP ACK消息和 ASP ACTIVE ACK消息中都 不包含信令点编码的信息, 例如, 发送端的信令点编码 (源信令点编码) 、 接收端的信令点编码(目的信令点编码) 、 以及发送端和接收端的网络标识 等, 因此, 无法对配置信息是否匹配进行检测。 从而, 上述的过程只能保证 发送端与接收端的对等 M3UA层建立起 M3UA层连接,而并不能保证接收端就 是要接收数据的目的信令点。也就是说, 由于 M3UA层连接建立过程中没有检 测接收端的信令点编码和网络标识, 因此, 在配置不匹配的情况, 接收端有 可能并不是真正要进行数据接收的目的信令点。 In the above process, the ASP UP message and the ASP ACTIVE message sent by the MGC1 or IPSEP1, and the ASP UP ACK message and the ASP ACTIVE ACK message returned by the SG or IPSEP2 do not include the information of the signaling point code, for example, the sender's letter. Point coding (source signaling point coding), The signaling point coding (destination signaling point coding) of the receiving end, and the network identification of the transmitting end and the receiving end, etc., therefore, it is impossible to detect whether the configuration information matches. Therefore, the above process can only ensure that the M3UA layer is established between the transmitting end and the peer M3UA layer of the receiving end, but the receiving end is not the destination signaling point for receiving data. That is to say, since the signaling point code and the network identifier of the receiving end are not detected during the connection establishment process of the M3UA layer, in the case of a configuration mismatch, the receiving end may not be the destination signaling point for data reception.
例如, 假定如图 1中的虛线所示, 由于配置错误, 将 AS0配置为由 MGC2 上的 ASP2为其提供服务, SG与 MGC2执行 SCTP连接和 M3UA连接的建立,即: SG发起与 MGC2之间的 SCTP协议层连接的建立, 当 SCTP协议层连接完成之 后,由 MGC2发送 ASP UP消息到 SG; SG收到 ASP UP消息后,返回 ASP UP ACK 消息给 MGC2; MGC2在收到 ASP UP ACK消息以后, 进入去激活 ( inactive ) 状态, 并发送 ASP ACTIVE消息给 SG; SG收到 ASP ACTIVE消息以后, 进入 激活状态, 并返回 ASP ACTIVE ACK消息给 MGC2。 之后, SG和 MGC2就进 入了业务态, 如果 SG从传统窄带网络收到的目的信令点编码为 0x111111 For example, it is assumed that the AS0 is configured to be served by ASP2 on MGC2 due to a configuration error, as shown by the dotted line in FIG. 1, and the SG and MGC2 perform SCTP connection and M3UA connection establishment, namely: SG initiation and MGC2 The establishment of the SCTP protocol layer connection, after the SCTP protocol layer connection is completed, the MPC2 sends an ASP UP message to the SG; after receiving the ASP UP message, the SG returns an ASP UP ACK message to the MGC2; the MGC2 receives the ASP UP ACK message. Afterwards, it enters the inactive state and sends an ASP ACTIVE message to the SG. After receiving the ASP ACTIVE message, the SG enters an active state and returns an ASP ACTIVE ACK message to MGC2. After that, SG and MGC2 enter the service state, if the destination signaling point received by the SG from the traditional narrowband network is coded as 0x111111.
( MGC1 ) 的信令消息, 分配给 AS0进行处理, 并且 AS0选择了配置错误的 MGC2上的 ASP2为其进行服务, 则 SG将会把目的信令点编码为 0x111111The signaling message of ( MGC1 ) is allocated to AS0 for processing, and AS0 selects ASP2 on the misconfigured MGC2 to serve it, then the SG will encode the destination signaling point to 0x111111.
( MGC1 )的信令消息发送到信令点编码为 0x222222的 MGC2。 而 MGC2由于 不能处理目的信令点为 0x111111的信令消息而会将其丢弃, 这样就造成了通 信的失败。 The signaling message of (MGC1) is sent to MGC2 with the signaling point coded as 0x222222. However, MGC2 will discard the signaling message with the destination signaling point of 0x111111, which will cause the communication to fail.
因此, 由于目前 SG和 MGC建立 M3UA连接的过程中交互的各个消息中不 包含配置信息, 并且 SG和 MGC也不进行配置匹配的检测, 就可能造成潜在的 难以检测的通信失败。  Therefore, because the existing messages in the process of establishing an M3UA connection between the SG and the MGC do not include configuration information, and the SG and the MGC do not perform configuration matching detection, it may cause a potentially undetectable communication failure.
为了检查配置信息是否匹配, 进而克服上述数据的实际接收端可能不是 数据真正需要发往的接收端的问题, 可以在 M3UA协议中定义消息, 例如, ASP UP消息、 ASP ACTIVE消息、 ASP UP ACK消息、 ASP ACTIVE ACK消 息、 心跳消息或心跳响应消息的至少一个中增加用于检查的配置信息, 例如, 发送端的信令点编码、 接收端的信令点编码、 以及发送端和接收端信令点的 网络标识等。 In order to check whether the configuration information matches, and thus the actual receiving end of the above data may not be the problem that the data needs to be sent to the receiving end, the M3UA protocol may define a message, for example, an ASP UP message, an ASP ACTIVE message, an ASP UP ACK message, The configuration information for checking is added to at least one of the ASP ACTIVE ACK message, the heartbeat message, or the heartbeat response message, for example, the signaling point code of the transmitting end, the signaling point code of the receiving end, and the signaling point of the transmitting end and the receiving end. Network identification, etc.
根据 M3UA协议的定义, ASP UP消息中的 INFO String参数为可选参数, 因此, 也可以在其中增加用于检查的配置信息, 例如, 发送端的信令点编码、 接收端的信令点编码、 以及发送端和接收端的网络标识等。 当然, 也可以在 M3UA协议中定义新的参数, 用于记录上述配置信息,从而可以根据新定义的 参数来检查配置信息是否匹配, 这要对 M3UA协议的定义进行相应的修改。  According to the definition of the M3UA protocol, the INFO String parameter in the ASP UP message is an optional parameter. Therefore, configuration information for checking may also be added therein, for example, signaling point coding at the transmitting end, signaling point coding at the receiving end, and Network identifiers of the sender and receiver. Of course, new parameters can also be defined in the M3UA protocol for recording the above configuration information, so that the configuration information can be checked according to the newly defined parameters, and the definition of the M3UA protocol should be modified accordingly.
图 9是在建立 M3UA基本业务时检测 M3UA层配置匹配的实施流程示意 图, 下面以在 ASP UP消息中的 INFO String参数中增加用于检查的配置信息为 例, 参考图 8的流程图来说明 M3UA层配置匹配检测的实施方式, 如图所示, 检测包括如下步骤:  FIG. 9 is a schematic diagram of an implementation process for detecting an M3UA layer configuration match when establishing an M3UA basic service. The configuration information for checking is added to the INFO String parameter in the ASP UP message as an example. The M3UA is described with reference to the flowchart of FIG. 8. Layer configuration matching detection implementation, as shown in the figure, the detection includes the following steps:
步驟 901、 SG完成为 AS服务的 ASP的配置之后, SG发起与配置的 ASP所 在的 MGC之间的 SCTP连接; 例如, 假定配置了 MGC1上的 ASP0为 AS0服务, 则 SG发起与 MGC1之间的 SCTP协议层连接的建立。  Step 901: After the SG completes the configuration of the ASP served by the AS, the SG initiates an SCTP connection with the MGC where the configured ASP is located. For example, if the ASP0 on the MGC1 is configured as the AS0 service, the SG initiates an association with the MGC1. The establishment of the SCTP protocol layer connection.
步骤 902、 当 SCTP协议层连接完成之后, 由 MGC1发送带有 MGC1的配置 信息的 ASP UP消息到 SG; 即, 在 SG和 MGC 1之间建立好 SCTP协议层连接以 后, 由 MGC1发送 ASP UP消息到 SG, 该 ASP UP消息的 INFO String参数中包含 用于检查两端配置是否匹配目的的配置信息, 配置信息可以是发送端 MGC1 的信令点编码、发送目的信令点编码和发送端 MGC1的信令点的网络标识, 或 者在网络配置中两端信令 i殳备约定的其它校验码等;  Step 902: After the connection of the SCTP protocol layer is completed, the ASP UP message with the configuration information of the MGC1 is sent by the MGC1 to the SG; that is, after the SCTP protocol layer connection is established between the SG and the MGC 1, the ASP UP message is sent by the MGC1. The INFO String parameter of the ASP UP message includes configuration information for checking whether the configuration of the two ends matches the destination. The configuration information may be the signaling point code of the transmitting end MGC1, the destination signaling point code, and the transmitting end of the MGC1. The network identifier of the signaling point, or other check code agreed upon by the two ends of the network configuration.
步骤 903、 当 SG接收到 MGC1发送的 ASP UP消息以后, 从 ASP UP消息中 提取出配置信息, 并与自身的配置信息进行一致性校验。  Step 903: After receiving the ASP UP message sent by the MGC1, the SG extracts the configuration information from the ASP UP message, and performs consistency check with the configuration information of the SG.
例如, SG校检 ASP UP消息中包含的发送端 MGC1的信令点编码、 发送目 的端信令点编码、 信令点的网络标识与 SG上配置的对应 ASP的目的信令点编 码、 本端信令点编码和目的信令点的网洛标识是否一致, 或者校验 ASP UP消 息中包含的标识发送端 MGCl的校验码与 SG上配置的 ASP校验码是否一致。若 检测一致, 转入步骤 906, 否则转入步 904。  For example, the SG checks the signaling point code of the transmitting end MGC1 included in the ASP UP message, the destination destination signaling point code, the network identifier of the signaling point, and the destination signaling point code of the corresponding ASP configured on the SG, and the local end. Whether the signaling point code is consistent with the network identifier of the destination signaling point, or whether the check code of the sender MGCl included in the ASP UP message is consistent with the ASP check code configured on the SG. If the detection is consistent, go to step 906, otherwise go to step 904.
步骤 906、 上述配置信息一致, 返回正常的 ASP UP ACK消息给 MGCl, 从而流程进行到步骤 907。 Step 906: The foregoing configuration information is consistent, and returns a normal ASP UP ACK message to the MGCl. The flow thus proceeds to step 907.
步骤 907、 MGC1收到该 ASP UP ACK消息之后, 检测到该消息为没有包 含校验结果的正常 ASP UP ACK消息, 从而可以转入激活态, 并发送 ASP ACTIVE消息给 SG。  Step 907: After receiving the ASP UP ACK message, the MGC1 detects that the message is a normal ASP UP ACK message that does not include a check result, so that the message can be transferred to the active state, and the ASP ACTIVE message is sent to the SG.
步骤 908、 SG收到 ASP ACTIVE消息之后转入激活状态并返回 ASP Step 908: After receiving the ASP ACTIVE message, the SG transits to the active state and returns to the ASP.
ACTIVE ACK消息给 MGC1。 The ACTIVE ACK message is sent to MGC1.
步骤 909、 SG和 MGC1就可以进行上层业务消息的传递。 SG可以将从传统 窄带网络收到的目的信令点编码为 0x111111 ( MGC1 ) 的信令消息发送到 MGCL  Steps 909, SG, and MGC1 can perform delivery of upper layer service messages. The SG may send a signaling message encoding the destination signaling point received from the traditional narrowband network to 0x111111 ( MGC1 ) to the MGCL.
如果由于配置错误, 配置了 MGC2上的应用服务器进程 ASP2为 AS0服务, 则 SG发起与 MGC2之间的 SCTP协议层连接的建立之后, 由 MGC2发送带有 MGC2的配置信息的 ASP UP消息到 SG , 从而在步骤 903的检测中 SG将发现配 置错误的情况(发送端 MGC2的信令点编码 0x222222与要发送的信令消息的目 的信令点编码 0x111111不一致), 即, 配置了信令点编码为 0x222222的 MGC2 上的应用服务器进程 ASP2来为 AS0 (负责处理目的信令点编码位 0x111111的 应用服务器)进行服务的情况, 则可以判断发生了 M3UA层的配置错误,从而 流程进行到步骤 904。  If the application server process ASP2 on the MGC2 is configured as the AS0 service due to the configuration error, the SG initiates the establishment of the SCTP protocol layer connection with the MGC2, and the MPC2 sends the ASP UP message with the configuration information of the MGC2 to the SG. Therefore, in the detection of step 903, the SG will find a configuration error condition (the signaling point code 0x222222 of the transmitting end MGC2 is inconsistent with the destination signaling point code 0x111111 of the signaling message to be sent), that is, the signaling point code is configured as When the application server process ASP2 on the MGC 2 of 0x222222 serves the AS0 (the application server responsible for processing the destination signaling point code bit 0x111111), it can be determined that the configuration error of the M3UA layer has occurred, and the flow proceeds to step 904.
步驟 904、 SG向用户报告配置错误、 错误原因 (例如指出不匹配的参数) 等信息,并且将出现配置错误以及错误原因等信息包含在 ASP UP ACK消息中 返回给 MGC2。  Step 904: The SG reports information such as a configuration error, a cause of the error (for example, a parameter indicating a mismatch) to the user, and includes information such as a configuration error and a cause of the error in the ASP UP ACK message and returns it to the MGC2.
另外, 本步驟中, SG也可以发送包含校验结果的异常消息, 例如 ERROR 消息、 NOTIFY消息、 或 ASP DOWN ACK消息, 给 MGC2。 或者, SG也可以 主动释放与 MGC2之间已经建立的、 对应承载 M3UA的 SCTP连接, 并给用户 上报错误。  In addition, in this step, the SG may also send an exception message including a check result, such as an ERROR message, a NOTIFY message, or an ASP DOWN ACK message to the MGC2. Alternatively, the SG may also actively release the SCTP connection that has been established between the MGC and the M3UA, and report the error to the user.
步骤 905、 MGC2收到 SG返回的 ASP UP ACK消息或者异常消息后, 检测 到其中包含出现配置错误以及错误原因等信息, 就可以向用户报告出现配置 错误以及错误原因等信息, 并且可以进一步断开 SCTP协议层连接。 由上述 M3UA层配置匹配检测的实施可以看出, 在 MGC完成与 SG之间的 SCTP连接之后, 将自身的配置信息包含在 ASP UP消息中发送给 SG, 从而 SG 在收到配置信息之后可以与自身信息进行比较来检查是否匹配, 当发现不匹 配时可以及时将配置错误报告给用户, 避免出现难以发现配置错误的情况。 Step 905: After receiving the ASP UP ACK message or the abnormal message returned by the SG, the MGC2 detects that the configuration error and the cause of the error are included, and may report the configuration error and the cause of the error to the user, and may further disconnect. SCTP protocol layer connection. The implementation of the M3UA layer configuration matching detection shows that after the MGC completes the SCTP connection with the SG, the configuration information is included in the ASP UP message and sent to the SG, so that the SG can Compare the self information to check whether it matches. When the mismatch is found, you can report the configuration error to the user in time to avoid the situation where it is difficult to find the configuration error.
上面仅以举例的方式说明了 MGC在 ASP UP消息中包含配置信息,发送到 SG进行一致性校验的实施方式。 然而, 对于本领域普通技术人员而言应当理 解的是, MGC的配置信息可以由 MGC包含在 M3UA建立过程中的 ASP UP消 息, ASP ACTIVE消息, 或 M3UA连接建立以后的心跳消息中的任何一个消息 中的可选参数内, 发送到 SG进行一致性校验。  The foregoing describes by way of example only the implementation information that the MGC includes configuration information in the ASP UP message and sends it to the SG for consistency check. However, it should be understood by those skilled in the art that the configuration information of the MGC may be included by the MGC in the ASPUP message established during the M3UA establishment process, the ASP ACTIVE message, or any one of the heartbeat messages after the M3UA connection is established. Within the optional parameters, send to the SG for consistency check.
或者, 可以由 MGC将不包含自身配置信息的 ASP UP消息, ASP ACTIVE 消息, 或心跳消息, 发送到 SG。 由 SG将其配置信息包括在 SG的诸如 ASP UP ACK消息, ASP ACTIVE ACK消息, 心跳消息回应消息的应答消息中返回到 MGC, 由 MGC根据自身的配置信息进行一致性校验。  Alternatively, the ASP may send an ASP UP message, an ASP ACTIVE message, or a heartbeat message that does not contain its own configuration information to the SG. The SG returns its configuration information to the MGC in the SG's response message such as ASP UP ACK message, ASP ACTIVE ACK message, and heartbeat message response message, and the MGC performs consistency check according to its configuration information.
例如, SG将要发送的信令消息的目的信令点编码、 本端信令点编码、 目 的信令点的网络标识, 或者两端信令设备约定的校验码等包含在应答消息中 返回到 MGC, 由 MGC校验应答消息中包含的发送端 SG的目的信令点编码、 目 的信令点的网络标识与自身的信令点编码和信令点网络标识是否一致, 或者 校验消息中包含的校验码与 MGC上配置的校验码是否一致。  For example, the destination signaling point code of the signaling message to be sent by the SG, the local signaling point code, the network identifier of the destination signaling point, or the check code agreed by the signaling devices at both ends are included in the response message and returned. The MGC, the destination signaling point code of the sender SG included in the MGC check response message, the network identifier of the destination signaling point is consistent with its own signaling point code and the signaling point network identifier, or the check message includes Whether the check code is the same as the check code configured on the MGC.
当 MGC发现配置不匹配时, 可以采取断开 SCTP连接, 或者进一步发送包 含校验结果的异常消息,例如 ERROR消息、 NOTIFY消息、或 ASP DOWN ACK 消息到 SG, 由 SG上报校验结果等措施。  When the MGC finds that the configuration does not match, you can take the disconnection of the SCTP connection, or send an exception message containing the check result, such as an ERROR message, a NOTIFY message, or an ASP DOWN ACK message to the SG, and report the verification result by the SG.
上述以 SG-ASP模式为例对配置匹配检测过程进行了说明 ,对于 IPSP-IPSP 模式, 其配置匹配检测过程与 SG-ASP模式下配置匹配检测过程大致相同, 只 是将上述 SG换作一个 IPSEP (例如 IPSEP1 ) 和将上述 MGC换作另一个 IPSEP (例如 IPSEP2 ), 由 IPSEP1和 IPSEP2分别代替 SG和 MGC进行相应的消息交互 即可。  The SG-ASP mode is used as an example to describe the configuration matching detection process. For the IPSP-IPSP mode, the configuration matching detection process is the same as the configuration matching detection process in the SG-ASP mode, except that the SG is replaced by an IPSEP ( For example, IPSEP1) and the above MGC are replaced by another IPSEP (for example, IPSEP2), and SGEP1 and IPSEP2 replace SG and MGC respectively for corresponding message interaction.
从上述的实施例可以看出,通过 M3UA层配置检测可以解决 M3UA层无法 检测出消息交互的双方的配置是否匹配的问题。 进而, 在出现消息交互的双 方的配置不一致的情况时, 及时提醒用户, 避免等到发现大量呼叫失败以后 才进行失败原因定位, 浪费大量时间, 给用户带来经济上的损失。 It can be seen from the foregoing embodiment that the M3UA layer configuration detection can solve the M3UA layer cannot be solved. It is detected whether the configuration of the two sides of the message interaction matches. Further, in the case where the configurations of the two sides of the message interaction are inconsistent, the user is promptly reminded to avoid the failure cause location after the discovery of a large number of call failures, which wastes a lot of time and brings economic loss to the user.
上述仅是本发明的几种实施方式, 显然, 对于本领域技术人员来说, 实 际配置检测信息除了可以是 MGC设备标识和 AS标识以外, 还可以是设备唯一 标识号、设备首选 IP地址、或者设备所在信令点或者其他可以标识设备的内容 加上 AS标识或者链路集标识的组合, 同时检测信息可以在 ASP UP、 ASP UP ACK、 ASP ACTIVE, ASP ACTIVE ACK、 HeartBeat、 HeartBeat ACK消息中 的任何一个消息中携带; 对端收到消息以后也可以对消息中的内容进行一致 性检查;  The foregoing is only a few embodiments of the present invention. It is obvious that the actual configuration detection information may be the device identification number, the device preferred IP address, or the device unique identification number, or the device preferred identification address. The signaling point of the device or other device that can identify the device plus the combination of the AS identifier or the link set identifier, and the detection information can be in the ASP UP, ASP UP ACK, ASP ACTIVE, ASP ACTIVE ACK, HeartBeat, HeartBeat ACK messages. Carrying in any one message; after receiving the message, the peer can also check the consistency of the content in the message;
显然, 对于本领域技术人员来说, 以上过程不但适用于 M2UA, 对 IUA、 V5UA、 M3UA、 SUA等等 SIGTRAN其他协议也都适用。  Obviously, for those skilled in the art, the above process is applicable not only to M2UA, but also to other protocols of SIGTRAN such as IUA, V5UA, M3UA, SUA, and the like.
从以上的描述中, 可以看出, 本发明实施例实现了如下技术效果: 在 SIGTRAN协议栈中弓 I入配置检测机制, 即在发送端向对端发送的消息 中设置反映发送端的配置匹配检测信息, 对端收到包含匹配检测信息的消息 后, 结合本端的配置对发送端的配置进行一致性校验, 再确定是否使两端进 入业务态, 从而解决了无法检测出两端配置是否匹配的问题, 当出现两端配 置不一致的情况, 即时提醒用户两侧配置不匹配, 以避免等到发现大量呼叫 失败以后才定位失败原因, 以至于给用户带来巨大的损失。  From the above description, it can be seen that the following technical effects are implemented in the embodiment of the present invention: In the SIGTRAN protocol stack, the configuration detection mechanism is configured, that is, the configuration matching detection that reflects the sending end is set in the message sent by the sending end to the opposite end. After the peer receives the message containing the matching detection information, it performs the consistency check on the configuration of the sender with the configuration of the local end, and then determines whether the two ends enter the service state. The problem is that when the configuration of the two ends is inconsistent, the user is reminded that the configuration on both sides does not match, so as to avoid the failure of the positioning after the discovery of a large number of call failures, so as to cause huge losses to the user.
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。  The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 Rights request
1、 一种信令传输配置匹配检测方法, 其特征在于, 包括以下步骤: 在发送端向对端发送的消息中设置匹配检测信息, 所迷匹配检测信息反 映所述发送端的配置, 其中, 所迷发送端与所述对端之间的消息传送遵循信 令传输协议栈规范;  A signaling transmission configuration matching detection method, comprising the steps of: setting matching detection information in a message sent by a transmitting end to a peer end, where the matching detection information reflects a configuration of the transmitting end, where The message transmission between the sender and the peer follows the signaling transport protocol stack specification;
所述对端收到包含所述匹配检测信息的消息后, 结合本端的配置对所述 发送端的配置进行一致性校臉;  After receiving the message that includes the matching detection information, the peer end performs a consistent school face configuration on the sending end according to the configuration of the local end;
根据所述一致性校验结果确定是否使所述两端进入业务态。  Determining whether to enable the two ends to enter a service state according to the consistency check result.
2、 根据权利要求 1所述的信令传输配置匹配检测方法, 其特征在于, 所 述根据所述一致性校验结果确定是否使所述两端进入业务态步骤中包括以下 步骤:  The signaling transmission configuration matching detection method according to claim 1, wherein the determining, according to the consistency check result, whether the two ends enter the service state step comprises the following steps:
如果所述一致性校验结果为配置匹配, 则允许所述两端进入所述业务态; 否则  If the consistency check result is a configuration match, the two ends are allowed to enter the service state; otherwise
4艮出错信息, 阻止所述两端进入业务处理状态。  4. The error message prevents the two ends from entering the service processing state.
3、 根据权利要求 2所述的信令传输配置匹配检测方法, 其特征在于, 进 一步包括如下步驟:  3. The signaling transmission configuration matching detection method according to claim 2, further comprising the steps of:
所述对端在报出错信息后, 向发送端发送携带本端配置信息的消息。 After reporting the error information, the peer sends a message carrying the local configuration information to the sending end.
4、 根据权利要求 1至 3任一所述的信令传输配置匹配检测方法, 其特征 在于, 所述信令传输协议栈包括以下至少一种: M2UA、 IUA、 SUA, M3UA、 和 V5UA协议。 The signaling transmission configuration matching detection method according to any one of claims 1 to 3, wherein the signaling transmission protocol stack comprises at least one of the following: M2UA, IUA, SUA, M3UA, and V5UA protocols.
5、 根据权利要求 1至 3任一所述的信令传输配置匹配检测方法, 其特征 在于, 所述消息包括以下至少一种: ASP UP、 ASP UP ACK, ASP ACTIVE, ASP ACTIVE ACK:、 NOTIFY^ ERROR、 HEARTBEAT^和 HEARTBEAT ACK 消息。  The signaling transmission configuration matching detection method according to any one of claims 1 to 3, wherein the message comprises at least one of the following: ASP UP, ASP UP ACK, ASP ACTIVE, ASP ACTIVE ACK:, NOTIFY ^ ERROR, HEARTBEAT^, and HEARTBEAT ACK messages.
6、 根据权利要求 1至 3任一所述的信令传输配置匹配检测方法, 其特征 在于, 所反映的配置包括以下至少一种或者其组合: MGC设备标识、 设备唯 一标识号、 设备首选 IP地址、 设备所在信令点、 其他可以标识设备的内容加 上 AS标识或者链路集标识、 本端信令点、 目的信令点、 所属网络标识。 The signaling transmission configuration matching detection method according to any one of claims 1 to 3, wherein the reflected configuration comprises at least one of the following or a combination thereof: MGC device identification, device only An identification number, a preferred IP address of the device, a signaling point where the device is located, and other content that can identify the device plus an AS identifier or a link set identifier, a local signaling point, a destination signaling point, and a network identifier.
7、 一种信令传输配置匹配检测装置, 其特征在于, 包括:  A signaling transmission configuration matching detection device, comprising:
匹配检测信息设置模块, 用于在发送端向对端发送的消息中设置匹配检 测信息, 所述匹配检测信息反映所述发送端的配置, 其中, 所述发送端与所 述对端之间的消息传送遵循信令传输协议栈规范;  a matching detection information setting module, configured to set a matching detection information in a message sent by the sending end to the opposite end, where the matching detection information reflects a configuration of the sending end, where the message between the sending end and the opposite end The transmission follows the signaling transport protocol stack specification;
一致性校臉模块, 用于所述对端收到包含所述匹配检测信息的消息后, 结合本端的配置对所述发送端的配置进行一致性校验;  a consistency check module, configured to perform consistency check on the configuration of the sending end by using the configuration of the local end after receiving the message that includes the matching detection information;
业务态确定模块, 用于根据所述一致性校验结果确定是否使所迷两端进 入所述业务态。  And a service state determining module, configured to determine, according to the consistency check result, whether the two ends enter the service state.
8、 根据权利要求 7所述的信令传输配置匹配检测装置, 其特征在于, 所 述业务态确定模块包括:  The signaling transmission configuration matching detecting apparatus according to claim 7, wherein the service state determining module comprises:
允许进入模块, 用于如果所述一致性校验结果为配置匹配, 则允许所述 两端进入所述业务态;  Allowing the entry module to allow the two ends to enter the service state if the consistency check result is a configuration match;
出错处理模块, 用于如果所述一致性校验结果为配置不匹配, 报出错信 息, 阻止所述两端进入业务处理状态。  The error processing module is configured to report an error message if the consistency check result is a configuration mismatch, and prevent the two ends from entering the service processing state.
9、 根据权利要求 8所述的信令传输配置匹配检测装置, 其特征在于, 进 一步包括:  9. The signaling transmission configuration matching detecting apparatus according to claim 8, further comprising:
发送模块, 用于在所述出错处理模块报出错信息后, 向所述发送端发送 携带本端配置信息的消息。  The sending module is configured to send a message carrying the local configuration information to the sending end after the error processing module reports the error information.
10、 根据权利要求 7至 9任一所述的信令传输配置匹配检测装置, 其特 征在于,所述信令传输协议栈包括以下至少一种: M2UA、 IUA、 SUA, M3UA> 和 V5UA协议。  The signaling transmission configuration matching detecting apparatus according to any one of claims 7 to 9, wherein the signaling transmission protocol stack comprises at least one of the following: M2UA, IUA, SUA, M3UA> and V5UA protocols.
11、 根据权利要求 7至 9任一所述的信令传输配置匹配检测装置, 其特 征在于, 所述消息包括以下至少一种: ASP UP、 ASP UP ACK, ASP ACTIVE ACK, ASP ACTIVE NOTIFY, ERROR, HEARTBEAT,和 HEARTBEAT ACK 消息。 The signaling transmission configuration matching detecting apparatus according to any one of claims 7 to 9, wherein the message comprises at least one of the following: ASP UP, ASP UP ACK, ASP ACTIVE ACK, ASP ACTIVE NOTIFY, ERROR , HEARTBEAT, and HEARTBEAT ACK messages.
12、 根据权利要求 7至 9任一所述的信令传输配置匹配检测装置, 其特 征在于,所反映的配置包括以下至少一种: MGC设备标识、设备唯一标识号、 设备首选 IP地址、 设备所在信令点、 和其他可以标识设备的内容加上 AS标 识或者链路集标识的組合。 The signaling transmission configuration matching detecting apparatus according to any one of claims 7 to 9, wherein the reflected configuration comprises at least one of the following: an MGC device identifier, a device unique identification number, a device preferred IP address, and a device. The combination of the signaling point, and other content that can identify the device plus the AS identity or link set identifier.
13、 一种媒体网关控制器, 其特征在于, 包括:  13. A media gateway controller, comprising:
匹配检测信息设置模块, 用于在发送端向对端发送的消息中设置匹配检 测信息, 所述匹配检测信息反映所述发送端的配置, 其中, 所述发送端与所 述对端之间的消息传送遵循信令传输协议栈规范;  a matching detection information setting module, configured to set a matching detection information in a message sent by the sending end to the opposite end, where the matching detection information reflects a configuration of the sending end, where the message between the sending end and the opposite end The transmission follows the signaling transport protocol stack specification;
所述匹配检测信息的消息, 用于在对端收到后结合本端的配置对所述发 送端的配置进行一致性校验, 并根据所述一致性校验结果确定是否使所述两 端进入所述业务态。  And the message of the matching detection information is used to perform consistency check on the configuration of the sending end according to the configuration of the local end, and determine whether to enable the two ends to enter according to the consistency check result. State of business.
14、 一种信令网关, 其特征在于, 包括:  14. A signaling gateway, comprising:
一致性校臉模块, 用于收到包含匹配检测信息的消息后, 结合本端的配 置对发送端的配置进行一致性校验, 所述匹配检测信息是所述发送端发送的 反映所述发送端配置的消息, 其中, 所述发送端的消息传送遵循信令传输协 议栈规范;  The consistency check module is configured to perform consistency check on the configuration of the sending end according to the configuration of the local end, and the matching detection information is sent by the sending end to reflect the configuration of the sending end. Message, wherein the message transmission of the sender follows a signaling transport protocol stack specification;
业务态确定模块, 用于根据所述一致性校验结果确定是否使所述两端进 入所述业务态。  And a service state determining module, configured to determine, according to the consistency check result, whether to enter the two ends into the service state.
15、 如权利要求 14所述的信令网关, 其特征在于, 进一步包括: 发送模 块, 用于向所述发送端发送携带本端配置信息的消息。  The signaling gateway according to claim 14, further comprising: a sending module, configured to send a message carrying the local configuration information to the sending end.
16、 根据权利要求 14所述的信令网关, 其特征在于, 所述业务态确定模 块包括:  The signaling gateway according to claim 14, wherein the service state determining module comprises:
允许进入模块, 用于如果所述一致性校验结果为配置匹配, 则允许所述 两端进入所述业务态;  Allowing the entry module to allow the two ends to enter the service state if the consistency check result is a configuration match;
出错处理模块, 用于如果所述一致性校验结果为配置不匹配, 报出错信 息, 阻止所述两端进入业务处理状态。  The error processing module is configured to report an error message if the consistency check result is a configuration mismatch, and prevent the two ends from entering the service processing state.
PCT/CN2007/001305 2006-06-27 2007-04-20 A method and apparatus for signaling transport configuration matching detection WO2008003211A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200610090481.5 2006-06-27
CNB2006100904815A CN100456709C (en) 2006-06-27 2006-06-27 The method and device for matching and detection of SIGTRAN configuration

Publications (1)

Publication Number Publication Date
WO2008003211A1 true WO2008003211A1 (en) 2008-01-10

Family

ID=38251851

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/001305 WO2008003211A1 (en) 2006-06-27 2007-04-20 A method and apparatus for signaling transport configuration matching detection

Country Status (2)

Country Link
CN (1) CN100456709C (en)
WO (1) WO2008003211A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997863B (en) * 2009-08-24 2014-07-02 中兴通讯股份有限公司 Method for realizing application server state consistency and application servers
CN111970239B (en) * 2020-07-10 2023-03-24 上海欣方智能系统有限公司 SCTP-based SIGTRANS protocol stack implementation method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0589734A1 (en) * 1992-08-26 1994-03-30 EURO CP s.a.r.l. Method and arrangement for the excharge of information between home network terminals
FR2811095A1 (en) * 2000-06-28 2002-01-04 Smain Benali Server with removable memory chip card allowing access control, from client terminal, to the server configuration parameters, in which server code is compared with client code only when they match is client allowed access to server
WO2002096139A1 (en) * 2001-05-23 2002-11-28 Qualcomm Incorporated Synchronization of stored service parameters in a communication system
WO2004088493A2 (en) * 2003-04-03 2004-10-14 International Business Machines Corporation Apparatus and method for verifying audio output at a client device
WO2005122461A1 (en) * 2004-06-10 2005-12-22 Huawei Technologies Co., Ltd. A method for establishing the point-to-point

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1261217A1 (en) * 2001-05-25 2002-11-27 TELEFONAKTIEBOLAGET L M ERICSSON (publ) Management of signaling gateway processes in transport of SCN signaling over data networks
JP2003284104A (en) * 2002-03-27 2003-10-03 Nec Corp Sg-ca system, sg, and load distribution method
DE60218831T2 (en) * 2002-06-28 2007-12-06 Hewlett-Packard Development Co., L.P., Houston Proxy load Compensators
EP1519591A1 (en) * 2003-09-26 2005-03-30 Hewlett-Packard Development Company, L.P. Methods and apparatus for controlling signalling gateways

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0589734A1 (en) * 1992-08-26 1994-03-30 EURO CP s.a.r.l. Method and arrangement for the excharge of information between home network terminals
FR2811095A1 (en) * 2000-06-28 2002-01-04 Smain Benali Server with removable memory chip card allowing access control, from client terminal, to the server configuration parameters, in which server code is compared with client code only when they match is client allowed access to server
WO2002096139A1 (en) * 2001-05-23 2002-11-28 Qualcomm Incorporated Synchronization of stored service parameters in a communication system
WO2004088493A2 (en) * 2003-04-03 2004-10-14 International Business Machines Corporation Apparatus and method for verifying audio output at a client device
WO2005122461A1 (en) * 2004-06-10 2005-12-22 Huawei Technologies Co., Ltd. A method for establishing the point-to-point

Also Published As

Publication number Publication date
CN100456709C (en) 2009-01-28
CN1996903A (en) 2007-07-11

Similar Documents

Publication Publication Date Title
US20050180317A1 (en) Server backup device
WO2006024225A1 (en) A method for achieving double ascription
WO2006108343A1 (en) A method for a media gateway monitoring the events and reporting them
JP2006279805A (en) Management server, backup server, and program
WO2003047156A1 (en) Method for redundancy backup of signaling link in ip network
EP1780956B1 (en) Method for synchronously implementing media switch in gateways used for fax over ip network
KR100602652B1 (en) Method for routing pass management of voice over internet protocol system and the same
WO2007006206A1 (en) A method for detecting and releasing abnormal media gateway rtp resource
CN100514940C (en) Method for reorienting network communication port and network communication system
WO2008003211A1 (en) A method and apparatus for signaling transport configuration matching detection
CA2657943A1 (en) Telephone system, associated exchange, and transmission control method
GB2428537A (en) Transmitting DUA messages with protocol identification information
JP4541333B2 (en) Terminal device, system, method, and program
JP5169113B2 (en) IP telephone system, IP telephone terminal and program
WO2011147165A1 (en) Internet protocol (ip) signaling point processing method and ip signaling point
JP2008236470A (en) Ip telephone terminal and ip telephone system
US20120163371A1 (en) Telephone System, Call Control Apparatus and Communication Connection Method
JP5018177B2 (en) IP telephone terminal and program
WO2005025143A1 (en) Method of detecting the status of a media gateway controller by a media gateway
KR20030054372A (en) Method of send call route re-setting for VoIP gateway with internet network trouble
JP6573343B1 (en) Voice / fax communication system, media gateway device, fax signal misconnection prevention method and program thereof
JP5609819B2 (en) COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM
JP2008042587A (en) Relay device and relay method
CN101127763B (en) A method for recovery synchronization of transmission signaling L2 peer adaptation layer SN
JP5311479B2 (en) SIP-compatible switching device and SIP-compatible switching system using the same

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07720878

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

NENP Non-entry into the national phase

Ref country code: RU

122 Ep: pct application non-entry in european phase

Ref document number: 07720878

Country of ref document: EP

Kind code of ref document: A1