A kind of end side IP data and wireless signaling time unifying method
Technical field
The present invention relates to the data analysis technique of end side IP data and wireless signaling.
Background technology
Existing scheme is that wireless signaling is separated with the crawl process of IP signaling, at present due to the processing capability in real time of equipment and the processing scheme in later stage, present stage packet capturing technology can not realize wireless signaling and IP signaling is captured by a port simultaneously, can only adopt wireless signaling and the packet capturing of IP signaling independence, the later stage carries out Conjoint Analysis to two packet capturing files.As shown in Figure 1, be that on mobile phone terminal, wireless signaling and IP signaling gather schematic diagram.
Wireless signaling captures by signaling bag, be actually one piece of signaling, it contains many wireless signalings, described many wireless signalings with time Ttn be time of base station, non-mobile phone local zone time, when software reads one piece of wireless signaling, handling procedure adds a mobile phone local zone time T can to this block wireless signaling; When capturing IP signaling, the IP signaling captured captures according to the mode of a bag signaling, and IP signaling itself does not comprise the time, and in the process of crawl, handling procedure can give every bar IP signaling local zone time T.
In process due to the data acquisition in early stage, have employed two mutual incoherent times: base station time and mobile phone local zone time, cause in the process of post analysis, can only adopt and manually analyze the method that the time is estimated, the precision of analysis depends on whether base station and mobile phone terminal adopt the experience of identical time synchronized server, base station time server and mobile phone time server time difference and analyst.
Such as, wireless signaling data export by block, namely many wireless signalings are comprised in a signaling block, although every bar wireless signaling has independent time point, but wireless signaling self-contained time is the time according to base station, because the time synchronized server of base station is not identical with the time synchronized server of mobile phone, there is deviation with mobile phone time, even deviation is comparatively large, affects the association analysis of wireless signaling data and IP data.As shown in Figure 2, be software sectional drawing after IP signaling and wireless signaling capture in packet capturing software simultaneously.
As can be seen from Figure 2: wireless signaling applies for Radio Resource at 11:40:20.342, in 11:40:20.429 release, apply for starting application at 11:44:31.500,11:44:31.590 discharges next time; Corresponding on IP signaling, whether 11:44:23.681 starts there is Packet Generation/reception between 11:44:26.743 always, cannot be corresponding with normal flow chart, cause analysis cannot accurately confirm to eat dishes without rice or wine apply for or apply for failure.Experienced analyst can add a time value estimated in different acquisition time sections, can eliminate larger time difference, but this mode can only do qualitative analysis, can not do quantitative analysis in certain degree.
Summary of the invention
The object of the invention is to propose a kind of end side IP data and wireless signaling time unifying method, it can solve the problem that end side IP data and wireless signaling time cannot be accurately corresponding.
In order to achieve the above object, the technical solution adopted in the present invention is as follows:
A kind of end side IP data and wireless signaling time unifying method, it comprises:
Data collection steps: signal collecting terminal gathers multiple IP signaling packet and multiple wireless signaling packet, wherein, each IP signaling packet comprises an IP signaling, each wireless signaling packet comprises many wireless signalings arranged in chronological order, every bar IP signaling and each wireless signaling packet to have when being preserved the temporal information that creates by signal collecting terminal, each wireless signaling all to have when being exported the temporal information that creates by base station;
Data processing step: according to formula T
ax=T-(A
tn-A
tx) and A
tn=T, changes the temporal information of each wireless signaling in same wireless data packet, wherein, and T
axfor the change-over time of a certain bar wireless signaling in same wireless signaling packet except the last item wireless signaling, time when T is signal collecting terminal preservation wireless signaling packet, A
tnfor when the last item wireless signaling in same wireless signaling packet is exported time of creating by base station, A
txfor when a certain bar wireless signaling in same wireless signaling packet except the last item wireless signaling is exported time of creating by base station.
Above-mentioned signal collecting terminal is mobile phone or computer.
In same wireless signaling packet, equal by the time interval between adjacent every two wireless signalings that base station exports.
The present invention has following beneficial effect:
Can be precisely corresponding with the time of IP data by the time of wireless signaling, have nothing to do with the experience of analyst, the time of data acquisition, place, quantitative analysis can be carried out to the data collected.
(1) by conversion every bar wireless signaling time, the wireless signaling data time precision parsed is improved, more close to truth;
(2) avoid because wireless signaling collection causes the time deviation with IP data by block output;
(3) degree of association and accuracy that wireless signaling and IP data aggregate analyze is improved.
Accompanying drawing explanation
Fig. 1 is that on mobile phone terminal, wireless signaling and IP signaling gather schematic diagram;
Fig. 2 is the software sectional drawing after IP signaling and wireless signaling capture in packet capturing software simultaneously;
Fig. 3 is the flow chart of normal wireless signaling and IP signaling;
Fig. 4 is the end side IP data of the embodiment of the present invention and the application example of wireless signaling time unifying method.
Embodiment
Below, by reference to the accompanying drawings and embodiment, the present invention is described further:
As shown in Figure 3, be the flow chart of normal wireless signaling and IP signaling.After only having channel to set up, IP data could carry out exchanges data on network.In the signaling crawl process of reality, these two wireless signalings of TBFEstablish and TBFRelease may inside same signaling block, most perfect condition comprises TBFEstablish in one piece of wireless signaling, TBFRelease is comprised inside rear one piece of signaling block, no matter be that situation, final or must be benchmark with the time of preserving.
Shown in composition graphs 3, the feature of the packet capturing technology (i.e. signal collecting technology) of prior art is as follows:
Signaling crawl is carried out (for convenience of description according to the mode of block during the collection of 1, wireless signaling, the implication of the wireless signaling block of the present embodiment, block wireless signaling, wireless signaling packet is all identical), have in every block wireless signaling more than a wireless signaling, the endless number system of the wireless signaling that every block wireless signaling comprises;
2, in one piece of wireless signaling data, the time reference of every bar wireless signaling is same, and the benchmark as the time of existing wireless signaling is the time of base station;
3, when signal collecting terminal preserves one piece of wireless signaling, also preserve and make this wireless signaling block have temporal information when being saved;
4, IP signaling captures according to the mode of each IP packet IP signaling, and every bar IP signaling has a temporal information of being preserved by signal collecting terminal.
The present embodiment is based on the improvement done by the packet capturing feature of prior art.
A kind of end side IP data and wireless signaling time unifying method, it comprises:
Data collection steps: signal collecting terminal gathers multiple IP signaling packet and multiple wireless signaling packet, wherein, each IP signaling packet comprises an IP signaling, each wireless signaling packet comprises many wireless signalings arranged in chronological order, every bar IP signaling and each wireless signaling packet to have when being preserved the temporal information that creates by signal collecting terminal, each wireless signaling all to have when being exported the temporal information that creates by base station.
Data processing step: according to formula T
ax=T-(A
tn-A
tx) and A
tn=T, changes the temporal information of each wireless signaling in same wireless data packet, wherein, and T
axfor the change-over time of a certain bar wireless signaling in same wireless signaling packet except the last item wireless signaling, time when T is signal collecting terminal preservation wireless signaling packet, A
tnfor when the last item wireless signaling in same wireless signaling packet is exported time of creating by base station, A
txfor when a certain bar wireless signaling in same wireless signaling packet except the last item wireless signaling is exported time of creating by base station.
According to wireless theory, in same wireless signaling packet, equal by the time interval between adjacent every two wireless signalings that base station exports, therefore, above-mentioned formula A
tn=T is according to A
tn=A
tx+ (A
tn-A
tx) and T
ax=T-(A
tn-A
tx) deriving obtains.
Signal collecting terminal described in the present embodiment is mobile phone or computer.
As shown in Figure 4, be an embody rule example of the present embodiment.In a wireless signaling packet, including 6 wireless signalings, is wireless signaling A1-A6 respectively, and every bar signaling is A based on the output time of base station
t1-A
t6, this wireless signaling packet is T by the time that signal collecting terminal is preserved, so, after conversion, and the time A of the last item wireless signaling A6 of this wireless signaling packet
t6just conversion corresponds to the holding time T of signal collecting terminal, T change-over time of wireless signaling A5
a5=T-(A
t6-A
t5), T change-over time of wireless signaling A4
a4=T-(A
t6-A
t4), so analogize, make all correspond to the time of signal collecting terminal change-over time of each wireless signaling of this wireless signaling packet, thus make wireless signaling accurately corresponding with the time of IP data.As, the holding time of IP packet and wireless signaling packet is 11:10, namely an IP signaling of IP packet contains the temporal information of 11:10, wireless signaling packet contains the temporal information of 11:10, the temporal information based on base station that 6 wireless signalings in wireless signaling packet contain is followed successively by 11:03,11:04,11:05,11:06,11:07,11:08, according to above-mentioned known, the time of 6 wireless signalings in wireless signaling packet is converted to 11:05,11:06,11:07,11:08,11:09,11:10 successively.Thus significantly, a certain bar wireless signaling in wireless signaling packet namely can be corresponding with a certain IP signaling accurately, estimates by rule of thumb without the need to analyst completely.
Key point of the present invention be by all wireless signalings based on time of base station all according to formula T
ax=T-(A
tn-A
tx) and A
tn=T converts the time unified with signal collecting terminal to, and object is to combine with IP data, play the effect of Conjoint Analysis.
For a person skilled in the art, according to technical scheme described above and design, other various corresponding change and distortion can be made, and all these change and distortion all should belong within the protection range of the claims in the present invention.