Summary of the invention
In view of this, the application provides a kind of MAP signalling analysis method, with the link change of the original signaling data of real time on-line monitoring transmission MAP, improves the accuracy that the original signaling data of MAP is analyzed simultaneously, further improves the accuracy of monitoring signaling.
The application also provides a kind of MAP signalling analysis system, in order to guarantee said method implementation and application in practice.Technical scheme is as follows:
One side based on the application, provides a kind of MAP MAP signalling analysis method, comprising:
Gather the original signaling data of MAP transmitting in link;
Resolve the original signaling data of described MAP, obtain the key message in the original signaling data of described MAP;
According to logic of propositions comparison rule, described key message is analyzed, obtain analysis result.
Preferably, described key message comprises: InvokeID information and the source order Sid/Did information of temporal information, signaling network test post SNT identification information, forward sequence number FSN information, Original Point Code OPC/ destination code DPC information, calling/called information, TCAP Transaction Capability Application Part TCAP floor.
Preferably, described according to logic of propositions comparison rule, described key message is analyzed, obtain analysis result and comprise:
Choose the SNT information in described key message, judge the signaling link in it selects SLS whether to have disappearance, if so, generate SLS deletion analysis result, and in described SLS deletion analysis result, carry SLS disappearance number;
Obtain the FSN information in described key message, judge that whether FSN value is continuous, if not, generate FSN change point result, and carry FSN jump rate in described FSN change point result;
Extract the InvokeID information in described key message, judge whether the number of the up-downgoing data in described InvokeID information equates, if not, generate packet loss analysis result, and in described packet loss analysis result, carry the equal rate of InvokeID;
According to described key message, carry out operation flow and synthesize, calculate synthetic ratio, judge whether described synthetic ratio is less than default synthetic ratio, if so, generate synthetic ratio harmonic analysis result, and described synthetic ratio harmonic analysis result carries described synthetic ratio;
According to described logic of propositions comparison rule, respectively the described SLS disappearance of described analysis number, FSN jump rate, InvokeID are equated to rate and synthetic ratio and the preset value of self contrast, and generate Comprehensive analysis results.
Preferably, described described key message is analyzed, is obtained analysis result and also comprise:
Obtain the OPC/DPC information in described key message, OPC/DPC is mated with each OPC/DPC in default OPC/DPC table, if do not match, generate the unsuccessful analysis result of coupling;
Obtain the temporal information in described key message, whether the time value of judgement is continuous, if not, generates out of order analysis result.
Preferably, described key message also comprises link No. ID, and described link comprises collection plane No., plate card number, link No. and time slot for No. ID; In described analysis result, carry No. ID, described link.
Preferably, also comprise:
Analysis result is carried out to grade classification;
When the grade of analysis result is greater than preset alarm grade, send described analysis result to office terminal.
Preferably, also comprise:
Detect the data traffic of transmitting in described link, according to the corresponding relation of described data traffic and analytical cycle, determine described analytical cycle;
Described described key message is analyzed, obtained analysis result and comprise: the described analytical cycle in one, interval is once analyzed described key message, obtain analysis result.
Preferably, adopt fast decoding method to resolve the original signaling data of described MAP.
Based on the application on the other hand, also provide a kind of MAP MAP signalling analysis system, comprising:
Collector, the original signaling data of MAP transmitting for gathering link;
Resolver, for resolving the original signaling data of described MAP, obtains the key message in the original signaling data of described MAP;
Analysis module, for according to logic of propositions comparison rule, analyzes described key message, obtains analysis result.
Preferably, described key message comprises: InvokeID information and the source order Sid/Did information of temporal information, signaling network test post SNT identification information, forward sequence number FSN information, Original Point Code OPC/ destination code DPC information, calling/called information, TCAP Transaction Capability Application Part TCAP floor.
Preferably, described analysis module comprises:
SLS analytic unit, for choosing the SNT information of described key message, judges the signaling link in it selects SLS whether to have disappearance, if so, generates SLS deletion analysis result, and in described SLS deletion analysis result, carries SLS disappearance number;
FSN analytic unit, for obtaining the FSN information of described key message, judges that whether FSN value is continuous, if not, generates FSN change point result, and carries FSN jump rate in described FSN change point result;
InvokeID analytic unit, for extracting the InvokeID information of described key message, judge whether the number of the up-downgoing data in described InvokeID information equates, if not, generate packet loss analysis result, and in described packet loss analysis result, carry the equal rate of InvokeID;
Synthesis analysis unit, synthetic for carry out operation flow according to described key message, calculate synthetic ratio, judge whether described synthetic ratio is less than default synthetic ratio, if so, generate synthetic ratio harmonic analysis result, and described synthetic ratio harmonic analysis result carries described synthetic ratio;
Analytic unit, for according to described logic of propositions comparison rule, analyzes described SLS disappearance number, FSN jump rate, the equal rate of InvokeID and synthetic ratio, generates Comprehensive analysis results.
Preferably, described analysis module also comprises:
OPC/DPC analytic unit, for obtaining the OPC/DPC information of described key message, mates OPC/DPC with each OPC/DPC in default OPC/DPC table, if do not match, generate the unsuccessful analysis result of coupling;
Time series analysis unit, for obtaining the temporal information of described key message, whether the time value of judgement is continuous, if not, generates out of order analysis result.
Preferably, described key message also comprises link No. ID, and described link comprises collection plane No., plate card number, link No. and time slot for No. ID; In described analysis result, carry No. ID, described link.
Preferably, also comprise:
Divide module, for analysis result is carried out to grade classification;
Transmitter, while being greater than preset alarm grade for the grade at analysis result, sends described analysis result to office terminal.
Preferably, also comprise:
Detection module, for detection of the data traffic of transmitting in described link, according to the corresponding relation of described data traffic and analytical cycle, determines described analytical cycle;
Described analysis module is once analyzed described key message specifically for the described analytical cycle in one, interval, obtains analysis result.
Preferably, described resolver is specifically for adopting fast decoding method to resolve the original signaling data of described MAP.
The specific embodiment providing according to the application, the application discloses following technique effect: the application is by the original signaling data collection of the MAP transmitting on link and parsing, obtain the key message in the original signaling data of MAP, again described key message is analyzed, obtain analysis result, further can to link, monitor according to analysis result.Compared with prior art, can the original signaling data of Real-Time Monitoring MAP, thereby realized the link change of the original signaling data of real time on-line monitoring transmission MAP, the application has realized the automatic analysis of the original signaling data of MAP simultaneously, with respect to manual analysis, improve the accuracy that the original signaling data of MAP is analyzed, further improve the accuracy of monitoring signaling.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
Refer to Fig. 1, the flow chart that it shows a kind of MAP signalling analysis method that the application provides, can comprise the following steps:
Step 101: gather the original signaling data of MAP transmitting in link.
Wherein, the original signaling data collection of MAP can be used distinct device, as adopt FE (Fast Ethernet, Fast Ethernet) board gathers IP (Internet Protocol, the agreement interconnecting between network) the original signaling data of the MAP of link, adopt CPOS board to gather the original signaling data of MAP of 64K or 2M link, wherein CPOS refers to POS link is carried out to the division of gap road, C represents Channelized, POS (Packet Over SONET/SDH) is a kind of technology of applying in metropolitan area network and wide area network, can be used in transmitting grouped data.
The original signaling data of MAP collecting can adopt flexible bus technology buffer memory.Wherein, flexible bus technology is a kind of data sharing caching technology, and it can be buffered in the untreatment data of preset capacity in internal memory, or is saved as file, avoids cannot receiving or process obliterated data when slow in terminal.The original signaling data of MAP collecting can also adopt shared drive mode to carry out buffer memory, but shared drive buffer memory cannot be realized the function of big data quantity buffer memory and data Replica transmission.
Step 102: resolve the original signaling data of MAP, obtain the key message in the original signaling data of MAP.
In the present embodiment, resolve the original signaling data of MAP and can adopt coding/decoding method or fast decoding method at a slow speed.Wherein, coding/decoding method refers to from bearing bed to application layer at a slow speed, and successively decoding, decodes all information that the original signaling data of MAP carries.Fast decoding method refers to the original signaling data of skip floor parsing MAP, during as 2M link, can directly skip MTP (Media Transfer Protocol, media transmission protocol) 6 byte lengths of layer can solve OPC/DPC, can skip protocol type and Message Processing return information, directly solve calling and called Gt/Gted.
In order to improve decoding efficiency, while resolving the original signaling data of MAP, adopt fast decoding method.Resolving the key message obtaining after the original signaling data of MAP comprises: temporal information, SNT (Signaling Network Test, signaling network test post) InvokeID information and the source order Sid/Did information of identification information, FSN (Forwarding Sequence Number forward sequence number) information, OPC/DPC information, calling/called information, TCAP (Transaction Capabilities Application Part, TCAP Transaction Capability Application Part) floor.Wherein, key message can adopt the data format shown in table 1 to represent.
Wherein, Sid is the business ID that starts, and Did is business purpose ID.TCAP layer identifies a business procedure with Sid/Did.A TCAP layer service is from begin message, to end or abort (failed) end of message, in each message, use OTID and DTID to represent the ID carrying in each message in a business procedure, the OTID Business Processing ID that represents to originate from, DTID represents object Business Processing ID.In complete business procedure, may need repeatedly to talk with, ask and respond, often call once dialogue and identify with an InvokeID, InvokeID represents to call ID.
Table 1 key message data format
Time |
SNT |
FSN |
OPC |
DPC |
Gt |
Gted |
InvokeID |
Sid |
Did |
Step 103: according to logic of propositions comparison rule, key message is analyzed, obtained analysis result.
Wherein, logic of propositions comparison rule sets in advance by having the engineer who enriches link experience.The detailed process of this step refers to Fig. 2, can comprise the following steps:
Step 1031: choose the SNT information in described key message, judge whether the SLS (Signaling Link Selection, signaling link is selected) in it has disappearance, if, generate SLS deletion analysis result, and in described SLS deletion analysis result, carry SLS disappearance number.
SNT message is two link test message between network element device, and two network element devices at the signalling point energy unique identification message two ends on it, so numbering and state that the link information in SNT message can unique identification link.Link between two network element devices is complete in the situation that, and the SLS carrying in all SNT message should evenly occur with 0 to 15, or for odd number occurs, or be even number appearance, or be first half 0 to 7 data, or be latter half 8 to 15 appearance.Judge whether the SLS carrying in SNT message has disappearance, if so, generate SLS deletion analysis result, and in described SLS deletion analysis result, carry SLS disappearance number.If not, do not generate any result.
Step 1032: obtain the FSN information in described key message, judge that whether FSN value is continuous, if not, generate FSN change point result, and carry FSN jump rate in described FSN change point result.
Jump to the FSN value of every link is counted, and normal link FSN should be continuously, if judgement FSN value is not continuous, generates FSN change point result, and carries FSN jump rate in described FSN change point result.
Step 1033: extract the InvokeID information in described key message, whether the number that judges the up-downgoing data in described InvokeID information equates, if not, generate packet loss analysis result, and in described packet loss analysis result, carry the equal rate of InvokeID.
Step 1034: carry out operation flow according to described key message and synthesize, calculate synthetic ratio, judge whether described synthetic ratio is less than default synthetic ratio, if so, generate synthetic ratio harmonic analysis result, and described synthetic ratio harmonic analysis result carries described synthetic ratio.
Wherein, key message carries out operation flow when synthetic, need to be according to integrated service rule.Integrated service rule generally refers to utilizes calling/called information, source order Sid/Did information that the original signaling data of all MAP of a business is synthesized in the signaling bag of a flow process composition, for the information of checking in business procedure.
Step 1035: according to logic of propositions comparison rule, analyze described SLS disappearance number, FSN jump rate, the equal rate of InvokeID and synthetic ratio, generate Comprehensive analysis results.
Wherein, a kind of logic of propositions comparison rule contrasts with preset value separately respectively for SLS being lacked to number, FSN jump rate, the equal rate of InvokeID and synthetic ratio, at described SLS disappearance number, FSN jump rate, InvokeID, equate that rate is less than respectively self preset value, and described synthetic ratio is greater than in the situation of self preset value, generates the analysis result that signal collecting repeats and signaling is lost.For example: when synthetic ratio is greater than 97%, SLS lacks 1 numeral, the discontinuous jump rate of FSN is less than 5%, when InvokeID equates that rate is less than 20%, think that the original signaling data collection of MAP between OPC and DPC exists repetition, and the original signaling data of the MAP collecting has disappearance, now generate the analysis result that signal collecting repeats and signaling is lost.
After generating analysis result, analysis result is sent to office terminal, by operating personnel, according to analysis result, link is monitored.
It should be noted that: each analysis result generating in above-mentioned steps 1031 to 1035 can be sent to office terminal as an independent analysis result, or only the analysis result of step 1035 generation is sent to office terminal, this is no longer limited.Wherein, the transmission of analysis result can, for first analysis result being carried out to grade classification, when the grade of analysis result is greater than preset alarm grade, send described analysis result to office terminal, otherwise not send analysis result.
In the present embodiment, the analysis of step 103 pair key message can also comprise: the analysis to OPC/DPC information and temporal information.Wherein, to OPC/DPC, information analysis comprises: obtain the OPC/DPC information in described key message, OPC/DPC is mated with each OPC/DPC in default OPC/DPC table, if do not match, generate the unsuccessful analysis result of coupling, realize the automatic detection to OPC/DPC, saved operating personnel's workload, improved operating efficiency.OPC/DPC table is preset by operating personnel.
To temporal information analysis, can comprise: obtain the temporal information in described key message, whether the time value of judgement is continuous, if not, generate out of order analysis result.
Above-mentioned key message can also comprise: No. ID, link, and No. ID, described link is for unique identification link, and it can comprise and gathers plane No., plate card number, link No. and time slot.In the analysis result obtaining in step 103, carry link No. ID, attendant checks the link that carries in result No. ID by the analysis result in office terminal, thereby finds corresponding link physical access device, and link is safeguarded.
It should be noted that: link ID is used for the position of unique identification link in collecting device, to facilitate engineering staff to search, according to harvester, and the difference of wiring, link ID is different, and link ID is used for the ID of the link position of unique identification collection in disposing.And SNT is link test message, be that network reality is in service, network element device is to the SNT message of link assignment, in message with link information, as the numbering of link and state can be used the network element device of this link identify.
Application technique scheme, the application, by the original signaling data collection of the MAP transmitting on link and parsing, obtains the key message in the original signaling data of MAP, more described key message is analyzed, obtain analysis result, further can to link, monitor according to analysis result.Compared with prior art, can the original signaling data of Real-Time Monitoring MAP, thereby realized the link change of the original signaling data of real time on-line monitoring transmission MAP, the application has realized the automatic analysis of the original signaling data of MAP simultaneously, with respect to manual analysis, improve the accuracy that the original signaling data of MAP is analyzed, further improve the accuracy of monitoring signaling.
Refer to Fig. 3, the another kind of flow chart that it shows a kind of MAP signalling analysis method that the application provides, can comprise the following steps:
Step 301: detect the data traffic of transmitting in described link, according to the corresponding relation of described data traffic and analytical cycle, determine described analytical cycle.For example: when the data traffic transmitted is larger, acquisition time reduces, and the short time can obtain larger data, therefore shorten analytical cycle in link; Hour, acquisition time increases the data traffic of transmitting in link, expends the long period just can obtain larger data, therefore extends analytical cycle.
Step 302: gather the original signaling data of MAP transmitting in link.
Step 303: resolve the original signaling data of described MAP, obtain the key message in the original signaling data of described MAP.
The implementation process of step 302 and step 303 is identical with step 101 and step 102 respectively, and this is no longer set forth.
Step 304: according to logic of propositions comparison rule, described key message is analyzed, obtained analysis result.
In the present embodiment, described key message is analyzed, obtained analysis result and comprise: one, interval analytical cycle is once analyzed described key message, obtain analysis result.Wherein, the concrete analysis of key message is referred to the explanation in step 103.
Embodiment is corresponding with said method, and the application also provides a kind of MAP signalling analysis system, and its structural representation refers to shown in Fig. 4, comprising: collector 41, resolver 42 and analysis module 43.Wherein,
Collector 41, the original signaling data of MAP transmitting for gathering link.
Resolver 42, for resolving the original signaling data of described MAP, obtains the key message in the original signaling data of described MAP.In the present embodiment, key message comprises: the InvokeID information of temporal information, SNT identification information, FSN information, OPC/DPC information, calling/called information, TCAP floor and source order Sid/Did information.
Analysis module 43, for according to logic of propositions comparison rule, analyzes described key message, obtains analysis result.Wherein, the structural representation of analysis module 43 refers to shown in Fig. 5, comprising: SLS analytic unit 431, FSN analytic unit 432, InvokeID analytic unit 433, synthesis analysis unit 434 and analytic unit 435.
In the present embodiment, between resolver 42 and analysis module 43, can adopt flexible bus technical transmission data.The original signaling data of MAP that collector 41 collects is by flexible bus technology buffer memory, and by flexible bus, is transferred to analysis module 43 by resolver 42.Certainly, in the present embodiment, data are preserved and transmission can also adopt shared drive mode mode, and this is not limited.
In the present embodiment, SLS analytic unit 431, for choosing the SNT information of described key message, judge the signaling link in it selects SLS whether to have disappearance, if so, generate SLS deletion analysis result, and in described SLS deletion analysis result, carry SLS disappearance number.
FSN analytic unit 432, for obtaining the FSN information of described key message, judges that whether FSN value is continuous, if not, generates FSN change point result, and carries FSN jump rate in described FSN change point result.
The jump of the FSN value of 432 pairs of every links of FSN analytic unit is counted, and normal link FSN should be continuously, if judgement FSN value is not continuous, generates FSN change point result, and carries FSN jump rate in described FSN change point result.
InvokeID analytic unit 433, for extracting the InvokeID information of described key message, judge whether the number of the up-downgoing data in described InvokeID information equates, if not, generate packet loss analysis result, and in described packet loss analysis result, carry the equal rate of InvokeID.
Synthesis analysis unit 434, synthetic for carry out operation flow according to described key message, calculate synthetic ratio, judge whether described synthetic ratio is less than default synthetic ratio, if so, generate synthetic ratio harmonic analysis result, and described synthetic ratio harmonic analysis result carries described synthetic ratio.
Analytic unit 435, for according to logic of propositions comparison rule, analyzes described SLS disappearance number, FSN jump rate, the equal rate of InvokeID and synthetic ratio.
Wherein, a kind of logic of propositions comparison rule contrasts with preset value separately respectively for SLS being lacked to number, FSN jump rate, the equal rate of InvokeID and synthetic ratio, at described SLS disappearance number, FSN jump rate, InvokeID, equate that rate is less than respectively self preset value, and described synthetic ratio is greater than in the situation of self preset value, generates the analysis result that signal collecting repeats and signaling is lost.For example: when synthetic ratio is greater than 97%, SLS lacks 1 numeral, the discontinuous jump rate of FSN is less than 5%, when InvokeID equates that rate is less than 20%, think that the original signaling data collection of MAP between OPC and DPC exists repetition, and the original signaling data of the MAP collecting has disappearance, now generate the analysis result that signal collecting repeats and signaling is lost.
The analysis of 43 pairs of key messages of analysis module can also comprise: the analysis to OPC/DPC information and temporal information.It can also increase OPC/DPC analytic unit and time series analysis unit on the basis shown in Fig. 5.Wherein, OPC/DPC analytic unit, for obtaining the OPC/DPC information of described key message, mates OPC/DPC with each OPC/DPC in default OPC/DPC table, if do not match, generate the unsuccessful analysis result of coupling.Time series analysis unit, for obtaining the temporal information of described key message, whether the time value of judgement is continuous, if not, generates out of order analysis result.
The key message that above-mentioned resolver 42 obtains can also comprise link No. ID, and No. ID, described link is for unique identification link.It can comprise collection plane No., plate card number, link No. and time slot.In the analysis result that analysis module 43 draws, carry No. ID, described link, attendant checks the link that carries in result No. ID by the analysis result in office terminal, thereby finds corresponding link physical access device, and link is safeguarded.
After generating analysis result, analysis result can directly be sent to office terminal, can also send according to grade classification.Refer to Fig. 6, the another kind of structural representation that it shows a kind of MAP signalling analysis system that the application provides, on the basis shown in Fig. 4, can also comprise: divide module 44 and transmitter 45.
Divide module 44, for analysis result is carried out to grade classification.Transmitter 45, while being greater than preset alarm grade for the grade at analysis result, sends described analysis result to office terminal.
It should be noted that: each analysis result that analysis module 43 generates can be sent to office terminal as an independent analysis result, or signal collecting repeats and signaling is lost analysis result or other result that only analysis module 43 are generated are sent to office terminal, and this is no longer limited.
In addition, a kind of MAP signalling analysis system that the application provides can also increase detection module on the basis shown in Fig. 4 or Fig. 6, for detection of the data traffic of transmitting in described link, according to the corresponding relation of described data traffic and analytical cycle, determine described analytical cycle.Analysis module 43 is once analyzed described key message specifically for the described analytical cycle in one, interval, obtains analysis result.
MAP signalling analysis system described in the present embodiment can be integrated on switch, also can as an entity, be connected with switch separately, in addition, it should be noted that, when the method described in the application adopts software to realize, can be used as a newly-increased function of switch, can write separately corresponding program yet, the application does not limit the implementation of described method or system.
It should be noted that, in this specification, each embodiment all adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For system class embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
Finally, also it should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
While for convenience of description, describing above system, with function, being divided into various unit describes respectively.Certainly, when implementing the application, the function of each unit can be realized in same or a plurality of software and/or hardware.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that the application can add essential general hardware platform by software and realizes.Understanding based on such, the part that the application's technical scheme contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) carry out the method described in some part of each embodiment of the application or embodiment.
A kind of MAP signalling analysis method and system that above the application provided describe in detail, applied specific case herein the application's principle and execution mode are set forth, the explanation of above embodiment is just for helping to understand the application's method and core concept thereof; Meanwhile, for one of ordinary skill in the art, the thought according to the application, all will change in specific embodiments and applications, and in sum, this description should not be construed as the restriction to the application.