Summary of the invention
In view of this, main purpose of the present invention obtains method and the device of bearing parameter in being to provide a kind of Iub interface to monitor, can simply, automatically obtain in Iub interface monitoring, each monitored Iub interface needs the bearing parameter of NBAP and ALCAP of configuration; And bearing parameter does accommodation with the network equipment self configuration change, ensure the availability of Iub interface monitoring system.
For achieving the above object, technical scheme of the present invention is achieved in that
Obtain a method for bearing parameter in Iub interface monitoring, comprising:
AAL2 protocol Data Unit PDU and AAL5PDU is distinguished according to asynchronous transfer mode ATM adaptation layer AAL type identification;
The bottom bearing protocol comprised the AAL5PDU distinguished is decoded the data separating and comprise node B application part NBAP and Access Link Control Application Part ALCAP;
To the data analysis comprising NBAP and ALCAP, identify NBAP message and ALCAP message, to obtain the bearing parameter of NBAP or ALCAP.
Described differentiation AAL2PDU and AAL5PDU comprises: the AAL type identification carried in the head according to the described AAL PDU collected, and distinguishes AAL2PDU and AAL5PDU.
The described bottom bearing protocol comprised AAL5PDU is carried out decoding and is comprised: to the service specific coordination function SSCF-UNI agreement of the specific connection oriented protocol SSCOP of business, user network interface side, successively decode and data stripping, obtain the PDU of NBAP message and ALCAP message.
Also comprise before the method: the ALCAP bearing parameter set pre-setting the bearing parameter for recording ALCAP; It is a null set during set initialization of ALCAP bearing parameter;
The described data analysis to comprising NBAP and ALCAP, identifies NBAP message and ALCAP message, comprises with the bearing parameter obtaining NBAP or ALCAP:
According to the data characteristics of the foundation request ERQ message of ALCAP, the ERQ message of ALCAP is identified from the PDU of NBAP and ALCAP separated, call the ERQ message of ALCAP decoder to this ALCAP to decode, and when successfully decoded, the bearing parameter carry this ALCAP PDU head and ALCAP bearing parameter sets match, determine that whether the bearing parameter that this ALCAP PDU head carries being added into ALCAP bearing parameter concentrates.
Whether the bearing parameter that this ALCAP PDU head carries is added into ALCAP bearing parameter and concentrates and specifically comprise by described decision:
The bearing parameter that the AAL5PDU head of the data characteristics of the foundation request ERQ message of the described ALCAP of having carries is mated with the set of ALCAP bearing parameter, if this bearing parameter does not belong to the set of ALCAP bearing parameter, then this bearing parameter is added the set of ALCAP bearing parameter, the credit assignment of bearing parameter is preset value M, and the OSAID parameter obtained in the ERQ message of ALCAP, be configured to mark to be matched with VPI VPI, VCI VCI and the signalling correlated mark OSAID that originates from, namely process ends terminates the process to an AAL PDU;
If this bearing parameter belongs to the set of ALCAP bearing parameter, and with a low credibility in preset value T, then confidence level is increased preset value M, if higher than T after confidence level increase, then consolidation is T, and namely process ends terminates the process to an AAL PDU.
If described in call the decoding of ALCAP decoder to the ERQ message of ALCAP unsuccessful, the method also comprises:
Abandon the AAL5PDU of the described ERQ message for ALCAP tentatively identified, terminate the process to an AAL PDU.
Describedly identify NBAP message and ALCAP message according to decoded result, also comprise with the bearing parameter obtaining NBAP or ALCAP:
To the PDU of NBAP and ALCAP that the decoding of data characteristics of the ERQ message not possessing ALCAP obtains, mate with the set of ALCAP bearing parameter with the bearing parameter entrained by AAL5PDU head, if this bearing parameter belongs to the set of ALCAP bearing parameter, then think that this AAL5PDU is ALCAP message, call ALCAP decoder and decode;
If this bearing parameter does not belong to the set of ALCAP bearing parameter, the set of ALCAP bearing parameter is not null set, and the acquisition of this bearing parameter has reached the value preset running time, then think that this AAL5PDU is NBAP message, call NBAP decoder and decode.
The described ALCAP of calling decoder carries out decoding and comprises:
If successfully decoded and type of message confirm ECF message for setting up, obtain the DSAID parameter in described ALCAP message, VPI, VCI and the OSAID in the ERQ message of coupling ALCAP is searched with VPI, VCI and object signalling correlated mark DSAID, if matched, and in the set of ALCAP bearing parameter bearing parameter with a low credibility in preset value T of the ERQ message of this ALCAP, then increased preset value N, if higher than T after confidence level increase N, then consolidation is T, terminates the process to an AAL PDU;
Unsuccessful if decoded, then the confidence level of this VPI/VCI in the set of ALCAP bearing parameter is reduced preset value L, if after deducting L, confidence level is equal to or less than 0, then this VPI/VCI is deleted from the set of ALCAP bearing parameter, terminate the process to an AAL PDU.
Obtain a device for bearing parameter in Iub interface monitoring, comprise PDU type classification unit, bottom decoding unit and message analyzing unit, wherein,
PDU type classification unit, for distinguishing AAL2PDU and AAL5PDU;
Bottom decoding unit, decodes for the bottom bearing protocol comprised the AAL5PDU distinguished, separates the data comprising NBAP and ALCAP;
Message analyzing unit, for the data analysis comprising NBAP and ALCAP separated bottom decoding unit, identifies NBAP message and ALCAP message, to obtain the bearing parameter of NBAP or ALCAP.
Described message analyzing unit comprises the ERQ message processing module of ALCAP bearing parameter memory module, ALCAP, and AAL5PDU processing module, wherein,
ALCAP bearing parameter memory module, for the ALCAP bearing parameter set of the bearing parameter of stored record ALCAP, is a null set during set initialization of ALCAP bearing parameter;
The ERQ message processing module of ALCAP, for to the ALCAP PDU of data characteristics of ERQ message with ALCAP, call the ERQ message of ALCAP decoder to this ALCAP to decode, and when successfully decoded, ALCAP bearing parameter sets match in the bearing parameter carry this ALCAP PDU head and ALCAP bearing parameter memory module, determines whether be added in the set of ALCAP bearing parameter by the bearing parameter that this ALCAP PDU head carries; If unsuccessful to the decoding of the ERQ message tentatively identifying ALCAP, then abandon this message;
AAL5PDU processing module, for to the PDU of NBAP PDU and ALCAP of data characteristics not possessing ALCAP ERQ, the bearing parameter carried with AAL5PDU head mates with the ALCAP bearing parameter set in ALCAP bearing parameter memory module, if this bearing parameter belongs to the set of ALCAP bearing parameter, then think that this AAL5PDU is ALCAP message, call ALCAP decoder and decode; If this bearing parameter does not belong to the set of ALCAP bearing parameter, the set of ALCAP bearing parameter is not null set, and the acquisition of this bearing parameter has reached set point running time, then think that this AAL5PDU is NBAP message, call NBAP decoder and decode.
The ERQ message processing module of described ALCAP when calling the success of ALCAP decoders decode, specifically for:
The bearing parameter that the AAL5PDU head of the data characteristics of the foundation request ERQ message of the described ALCAP of having carries is mated with the set of ALCAP bearing parameter, if this bearing parameter does not belong to the set of ALCAP bearing parameter, then this bearing parameter is added the set of ALCAP bearing parameter, the credit assignment of bearing parameter is preset value M, and the OSAID parameter obtained in the ERQ message of ALCAP, be configured to mark to be matched with VPI, VCI and OSAID, namely process ends terminates the process to an AAL PDU;
If this bearing parameter belongs to the set of ALCAP bearing parameter, and with a low credibilityly then confidence level is increased M in preset value T, if confidence level increase after higher than T, then consolidation is T, and namely process ends terminates the process to an AAL PDU.
Described AAL5PDU processing module calls ALCAP decoder when decoding, specifically for:
If successfully decoded and type of message is ECF message, obtain the DSAID parameter in described ALCAP message, VPI, VCI and the OSAID in the ERQ message of coupling ALCAP is searched with VPI, VCI and DSAID, if matched, and in the set of ALCAP bearing parameter bearing parameter with a low credibility in preset value T of the ERQ message of this ALCAP, then increased preset value N, if confidence level increases after N higher than T, then consolidation is T, terminates the process to an AAL PDU;
Unsuccessful if decoded, then the confidence level of this VPI/VCI in the set of ALCAP bearing parameter is reduced preset value L, if after deducting L, confidence level is equal to or less than 0, then this VPI/VCI is deleted from the set of ALCAP bearing parameter, terminate the process to an AAL PDU.
As can be seen from the technical scheme that the invention described above provides, comprise and distinguish AAL2PDU and AAL5PDU according to AAL type identification; The bottom bearing protocol comprised the AAL5PDU distinguished is decoded the data separating and comprise node B application part NBAP and Access Link Control Application Part ALCAP, to the data analysis comprising NBAP and ALCAP, identify NBAP message and ALCAP message, to obtain the bearing parameter of NBAP or ALCAP.By the inventive method, simply, automatically obtain in Iub interface monitoring, each monitored Iub interface needs the bearing parameter of NBAP and ALCAP of configuration; And bearing parameter does accommodation with the network equipment self configuration change, ensure that the availability of Iub interface monitoring system.
Embodiment
AAL5PDU on Iub interface, only carries these two kinds of upper-layer protocols of NBAP and ALCAP, and therefore, as long as identify the VPI/VCI parameter of carrying a kind of agreement wherein, namely what another one VPI/VCI carried is another kind of agreement;
Foundation request (ERQ, the Establish Request) message of ALCAP has the data characteristics shown very much.
Fig. 2 is the flow chart obtaining the method for bearing parameter in Iub interface of the present invention monitoring, as shown in Figure 2, mainly comprises the following steps:
Step 200: distinguish AAL2PDU and AAL5PDU according to AAL type identification.
Due to two on Iub interface kind of AAL type, i.e. AAL2 and AAL5, when carrying out Iub interface data acquisition, collecting device can complete AAL type identification, and adds corresponding type identification at AAL PDU head; Further, at AAL PDU head, corresponding bearing parameter i.e. two tuple VPI/VCI can be added.Therefore, in this step, according to the AAL type identification entrained by AAL PDU head, just AAL2PDU and AAL5PDU can be distinguished.
Step 201: the bottom bearing protocol that the AAL5PDU distinguished comprises is decoded, separates the data comprising NBAP and ALCAP.
This step comprises, to the specific connection oriented protocol (SSCOP of business, Service-specificConnection Oriented Protocol), the service specific coordination function (SSCF-UNI of user network interface side, Service-specific Coordination Function User-Network Interface) agreement, successively decode and data stripping, obtain the PDU of NBAP message and ALCAP message.In this step, in AAL5PDU, contain which floor identical bottom bearing protocol as the data of SSCOP, SSCF-UNI, and be positioned at the data of these the two kinds of agreements of NBAP and ALCAP on these underlying protocols.To the decoding of bottom bearing protocol, just in order to peel off the data of underlying protocol layer correspondence to obtain the data comprising NBAP and ALCAP, but NBAP data and ALCAP data now can not be distinguished.
Step 202: to the data analysis comprising NBAP and ALCAP, identifies NBAP message and ALCAP message, to obtain the bearing parameter of NBAP or ALCAP.
This step is by the preliminary identification to NBAP message and ALCAP message, and tentative decoding is carried out to it, utilize decoding correctly can complete (and whether the parameter association between ERQ and ECF of ALCAP exists) as feedback information, on the preliminary basis identified, revise the credibility of recognition result, such as: if be correctly decoded, the trial before explanation is more correct, increases confidence level; If can not be correctly decoded, illustrate that the configuration attempting failure or main equipment adjusts, therefore need to reduce confidence level to be deleted from the bearing parameter set of ALCAP by the bearing parameter recognized.
This step, according to the PDU of NBAP and ALCAP obtained that decode, carries out following analyzing and processing:
Pre-setting the bearing parameter i.e. ALCAP bearing parameter set of two tuple VPI/VCI for recording ALCAP, this ALCAP bearing parameter set being designated as Salcap herein.It is a null set during Salcap initialization;
(1) it was 0000000005 (representing with 16 systems) according to the data characteristics of the ERQ message of ALCAP and 5 byte values of message data, the ERQ message (for ALCAP PDU) of ALCAP is tentatively identified NBAP and the ALCAP PDU obtained from decoding, call the ERQ message of ALCAP decoder to this ALCAP to decode, and when successfully decoded, bearing parameter i.e. two tuple VPI/VCI and the Salcap carried by this ALCAP PDU head mate, determine whether be added in Salcap by the bearing parameter i.e. two tuple VPI/VCI that this ALCAP PDU head carries.If unsuccessful to the decoding of the ERQ message tentatively identifying ALCAP, then abandon this message.
(2) to the PDU of NBAP PDU and ALCAP of data characteristics of ERQ message not possessing ALCAP, mate with the bearing parameter entrained by AAL5PDU head i.e. two tuple VPI/VCI and Salcap, if belong to Salcap, then think that this AAL5PDU is ALCAP message, call ALCAP decoder and decode; If do not belong to Salcap, Salcap is not null set, and this bearing parameter acquisition running time (namely to the processing time of an AAL PDU) has reached the value (such as timer expiry etc.) preset, then think that this AAL5PDU is NBAP message, call NBAP decoder and decode.
In this step, prior art is belonged to the specific implementation that the ALCAP message tentatively identified or NBAP message are decoded, the protection range that its concrete methods of realizing is not intended to limit the present invention, repeat no more here.
By the inventive method, simply, automatically obtain in Iub interface monitoring, each monitored Iub interface needs the bearing parameter of NBAP and ALCAP of configuration; And bearing parameter does accommodation with the network equipment self configuration change, ensure that the availability of Iub interface monitoring system.
Obtain the device of bearing parameter in also providing a kind of Iub interface to monitor for the inventive method, as shown in Figure 3, comprise PDU type classification unit, bottom decoding unit and message analyzing unit, wherein,
PDU type classification unit, for distinguishing AAL2PDU and AAL5PDU;
Bottom decoding unit, decodes for the bottom bearing protocol comprised the AAL5PDU distinguished, separates the data comprising NBAP and ALCAP;
Message analyzing unit, for the data analysis comprising NBAP and ALCAP separated bottom decoding unit, identifies NBAP message and ALCAP message, to obtain the bearing parameter of NBAP or ALCAP.
Particularly, message discriminating unit comprises the ERQ message processing module of ALCAP bearing parameter memory module, ALCAP, and AAL5PDU processing module, wherein,
ALCAP bearing parameter memory module, for the bearing parameter i.e. ALCAP bearing parameter set of two tuple VPI/VCI of stored record ALCAP, is designated as Salcap by this ALCAP bearing parameter set herein.It is a null set during Salcap initialization;
The ERQ message processing module of ALCAP, for to the ALCAP PDU of data characteristics of ERQ message with ALCAP, call the ERQ message of ALCAP decoder to this ALCAP to decode, and when successfully decoded, the bearing parameter i.e. two tuple VPI/VCI that this ALCAP PDU head carries are mated with the Salcap in ALCAP bearing parameter memory module, determines whether be added in Salcap by the bearing parameter i.e. two tuple VPI/VCI that this ALCAP PDU head carries.If unsuccessful to the decoding of the ERQ message tentatively identifying ALCAP, then abandon this message;
AAL5PDU processing module, for to the PDU of NBAP PDU and ALCAP of data characteristics not possessing ALCAP ERQ, the bearing parameter carried with AAL5PDU head i.e. two tuple VPI/VCI mate with the Salcap in ALCAP bearing parameter memory module, if belong to Salcap, then think that this AAL5PDU is ALCAP message, call ALCAP decoder and decode; If do not belong to Salcap, Salcap is not null set, and the acquisition of this bearing parameter has reached set point running time, then think that this AAL5PDU is NBAP message, call NBAP decoder and decode.
The ERQ message processing module of described ALCAP is when calling the success of ALCAP decoders decode, specifically for: the bearing parameter that the AAL5PDU head of the data characteristics of the foundation request ERQ message of the described ALCAP of having carries is mated with ALCAP bearing parameter S set alcap, if this bearing parameter does not belong to ALCAP bearing parameter S set alcap, then this bearing parameter is added ALCAP bearing parameter S set alcap, the credit assignment of bearing parameter is preset value M, and the OSAID parameter obtained in the ERQ message of ALCAP, mark to be matched is configured to VPI+VCI+OSAID, namely process ends terminates the process to an AALPDU,
If this bearing parameter belongs to ALCAP bearing parameter S set alcap, and with a low credibilityly then confidence level is increased M in preset value T, if confidence level increase after higher than T, then consolidation is T, and namely process ends terminates the process to an AAL PDU.
Described AAL5PDU processing module calls ALCAP decoder when decoding, specifically for: if successfully decoded and type of message is ECF message, obtain the DSAID parameter in described ALCAP message, the VPI+VCI+OSAID in the ERQ message of coupling ALCAP is searched with VPI+VCI+DSAID, if matched, and in ALCAP bearing parameter S set alcap bearing parameter with a low credibility in preset value T of the ERQ message of this ALCAP, then increased preset value N, if higher than T after confidence level increase N, then consolidation is T, terminates the process to an AAL PDU;
Unsuccessful if decoded, then the confidence level of this VPI/VCI in ALCAP bearing parameter S set alcap is reduced preset value L, if after deducting L, confidence level is equal to or less than 0, then this VPI/VCI is deleted from ALCAP bearing parameter S set alcap, terminate the process to an AAL PDU.
Below in conjunction with embodiment, the inventive method is described in detail.
Fig. 4 is the schematic flow sheet obtaining the embodiment of the method for bearing parameter in Iub interface of the present invention monitoring, and in embodiment, Salcap is a bearing parameter i.e. set of two tuple VPI/VCI for recording ALCAP pre-set.When the present invention starts to process to collect AAL PDU, Salcap is initialized as a null set.As shown in Figure 4, comprise the following steps:
Step 400 ~ step 401: receive the AAL PDU gathered from Iub interface, according to the AAL type identification entrained by AAL PDU head, distinguish AAL2PDU and AAL5PDU.And subsequent treatment of the present invention is carried out to the AAL5PDU distinguished, enter step 402; If that distinguish is AAL2PDU, its processing method not within the protection range of the inventive method, process ends.
Step 402: decode to the bottom bearing protocol that AAL5PDU comprises: to SSCOP, SSCF-UNI agreement, successively decodes and data are peeled off, and obtains the PDU of NBAP and ALCAP.
Step 403 ~ step 404: to the PDU of NBAP and ALCAP, it was 0000000005 (representing with 16 systems) according to the data characteristics of the ERQ message of ALCAP and 5 byte values of message data, mate, if coupling, tentatively identify the ERQ message of ALCAP, enter step 405; If do not mated, enter step 410.
The data characteristics of the ERQ message of ALCAP, Q.2630 the regulation of protocol parameter coding is extracted according to ALCAP protocol specification: 4 bytes of ALCAP message are the signalling correlated mark (DSAID of object, Destination Signalling Association Identifier) parameter, and the meaning that DSAID comprises in the ERQ message of ALCAP is " the unknown " (" unknown "), corresponding encoded radio is 00000000; 5th byte of ALCAP message is message identifier (Message Identifer) parameter, and the encoded radio of Message Identifer parameter corresponding to the ERQ message of ALCAP is 05.Therefore, 5 bytes of the ERQ message of ALCAP must be 0000000005.For identifying NBAP and ALCAP of Iub interface, this is the data characteristics that shows very much, discrimination is very high.
Step 405 ~ step 409: to the ERQ message of the preliminary ALCAP identified, call ALCAP decoder and decode,
If (successfully decoded herein refers to and can resolve complete by the PDU of ALCAP according to coding criterion Q.2630 successfully decoded, there is not lacking or remaining of data), bearing parameter entrained by AAL5PDU head i.e. two tuple VPI/VCI and Salcap are mated, if this two tuple VPI/VCI does not belong to Salcap, then this two tuple VPI/VCI is added Salcap, and be M (M adjustable by the credit assignment of this two tuple VPI/VCI, assumed by default value is set to 4), and the signalling correlated mark (OSAID of origin obtained in the ERQ message of ALCAP, Originating Signalling Association Identifier, OSAID) parameter, with VPI+VCI+OSAID (i.e. VPI, VCI and OSAID) be configured to mark to be matched, namely process ends terminates the process to an AAL PDU.If this two tuple VPI/VCI belongs to Salcap, and with a low credibility in T (T adjustable, T is more than or equal to M, default value is set to 10), then confidence level is increased M, if higher than T after confidence level increase, then consolidation is T, and namely process ends terminates the process to an AAL PDU;
Unsuccessful if decoded, then abandon the AAL5PDU of the ERQ message for ALCAP that this tentatively identifies, namely process ends terminates the process to an AAL PDU.
Step 410: to the PDU of NBAP and ALCAP of data characteristics of ERQ message not possessing ALCAP, mate with the bearing parameter entrained by AAL5PDU head i.e. two tuple VPI/VCI and Salcap, if this two tuple VPI/VCI does not belong to Salcap, then enter step 411; If coupling, enters step 412.
Step 411: if Salcap is not null set, and this bearing parameter obtains running time (when namely the present invention starts to process to collect AAL PDU, the handling duration pre-set) reach set point, then think that the AAL5PDU collected is NBAP message, call NBAP protocol decoder to decode, process ends.Otherwise, think which kind of agreement the PDU that temporary transient None-identified collects is, abandon the PDU collected, process ends.
Step 412 ~ step 416: think that the AAL5PDU collected is ALCAP message, calls ALCAP decoder and decodes,
If successfully decoded, and type of message confirms (ECF) message for setting up, obtain the DSAID parameter in ALCAP message, with VPI+VCI+DSAID (i.e. VPI, VCI and DSAID) search coupling ALCAP ERQ message in VPI+VCI+OSAID, if can match, and in Salcap this VPI/VCI with a low credibility in T, then increased N (N adjustable, N is less than or equal to T, default value is set to 6), confirm with the forward carrying out confidence level, if higher than T after confidence level increase N, then consolidation is T, namely process ends terminates the process to an AAL PDU,
Unsuccessful if decoded, then the confidence level of this VPI/VCI in Salcap is reduced L (L adjustable, L is less than or equal to T, default value is set to 2), to carry out the reverse punishment of confidence level, if after deducting L, confidence level is equal to or less than 0, then deleted from Salcap by this VPI/VCI, namely process ends terminates the process to an AAL PDU.It should be noted that: VPI/VCI is the head that existing harvester just to finish writing in advance at AAL5PDU, therefore, the no matter decoder of ALCAP whether successfully decoded, the VPI/VCI of an AAL5PDU can read from head and obtain.This VPI/VCI just refer to current to the top section data call ALCAP decoder of AAL5PDU carry out attempt decoding that AAL5PDU head with VPI/VCI.
Herein, M, N, L parameter preset is all a value.M, N, L must be less than or equal to T.Specifically get how many, the factor corresponding to this value can be determined by the design of the weight of the bearing parameter set of adjustment Salcap, can adjust as required.Can use in such as reality, pre-set T=10, the first forward rewards M=4, and the second forward rewards N=6, oppositely punishes L=2.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention, and all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.