CN101222351A - Method and device for acquiring performance data files - Google Patents

Method and device for acquiring performance data files Download PDF

Info

Publication number
CN101222351A
CN101222351A CNA2007100008906A CN200710000890A CN101222351A CN 101222351 A CN101222351 A CN 101222351A CN A2007100008906 A CNA2007100008906 A CN A2007100008906A CN 200710000890 A CN200710000890 A CN 200710000890A CN 101222351 A CN101222351 A CN 101222351A
Authority
CN
China
Prior art keywords
performance data
data files
collection
scheduling module
information
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.)
Pending
Application number
CNA2007100008906A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNA2007100008906A priority Critical patent/CN101222351A/en
Publication of CN101222351A publication Critical patent/CN101222351A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method for collecting performance data documents and a device to carry out the method. The method comprises the following: step S102, wherein collection rules, records table of collected information, performance data processing status diagram and collecting and dispatching module for various types of collection are set; step S104, wherein a performance data document source transmits the information of performance data document to be collected to the collecting and dispatching module; and step S106, wherein the collecting and dispatching module processes the information of the performance data document received according to the set collection rules and the performance data processing status diagram. Owing to the invention, the integrity of the data and the sequence of data processing during performance data collection are effectively ensured.

Description

The acquisition method of performance data files and device
Technical field
The present invention relates to the performance management in the telecommunication network management, more specifically, relate to the acquisition method and the device of the performance data files of integrality that a kind of guaranteed performance data file gathers and succession.
Background technology
Performance management is one of several big management functions in the telecommunication network management, the purpose of performance management is that network, network element or equipment are carried out performance monitoring, gather relevant performance statistic, the validity of evaluating network and network element, the state of report telecommunication apparatus, network enabled planning and network analysis.
In performance management, whole flow process is that core is carried out with data, and the correctness of the performance data of collection and integrality are the basic demands to system.In addition, according to actual conditions the performance data processing sequence being customized also is an important requirement.
It is current a kind of mode commonly used that performance data is organized with file mode.But, usually, cause losing of performance data easily because that unstable networks or system realize is unhealthy and strong.
Therefore, people need a kind of effectively guaranteed performance data integrity and the acquisition method and the device that can customize the data processing sequence according to demand.
Summary of the invention
For the integrality of data in the guaranteed performance data acquisition effectively and the succession of data processing, make the entire process method of performance management clear, and be easy to realize, the present invention proposes a kind of acquisition method and device of performance data files.
One aspect of the present invention provides a kind of acquisition method of performance data files, be used at telecom network management system collecting performance data file, this acquisition method may further comprise the steps: step S102, collection rule, Information Monitoring record sheet, performance data files treatment state figure and the collection scheduling module of setting different acquisition type; Step S104, the performance data files source sends to the collection scheduling module with performance data files information to be collected; And step S106, the collection scheduling module is handled received performance data files information according to the collection rule and the performance data files treatment state figure that set.
According to an aspect of the present invention, acquisition method is further comprising the steps of: the collection scheduling module is according to collection rule, the performance data files name information that use is obtained from the performance data files source comes the Information Monitoring record sheet is upgraded, to realize the synchronous of institute's performance data files name to be collected.
Wherein, the Information Monitoring record sheet comprises grab type, performance data files name, the state of performance data files processing, the writing time and the supplementary of collecting performance data file.
According to an aspect of the present invention, step S106 may further comprise the steps: step S1062, and the collection scheduling module is inserted into received performance data files information in the Information Monitoring record sheet; Step S1064, the collection scheduling module is determined the state of performance data files according to the Information Monitoring record sheet; And step S1066, the collection scheduling module is handled the performance state file of different conditions according to collection rule and performance data files treatment state figure.
Wherein, file status comprises treatment state, state and error condition are untreated.
In addition, according to an aspect of the present invention, step S1064 may further comprise the steps: have the performance Data Filename in the Information Monitoring record sheet, then handling property data file not; And nonexistence energy Data Filename in the Information Monitoring record sheet, then performance data files is set to be untreated.
In addition, according to an aspect of the present invention, step S1066 may further comprise the steps: the performance data files that is in the state of being untreated is handled, then its state recording is treatment state after handling successfully, and then it is recorded as the state of being untreated or error condition after handling failure.
Collection rule according to the present invention comprises sequencing rule and the filtering rule that performance data files is handled.In addition, grab type of the present invention is corresponding to a plurality of collection rules.
Another aspect of the present invention provides a kind of harvester of performance data files, be used at telecom network management system collecting performance data file, this device comprises: setting device is used to set collection rule, Information Monitoring record sheet, performance data files treatment state figure and the collection scheduling module of different acquisition type; Dispensing device is used to make the performance data files source that performance data files information to be collected is sent to the collection scheduling module; And processing unit, be used to make the collection scheduling module according to the collection rule and the performance data files treatment state figure that set, received performance data files information is handled.
According to a further aspect in the invention, harvester also comprises: synchronizer, be used to make the collection scheduling module according to collection rule, the performance data files name information that use is obtained from the performance data files source comes the Information Monitoring record sheet is upgraded, to realize the synchronous of performance data files name to be collected.
In addition, according to a further aspect in the invention, processing unit comprises: insert device, be used for making the collection scheduling module that received performance data files information is inserted into the Information Monitoring record sheet; Determine device, be used to make the collection scheduling module, determine the state of performance data files according to the Information Monitoring record sheet; And sub-processing unit, be used to make the collection scheduling module according to collection rule and performance data files treatment state figure, the performance state file of different conditions is handled.
Therefore, by technique scheme, the present invention has realized following technique effect:
The present invention's succession of the integrality of data and data processing customization in the guaranteed performance data acquisition effectively, the entire process method is clear, is easy to realize.
In addition, in the process of revised file Information Monitoring table, can upgrade the acquisition time field of gathering in the file information table according to the time of operation.Therefore, can generate system data collection report,, finally reach instant discovery and deal with problems, be convenient to the purpose of system maintenance by checking just system operation situation as can be seen of this report according to gathering file logging table information.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of specification, is used from explanation the present invention with embodiments of the invention one, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the flow chart according to the acquisition method of performance data files of the present invention;
Fig. 2 is the state diagram of telecommunicatioin network management performance data files processing according to an embodiment of the invention; And
Fig. 3 is the block diagram according to the harvester of performance data files of the present invention.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.
Fig. 1 is the flow chart according to the acquisition method of performance data files of the present invention.Fig. 2 is the state diagram of telecommunicatioin network management performance data files processing according to an embodiment of the invention.
Below in conjunction with embodiments of the invention as shown in Figure 2, describe the acquisition method of performance data files of the present invention as shown in Figure 1 in detail.As shown in Figure 1, this acquisition method may further comprise the steps:
Step S102, collection rule, Information Monitoring record sheet, performance data files treatment state figure and the collection scheduling module of setting different acquisition type.According to embodiments of the invention, its concrete operations step is as follows:
The collection rule of definition different acquisition type.Wherein, grab type can be thought the combination of same data file type.And collection rule refers to some processing rules to file, comprises the sequencing rule of file process: be according to the acquisition time of file or according to title of file etc.; Also can comprise some filtering rules, such as file that filters out certain specific type etc.It should be noted that a kind of grab type can corresponding a plurality of collection rules.
Table 1 is according to data file collection rule table of the present invention.In table 1, grab type has only a kind of: grab type A.Grab type A has following collection rule:
(1) processing sequence of data file is according to the sequential processes from small to large of filename;
(2) regularly obtain the cycle of all file name informations to be collected from the data file source be 1 day for this grab type;
(3) gathering file suffixes is the data file of .data.
Table 1
Grab type Collection rule
Grab type A Rule 1: the processing sequence of data file is according to the sequential processes from small to large of filename
Grab type A Rule 2: this grab type regularly obtains all file name informations to be collected from the data file source cycle is 1 day
Grab type A Rule 3: only gather the data file that file suffixes is .data
Subsequently, customization data file Information Monitoring record sheet.This table is used for the treatment state of retention data file.This list structure consists of the following components: the state of grab type, filename, file process, the writing time of gathering file and supplementary etc.
Table 2 is data file Information Monitoring tables.In table 2, data file Information Monitoring table comprises with .data being 4 filenames of suffix name.
Table 2
Grab type Gather filename Gather file status Gather document time Supplementary
Grab type A 20060101.dat Handle 20060101
Grab type A 20060102.dat Download 20060102
Grab type A 20060103.dat Do not download 20060103
Grab type A 20060104.dat The mistake attitude 20060104
Subsequently, definition of data file processing state transition diagram.These states have reflected the life cycle of a data file in the entire process process.As shown in table 2, generally, file status comprise handle, be untreated, mistake attitude (handling failure).In addition, can be untreated, state such as mistake attitude expands to a plurality of thinner states.
Subsequently, customized file collection scheduling module.The scheduling that this module is gathered according to the various collection rules that customize previously and file processing state figure on the one hand in addition, provides method of servicing to call for external module.
In an embodiment of the present invention, the external module here refers to communication module relevant in the system, and this module is responsible for the fileinfo to be collected that the received data file source sends.The collection scheduling module is inserted in the Information Monitoring table according to the Information Monitoring tableau format after receiving this information, and this process need filters the data filename according to collection rule as shown in table 2 (3).
Step S104, the performance data files source sends to the collection scheduling module with performance data files information to be collected.Its concrete operations step is as follows:
In the time of pending data file information that file collection scheduling module receives that external module imports into this information is saved in the file logging information table.If had this document name in this record sheet then do not handled, if there is no then be inserted in the file logging information table, file status is set for being untreated.
Step S106, the collection scheduling module is handled received performance data files information according to the collection rule and the performance data files treatment state figure that set.Its concrete operations step is as follows:
The collection scheduling module is dispatched the file of different acquisition type in the file logging information table according to collection rule, be untreated file process normally to file status, then the recording status of revised file is for handling after handling successfully, and processing is recorded as when failing and is untreated or wrong attitude.
As shown in Figure 2, if when finding to exist in the Information Monitoring table untreated file, acquisition module is handled the fileinfo in the file logging information table according to collection rule.In an embodiment of the present invention, according to collection rule as shown in table 1 (1) from the Information Monitoring table by filename obtain the filename that is untreated (finger-like that is untreated attitude for download and do not download two kinds) from small to large, these files are handled one by one.For what downloaded, directly downloaded files to be resolved, put in storage, the state of successfully handling the back transaction file is for handling.For downloaded files not, at first download this document from the data file source, the treatment state of downloading revised file after finishing is for downloading, then to this downloaded files handle, the revised file state is for handling after finishing.For the situation of handling failure in the said process, if owing to the failure that causes unusually of similar reasons such as database connection, file status then is set for downloading, so next collection scheduling module also can be dispatched to the processing of this document, if because the format error of data file itself, it is wrong attitude that file status then is set.Wherein, various concrete file status are referring to the data file Information Monitoring table of table 2.
Subsequently, carry out the synchronous of filename to be collected, the purpose of this step is the omission that prevents the data file.The collection scheduling module is carried out filename according to collection rule to the different acquisition type and is upgraded.Normally obtain file name information from the data file source, the file logging table is upgraded, it is identical to upgrade principle renewal principle recited above.The data file source here that it should be noted that refers to other system that preserves data file.
In an embodiment of the present invention, according to collection rule as shown in table 1 (2), acquisition module startup timing cycle is 1 day a timed task, this task is obtained all Data Filename information that need collection at every turn from the data file source, need use collection rule as shown in table 1 (3) here equally file name information is filtered.For the All Files name information that gets access to, acquisition module is transaction file Information Monitoring table one by one, if had filename of the same name in the table, then do not handle, if there is not corresponding file name information in the file Information Monitoring table, then be inserted into file Information Monitoring table, the initial condition that this document is set is not for downloading.
So far, finished whole data file collecting work.Wherein, it should be noted that, in the process of revised file Information Monitoring table, can upgrade the acquisition time field of gathering in the file information table according to the time of operation, so just can generate system data collection report according to gathering file logging table information, final, by checking just system operation situation as can be seen of this report, can find immediately and deal with problems like this, be convenient to system maintenance.
Fig. 3 is the block diagram according to the harvester 300 of performance data files of the present invention.The harvester 300 of performance data files as shown in Figure 3 is used at telecom network management system collecting performance data file, and this device comprises:
Setting device 302 is used to set collection rule, Information Monitoring record sheet, performance data files treatment state figure and the collection scheduling module of different acquisition type, and wherein, grab type is corresponding to a plurality of collection rules; Collection rule comprises sequencing rule and the filtering rule that performance data files is handled; The Information Monitoring record sheet comprises grab type, performance data files name, the state of performance data files processing, the writing time and the supplementary of collecting performance data file; File status comprises treatment state, state and error condition are untreated; State and the error condition of being untreated comprises a plurality of states that expand from them;
Dispensing device 304 is used to make the performance data files source that performance data files information to be collected is sent to the collection scheduling module;
Processing unit 306, be used to make the collection scheduling module according to the collection rule and the performance data files treatment state figure that set, received performance data files information is handled, wherein, processing unit 306 also comprises: insert device 3062, be used for making the collection scheduling module that received performance data files information is inserted into the Information Monitoring record sheet; Determine device 3064, be used to make the collection scheduling module, determine the state of performance data files according to the Information Monitoring record sheet; And sub-processing unit 3066, be used to make the collection scheduling module according to collection rule and performance data files treatment state figure, the performance state file of different conditions is handled;
In addition, harvester also comprises: synchronizer, be used to make the collection scheduling module according to collection rule, use the performance data files name information of obtaining from the performance data files source to come the Information Monitoring record sheet is upgraded, to realize the synchronous of performance data files name to be collected.
In the present invention, in the Information Monitoring record sheet, exist under the situation of performance Data Filename, determine not handling property data file of device, and under the situation that nonexistence can Data Filename in the Information Monitoring record sheet, determine that device is defined as performance data files to be untreated.
In addition, in the present invention, 3066 pairs of performance data files that are in the state of being untreated of sub-processing unit are handled, and then its state recording are treatment state after handling successfully, and then it are recorded as the state of being untreated or error condition after handling failure.
The acquisition method of the performance data files of the application of the invention and device, the succession of the integrality of data and data processing customization in the guaranteed performance data acquisition effectively.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the acquisition method of a performance data files is used for gathering described performance data files at telecom network management system, it is characterized in that, may further comprise the steps:
Step S102, collection rule, Information Monitoring record sheet, performance data files treatment state figure and the collection scheduling module of setting different acquisition type;
Step S104, the performance data files source sends to described collection scheduling module with performance data files information to be collected; And
Step S106, described collection scheduling module is handled received described performance data files information according to the described collection rule and the described performance data files treatment state figure that set.
2. acquisition method according to claim 1 is characterized in that, described acquisition method is further comprising the steps of:
Described collection scheduling module uses the described performance data files name information of obtaining from described performance data files source to come described Information Monitoring record sheet is upgraded according to described collection rule, to realize the synchronous of described performance data files name to be collected.
3. acquisition method according to claim 1 and 2, it is characterized in that described Information Monitoring record sheet comprises the state of grab type, performance data files name, performance data files processing, the writing time and the supplementary of gathering described performance data files.
4. acquisition method according to claim 3 is characterized in that, described step S106 may further comprise the steps:
Step S1062, described collection scheduling module is inserted into received described performance data files information in the described Information Monitoring record sheet;
Step S1064, described collection scheduling module is determined the state of described performance data files according to described Information Monitoring record sheet; And
Step S1066, described collection scheduling module is handled the described performance state file of different conditions according to described collection rule and performance data files treatment state figure.
5. acquisition method according to claim 4 is characterized in that, described file status comprises treatment state, state and error condition are untreated.
6. acquisition method according to claim 5 is characterized in that, described step S1064 may further comprise the steps:
There is described performance data files name in the described Information Monitoring record sheet, then do not handle described performance data files; And
Do not have described performance data files name in the described Information Monitoring record sheet, then described performance data files is set to be untreated.
7. acquisition method according to claim 6 is characterized in that, described step S1066 may further comprise the steps:
The described performance data files that is in the state of being untreated is handled, then its state recording is treatment state after handling successfully, and then it is recorded as the state of being untreated or error condition after handling failure.
8. acquisition method according to claim 2 is characterized in that, described collection rule comprises sequencing rule and the filtering rule that described performance data files is handled, and described grab type is corresponding to a plurality of described collection rules.
9. the harvester of a performance data files is used for gathering described performance data files at telecom network management system, it is characterized in that, comprising:
Setting device is used to set collection rule, Information Monitoring record sheet, performance data files treatment state figure and the collection scheduling module of different acquisition type;
Dispensing device is used to make the performance data files source that performance data files information to be collected is sent to described collection scheduling module; And
Processing unit is used to make described collection scheduling module according to the described collection rule and the described performance data files treatment state figure that set, and received described performance data files information is handled.
10. harvester according to claim 9 is characterized in that,
Described harvester also comprises: synchronizer, be used to make described collection scheduling module according to described collection rule, the described performance data files name information that use is obtained from described performance data files source comes described Information Monitoring record sheet is upgraded, to realize the synchronous of described performance data files name to be collected;
Described processing unit comprises: insert device, be used for making described collection scheduling module that received described performance data files information is inserted into described Information Monitoring record sheet; Determine device, be used to make described collection scheduling module, determine the state of described performance data files according to described Information Monitoring record sheet; And sub-processing unit, be used to make described collection scheduling module according to described collection rule and performance data files treatment state figure, the described performance state file of different conditions is handled.
CNA2007100008906A 2007-01-12 2007-01-12 Method and device for acquiring performance data files Pending CN101222351A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007100008906A CN101222351A (en) 2007-01-12 2007-01-12 Method and device for acquiring performance data files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007100008906A CN101222351A (en) 2007-01-12 2007-01-12 Method and device for acquiring performance data files

Publications (1)

Publication Number Publication Date
CN101222351A true CN101222351A (en) 2008-07-16

Family

ID=39631943

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007100008906A Pending CN101222351A (en) 2007-01-12 2007-01-12 Method and device for acquiring performance data files

Country Status (1)

Country Link
CN (1) CN101222351A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101883014A (en) * 2010-07-22 2010-11-10 中兴通讯股份有限公司 Method and system for acquiring performance statistical data
CN101894163A (en) * 2010-07-23 2010-11-24 中兴通讯股份有限公司 Database operating and scheduling method and device for performance data acquisition system
CN102088362A (en) * 2009-12-03 2011-06-08 北京亿阳信通软件研究院有限公司 Collecting method and device of performance data
CN102739444A (en) * 2012-06-12 2012-10-17 中兴通讯股份有限公司 Performance data transmission method, system and network manager
CN102799626A (en) * 2012-06-26 2012-11-28 苏州微逸浪科技有限公司 Acquisition rule configuring method based on user-defined task scheduling
CN110347569A (en) * 2019-06-28 2019-10-18 浙江吉利控股集团有限公司 A kind of performance data of server acquisition method and device
CN114598493A (en) * 2022-01-14 2022-06-07 浙江省通信产业服务有限公司 Network flow acquisition method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088362A (en) * 2009-12-03 2011-06-08 北京亿阳信通软件研究院有限公司 Collecting method and device of performance data
CN102088362B (en) * 2009-12-03 2014-03-26 亿阳信通股份有限公司 Collecting method and device of performance data
CN101883014A (en) * 2010-07-22 2010-11-10 中兴通讯股份有限公司 Method and system for acquiring performance statistical data
CN101883014B (en) * 2010-07-22 2014-03-12 中兴通讯股份有限公司 Method and system for acquiring performance statistical data
CN101894163A (en) * 2010-07-23 2010-11-24 中兴通讯股份有限公司 Database operating and scheduling method and device for performance data acquisition system
CN101894163B (en) * 2010-07-23 2013-06-12 中兴通讯股份有限公司 Database operating and scheduling method and device for performance data acquisition system
CN102739444A (en) * 2012-06-12 2012-10-17 中兴通讯股份有限公司 Performance data transmission method, system and network manager
CN102799626A (en) * 2012-06-26 2012-11-28 苏州微逸浪科技有限公司 Acquisition rule configuring method based on user-defined task scheduling
CN110347569A (en) * 2019-06-28 2019-10-18 浙江吉利控股集团有限公司 A kind of performance data of server acquisition method and device
CN114598493A (en) * 2022-01-14 2022-06-07 浙江省通信产业服务有限公司 Network flow acquisition method
CN114598493B (en) * 2022-01-14 2023-09-05 浙江省通信产业服务有限公司 Network traffic collection method

Similar Documents

Publication Publication Date Title
CN101222351A (en) Method and device for acquiring performance data files
CN100433650C (en) Method and system for synchronizing network administration data in network optimizing system
CN101197621B (en) Method and system for remote diagnosing and locating failure of network management system
CN1992632B (en) Communication network warning method and warning system
CN111367760B (en) Log collection method and device, computer equipment and storage medium
CN101566954A (en) Method and device for managing plug-in
CN105610648A (en) Operation and maintenance monitoring data collection method and server
CN107608860A (en) A kind of method, apparatus, the equipment of error log classification storage
CN104618948A (en) File uploading monitoring method and system
CN106777126A (en) A kind of online data moving method for supporting isomery time series database
CN109388671A (en) Data processing method, device, equipment and storage medium
CN101286886B (en) Method and device to recover configuring information of network appliance
CN101188512B (en) Network system
CN100544281C (en) A kind of method of in wireless telecommunication system, obtaining information snap
CN102340791A (en) System used for realizing data consistency and method thereof
CN103294704A (en) File synchronous system and method
CN106844497A (en) The check device and method of a kind of database code
CN102034163A (en) Method and system for managing asset information of telecommunication equipment
CN104506939A (en) Information reporting method and television terminal
CN112417050A (en) Data synchronization method and device, system, storage medium and electronic device
CN106649068A (en) System fault log recording method and system
CN101873228A (en) Management system and method for material information of network equipment
CN107229554A (en) Mobile terminal stability test method and device
CN102739423A (en) Method, apparatus and network management system for performance data acquisition
CN113965447B (en) Online cloud diagnosis method, device, system, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20080716