Background technology
Global system for mobile communications (Global System of Mobile Communication, be called for short GSM), proposed by ETSI, after develop into the cellular radio communication system of standard worldwide, be current application digital mobile communication standard the most widely.
Gsm system is primarily of travelling carriage (Mobile Station, be called for short MS), mobile network subsystem (Network Sub-System, be called for short NSS), base station sub-system (Base Station Sub-System, be called for short BSS) and operation support subsystem (Operation Support System is called for short OSS) four parts composition.
In practical application, utilize related signaling collecting device carry out collection to the signaling data of GSM network and analyzed, the operation conditions of GSM network can be analyzed.In GSM digital mobile communication network, need distributing a series of signaling frequency in respective regions, GSM network equipment sends signaling data by these signaling frequencies to one or more signaling link.
Frequency is to the numbering of fixed frequency.For example, according to 200KHz(KHz) frequency interval from 890MHz(megahertz), 890.2MHz, 890.4MHz, 890.6MHz, 890.8MHz ..., 915MHz is divided into 125 wireless frequency sections, and each frequency range is numbered, from 1,2,3,4 ... 125; These frequencies namely described to the numbering of fixed frequency.In gsm networks, usually replace with frequency the tranmitting frequency that frequency carrys out specification signal transceiver.As: specify the frequency of a signaling link to be 3, this signaling link will accept the upward signal that frequency is 890.4MHz and with the frequency emissioning signal of 935.4MHz in other words.
Referring to Fig. 1, it is a kind of application scenarios schematic diagram gathering GSM network signaling data.
Signal collecting equipment 106 gathers the data of the ABIS interface between base transceiver station 101 and base station controller 102, the A interface between base station controller 102 and mobile switching centre 103, the E interface between mobile switching centre 103 and mobile switching centre 104, C interface between mobile switching centre 104 and attaching position register 105 respectively, and filter out signaling data, be forwarded to signaling processing center 107 and carry out analyzing and processing.Particularly, first signaling frequency can be set at ABIS interface, second signaling frequency is set at A interface, the 3rd signaling frequency is set at E interface, so analogize.Signal collecting equipment 106, by processing the signaling data that the signaling frequency of each interface sends, sets up corresponding signaling link, to realize collection to the signaling data of each signaling frequency and analysis.Signaling processing center 107 can be optimized work to GSM network according to the result analyzed, as: coverage optimization, optimizing neighbor list, performance of handoffs optimization, the optimization of access property, the optimization of calling retention, power system capacity optimization, frequency interferences optimization, quality of service optimization etc.
Wherein, ABIS interface rate is 16kbps(Kilobits Per Second, and kilobit is per second), aspect adopts open interconnection structure; A interface is the standard interface between GSM network switching subsystem and base station sub-system; C interface is the interface between mobile switching centre's (Mobile Switching Center is called for short MSC) with attaching position register (Home Location Register is called for short HLR); E interface is the interface between Liang Ge mobile switching centre.
In the prior art, when adopting related signaling collecting device to carry out signal collecting to each network interface in GSM or signaling frequency, in enforcement in earlier stage, need to carry out parameter typing to each signaling frequency, as arranged the bandwidth of one or more signaling link of each signaling frequency, signaling data time slot position etc. positioned in multiplex data code stream, namely, when GSM is at newly-increased signaling link, need by artificial optimum configurations.
Further, in the process gathered signaling data, when GSM network deletes that the transmission rate of signaling link or signaling link changes, prior art fails to detect this change in time.User needs in later maintenance process, just can know its operating state by detecting relevant signaling link.Therefore, existing signal collecting technical scheme easily causes signaling data to be lost, and takies a large amount of signaling link resource of GSM network, thus affects the accuracy of the GSM network operation result drawn by signalling analysis.
In addition, along with GSM network constantly expands, the explosive growth of signaling link quantity, network equipment working parameter switching is frequent, existing technical scheme too relies on artificially carries out software merit rating to the network equipment, is difficult to ensure the round-the-clock normal work in 7 × 24 hours of GSM network equipment, will cause the generation of misdata when gathering signaling data, thus the Analysis and judgments of impact to GSM running status, and create a large amount of unnecessary network operation work.
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.
See Fig. 2, it is the flow chart of steps of the first embodiment of a kind of signaling data acquisition method provided by the invention.
In the present embodiment, described signaling data acquisition method comprises the following steps:
Step S201: the differential signal in Signaling Access Unit access global system for mobile communications, and described differential signal is processed, obtain Frame.Described Frame comprises signaling data.
During concrete enforcement, the signaling data in global system for mobile communications (GSM) network in transmitting procedure, adopt differential transfer technology.Differential transfer is a kind of signal transmission technology, be different from the way of a traditional holding wire ground wire, differential transfer all signal transmission on these two lines, and the amplitude of these two signals is equal, phase place is contrary, and the signal of transmission on these two lines is exactly differential signal.
Frame, refers to the protocol Data Unit of data link layer, generally include frame head, data division, postamble three part, and frame head and postamble includes the signaling datas such as synchronizing information, address information, error control information usually; Data division then comprises the data that network layer hands down, such as IP(Internet Protocol) the Internet protocol data bag.But its concrete form of different Frames is also not quite similar.In the GSM network operation monitoring system of practical application, usually the signaling data in image data frame is needed, carry out association analysis to submit to backstage signaling processing center, and according to analysis result, the work such as the rational network optimization, user behavior analysis are carried out to GSM.
Referring to Fig. 3, it is unit in first embodiment of the invention carries out signal collecting schematic diagram to global system for mobile communications.
As preferred embodiment, further, the described Signaling Access Unit 10 in the present embodiment comprises signaling interface 101, framer 102; Then,
Described Signaling Access Unit 10 accesses the differential signal in global system for mobile communications, and processes described differential signal, obtains Frame, comprising:
Described signaling interface 101 accesses the differential signal in global system for mobile communications, and sends described differential signal to described framer 102.
Described framer 102 carries out analog-to-digital conversion to described differential signal, obtain digital signal, and described digital signal is processed, obtain Frame, comprise: according to E1 standard, pulse code modulation is carried out to described digital signal, obtain the E1 Frame containing 32 time slots; Or, according to T1 standard, pulse code modulation is carried out to described digital signal, obtains the T1 Frame containing 24 time slots.
Pulse code modulation (Pulse-Code Modulation, PCM) is exactly transmit in the channel after a Time Continuous, value continuous print analog signal are transformed into the discrete digital signal of time discrete, value.Briefly, pulse code modulation is first sampled to analog signal exactly, then to sampled value amplitude quantizing, the process of coding.PCM has two standards (form of expression), i.e. E1 and T1.
Wherein, the primary group of the pulse code modulation in Europe is called for short E1 standard, and its speed is 2.048Mb/s(MBPS).E1 Frame refers to a time division multiplexing frame (its length T=125 microsecond) of E1 standard, is divided into 32 equal time slots altogether, time slot be numbered TS0 ~ TS31.Wherein time slot TS0 is used as frame sync mark, and totally 31 time slots can as the transmission to signaling data for remaining TS1 ~ TS31.Each time slot transmits 8bit(bit), therefore an E1 Frame has 256bit.Transmission per second 8000 frames, therefore the message transmission rate of E1 standard is exactly 2.048Mb/s, and the speed of its each time slot is 64kb/s.
T1 standard is the pulse code modulation mode used in North America, and speed is 1.544Mbit/s.
。The Frame of T1 standard has 24 time slots.Wherein each time slot 7bit encodes, and then adds 1bit signaling code element, therefore a Time Slot Occupancy 8bit.Frame swynchronization code adds 1bit after the coding of 24 time slots, and so every frame has 193bit.Therefore, the Frame of T1 standard comprises 23 B channels and a D channel.Wherein B channel is also referred to as bearer channel, for transferring voice or data message in integrated services digital network; The speed that D channel provides to user in the basic rate interface of integrated services digital network is the speed that 16kb/s or 64kb/s, B channel provides to user in primary rate interface is that 64kb/s, D channel is mainly used in transmitting signaling data.
At present, what each application scenario of China adopted is European E1 standard mostly.T1 standard is generally used for the large organization needing to enter the transmission of high bandwidth and high speed rate between remote site, and it has high-quality call and data transfer interface.
Further, described signaling interface 101 is for being provided with electric mouth or the light mouth of respective drive program.
Electricity mouth refers to the interface of the process signal of telecommunication, mainly refers to copper cable, comprises common twisted-pair feeder network interface and radio frequency coaxial-cable interface.Electricity mouth distance is farthest 100 meters, and its message transmission rate is generally 10 Mb/s or 100 Mb/s, and the message transmission rate of the electric mouth of part is 1000 Mb/s.The differential signal that the signal of telecommunication produces when adopting differential transfer technology to transmit.
Light mouth refers to the interface for light signal that cable transmits, i.e. optical fiber interface, refers to the physical interface for connecting fiber cable.It makes use of light and enter optically thinner medium and the principle that there occurs total reflection carries out Signal transmissions from optically denser medium.During concrete enforcement, the light signal of light mouth access has to pass through " light-electricity " conversion process, just can do further process to obtain the signal of telecommunication (i.e. differential signal).Light mouth is widely used in SDH(Synchronous Digital Hierarchy, SDH (Synchronous Digital Hierarchy)) in, SDH be a kind of multiple connection, line transmission and function of exchange are combined together and by united net management Dynamic System integrated information transmit network, be the Synchronous Optical Network that Bell Communications technical research institute of the U.S. puts forward.
Step S202: described Signaling Access Unit 10 by described dataframe to signal collecting unit 20.
In the present embodiment, Signaling Access Unit 10 accesses the differential signal of GSM, and after the process such as analog-to-digital conversion are carried out to this differential signal, will hand down data are packaged into Frame from GSM network layer, and then send it in the signal collecting unit 20 in data link layer and go to process.
It should be noted that, the differential signal that each network interface or frequency of GSM access includes several data information, and as voice call data, signaling data etc., the present invention only gathers for the signaling data in GSM network.
Step S203: link configuration unit sends the first control signal to described signal collecting unit, controls described signal collecting unit and carries out chain k-path partition to described Frame, obtain at least one data link.
In the present embodiment, after signal collecting unit 20 receives the Frame that Signaling Access Unit 10 sends, link configuration unit 30 sends the first control signal to described signal collecting unit 20; Signal collecting unit 20, according to described first control signal, carries out chain k-path partition to described Frame.During concrete enforcement, because the transmission rate carrying out processing the rear Frame obtained to institute's access differential signal in gsm system is 64kbps, described link configuration unit 30 by the described message transmission rate of each data link of configuration and the data channel of each time slot, can carry out chain k-path partition.Such as, if the transmission rate that link configuration unit 30 configures the data link of current data frame is 64kbps, then each time slot one_to_one corresponding in Frame is distributed to a data channel by link configuration unit 30, and described data channel is set to data link, therefore will obtain many data link; If the transmission rate that link configuration unit 30 configures the data link of current data frame is 31 × 64kbps, then for E1 Frame, link configuration unit 30 will be frame synchronizing signal time slot 1 ~ time slot 31(time slot 0) totally 31 time slots data allocations give a data channel, and this data channel is set to a data link, therefore obtain a data link.
Step S204: whether data link described in described link configuration unit inspection is signaling link.Particularly, after the chain k-path partition of step S203, link configuration unit 30 is by judging whether this data link is the operation that signaling link decides next step.If described data link is signaling link, then perform step S205, if described data link is not signaling link, then perform step S206.
Step S205: described link configuration unit sends the second control signal to described signal collecting unit, controls described signal collecting unit and gathers the signaling data on described signaling link.
Step S206: described link configuration unit sends the 3rd control signal to described signal collecting unit, controls the connection that described signal collecting unit removes described data link, and re-starts chain k-path partition to described Frame.
Referring to Fig. 4, the one of whether be data link described in the link configuration unit inspection in first embodiment of the invention be signaling link can implementation method flow chart.
As preferred embodiment, in the present embodiment, further, whether described link configuration unit 30 detects described data link is signaling link, specifically comprises the following steps:
Step S401: described link configuration unit 30 controls described signal collecting unit 20 and adopts data link layer protocol to the decoding data in described data link, obtains decoded data packets.
As preferred embodiment, further, described data link layer protocol is High level data link control, or the data link layer protocol of No.7 signalling system.
High level data link control (High-Level Data Link Control, be called for short HDLC), be one at Synchronization Network transmitting data, bit-oriented data link layer protocol.HDLC focuses on the logical transport to the data being segmented into physical block or bag, and data are guided by beginning flag and terminated by termination flag, also referred to as HDLC frame.Particularly, each frame is forward and backward all has an identity code " 01111110 " as the beginning flag of frame, termination flag and frame sync mark.Identity code " 01111110 " does not allow to occur in the inside of frame, in order to avoid cause ambiguity.At transmitting terminal, monitor all fields except identity code, when finding that there is continuous 5 bits " 1 " and occurring, just adding a slotting bit " 0 " thereafter, then continue the bit stream sending out follow-up; At receiving terminal, monitor all fields except beginning flag code equally: after finding that continuously 5 bits " 1 " occur, if a bit " 0 " thereafter, automatically delete it, to recover original bit stream.All bit-oriented data link control protocols all adopt unified frame format, no matter be that data or independent control information all transmit in units of frame.Therefore, when signal collecting unit 20 adopts High level data link control to decode to time slot signal, need to monitor the bit stream in Frame, after finding that 5 bits " 1 " occur continuously, if a bit " 0 ", deletes it automatically thereafter, to obtain the signaling data in described Frame.
No.7 signalling system (Signaling System 7, be called for short SS7) by ITU-T (International Telecommunication Union – Telecommunication, International Telecommunication Union's telecommunication standardsization tissue) develop, one group of telecom agreement of its definition, referred to as SS7 signaling protocol stack, is mainly used in providing interoffice signaling data.SS7 signaling protocol stack comprises: signaling translator unit ground floor (the Message Transfer Part 1 corresponding to physical layer, be called for short MTP1), the signaling translator unit second layer (Message Transfer Part 2 corresponding to data link layer, be called for short MTP2), signaling translator unit third layer (Message Transfer Part 3 corresponding to network layer, be called for short MTP3), and the signaling transfer protocol such as various db transaction process in application layer, call setup and release.Data link layer protocol MTP2 in SS7 mainly provides reliable communication between the two nodes, the normal messages form that its decoding produces mainly is divided into three kinds: Message Signal Unit (Message Signaling Unit, be called for short MSU), Fill-In Signal Unit (Fill In Signaling Unit, be called for short FISU), LSSU Link Status Signal Unit (Link Status Signaling Unit, be called for short LSSU).
Step S402: described link configuration unit 30 adds up decoded data packets total amount M within time T second and abnormal data bag total amount N, obtains ratio P=N/M, wherein, T > 0, M > 0, N >=0.The packet of error code is there is in described abnormal data bag when being and adopting described data link layer protocol to decode.
In the present embodiment, link configuration unit 30 controls described signal collecting unit 20 when adopting data link layer protocol to decoding data in described data link, if the packet in described data link is signaling data, then obtaining decoded data packets will be correct packet; If the packet in described data link is non-signaling data, then obtained decoded data packets will be error code, i.e. abnormal decoded data packets.
Particularly, link configuration unit 30, when whether detection decoded data packets is abnormal decoded data packets, can judge according to following two conditions:
(1) data in this data link start mark and terminate whether mark is flag byte " 0x7E ";
(2) whether the data in this data link are correct after CRC (Cyclical Redundancy Check is called for short CRC).
If the data in this data link meet above two conditions simultaneously, then the data in this data link are signaling data, namely adopt data link layer protocol to carry out decoding obtained decoded data packets for correct bag; Otherwise then obtained decoded data packets is abnormal bag.
To adopt the data link layer protocol MPT2 of SS7 to the decoding data in certain data link, if the data in this data link are signaling data, then signal collecting unit 20 will produce the normal messages cell data bags such as MSU, FISU or LSSU; If the data in this data link are non-signaling data, then signal collecting unit 20 will obtain various abnormal decoded data packets.As, when the data in a data link start to be designated " 0x7E ", end mark byte for " 0x7F ", then it is that the network equipment normally can not complete that signaling data sends and triggers one interrupts extremely, and the packet that the type produces abnormal interruption is wherein a kind of abnormal decoded data packets; According to the Q.921 standard of ITU-T and International Organization for standardization (International Standard Organized) ISO 3309-1984 standard, crc value is calculated to the data in this data link, when the crc value calculated and the original crc value of data inconsistent time, then the decoded data packets that obtains of this decoding is also abnormal decoded data packets.
Step S403: described link configuration unit 30 detects the size of described ratio P, and by described ratio P and reference value P
0compare.During concrete enforcement, reference value P
0value be 10%.When described ratio P≤10%, perform step S404; As described ratio P > 10%, perform step S405.
Step S404: described link configuration unit 30 judges that described data link is as signaling link.
Step S405: described link configuration unit 30 judges that described data link is not signaling link.
During concrete enforcement, because the data volume of certain data link in GSM network is not balanced, therefore in order to improve the accuracy that link detects automatically, by adding up the quantity of correct signaling bag that this data link receives in certain time interval and wrong signaling bag to judge that whether this data link is for signaling link.
In the present embodiment, it is T (T=T2-T1 second that link configuration unit 30 is added up in the time, T1 is link detecting initial time, T2 is the link detecting end time) in data in a certain data link, the decoded data packets total amount M obtained after adopting data link layer protocol decoding and abnormal data bag total amount N.Wherein, M=M
t2-M
t1; N=N
t2-N
t1, the ratio P=N/M of abnormal data bag total amount N and decoded data packets total amount M.
During concrete enforcement, the value of parameter P and parameter T directly can have influence on accuracy and the efficiency of link detecting: if P value is too small, data link can exist the risk of undetected survey; If T value is excessive, the overlong time of every bar link detecting, the efficiency that data link detects can reduce.Particularly, in the attainable mode of one, link configuration unit 30 controls described ratio P and is less than 10%, and described time T is set to 3 seconds.It should be noted that, the span of parameter P and the concrete value of parameter T can need to arrange according to practical application.
A kind of signaling data acquisition method that the embodiment of the present invention provides, the signaling data that the E1 Frame accessed in GSM or T1 Frame carry can be detected automatically, and by link configuration unit controls signal collecting unit configuration data link, and when automatically opening acquisition function after discovery signaling link, reduce the workload of artificial configuration, realize the automatic detection to signaling link and Based Intelligent Control, reduce the manual control that GSM network is run, reduce the setting to signaling link and maintenance, and raising is to the collecting efficiency of signaling data and correctness.
Referring to Fig. 5, it is unit in second embodiment of the invention carries out signal collecting schematic diagram to global system for mobile communications.
Further, on the basis of the first embodiment, signal collecting unit 20 comprises time slot interchanger 201, and described link configuration unit 30 is preset with link transmission rate allocation list; Then,
In described step S203, described link configuration unit 30 is by inquiring about this link transmission data allocation list, and the time slot interchanger 201 in control signal collecting unit 20 carries out chain k-path partition according to obtained link transmission rate.
Referring to Fig. 6, it is the flow chart of steps that second embodiment of the invention carries out a kind of implementation of chain k-path partition.
Particularly, described link configuration unit 30 sends the first control signal to described signal collecting unit 20, controls described signal collecting unit 20 and carries out chain k-path partition to described Frame, obtain at least one data link, specifically comprise the following steps:
Step S601: described link configuration unit 30 inquires about described link transmission rate allocation list, obtains a link transmission rate.
Step S602: described link configuration unit 30, by sending described first control signal to described time slot interchanger, sends described link transmission rate to described time slot interchanger.
Step S603: described time slot interchanger, according to described link transmission rate, is configured the time slot of described Frame, distributes to one or more data link by each time slot correspondence of described Frame.
Preferably, described link transmission rate is 128 kilobits per seconds; Then, described step S603 is specially:
Described time slot interchanger gives a data channel to every two time slot allocation adjacent in described Frame, and each described data channel is set to a data link.
If described Frame is E1 Frame, described time slot interchanger obtains 31 data link; If described Frame is T1 Frame, described time slot interchanger obtains 23 data link.
In the present embodiment, corresponding data frame interval according to described link transmission rate, can be dispensed to a data channel by described time slot interchanger 201.Basic rate due to each time slot of E1 or T1 Frame is V0=64kbps, when described link configuration unit 30 configures a transmission rate V1 to time slot interchanger 201, rate ratio R=V1/V0 can be calculated, then the every R on described Frame adjacent time slot can be bound, be respectively allocated to a data channel, each data channel is divided into a data link.Such as, as V1=3 × 64kbps, be a data link by every 3 time-slot division in Frame; As V1=16kbps, be a data link by every 1/4 time-slot division in Frame.
Further, in the present embodiment, described signal collecting unit 20 also comprises data decoder 202.
Then described step S401 is specially:
Described time slot interchanger 201, by described data link, sends the time slot corresponding with each described data link to described data decoder 202.
Described data decoder 202 adopts described data link layer protocol to decode to the time slot in described data link, obtains described decoded data packets.
In the present embodiment, described data link layer protocol is High level data link control, or the data link layer protocol of No.7 signalling system.
During concrete enforcement, change due to the message transmission rate meeting factor data amount size of the signaling link of success foundation, or a certain signaling link no longer carries out signaling data transmission, therefore, needs to carry out Real-Time Monitoring to signaling link.
Referring to Fig. 7, it is the flow chart of steps of the second embodiment of a kind of signaling data acquisition method provided by the invention.
In the present embodiment, further, described link configuration unit 30 carries out Real-Time Monitoring to set up signaling link.
After described step S205, namely, if be signaling link in described described data link, then described link configuration unit 30 sends the second control signal to described signal collecting unit 20, control after described signal collecting unit 20 gathers the signaling data on described signaling link, described method also comprises:
Step S207: described link configuration unit 30 sends status poll instruction to described signaling link, performs Real-Time Monitoring to the described ratio P=N/M on described signaling link.
Step S208: described ratio P and reference value 10% compare by described link configuration unit 30.
When described link configuration unit 30 monitors described ratio P≤10%, described link configuration unit 30 controls described signal collecting unit 20 and gathers the signaling data on described signaling link, namely keeps performing step S205.
When described link configuration unit 30 monitors described ratio P > 10%, then perform step S209.
Step S209: described link configuration unit 30 controls the connection that described signal collecting unit 20 removes described signaling link.
A kind of signaling data acquisition method that the embodiment of the present invention provides, except realization is to the automatic detection of signaling link and Based Intelligent Control, reduce the manual control that GSM network is run, reduce the setting to signaling link and maintenance, and raising is to outside the collecting efficiency of signaling data and accuracy, also realize the Real-Time Monitoring to the signaling link set up further.When finding that the data link set up in GSM network does not have signaling data, delete this signaling link, and carry out record to the signaling link deleted, release signaling gathers resource, can improve the integrality to the signaling data gathered.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications are also considered as protection scope of the present invention.