CN104507107A - Method for preprocessing signaling data - Google Patents

Method for preprocessing signaling data Download PDF

Info

Publication number
CN104507107A
CN104507107A CN201410791579.8A CN201410791579A CN104507107A CN 104507107 A CN104507107 A CN 104507107A CN 201410791579 A CN201410791579 A CN 201410791579A CN 104507107 A CN104507107 A CN 104507107A
Authority
CN
China
Prior art keywords
signaling
data
buffer
file
signaling data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410791579.8A
Other languages
Chinese (zh)
Other versions
CN104507107B (en
Inventor
曹连超
辛国茂
亓开元
李占强
刘伟
卢军佐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201410791579.8A priority Critical patent/CN104507107B/en
Publication of CN104507107A publication Critical patent/CN104507107A/en
Application granted granted Critical
Publication of CN104507107B publication Critical patent/CN104507107B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Landscapes

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

Abstract

The invention discloses a method for preprocessing signaling data, which comprises the following steps: monitoring newly added signaling files of the FTP interface machine of the signaling acquisition layer, transmitting signaling data to the Buffer of the signaling sharing layer, and cleaning and converting the signaling data in the Buffer. Compared with the prior art, the method for preprocessing the signaling data has the advantages that the data preprocessing operation is carried out before the signaling data are transmitted from the signaling acquisition layer to the signaling sharing layer and are written into the file, the secondary reading of the signaling file in the preprocessing process is avoided, the time for processing the whole signaling data is effectively saved, and the practicability is high.

Description

A kind of preprocess method of signaling data
Technical field
The present invention relates to mobile communications industry monitoring signaling technology, specifically a kind of preprocess method of practical, signaling data.
Background technology
The continuous speedup of development of mobile communications network, various kinds of equipment mixed networking in network, network configuration is increasingly sophisticated, in net, class of business is also constantly updated, along with network size constantly expand, number of users increase, per minutely all can produce a large amount of signaling datas, higher requirement is proposed to the collection of signaling information, warehousing and treatment effeciency etc.
In a communication signaling monitoring platform, signal collecting layer, mainly from mobile radio communication, obtain original signaling data, and the data needed for transmitting to convergence device, by modes such as shunting, light splitting, shunt, realize the collection to the original signalling coding transmitted in existing network, and adopt the form of regulation to carry out the transmission of encapsulation backward signalling inclusion layer, in order to dissection process, possesses certain storage capacity.Signaling inclusion layer, major function receives to send from acquisition layer convergence device the signaling data arrived, and carries out data cleansing and put in storage according to specific format, and resolve full dose signaling data.
Technical Architecture traditionally, signaling data is mainly aggregated on FTP (File Transfer Protocol) interface message processor (IMP) at signal collecting layer, in time having being generated of new signaling data file, all signaling file to be sent to data sharing layer by FTP interface message processor (IMP) by FTP host-host protocol, and then again read the signaling file transmitted and carry out the preliminary treatment such as data cleansing.Due to the growth of mobile subscriber and the expansion of communication service, signaling data can be increasing, conventional method is difficult to the demand meeting real-time process, based on this, a kind of preprocess method that effectively can solve the signaling data of an above-mentioned difficult problem is now provided, the method avoids the secondary of signaling file in preprocessing process to read, and effectively saves the time of whole signaling data process.
Summary of the invention
Technical assignment of the present invention is for above weak point, provides a kind of preprocess method of practical, signaling data.
A preprocess method for signaling data, its specific implementation process is:
1) the newly-increased signaling file of the FTP interface message processor (IMP) of signal collecting layer is monitored;
2) signaling data is transferred to the Buffer of signaling inclusion layer: first signaling data is written in Buffer temporary before being transferred to signaling inclusion layer, and then signaling data adopts File Transfer Protocol transmission;
3) signaling data cleaning and conversion in Buffer: the newline of signaling data temporary in coupling Buffer, obtain data line, field segmentation is carried out to each row of data, then obtain field cleaning transformation rule and data cleansing and conversion operations are carried out to each row of data, then the data after cleaning and conversion are written to signaling inclusion layer local file;
4) releasing memory Buffer, jumps to step 1), continues the monitoring FTP interface message processor (IMP) of signal collecting layer being carried out to newly-increased file.
The detailed process of described step 1) is: whether have new signaling file generated in timing monitoring signal collecting layer FTP interface message processor (IMP), if had, obtain newly-increased file name, newly-built signaling file of the same name in the storage of signaling inclusion layer, then log-on data extracts task.
Described step 2) detailed process be:
One, one piece of internal memory Buffer is opened up at signaling inclusion layer;
Two, by FTP host-host protocol, the newly-increased file in signal collecting layer FTP interface message processor (IMP) is transferred in internal memory Buffer by the form of data flow, fills up Buffer, then perform step 3) and the data in Buffer are cleaned and changed; If Buffer does not fill up, illustrate that the signaling file in signal collecting layer has read complete, then perform step 3) and step 4);
Three, when signal collecting layer signaling file does not read complete: obtain by the mode finding newline a line signaling data be stored in internal memory Buffer, if the data in Buffer are discontented with a line, empty Buffer, the data of these discontented a line are stored in Buffer again, then perform step one, otherwise perform step 4;
Signal collecting layer signaling file reads complete: obtain by the mode finding newline a line signaling data be stored in internal memory Buffer, if the data in Buffer meet a line, perform step 4, otherwise the signaling data less than a line is written in error log, then jumps to step 4);
Four, the data line of acquisition is split field according to field delimiter.
The detailed process of described step 3) is: obtain signaling data cleaning transformation rule, field cleaning and conversion are carried out to the data after field segmentation, change and successfully then the form of this line number document flow according to this write in the newly-built signaling file of step 1), error reason is then write in error log by convert failed; When signal collecting layer signaling file does not read complete, finally jump to step 3, otherwise jump to step 4).The preprocess method of a kind of signaling data of the present invention, has the following advantages:
The preprocess method of a kind of signaling data of this invention can shorten the pretreated flow process of whole signaling, improves treatment effeciency; Signaling data is transferred to signaling inclusion layer from signal collecting layer and namely carried out data prediction operation before writing in files, avoid the secondary of signaling file in preprocessing process to read, effectively save the time of whole signaling data process, practical, applied widely, be easy to promote.
Accompanying drawing explanation
Accompanying drawing 1 is preliminary treatment realization flow figure of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, the invention will be further described.
After traditional signaling file is transferred to signaling inclusion layer by the FTP interface message processor (IMP) of signal collecting layer, again read the signaling file transmitted, the operation of signaling being cleaned and changing, the present invention proposes a kind of preprocess method of signaling data, the method considers that signaling is transferred to signaling inclusion layer from FTP interface message processor (IMP) and new files stream the data transmitted can be written to the feature of file by document flow, first be written to before data writing in files in internal memory Buffer, data in internal memory Buffer are carried out to the preliminary treatment such as cleaning, then the data in Buffer are written to the file of data sharing layer by document flow, the method can shorten the pretreated flow process of whole signaling, improve treatment effeciency.Namely signaling data is transferred to signaling inclusion layer from signal collecting layer namely carried out data prediction operation before writing in files, avoids the secondary of signaling file in preprocessing process to read, effectively saves the time of whole signaling data process.As shown in Figure 1, its specific implementation process is:
1) the newly-increased signaling file of the FTP interface message processor (IMP) of signal collecting layer is monitored;
2) signaling data is transferred to the Buffer of signaling inclusion layer: first signaling data is written in Buffer temporary before being transferred to signaling inclusion layer, and then signaling data adopts File Transfer Protocol transmission;
3) signaling data cleaning and conversion in Buffer: the newline of signaling data temporary in coupling Buffer, obtain data line, field segmentation is carried out to each row of data, then obtain field cleaning transformation rule and data cleansing and conversion operations are carried out to each row of data, then the data after cleaning and conversion are written to signaling inclusion layer local file;
4) releasing memory Buffer, jumps to step 1), continues the monitoring FTP interface message processor (IMP) of signal collecting layer being carried out to newly-increased file.
Further, the detailed process of above-mentioned steps is:
1, whether have new signaling file generated in timing monitoring signal collecting layer FTP interface message processor (IMP), if had, obtain newly-increased file name, newly-built signaling file of the same name in the storage of signaling inclusion layer, then log-on data extracts task;
2, one piece of internal memory Buffer is opened up at signaling inclusion layer;
3, by FTP host-host protocol, the newly-increased file in signal collecting layer FTP interface message processor (IMP) is transferred in internal memory Buffer by the form of data flow, fills up Buffer, then perform step 4-6 and the data in Buffer are cleaned and changed; If Buffer does not fill up, illustrate that the signaling file in signal collecting layer has read complete, then perform step 4-7;
4, signal collecting layer signaling file does not read complete: obtain by the mode finding newline a line signaling data be stored in internal memory Buffer, if the data in Buffer are discontented with a line, empty Buffer, the data of these discontented a line are stored in Buffer again, then perform step 3, otherwise perform step 5;
Signal collecting layer signaling file reads complete: obtain by the mode finding newline a line signaling data be stored in internal memory Buffer, if the data in Buffer meet a line, perform step 5, otherwise the signaling data less than a line is written in error log, then jumps to step 7;
5, the data line of acquisition is split field according to field delimiter;
6, signaling data cleaning transformation rule is obtained, field cleaning and conversion are carried out to the data after field segmentation, change and successfully then the form of this line number document flow according to this write in the newly-built signaling file of step 1, error reason is then write in error log by convert failed;
If signal collecting layer signaling file does not read complete, finally jump to step 4, otherwise jump to step 7;
7, releasing memory Buffer, jumps to step 1, continues the monitoring FTP interface message processor (IMP) of signal collecting layer being carried out to newly-increased file.
Above-mentioned embodiment is only concrete case of the present invention; scope of patent protection of the present invention includes but not limited to above-mentioned embodiment; claims of the preprocess method of any a kind of signaling data according to the invention and the those of ordinary skill of any described technical field to its suitable change done or replacement, all should fall into scope of patent protection of the present invention.

Claims (4)

1. a preprocess method for signaling data, is characterized in that, its specific implementation process is:
1) the newly-increased signaling file of the FTP interface message processor (IMP) of signal collecting layer is monitored;
2) signaling data is transferred to the Buffer of signaling inclusion layer: first signaling data is written in Buffer temporary before being transferred to signaling inclusion layer, and then signaling data adopts File Transfer Protocol transmission;
3) signaling data cleaning and conversion in Buffer: the newline of signaling data temporary in coupling Buffer, obtain data line, field segmentation is carried out to each row of data, then obtain field cleaning transformation rule and data cleansing and conversion operations are carried out to each row of data, then the data after cleaning and conversion are written to signaling inclusion layer local file;
4) releasing memory Buffer, jumps to step 1), continues the monitoring FTP interface message processor (IMP) of signal collecting layer being carried out to newly-increased file.
2. the preprocess method of a kind of signaling data according to claim 1, it is characterized in that, the detailed process of described step 1) is: whether have new signaling file generated in timing monitoring signal collecting layer FTP interface message processor (IMP), if had, obtain newly-increased file name, newly-built signaling file of the same name in the storage of signaling inclusion layer, then log-on data extracts task.
3. the preprocess method of a kind of signaling data according to claim 2, is characterized in that, described step 2) detailed process be:
One, one piece of internal memory Buffer is opened up at signaling inclusion layer;
Two, by FTP host-host protocol, the newly-increased file in signal collecting layer FTP interface message processor (IMP) is transferred in internal memory Buffer by the form of data flow, fills up Buffer, then perform step 3) and the data in Buffer are cleaned and changed; If Buffer does not fill up, illustrate that the signaling file in signal collecting layer has read complete, then perform step 3) and step 4);
Three, when signal collecting layer signaling file does not read complete: obtain by the mode finding newline a line signaling data be stored in internal memory Buffer, if the data in Buffer are discontented with a line, empty Buffer, the data of these discontented a line are stored in Buffer again, then perform step one, otherwise perform step 4;
Signal collecting layer signaling file reads complete: obtain by the mode finding newline a line signaling data be stored in internal memory Buffer, if the data in Buffer meet a line, perform step 4, otherwise the signaling data less than a line is written in error log, then jumps to step 4);
Four, the data line of acquisition is split field according to field delimiter.
4. the preprocess method of a kind of signaling data according to claim 3, it is characterized in that, the detailed process of described step 3) is: obtain signaling data cleaning transformation rule, field cleaning and conversion are carried out to the data after field segmentation, change and successfully then the form of this line number document flow according to this write in the newly-built signaling file of step 1), error reason is then write in error log by convert failed; When signal collecting layer signaling file does not read complete, finally jump to step 3, otherwise jump to step 4).
CN201410791579.8A 2014-12-19 2014-12-19 Method for preprocessing signaling data Active CN104507107B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410791579.8A CN104507107B (en) 2014-12-19 2014-12-19 Method for preprocessing signaling data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410791579.8A CN104507107B (en) 2014-12-19 2014-12-19 Method for preprocessing signaling data

Publications (2)

Publication Number Publication Date
CN104507107A true CN104507107A (en) 2015-04-08
CN104507107B CN104507107B (en) 2018-06-19

Family

ID=52948808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410791579.8A Active CN104507107B (en) 2014-12-19 2014-12-19 Method for preprocessing signaling data

Country Status (1)

Country Link
CN (1) CN104507107B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430534A (en) * 2015-10-29 2016-03-23 Tcl集团股份有限公司 Intelligent device reporting data method and system
CN109561389A (en) * 2018-12-28 2019-04-02 海南中智信信息技术有限公司 A method of based on flow of the people real-time in mobile phone signaling zoning

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102769547A (en) * 2011-05-03 2012-11-07 ***通信集团浙江有限公司 System and method for providing signaling data
CN103346905A (en) * 2013-06-14 2013-10-09 吴建进 Method and device for analyzing signaling
CN103607329A (en) * 2013-12-04 2014-02-26 北京中创信测科技股份有限公司 IMS network any end-to-end media QoS monitoring method and system
CN203466974U (en) * 2013-09-04 2014-03-05 河北烽联信息技术有限公司 Equipment for mobile communication network signaling monitoring system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102769547A (en) * 2011-05-03 2012-11-07 ***通信集团浙江有限公司 System and method for providing signaling data
CN103346905A (en) * 2013-06-14 2013-10-09 吴建进 Method and device for analyzing signaling
CN203466974U (en) * 2013-09-04 2014-03-05 河北烽联信息技术有限公司 Equipment for mobile communication network signaling monitoring system
CN103607329A (en) * 2013-12-04 2014-02-26 北京中创信测科技股份有限公司 IMS network any end-to-end media QoS monitoring method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430534A (en) * 2015-10-29 2016-03-23 Tcl集团股份有限公司 Intelligent device reporting data method and system
CN105430534B (en) * 2015-10-29 2019-12-10 Tcl集团股份有限公司 method and system for reporting data by intelligent equipment
CN109561389A (en) * 2018-12-28 2019-04-02 海南中智信信息技术有限公司 A method of based on flow of the people real-time in mobile phone signaling zoning

Also Published As

Publication number Publication date
CN104507107B (en) 2018-06-19

Similar Documents

Publication Publication Date Title
CN101039212B (en) Fast data storage method
CN102983884B (en) A kind of method by magnetic channel transmission data
CN102724122B (en) Reliable serial port transmission method and device based on hardware system
CN111064726B (en) Method and system for realizing data conversion between GOOSE protocol and HDLC protocol
CN102480335A (en) Method and system for transmitting business data
CN108566674A (en) Automatic networking register method based on the LORA communication technologys
CN101163148A (en) Ethernet transmission method of supporting non-standard velocity and corresponding device and access equipment
CN104507107A (en) Method for preprocessing signaling data
CN101964745A (en) Network forwarding equipment and message forwarding method thereof
CN103581953A (en) Association method for wireless drive test data and signaling monitoring data
CN103442091A (en) Data transmission method and device
CN103532758B (en) Be applicable to the configuration processing method of transmission of future generation, data equipment fusion
CN111858103B (en) Compatible realization method for communication of high and low versions of modules in software system
CN104735097A (en) Information collecting method and system
CN101330503B (en) Method, system and equipment for transmitting data of Ethernet physical layer
CN103701715A (en) Method and device for sending and receiving Ethernet data packet based on multiple E1 channels
US10979345B2 (en) Remote medium access control (MAC) based networks
CN103118023B (en) A kind of method and system of the data of transmission specification in a network
CN101707525A (en) Charging method and device
CN103631716B (en) The conversion method and equipment of a kind of debug command
CN103532846A (en) Route link selection method and device
CN104243347A (en) Data sending and receiving method and device based on SHDSL
CN103731238A (en) Data transmitting method and data transmitting device
CN204928857U (en) Unified communications management system
CN109560894B (en) Method and equipment for adapting transmission rate of repeater

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant