CN102025546B - Method and equipment for generating, transmitting and reading network equipment performance files - Google Patents

Method and equipment for generating, transmitting and reading network equipment performance files Download PDF

Info

Publication number
CN102025546B
CN102025546B CN2010105922981A CN201010592298A CN102025546B CN 102025546 B CN102025546 B CN 102025546B CN 2010105922981 A CN2010105922981 A CN 2010105922981A CN 201010592298 A CN201010592298 A CN 201010592298A CN 102025546 B CN102025546 B CN 102025546B
Authority
CN
China
Prior art keywords
performance
file
measuring object
performance index
contrast
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.)
Active
Application number
CN2010105922981A
Other languages
Chinese (zh)
Other versions
CN102025546A (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN2010105922981A priority Critical patent/CN102025546B/en
Publication of CN102025546A publication Critical patent/CN102025546A/en
Application granted granted Critical
Publication of CN102025546B publication Critical patent/CN102025546B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method and equipment for generating, transmitting and reading network equipment performance files. The method comprises the following steps: aiming at a performance index group, the network equipment traverses the values of the performance index group and finds out the performance data with the maximum value; the network equipment determines the byte count occupied by the performance data; and the network equipment writes the performance index group in a performance file, and during writing, each performance index value in the performance index group occupies the bytes with the byte count in the file, and the byte count is indicated in the performance file. The method of the invention can reduce the size of the performance file reported by a network element, achieve occupation of smaller space, generate a smaller performance file, reduce the time that the network element writes the performance data in the file, the time that the network element transmits the file to a network manager through a network, and the time that the network manager reads and analyzes the file, and improve the efficiency of the whole procedure of processing the performance file.

Description

A kind of generation of performance of network equipments file, transmission, read method and equipment
Technical field
The present invention relates to the network device management technology, particularly a kind of generation of performance of network equipments file, transmission, read method and equipment.
Background technology
For general 3G communication system, each network element can produce a performance file in per 15 minutes, at present in the performance file processing procedure, network element with the performance index of gathering according to certain form write performance file.Performance file is used between network element and webmaster, carrying out transfer of data.What store in the performance file is the numerical value of the performance index of network element, mainly comprises 3 kinds of information: the numerical values recited of measuring object index, performance index numbering, performance index.
At present, for the storage format of performance data in the file, can be divided into fixed length and elongated dual mode substantially.
Fixed length is that the numerical value of each performance index all adopts fixing byte number to preserve; The advantage of this mode is simple, but because the span of different performance index is different, therefore; For the mode that can use fixed length is preserved, generally all use 4 bytes to preserve.The numerical value that is each index all occupies 4 bytes.
Adopting the mode of f format is present main flow mode, in GSM (Global System for Mobilecommunication, global system for mobile communications) and 3G system, all is widely used.
Elongated mode is that the byte number that each performance index takies in the file is variable, and to be made as 4 bytes different with the fixed length mode.Under this mode; Need to analyze the number range of each performance index in advance, take the size of byte, in 0~255 scope, just take 1 byte through each performance index of configuration file definition; 0~65535 just with 2 bytes, otherwise with regard to 4 bytes.No matter be network element write performance data, or webmaster reading performance data, all to write or read the byte of corresponding size (Size) with reference to this configuration file.
The deficiency of prior art is:
Adopt the mode of f format, can cause file too big, each link that performance file is handled all has bad influence, causes efficient to reduce.
Adopt the mode of elongated form, may cause mistake, and in some cases, can cause file to become big, and cause performance file processing procedure poor efficiency.
Summary of the invention
The technical problem that the present invention solved has been to provide a kind of generation, transmission, read method and equipment of performance of network equipments file, in order to solve the inefficiency problem that in the performance of network equipments file handling procedure, exists in the prior art.
A kind of generation method of performance of network equipments file is provided in the embodiment of the invention, has comprised the steps:
To a performance index group, the numerical value of this performance index group of network equipment traversal is found out the maximum performance data of numerical value;
The network equipment is confirmed the byte number that this performance data takies;
The network equipment is this performance index group write performance file, writes fashionablely, and each the performance index numerical value in this performance index group all occupies the byte of this byte count sizes hereof, and in performance file this byte number of indication.
A kind of transmission method of performance of network equipments file is provided in the embodiment of the invention, has comprised the steps:
The network equipment is confirmed need be to the performance file of network management device transmission; In the said performance file to each performance index group-indicate the byte number that takies of the performance data in this group performance index, this byte number is the shared byte number of performance data of numerical value maximum in this performance index group;
The network equipment sends said performance file to network management device.
A kind of read method of performance of network equipments file is provided in the embodiment of the invention, has comprised the steps:
Network management device receives the performance file that the network equipment sends; In the said performance file to each performance index group-indicate the byte number that takies of the performance data in this group performance index, this byte number is the shared byte number of performance data of numerical value maximum in this performance index group;
Network management device is based on organizing the numerical value of performance indications in this byte number reading performance file and resolving.
A kind of network equipment is provided in the embodiment of the invention, has comprised:
The numerical value determination module is used for traveling through the numerical value of this performance index group to a performance index group, finds out the maximum performance data of numerical value;
The byte determination module is used for the byte number of confirming that this performance data takies;
File generating module is used for this performance index group write performance file, writes fashionablely, and each the performance index numerical value in this performance index group all occupies the byte of this byte count sizes hereof, and in performance file this byte number of indication.
A kind of network equipment is provided in the embodiment of the invention, has comprised:
Determination module; Being used for confirming need be to the performance file of network management device transmission; In the said performance file to each performance index group-indicate the byte number that takies of the performance data in this group performance index, this byte number is the shared byte number of performance data of numerical value maximum in this performance index group;
Sending module is used for sending said performance file to network management device.
A kind of network management device is provided in the embodiment of the invention, has comprised:
Receiver module; Be used to receive the performance file that the network equipment sends; In the said performance file to each performance index group-indicate the byte number that takies of the performance data in this group performance index, this byte number is the shared byte number of performance data of numerical value maximum in this performance index group;
Read module is used for numerical value and parsing according to these these group performance index of byte number reading performance file;
Go into library module, be used for depositing the data that parse in database.
Beneficial effect of the present invention is following:
In the technical scheme that the embodiment of the invention provides, the network equipment is earlier to a performance index group, and the network equipment travels through the numerical value of this performance index group; Find out the maximum performance data of numerical value; The network equipment is confirmed the byte number that this performance data takies then, and the network equipment with this performance index group write performance file, is write fashionable again; Each performance index numerical value in this performance index group all occupies the byte of this byte count sizes hereof, and in performance file, indicates this byte number.Because the byte number of each performance index numerical value all is to confirm according to the byte number that the maximum performance data of numerical value in the performance file at that time takies in the performance index group in each definite performance file; Also be; In this programme, come dynamically adjustment according to the actual size of performance data numerical value; Therefore compare with the fixed length mode, no longer need express, but most of performance index numerical value are expressed through 2 bytes according to 4 fixing bytes; Take up room thereby saved, reduced file size.Compare with traditional elongated mode,, therefore more show simple because do not need to define in advance the scope of each performance indications; Simultaneously, can confirm to take byte based on real index value size, rather than confirm to take byte number, thereby possibly reach littler space hold, produce smaller and more exquisite file based on scope.
Further; Because performance file has diminished; The processing time of each relevant link has also tailed off in handling process; Comprise that time, network element that network element writes performance data file carries out that file reads and all corresponding minimizing of time of dissection process for time, the webmaster of webmaster through Network Transmission file, since the efficient of each link has all improved, the efficient of whole performance file processing procedure has also significantly improved naturally.
Description of drawings
Fig. 1 is the generation method implementing procedure sketch map of performance of network equipments file in the embodiment of the invention;
Fig. 2 is the transmission method implementing procedure sketch map of performance of network equipments file in the embodiment of the invention;
Fig. 3 is the read method implementing procedure sketch map of performance of network equipments file in the embodiment of the invention;
Fig. 4 is the network equipment one structural representation in the embodiment of the invention;
Fig. 5 is the network equipment two structural representations in the embodiment of the invention;
Fig. 6 is a network management device structural representation in the embodiment of the invention.
Embodiment
The inventor notices in the invention process:
Be the example of a performance file below:
The performance file body is made up of some records.Every recorded and stored be the performance data value of the measurement of correlation object of a performance index group (being called the counter group in the data that has).(" record " that occur in the back literary composition all means this).
Every record format of performance file body is (describe with forms mode, all parameters in the form are the network bytes preface) as follows.
Table one: file format definition
Performance index numerical value is last column definition in table, from definition, can find out that u32CounterNum performance index value arranged, and each performance index numerical value takies 4 bytes (UINT32).
Front two row (u32GrpOIDLength, au32GrpOID) are the performance index group ids; Two row (ulMeasBeginTime, ulMeasEndTime) then are the time started and the concluding times of measuring, and (u32CounterNum, au32CounterNo) is the performance index number that comprises of this performance index group and the numbering of each performance index thereafter.
For the convenience of explaining, suppose that certain performance index group comprises 3 performance index, numbering is respectively 100,101,102.
The back is an object instance index number (u16InstIndexNum) then; The identification number of supposing the sub-district adopts ran (RAN:Radio Access Network; Wireless access network), rnc (RNC:Radio NetworkController; Radio network controller), nodeb (base station), four locating information of cell (sub-district) identify, then the instance index number here is 4, for example:
Sign ran=18, rnc=18, nodeb=6, cell=16 just expression are numbered under 18 the ran, are numbered under 18 the rnc, are numbered under 6 the base station, are numbered 16 sub-district.
Be object instance number (u16InstTotalNum) then, be assumed to 6 sub-districts, suppose that cell number is from 1~6.
The triplex row of back (astruCntValueList,>au32InstIndex,>au32CounterValue) be the numerical value of the sign and the performance index 100,101,102 thereof of these 6 sub-districts.This is a most crucial part in the record, also is the best part that takes up room.
In the form like the lower part:
astruCntValueList STRUCT[u16InstTotalNum] The data message that reports
>au32InstIndex UINT32[u16InstIndexNum] Measuring object instance index value
>au32CounterValue UINT32[u32CounterNum] Performance index value
Expression is an array here, and the Size of this array (size) is that u16InstTotalNum (corresponding objects instance number) is individual.
The definition of each element in the array is following:
struct{
au32InstIndex?Uint32[u16InstIndexNum];
au32CounterValue?UINT32[u32CounterNum]
}
Be that each element all is made up of au32InstIndex array and au32CounterValue array.
In order to understand wherein abundant information, will wherein the information of (the corresponding information of last triplex row in the table one) preservation list with form below.
Then in the record measuring object instance index value and performance index value corresponding the contents are as follows shown in: (each grid is represented 4 bytes, only is to give an example, and the data in the table are fabricated)
Table two: performance index data
Figure BDA0000038704930000071
Elongated mode is that the byte number that each performance index takies in the file is variable, and to be made as 4 bytes different with the fixed length mode.
Under this mode; Need to analyze the number range of each performance index in advance, take the size of byte, in 0~255 scope, just take 1 byte through each performance index of configuration file definition; 0~65535 just with 2 bytes, otherwise with regard to 4 bytes.
No matter be network element write performance data, or webmaster reading performance data, all to write or read the byte of corresponding size (Size) with reference to this configuration file.
Can know from foregoing description; Three steps of whole performance file processing procedure: network element passes through FTP (File TransferProtocol according to certain form write performance file, network element with performance file with the performance index of gathering; FTP) be transferred to webmaster and webmaster analysis feature file and deposit database in, all relevant with the form of performance file.It is following that traditional f format exists apparent in view shortcoming:
As the mode of main flow, the fixed length mode, file format is fairly simple, but can find out, expresses the numerical values recited of performance index in order to adopt fixed-length format, and each refers to that target value has adopted 4 bytes (U32 type) to come record.And in fact, great majority refer to that target value can not surpass 65535, that is to say that 2 bytes can express.
Therefore, this mode causes file very big, and file will produce bigger negative effect to the relevant treatment flow process greatly.Specifically be described below respectively according to handling process:
The first step: network element with the performance index of gathering according to certain form write performance file.
In this process, because network element will write file with each performance data, each performance index numerical value all writes 4 bytes, and two bytes just are enough to express this numerical value probably.Because file operation is actually the magnetic disc i/o operation, just is comparison poor efficiency and consumption of natural resource, this obviously can bring unnecessary resource consumption to network element, increases the unnecessary processing time.
Second step: network element is transferred to webmaster with performance file through FTP
In this process, file is big more, and the time of file network transmission is just long more, and according to File Transfer Protocol, ftp server can deposit the data of obtaining from Network Transmission in disk file, and for disk file, same, file is big more, and the time of writing disk file is long more.Therefore, in this process, excessive file can consume the resource of more network elements and ftp server, increases the unnecessary processing time.
The 3rd step: webmaster analysis feature file also deposits database in.
Under the fixed length mode, network management system reads this performance file from disk, and takies the form of 4 bytes according to each performance data, reads the performance data in the file successively.In this process, file is big more, and the time of webmaster reading performance file is long more, and when reading in internal memory, the memory headroom of distribution is also big more, and the relevant processing time is also long more, so file is big more, and the performance file treatment effeciency is low more.
Can know that to sum up adopt the fixed length mode to cause file too big, each link that performance file is handled all has bad influence, causes efficient to reduce.
Be explanation above to the fixed length mode; And under elongated mode, network management system needs from file, whenever to read performance index with reference to a local profile (having described the byte number that each performance index takies in this configuration file); Need the query configuration file; Obtain the byte number that this index is occupied hereof, from performance file, read out respective byte, as the numerical value of these performance index; For example describe certain performance index in the configuration file: sub-district handover success number of times takies 2 bytes, then from performance file, reads 2 bytes.
After webmaster parses performance data, performance data is deposited in the database.
Adopt elongated mode; Though can lower file size in the ordinary course of things; But need in advance the number range of each index to be carried out manual analysis; Accurately confirm its span, its scope of definition in configuration file again, and when performance file is resolved, read the data of respective byte (2 bytes are 4 bytes perhaps) according to this scope.
Therefore, this method needs people's participation, is very loaded down with trivial details and the number range of each index is carried out manual analysis.And usually this scope is difficult to accurately analyze, for example, and can who say that the scope of handover success number of times is much? When busy and off-peak hours, these two constantly different, and its data differences is very big.The span that finally obtains also usually is a coarse scope, and under some extreme case, numerical value can surpass span and be beyond expression with corresponding byte number, finally causes mistake.
And this method also still can cause certain space waste, and for example, the span of certain data is 0~70000; Because surpass 65535, just take 3 or 4 bytes, but generally speaking; They may be less than 65535, but because size is predefined, must make predefined size be fit to whole span; Even therefore in most cases less than 65535,3 or 4 bytes have also still all been taken in any case, so in some cases; Also can cause file to become big, cause the shortcoming the same, promptly cause the reduction of treatment effeciency with the fixed length mode.
In summary, adopt elongated mode may cause mistake, and in some cases, can cause file to become big, and cause performance file processing procedure poor efficiency.
Further, existing scheme uses the mode of measuring object index value also to compare wasting space in record.
In record, use the measuring object index value to identify measuring object; Usually to use a plurality of bytes to identify object; For example, in the above-mentioned example, the sub-district object identifies through ran, rnc, nodeb, four locating information of cell; Each locating information (like ran) all takies 4 bytes, and promptly the full identity of the measuring object of a sub-district has taken 4*4=16 byte.
The measuring object index is different according to object type, and physical length is different, generally all is greater than or equal to 16 bytes.
And in the performance file many records can appear; And measuring object can repeat to occur in record, and for example, some sub-districts occur in certain bar record; Also may in an other record, occur; Because one the data of a performance index group only expressed in record, and obviously there are a lot of performance index groups a sub-district, and this has just determined this sub-district can appear in a lot of records.
And this measuring object index value of in record, constantly reusing causes bigger waste to the space.
Based on this, in the technical scheme that the embodiment of the invention provides, through variation length between record internal fixation length, record; Thereby most of performance index numerical value are expressed through 2 bytes; Rather than express through 4 bytes, take up room thereby saved, reduced file size.
Further, replace very long measuring object index, take up room, reduce file size thereby further save through in record, using short interim numbering.
Describe below in conjunction with the accompanying drawing specific embodiments of the invention.
In declarative procedure, elder generation is described from the enforcement of the network equipment and network management device respectively, again the cooperation of the two is implemented to describe; But this does not also mean that the two must cooperate enforcement; In fact, when the network equipment and network management device separate when implementing, it has also solved the problem that on the network equipment and network management device, exists; When just the two is used in combination, can obtain better technique effect.
Fig. 1 is the generation method implementing procedure sketch map of performance of network equipments file, and is as shown in the figure, can comprise the steps:
Step 101, to a performance index group, the numerical value of this performance index group of network equipment traversal is found out the maximum performance data of numerical value;
Step 102, the network equipment are confirmed the byte number that this performance data takies;
Step 103, the network equipment be this performance index group write performance file, writes fashionablely, and each the performance index numerical value in this performance index group all occupies the byte of this byte count sizes hereof, and in performance file this byte number of indication.
In the enforcement, the network equipment is done following processing to each performance index group (counter group):
(1) to a performance index group, the numerical value of this performance index group of network equipment traversal is found out the maximum performance data of numerical value, is made as M;
(2) network equipment is confirmed the byte number that this performance data (M) takies, and is made as the N byte;
(3) network equipment writes file with this performance index group, write fashionable, the byte number that takies in performance file for each performance index numerical value in this performance index group with this byte number (N), and this performance index group of indication takies byte number in the respective record of file.
Below the performance file that generates is described.
The form of performance file has considerable influence for file size, and under the same terms, different forms can produce the performance file of different sizes, thereby further has influence on the efficient of file transfer, file process.And can significantly reduce file size by the new file format that the technical scheme that the embodiment of the invention provides generates.
The characteristics of format are: variation length between record internal fixation length, record.
New form is as follows:
Variation length between table three record internal fixation length, record
Figure BDA0000038704930000111
File format in the form of every record and the prior art under the fixed length mode is similar; But increased field a: U16CounterDataLength; Shown in thickened portion in the table, it is used for indicating the number range of the corresponding a plurality of performance index of whole measuring objects related in this record.
0 expression performance index value is with 1 bytes store;
1 expression performance index value is with 2 bytes store;
2 expression performance index values are with 3 bytes store;
3 expression performance index values are with 4 bytes store.
Carrying out example with 1,2,3,4 byte in force is owing to by present performance file, just can represent with 1 to 4 byte usually; But; In theory; Also be fine with more byte; 1,2,3,4 bytes only are used to instruct specifically embodiment of the present invention how of those skilled in the art, but do not mean and only can use 1,2,3,4 byte, can combine demand in practice to confirm corresponding bytes range in the implementation process.
By shown in this example, if this value is 0, then field backmost is actually an array, and each element takies 1 byte in the array.
au32CounterValue UINT8[u32CounterNum] Performance index value
Again for example, if this value is 3, then field backmost is actually an array, and each element takies 4 bytes in the array.
au32CounterValue UINT32[u32CounterNum] Performance index value
That is to say that in this record, adopt the mode of fixed length, this length (byte number) depends on the byte number that performance index numerical value maximum in this record takies.
Can find that through observing the data value of most performance index can not surpass 65535, therefore, generally speaking, uses 2 bytes to be enough to.
Comprise a plurality of records in the performance file, therefore the great majority record uses 2 bytes to express performance index numerical value.Indivedual performance index that individual record relates to surpass 65535, and these records then use 3 or 4 bytes to express the performance index value.
Therefore, through record internal fixation length, variation length between record; In fact be exactly the identical length (for example 2 bytes) of performance index numerical value use in the record; Then allow between record to use different length, take up room, reduce file size thereby can save performance index numerical value.
Still with data instance mentioned above, data see the following form:
Table four: performance index data (thickened portion is a performance index value)
Figure BDA0000038704930000131
Analyze and can know; If each performance index data (thickened portion in the table) take 4 bytes; 4 byte=168 bytes of 6 row *, 7 row * have then been taken; If each performance index data (thickened portion in the table) take 2 bytes, then taken 6 row * (2 bytes of 4 measuring object index value *, 4 byte+3 performance index *)=132 bytes, saved 36 (168-132=36) bytes.
In the actual conditions, the performance index that every record relates to can be example with 100 performance index much larger than 3 below, calculate the difference of 4 bytes of performance index data occupancy and 2 bytes again:
Be assumed to 100 performance index, if 4 bytes of each performance index data occupancy have then then taken 4 byte=2496 bytes of 6 row *, 104 row *.
If each performance index takies 2 bytes, then taken 6 row * (2 bytes of 4 measuring object index value *, 4 byte+100 performance index *)=1296 bytes, dual mode is compared, and saves an about half space.
It is thus clear that, if every related performance index of record are many, then can save considerable space, greatly dwindle performance file.
Therefore; According to new performance file formal definition; During network element structure property file, it is preceding to confirm in performance file, to write a performance index group (counter group), travels through once all performance datas in this performance index group (counter group) earlier; Finding out a maximum performance data of numerical value, is the byte number that each performance data of this record takies with the byte number of this data occupancy.
In this manner, length is not predefined, and is based on the actual size of performance data numerical value, next dynamically adjustment, compare with traditional elongated mode, because do not need to define in advance the scope of each performance indications, therefore more show simply; Simultaneously, can confirm to take byte based on real index value size, rather than confirm to take byte number, thereby possibly reach littler space hold, produce smaller and more exquisite file based on scope.
In the enforcement, when generating performance file, can further include:
During with performance data write performance file, substitute the measuring object index with interim numbering and identify object.
Concrete, the characteristics of format also have: in surveying record, use interim numbering to replace the measuring object index value.
From above-mentioned analysis, also can find out; Use the measuring object index value to identify measuring object, usually will use a plurality of bytes to identify object, for example; In the above-mentioned example; The sub-district object identifies through ran, rnc, nodeb, four locating information of cell, and each locating information (like ran) all takies 4 bytes, and promptly the full identity of the measuring object of a sub-district has taken 4*4=16 byte.
The measuring object index is different according to object type, and physical length is different, generally all is greater than or equal to 16 bytes.
And, many records can occur in the performance file, and measuring object can repeat in record to occur.For example; Some sub-districts occur in certain bar record, also may in an other record, occur, because the data of a performance index group only expressed in record; And obviously there are a lot of performance index groups a sub-district, and this has just determined this sub-district can appear in a lot of records.
In the enforcement, can further include:
The contrast relationship of interim numbering of indication and measuring object in performance file;
Or, for the interim numbering and the contrast relationship of measuring object are set up the contrast file.
Accordingly, then when sending performance file, also need send said contrast file and give network management device.
In order to solve the problem that in many records, repeats to occur wasting space; Can in the record of performance file, express this measuring object, with the numbering and the corresponding relation of measuring object index are kept at performance file (alternatively temporarily with the interim numbering of a U32 (32); For convenient processing; Also can a newly-generated file) in, promptly hereof, list an interim numbering and the measuring object index table of comparisons; Comprise the interim numbering of the related whole measuring objects of this performance file and the contrast relationship of index value in this table of comparisons, as follows:
Table five: the interim numbering of measuring object and the index table of comparisons
Interim numbering ran rnc nodeb cell
2001 1 1 1 1
2002 1 1 1 2
2003 1 1 1 3
In practical application, measuring object might not be the sub-district, so index value is not necessarily 4 locating information, and for example, carrier frequency is exactly 5 locating information, ran, rnc, nodeb, cell, carrier (carrier wave), so in the practical application, the table of comparisons is as follows:
Table six: the interim numbering and the measuring object index table of comparisons
Figure BDA0000038704930000151
Promptly mark the measuring object type earlier, different types have the locating information of different numbers, and for example the sub-district is 4, and carrier frequency is 5.
In the actual treatment, the information organization mode of table six can be carried out accommodation, for example; With the volume of the measuring object (like the sub-district) of same type is one group; In group, identify the measuring object type then, rather than in each measuring object, all mark the measuring object type, here for easy to understand; Use the simplest method, promptly in each measuring object (the every row in the table), all comprise the measuring object type.
Promptly mark the measuring object type earlier, different types have the locating information of different numbers, and for example the sub-district is 4, and carrier frequency is 5.
In the actual treatment, the information organization mode of table six can be carried out accommodation, for example; With the volume of the measuring object (like the sub-district) of same type is one group; In group, identify the measuring object type then, rather than in each measuring object, all mark the measuring object type, here for easy to understand; Use the simplest method, promptly in each measuring object (the every row in the table), all comprise the measuring object type.
The number corresponding relation of measuring object type and locating information is as shown in the table:
Table seven: the number corresponding relation of measuring object type and locating information
The measuring object type The locating information number
The sub-district 4
Carrier frequency 5
The information of table seven for a specific network management system, can not change, and in network element and webmaster, all can each preserve a.
In record, only need to use interim numbering, webmaster can correctly parse the measuring object index according to the interim numbering and the above-mentioned table of comparisons (table six and table seven) in the record when the analysis feature file, restore real object.
In this way, in record, replace very long measuring object index, thereby further reduced the size of performance file with short interim numbering.
Use the record format of interim numbering:
The file format record definition (number replacement measuring object index value with measuring object temporarily, see to add boldface type) that table eight is final
Figure BDA0000038704930000161
Figure BDA0000038704930000171
Accordingly, the present invention also provides transmission, the read method of performance of network equipments file, describes below.
Fig. 2 is the transmission method implementing procedure sketch map of performance of network equipments file, and is as shown in the figure, when the transmission performance file, can comprise the steps:
Step 201, the network equipment are confirmed need be to the performance file of network management device transmission; In the said performance file to each performance index group-indicate the byte number that takies of the performance data in this group performance index, this byte number is the shared byte number of performance data of numerical value maximum in this performance index group;
Step 202, the network equipment send said performance file to network management device.
In the enforcement, can also substitute the measuring object index with interim numbering in the performance file and identify object.
In the enforcement, also comprised the contrast relationship of interim numbering and measuring object in the said performance file.
In the enforcement, can further include:
The network equipment sends the contrast file to network management device, and said contrast document has been shown the contrast relationship of interim numbering and measuring object.
Concrete; Interim numbering also can write in the another one file separately with the contrast relationship of measuring object; If interim numbering writes on separately in the file with the contrast relationship of measuring object; Then the network equipment need send the contrast file to network management device, and said contrast document has been shown the contrast relationship of interim numbering and measuring object.
Fig. 3 is the read method implementing procedure sketch map of performance of network equipments file, and is as shown in the figure, when the reading performance file, can comprise the steps:
Step 301, network management device receive the performance file that the network equipment sends; In the said performance file to each performance index group-indicate the byte number that takies of the performance data in this group performance index, this byte number is the shared byte number of performance data of numerical value maximum in this performance index group;
Step 302, network management device are according to organizing the numerical value of performance index in this byte number reading performance file and resolving.
In the enforcement, can also comprise the contrast relationship of interim numbering and measuring object in the performance file.
In the enforcement, can further include:
Network management device receives the contrast file that the network equipment sends, and comprises the contrast relationship of interim numbering and measuring object in the said contrast file.
Concrete, performance file does not comprise the contrast relationship of interim numbering and measuring object.Be that the contrast relationship that the network equipment will be numbered with measuring object temporarily writes on a file separately, then network management device also need receive the contrast file that the network equipment sends.
In the enforcement, can further include:
Network management device reads and parses the contrast relationship of interim numbering and measuring object, and this contrast relationship is kept in the internal memory.
Concrete, can conveniently read contrast relationship after being kept at this contrast relationship in the internal memory.
In the enforcement, can further include:
Network management device when the analysis feature file, parse the sign measuring object interim numbering after, according to the contrast relationship in the internal memory, confirm the measuring object index.
Concrete; When reading the contrast relationship table of interim numbering and measuring object; If the contrast relationship of interim numbering and measuring object is in performance file; Then relevant portion in the reading performance file if the contrast relationship of interim numbering and measuring object writes on separately in the file, then reads this contrast file.
Concrete, can also adopt new flow process following to new form:
The first step: give each measuring object an interim numbering.
Network element acquisition performance index, for the performance index that collect, the measuring object that relates to; Number, each measuring object distributes an interim numbering temporarily, and with the contrast relationship table write performance file of the interim numbering of measuring object and index (alternatively; For the convenience of handling; Also can with number temporarily contrast relationship table with the measuring object index write in the another one file and the performance file of corresponding memory property achievement data separately, also be fine.Like this, then this document is one to one with corresponding performance file, is used for explaining the interim numbering of corresponding performance file).
Second step: successively each performance index group (counter group) is carried out written document and handle.
For each performance index group (counter group); Travel through once all performance datas in this performance index group earlier; Finding out a maximum performance data of numerical value, is the byte number (being made as the X byte) that each performance data of this record takies hereof with the byte number of this data occupancy.That is: when this performance index group being write file as a record, each performance index value that relates to all occupies the X byte, and form is with reference to preceding text.
For the measuring object index that relates in the record, when writing file, all use interim numbering to replace.
The 3rd step: network element is transferred to webmaster with performance file through FTP.
The performance file organized than traditional fixed length mode of performance file of this moment is little, so network latency can reduce, and writes the file consumed time in the FTP process simultaneously and also can reduce.(if the contrast relationship table of time numbering and measuring object index is stored in the other file, and then this document is uploaded together)
The 4th step: webmaster analysis feature file also deposits database in.
Webmaster is resolved according to new form, utilizes the interim numbering of measuring object and the contrast relationship table of measuring object index to restore the object indexing in the record.
Compare with traditional fixed length mode, when webmaster is resolved, because performance file diminishes, diminish so read the time of file, corresponding, when webmaster was read the performance data in the file in the internal memory, the memory headroom of distribution is also corresponding to diminish, so treatment effeciency improves.
To sum up can know; Performance file has diminished; The processing time of each relevant link has also tailed off in the new technological process; Comprise that time, network element that network element writes performance data file carries out that file reads and all corresponding minimizing of time of dissection process for time, the webmaster of webmaster through Network Transmission file, since the efficient of each link has all improved, the efficient of certain whole performance file processing procedure has also significantly improved.
Based on same inventive concept; The network equipment, network management device also are provided in the embodiment of the invention; Because the principle that these equipment are dealt with problems is similar with a kind of generation, transmission, read method of performance of network equipments file; Therefore the enforcement of these equipment can repeat part and repeat no more referring to the enforcement of method.
Fig. 4 is the network equipment one structural representation, and is as shown in the figure, can comprise in the network equipment:
Numerical value determination module 401 is used for traveling through the numerical value of this performance index group to a performance index group, finds out the maximum performance data of numerical value;
This module is to a performance index group, and the numerical value of this performance index group of network equipment traversal is found out the maximum performance data of numerical value, is made as M;
Byte determination module 402 is used for the byte number of confirming that this performance data takies;
This module is confirmed the byte number that this performance data (M) takies, and is made as the N byte;
File generating module 403 is used for this performance index group write performance file, writes fashionablely, and each the performance index numerical value in this performance index group all occupies the byte of this byte count sizes hereof, and in performance file this byte number of indication.
When this module writes file with the corresponding performance data of this performance index group; With this byte number (N) is the byte number that each performance index numerical value takies in performance file in this performance index group, and this performance index group of indication takies byte number (N) in the respective record of file.
In the enforcement, when file generating module can also be further used for performance data write performance file, substitute the measuring object index with interim numbering and identify object.
In the enforcement, file generating module can also be further used in performance file, indicating the contrast relationship of interim numbering and measuring object; Or, for the interim numbering and the contrast relationship of measuring object are set up the contrast file.
Fig. 5 is the network equipment two structural representations, and is as shown in the figure, can comprise in the network equipment:
Determination module 501; Being used for confirming need be to the performance file of network management device transmission; In the said performance file to each performance index group-indicate the byte number that takies of the performance data in this group performance index, this byte number is the shared byte number of performance data of numerical value maximum in this performance index group; The contrast relationship that has also comprised interim numbering and measuring object in the said performance file.
Concrete, contrast relationship in this case is directly to write in the performance file, therefore when network management device sends performance file, also contrast relationship has been mail to network management device.
Concrete, also can the contrast relationship of temporarily numbering with measuring object be write on separately in the contrast file, at this moment, determination module can also be further used for need confirming the contrast file to the network management device transmission.
Sending module 502 is used for sending said performance file to network management device.
In the enforcement, sending module can also be further used for sending the contrast file to network management device, and said contrast document has been shown the contrast relationship of interim numbering and measuring object.
Concrete, if the contrast relationship of interim numbering and measuring object writes on separately in the file, sending module is further used for sending the contrast file to network management device, said contrast document has been shown the contrast relationship of interim numbering and measuring object.
Fig. 6 is the network management device structural representation, and is as shown in the figure, can comprise in the network management device:
Receiver module 601; Be used to receive the performance file that the network equipment sends; In the said performance file to each performance index group-indicate the byte number that takies of the performance data in this group performance index, this byte number is the shared byte number of performance data of numerical value maximum in this performance index group;
Read module 602 is used for numerical value and parsing according to these these group performance index of byte number reading performance file;
Go into library module 603, be used for depositing the data that parse in database.
In the enforcement, receiver module can also be further used for receiving the performance file that the network equipment sends, and also comprises the contrast relationship of interim numbering and measuring object in the said performance file.
Concrete, the contrast relationship that will temporarily number with measuring object at the network equipment writes on separately under the prerequisite in the file, and receiver module can also be used to receive the contrast file that the network equipment sends.
In the enforcement, receiver module can also be further used for receiving the contrast file that the network equipment sends, and comprises the contrast relationship of interim numbering and measuring object in the said contrast file.
Concrete, the contrast relationship that will temporarily number with measuring object at the network equipment writes under the prerequisite in the performance file, and receiver module is used to receive the performance file that the network equipment sends just can know contrast relationship.
In the enforcement, read module can also be further used in the contrast relationship that reads interim numbering and measuring object.
Concrete; When reading the contrast relationship table of interim numbering and measuring object; If the contrast relationship of interim numbering and measuring object is in performance file; Then relevant portion in the reading performance file if the contrast relationship of interim numbering and measuring object writes on separately in the file, then reads this contrast file.
In the enforcement, read module can also be further used for after the contrast relationship that reads and parse interim numbering and measuring object, this contrast relationship being kept in the internal memory.
In the enforcement, read module can also be further used for when the analysis feature file, parse the sign measuring object interim numbering after, based on the contrast relationship in the internal memory, confirm the measuring object index.
At last, go into library module and deposit the measuring object that parses, performance data in database.
For the convenience of describing, the each several part of the above device is divided into various modules with function or the unit is described respectively.Certainly, when embodiment of the present invention, can in same or a plurality of softwares or hardware, realize the function of each module or unit.
Visible by the foregoing description, in the technical scheme that the embodiment of the invention provides, new file format is provided not only, also, adopt new handling process, thereby improve treatment effeciency to improved file format definition.Concrete, on handling process:
Network element is interim numbering of each measuring object distribution, and the contrast relationship table of interim numbering of measuring object and measuring object index is write file.In record, use interim numbering to replace the measuring object index value.
For each performance index group; Network element travels through once all performance datas in this performance index group earlier; Finding out a maximum performance data of numerical value, when it is write file as a record, is the byte number that each performance data of this record takies with the byte number of this data occupancy.
Network element is uploaded to webmaster with file after finishing writing file according to new form.
Webmaster is resolved according to new form, utilizes the interim numbering of measuring object and the contrast relationship table of measuring object index to restore the object indexing in the record.
Webmaster deposits the performance data that parses in database.
On file format, this performance file has following characteristics:
Variation length between record internal fixation length, record, promptly the numerical value in intrarecord a plurality of performance index uses identical length (taking byte), and between different records, then allows to use different length (taking byte).
The length that the performance index value takies in the record is dynamically to confirm, rather than predefined.
During network element structure property file; Before confirming in file, to write a record; Earlier traversal all performance datas in this performance index group are once found out a maximum performance data of numerical value, are the byte number of this record all properties data occupancy with the byte number of this data occupancy.
In performance file; Give the measuring object that relates to an interim numbering; In record, use and should interim numbering (4 bytes) replace very long measuring object index; Because an interim numbering generally can be taken up room so this mode can reduce by a plurality of record references, reduce file size.
The contrast relationship of interim numbering and measuring object index is then listed in performance file.(alternatively, the contrast relationship of interim numbering and measuring object index writes in the another one file and corresponding performance file is transferred to webmaster together, also is fine.)
The technical scheme that inventive embodiments provides is through variation length between record internal fixation length, record; Thereby most of performance index numerical value are expressed through 2 bytes; Rather than express through 4 bytes, take up room thereby saved, reduced file size.
Through in record, using short interim numbering to replace very long measuring object index, take up room thereby further save, reduce file size.
After file diminishes, corresponding with new file format, adopt a kind of new flow process to handle.After adopting new form and corresponding new technological process, the file of the time of network element written document, relevant file network transmission time, webmaster reads with the document analysis time and has all shortened, thereby has improved treatment effeciency.
For general 3G communication system, per 15 minutes of each network element produces a performance file, so each network element just produces 96 performance files every day; Suppose that a network management system has 20 network elements, then just have every day 20*96=1920 file to need to handle, and each file comprises several thousand performance index; Exactly because the file number is huge; Performance index are many, and this technical scheme that this embodiment of the invention is provided promotes effect to overall system efficiency and is exaggerated, and the technical scheme that the embodiment of the invention provides is through reducing each file size; Processing resource with significantly saving computer improves treatment effeciency greatly.Handle this performance bottleneck for the performance file of removing network management system, the performance that improves whole network management system has great meaning.
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of the embodiment of complete hardware embodiment, complete software implementation example or combination software and hardware aspect.And the present invention can be employed in the form that one or more computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) that wherein include computer usable program code go up the computer program of implementing.
The present invention is that reference is described according to the flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out through the processor of computer or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in ability vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work; Make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device; Make on computer or other programmable devices and to carry out the sequence of operations step producing computer implemented processing, thereby the instruction of on computer or other programmable devices, carrying out is provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
Although described the preferred embodiments of the present invention, in a single day those skilled in the art get the basic inventive concept could of cicada, then can make other change and modification to these embodiment.So accompanying claims is intended to be interpreted as all changes and the modification that comprises preferred embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.

Claims (22)

1. the generation method of a performance of network equipments file is characterized in that, comprises the steps:
To a performance index group, the numerical value of this performance index group of network equipment traversal is found out the maximum performance data of numerical value;
The network equipment is confirmed the byte number that this performance data takies;
The network equipment is this performance index group write performance file, writes fashionablely, and each the performance index numerical value in this performance index group all occupies the byte of this byte count sizes hereof, and in performance file this byte number of indication.
2. the method for claim 1 is characterized in that, further comprises:
During with performance data write performance file, substitute the measuring object index with interim numbering and identify object.
3. method as claimed in claim 2 is characterized in that, further comprises:
The contrast relationship of interim numbering of indication and measuring object in performance file;
Or, for the interim numbering and the contrast relationship of measuring object are set up the contrast file.
4. the transmission method of a performance of network equipments file is characterized in that, comprises the steps:
The network equipment is confirmed need be to the performance file of network management device transmission; In the said performance file to each performance index group-indicate the byte number that takies of the performance data in this group performance index, this byte number is the shared byte number of performance data of numerical value maximum in this performance index group;
The network equipment sends said performance file to network management device.
5. method as claimed in claim 4 is characterized in that, also comprises the contrast relationship of interim numbering and measuring object in the said performance file.
6. method as claimed in claim 4 is characterized in that, further comprises:
The network equipment sends the contrast file to network management device, and said contrast document has been shown the contrast relationship of interim numbering and measuring object.
7. the read method of a performance of network equipments file is characterized in that, comprises the steps:
Network management device receives the performance file that the network equipment sends; In the said performance file to each performance index group-indicate the byte number that takies of the performance data in this group performance index, this byte number is the shared byte number of performance data of numerical value maximum in this performance index group;
Network management device is based on organizing the numerical value of performance indications in this byte number reading performance file and resolving.
8. method as claimed in claim 7 is characterized in that, also comprises the contrast relationship of interim numbering and measuring object in the said performance file.
9. method as claimed in claim 7 is characterized in that, further comprises:
Network management device receives the contrast file that the network equipment sends, and comprises the contrast relationship of interim numbering and measuring object in the said contrast file.
10. like claim 8 or 9 described methods, it is characterized in that, further comprise:
Network management device reads and parses the contrast relationship of interim numbering and measuring object, and this contrast relationship is kept in the internal memory.
11. method as claimed in claim 10 is characterized in that, further comprises:
Network management device when the analysis feature file, parse the sign measuring object interim numbering after, according to the contrast relationship in the internal memory, confirm the measuring object index.
12. a network equipment is characterized in that, comprising:
The numerical value determination module is used for traveling through the numerical value of this performance index group to a performance index group, finds out the maximum performance data of numerical value;
The byte determination module is used for the byte number of confirming that this performance data takies;
File generating module is used for this performance index group write performance file, writes fashionablely, and each the performance index numerical value in this performance index group all occupies the byte of this byte count sizes hereof, and in performance file this byte number of indication.
13. the network equipment as claimed in claim 12 is characterized in that, when file generating module is further used for performance data write performance file, substitutes the measuring object index with interim numbering and identifies object.
14. the network equipment as claimed in claim 13 is characterized in that, file generating module is further used in performance file, indicating the contrast relationship of interim numbering and measuring object; Or, for the interim numbering and the contrast relationship of measuring object are set up the contrast file.
15. a network equipment is characterized in that, comprising:
Determination module; Being used for confirming need be to the performance file of network management device transmission; In the said performance file to each performance index group-indicate the byte number that takies of the performance data in this group performance index, this byte number is the shared byte number of performance data of numerical value maximum in this performance index group;
Sending module is used for sending said performance file to network management device.
16. the network equipment as claimed in claim 15 is characterized in that, sending module is further used for sending the contrast file to network management device, and said contrast document has been shown the contrast relationship of interim numbering and measuring object.
17. the network equipment as claimed in claim 15 is characterized in that, determination module is further used for confirming and need also comprises the contrast relationship of interim numbering and measuring object in the said performance file to the performance file of network management device transmission.
18. a network management device is characterized in that, comprising:
Receiver module; Be used to receive the performance file that the network equipment sends; In the said performance file to each performance index group-indicate the byte number that takies of the performance data in this group performance index, this byte number is the shared byte number of performance data of numerical value maximum in this performance index group;
Read module is used for numerical value and parsing according to these these group performance index of byte number reading performance file;
Go into library module, be used for depositing the data that parse in database.
19. network management device as claimed in claim 18 is characterized in that, also comprises the contrast relationship of interim numbering and measuring object in the said performance file.
20. network management device as claimed in claim 18 is characterized in that, receiver module is further used for receiving the contrast file that the network equipment sends, and comprises the contrast relationship of interim numbering and measuring object in the said contrast file.
21. network management device as claimed in claim 20 is characterized in that, read module is further used for after the contrast relationship that reads and parse interim numbering and measuring object, this contrast relationship being kept in the internal memory.
22. network management device as claimed in claim 21 is characterized in that, read module is further used for when the analysis feature file, parse the sign measuring object interim numbering after, according to the contrast relationship in the internal memory, confirm the measuring object index.
CN2010105922981A 2010-12-16 2010-12-16 Method and equipment for generating, transmitting and reading network equipment performance files Active CN102025546B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105922981A CN102025546B (en) 2010-12-16 2010-12-16 Method and equipment for generating, transmitting and reading network equipment performance files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105922981A CN102025546B (en) 2010-12-16 2010-12-16 Method and equipment for generating, transmitting and reading network equipment performance files

Publications (2)

Publication Number Publication Date
CN102025546A CN102025546A (en) 2011-04-20
CN102025546B true CN102025546B (en) 2012-07-04

Family

ID=43866438

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105922981A Active CN102025546B (en) 2010-12-16 2010-12-16 Method and equipment for generating, transmitting and reading network equipment performance files

Country Status (1)

Country Link
CN (1) CN102025546B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077282B (en) * 2013-03-25 2018-02-06 华为技术有限公司 The method and apparatus of processing data
CN106326249B (en) * 2015-06-23 2021-08-03 中兴通讯股份有限公司 Data integration processing method and device
CN111796805B (en) * 2019-06-27 2024-05-07 上海市计量测试技术研究院 AML language performance verification method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8103266B2 (en) * 2005-03-25 2012-01-24 Qualcomm Incorporated Apparatus and methods for managing battery performance of a wireless device
CN101192992B (en) * 2007-01-10 2011-03-16 中兴通讯股份有限公司 Complementary collection system and method for performance data of telecom network management system

Also Published As

Publication number Publication date
CN102025546A (en) 2011-04-20

Similar Documents

Publication Publication Date Title
CN102662988B (en) Method for filtering redundant data of RFID middleware
Liu et al. Fast RFID grouping protocols
CN104407879B (en) A kind of power network sequential big data loaded in parallel method
CN109144791A (en) Data conversion storage method, apparatus and data management server
CN103179433A (en) System, method and service node for providing video contents
CN102025546B (en) Method and equipment for generating, transmitting and reading network equipment performance files
WO2018001085A1 (en) Data storage method and device, data lookup request processing method and device
CN103281206A (en) System, method and device for determining connected relation
CN109561464A (en) A kind of method and apparatus for reporting buffer status and distributing resource
CN104615684A (en) Mass data communication concurrent processing method and system
CN104424189A (en) Positioning resolving method and positioning resolving system based on cloud platform
CN104731716A (en) Data storage method
CN204790999U (en) Big data acquisition of industry and processing system
CN109521954B (en) Distribution network FTU fixed point file management method and device
CN104699701A (en) Parallel nearest node computing method and distributed system based on sensitive hashing
CN106131962A (en) Control channel in WLAN OFDMA
CN102347821A (en) Information indicating and processing methods, devices and communication system
CN104918259B (en) Data cached dispatching method and device
CN103618680A (en) TFT maintenance method based on bearing layering in EPS
CN101771566A (en) Method, device and system for transmitting performance data between web masters
CN107360594A (en) A kind of information processing method and device
CN101964995A (en) Method and device for updating uplink baseband chip parameters at NodeB side in WCDMA (Wideband Code Division Multiple Access) system
CN109616156A (en) A kind of gene sequencing date storage method and device
CN107276782B (en) Information processing method, equipment and system
CN110908999A (en) Data acquisition mode determining method and device, storage medium and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant