CN102420724B - Method and device for testing north-orientation performance index - Google Patents

Method and device for testing north-orientation performance index Download PDF

Info

Publication number
CN102420724B
CN102420724B CN201110421911.8A CN201110421911A CN102420724B CN 102420724 B CN102420724 B CN 102420724B CN 201110421911 A CN201110421911 A CN 201110421911A CN 102420724 B CN102420724 B CN 102420724B
Authority
CN
China
Prior art keywords
performance index
index value
file
value
source code
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
CN201110421911.8A
Other languages
Chinese (zh)
Other versions
CN102420724A (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 CN201110421911.8A priority Critical patent/CN102420724B/en
Publication of CN102420724A publication Critical patent/CN102420724A/en
Application granted granted Critical
Publication of CN102420724B publication Critical patent/CN102420724B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a device for testing a north-orientation performance index. The method comprises the following steps of: comparing a performance index value which is reported by a north-orientation module with a performance index value which is obtained by analyzing a reported performance index by a network management center (NMC), wherein the performance index value which is reported by the north-orientation module is obtained by executing an original code file which is used for reading an original counter value from a database and calculating the performance index value by substituting the original counter value into a formula; when the performance index value which is reported by the north-orientation module does not accord with the performance index value which is obtained by analyzing the performance index by the NMC, re-calculating the performance index value according to a backup file of the original code file; and by using the performance index value which is obtained by re-calculation as a test standard, determining a test result of the performance index value. By the invention, the positioning problem can be quickly and accurately solved, and test efficiency is improved.

Description

A kind of testing north-orientation performance index method and device
Technical field
The present invention relates to a kind of applied in network performance test technical field, relate in particular to a kind of testing north-orientation performance index method and device.
Background technology
Network performance data the reporting and resolve and generally have following two kinds of modes of (Operation & Maintenance Center, operation maintenance center) from network element to OMC:
1) file mode
Network performance data is uploaded with file mode from network element, and OMC receives the laggard row parsing of this file, then enters database.RNC (Radio Network Controller, radio network controller) network element generally reports in this manner.
2) message mode
Network element is organized into message by network performance data and is uploaded to OMC again, and general base station reports in this manner.
Network element is conventionally with different counters count network performance index values, therefore the network performance data of reported by network elements is called to original count device value, no matter be to report original count device value with file mode or with message mode, be all that original count device value is treated to and carries out corresponding format data, and these data are converted to binary code stream transmit.
Receive after the binary code stream that network element transmits at OMC, the binary code stream receiving is carried out to corresponding parsing to be obtained network performance data (being original count device value) and deposits database in, the performance index that north orientation module in OMC needs according to Upper NM Station NMS (Network Management Center network management center), regularly from database, read original count device value and carry out corresponding computing, draw the performance index that NMS needs, and by the form of xml file, these performance index and performance index value are uploaded to FTP (File Transfer Protocol, file transfer protocol (FTP)) on server.NMS gets xml file every collection period one time to FTP, and the performance index in xml file and performance index value are resolved to warehouse-in.
North orientation module in OMC is read original count device value, the original count device value of reading is carried out to the process of performance index that corresponding computing show that NMS needs from database, realizes by the bottom code of OMC.And the calculating of performance index may need an original count device value, also may need multiple original count device values.
Because Upper NM Station NMS and the OMC of subordinate two overlap independently system, Upper NM Station NMS resolve the OMC of subordinate report performance index time, likely there is same performance index value and the inconsistent situation of the OMC of subordinate, once inconsistent in OMC and NMS, will verify, but original count device value in the database of OMC is to obtain by predetermined operation the performance index value that NMS needs, no matter be to make mistakes in OMC computing, or NMS resolves and makes mistakes, the form finally reflecting all can not be correct.So just need to from network element, read in the original count device value that reports, login OMC database reads original count device value, contact Upper NM Station and from the bottom code of OMC, obtains performance Index Calculation method and the method such as verify and come the source that verification problem occurs.
For example performance index value R400_009 " is successfully established number of times without CS (Circuit Switch circuit switching) the territory RAB (Radio Access Bearer; RAB) queuing up ", this desired value in the north orientation module of OMC after sequential operation, its value is 26, the value that Upper NM Station NMS generates is 25, has so now just existed same performance index in OMC and the inconsistent situation of NMS value.Because R400_009 is not original count device value, north orientation module is realized by bottom code for the north orientation performance file that generates performance index, causes in test process, and directly to make mistakes be in that link to positioning performance desired value, need to go one by one to investigate.
As mentioned above, in existing test mode, in OMC, the bottom code of calculation of performance indicators only has a set of, whether in the time going wrong, need to remove one by one to investigate like this this program in machine code goes wrong, the finally source of orientation problem, when orientation problem, loaded down with trivial details, the inefficiency of flow process, is not suitable in daily operation maintenance for a long time as positioning means.
Summary of the invention
The invention provides a kind of testing north-orientation performance index method and device, loaded down with trivial details, the inefficient problem of flow process when solving in prior art orientation problem.
The invention provides a kind of testing north-orientation performance index method, comprising:
Performance index value and network management center NMS that contrast north orientation module reports resolve the performance index value obtaining to the performance index that report, the performance index value that described north orientation module reports, the source code file that is used for reading from database original count device value substitution formula calculation of performance indicators value by execution obtains;
Determine that performance index value that described north orientation module reports and NMS resolve the performance index value obtaining when inconsistent, recalculate performance index value according to the backup file of described source code file;
Using recalculating the performance index value obtaining as testing standard, determine the test result of described performance index value.
The present invention also provides a kind of testing north-orientation performance index device, comprising:
Contrast test unit, the performance index that report are resolved to the performance index value obtaining for contrasting performance index value and the network management center NMS that north orientation module reports, the performance index value that described north orientation module reports, the source code file that is used for reading from database original count device value substitution formula calculation of performance indicators value by execution obtains;
Recalculate unit, for determining that the performance index value that reports of described north orientation module and NMS resolve the performance index value obtaining when inconsistent, recalculate performance index value according to the backup file of described source code file;
Test result determining unit, for using recalculating the performance index value obtaining as testing standard, determines the test result of described performance index value.
Utilize testing north-orientation performance index method provided by the invention and device to there is following beneficial effect: without NMS test alignment by union, by incorrect which link that is in of the direct positioning performance index of backup file; Backup file only uses in the time that test result is inconsistent, is not easy to be destroyed, and does not have desired value error, and therefore orientation problem rapidly and accurately, has improved testing efficiency.
Brief description of the drawings
Fig. 1 is testing north-orientation performance index method flow diagram of the present invention;
Fig. 2 is testing north-orientation performance index method flow diagram in the preferred embodiment of the present invention;
Fig. 3 is testing north-orientation performance index structure drawing of device in the embodiment of the present invention.
Embodiment
Below in conjunction with drawings and Examples, north orientation performance index Penetrating Test method provided by the invention and device are illustrated in greater detail.
Because Upper NM Station NMS and the OMC of subordinate two overlap independently system, Upper NM Station NMS resolve the OMC of subordinate report performance index time, likely there is same performance index value and the inconsistent situation of the OMC of subordinate, once occur this situation, ask alignment by union problem with regard to each network element of needs, involve RNC, base station, OMC, NMS etc., need in OMC, call bottom code, whether analyze this bottom code occurs extremely, whether correctly need to check one by one statement, from database, read original count device value, then artificial calculation of performance indicators, finally give the source of ging wrong.Visible, because being used for generating performance index, north orientation module realized by the sightless bottom code of a set of tester, cause in test process, directly to make mistakes be in that link to positioning performance desired value, need to go one by one investigation.
For solving the complicated loaded down with trivial details problem of performance index checking of Upper NM Station NMS and the OMC of subordinate, the invention provides a kind of testing north-orientation performance index method, as shown in Figure 1, comprising:
Step 101, performance index value and network management center NMS that contrast north orientation module reports resolve the performance index value obtaining to the performance index that report, the performance index value that described north orientation module reports, the source code file that is used for reading from database original count device value substitution formula calculation of performance indicators value by execution obtains;
Step 102, determines that performance index value that described north orientation module reports and NMS resolve the performance index value obtaining when inconsistent, recalculate performance index value according to the backup file of described source code file;
Step 103, using recalculating the performance index value obtaining as testing standard, determines the test result of described performance index value.
In the embodiment of the present invention, as long as the performance index value that in OMC, north orientation module reports, can carry out corresponding source code file, OMC passes through periodic report under normal circumstances, therefore this source code likely because of frequent called carry out to be destroyed cause the result that reports inaccurate, NMS also may make mistakes to the Data Analysis process reporting, for orientation problem place, in the embodiment of the present invention at comparing result while being inconsistent, by carrying out the backup file of described source code file, because the backup file of this source code is also for read original count device value substitution formula calculation of performance indicators value from database, and this source code file just can be called in the inconsistent situation of result, therefore, the backup file result of calculation of source code file is accurate, using this as standard test result, if the result of calculation of the backup file of this source code file is consistent with the result of source code file, illustrate that NMS makes mistakes, if inconsistent, illustrate that north orientation module makes mistakes, above-mentioned whole test process is without artificial parameter, can automatically realize check test result, orientation problem place, without NMS test alignment by union, by directly automatic incorrect which link that is in of positioning performance index of backup file, therefore orientation problem rapidly and accurately, has improved testing efficiency.
In the embodiment of the present invention, the performance index value reporting in contrast north orientation module and NMS to the performance index that report before, NMS need to be resolved to the performance index value obtaining to the performance index that report and import in OMC, thereby realization automatically contrasts in OMC.
Preferably, as shown in Figure 2, before contrast properties desired value, further comprise: step 200, network element is converted to original performance data binary code stream and reports; Step 201, OMC receives the binary format code stream of reported by network elements, and described binary format code stream analyzing is obtained original count device value and deposits database in.This network element is RNC or base station, and OMC resolves by corresponding format the binary format code stream receiving from network element, and the original count device value that parsing is obtained is kept in local data base.Step 202, north orientation module, according to the performance index value of NMS demand, is called the source code file that calculates described performance index value; The performance index value calculating is reported to file transfer protocol (FTP) ftp server, so that NMS is from performance index value described in described FTP service acquisition; Step 203, NMS regularly obtains performance index value and carries out dissection process to ftp server.Particularly, OMC, according to the demand of NMS, periodically reports performance index value, and the certain collection period in NMS interval gathers to ftp server.While finding while test that performance index value is inconsistent, execution step 204, recalculates performance index value according to the backup file of source code file; Step 205, will recalculate the performance index value obtaining as testing standard, with the contrast of NMS analysis result, determines the test result of described performance index value.
In the embodiment of the present invention, the performance index value of NMS demand is calculated by predetermined formula by corresponding original count device in database, the backup of above-mentioned source code file and source code file all has the computing formula of calculation of performance indicators value, preferably, the backup file of above-mentioned source code file and described source code file in the embodiment of the present invention is the file of different coding form.Due to coded format difference, the analysis mode difference adopting in the time carrying out, thus avoid because source code file is because of the resolving mistake that reports causing of makeing mistakes.
Further preferably, the file of source code described in the embodiment of the present invention is bottom document, and the backup file of described source code file is the file of the expansion XML of identifiable language form.Bottom document is sightless to tester, the benefit of bottom document is that operation is fast consistent with the form of other execute files, owing to not needing to go one by one to investigate execute statement in the embodiment of the present invention, therefore source code file still adopts bottom document, in the embodiment of the present invention, the form of above-mentioned source code file is the file of XML form, because the file of XML form is visible for tester in the situation that not needing to possess programming knowledge, therefore facilitate tester to guarantee that by Query XML file computing formula is wherein correct, modify if incorrect, thereby ensure the accurate of XML execution result.
Illustrating, is one section of content in XML file below:
The implication of above content is that performance index value R400_009 is calculated and got by computing formula R002_097-(R002_099+R002_100+R002_101+R002_102+R002_103+R002_104+R0 02_105+R002_106)-R02_7007.The original count device value of storing in the every OMC of being database in above-mentioned computing formula.
, after the original count device value of obtaining in OMC database, directly carry out data operation.For example:
select
R002_097-(R002_099+R002_100+R002_101+R002_102+R002_103+R002_104+R002_105+R002_106)-R027_007?from?Pdata_Cell_l,Pdata_cell_5;
Wherein Pdata_Cell_1, Pdata_cell_5 is the database table of two corresponding original count devices of storage, operation result is exactly the value of R400_009.
The testing north-orientation performance index method that the embodiment of the present invention provides, can directly provide correct desired value, during for OMC and NMS orientation problem as canonical reference, can be rapidly, positioning performance desired value is resolved inconsistent problem easily, having solved the short slab that OMC testing north-orientation performance index must rely on NMS, is a kind of method of testing of penetrability.
The embodiment of the present invention also provides a kind of testing north-orientation performance index device, as described in Figure 3, comprising:
Contrast test unit 301, the performance index that report are resolved to the performance index value obtaining for contrasting performance index value and the network management center NMS that north orientation module reports, the performance index value that described north orientation module reports, the source code file that is used for reading from database original count device value substitution formula calculation of performance indicators value by execution obtains;
Recalculate unit 302, for determining that the performance index value that reports of described north orientation module and NMS resolve the performance index value obtaining when inconsistent, recalculate performance index value according to the backup file of described source code file;
Test result determining unit 303, for using carrying out performance index value that the backup file of described source code file obtains as testing standard, determines the test result of described performance index.
Preferably, the source code file that described contrast test unit 301 uses with described in recalculate the backup file of the source code file that unit 302 uses, be the file of different coding form.
Preferably, the source code file that described contrast test unit 301 uses is bottom document, and the backup file that recalculates the source code file that unit 302 uses is the file of the expansion XML of identifiable language form.
Preferably, this device also comprises: resolve memory cell, for before contrast properties desired value, receive the binary format code stream of reported by network elements, described binary format code stream analyzing is obtained original count device value and deposits database in.
Preferably, this device also comprises:
Report memory cell, for before contrast properties desired value, according to the performance index value of NMS demand, call the source code file that calculates described performance index value; The performance index value calculating is reported to file transfer protocol (FTP) ftp server, so that NMS is from performance index value described in described FTP service acquisition.
Preferably, above-mentioned testing north-orientation performance index device is OMC.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, completely implement software example or the form in conjunction with the embodiment of software and hardware aspect.And the present invention can adopt the form at one or more upper computer programs of implementing of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) that wherein include computer usable program code.
The present invention is with reference to describing according to flow chart and/or the block diagram of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or 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, the instruction that makes to carry out by the processor of computer or other programmable data processing device produces the device for realizing the function of specifying at flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame on computer or other programmable devices.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain the basic creative concept of cicada, can make other change and amendment to these embodiment.So claims are intended to be interpreted as comprising preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if these amendments of the present invention and within modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (6)

1. a testing north-orientation performance index method, is characterized in that, comprising:
Performance index value and network management center NMS that contrast north orientation module reports resolve the performance index value obtaining to the performance index that report, the performance index value that described north orientation module reports, the source code file that is used for reading from database original count device value substitution formula calculation of performance indicators value by execution obtains;
Determine that performance index value that described north orientation module reports and NMS resolve the performance index value obtaining when inconsistent, recalculate performance index value according to the backup file of described source code file; The backup file of described source code file and described source code file is the file of different coding form; Described source code file is bottom document, and the backup file of described source code file is the file of the expansion XML of identifiable language form;
Using recalculating the performance index value obtaining as testing standard, determine the test result of described performance index value.
2. the method for claim 1, is characterized in that, before contrast properties desired value, further comprises:
The binary format code stream that receives reported by network elements, obtains original count device value and deposits database in described binary format code stream analyzing.
3. the method for claim 1, is characterized in that, before contrast properties desired value, further comprises:
According to the performance index value of NMS demand, call the source code file that calculates described performance index value;
The performance index value calculating is reported to file transfer protocol (FTP) ftp server, so that NMS obtains described performance index value from described ftp server.
4. a testing north-orientation performance index device, is characterized in that, comprising:
Contrast test unit, the performance index that report are resolved to the performance index value obtaining for contrasting performance index value and the network management center NMS that north orientation module reports, the performance index value that described north orientation module reports, the source code file that is used for reading from database original count device value substitution formula calculation of performance indicators value by execution obtains;
Recalculate unit, for determining that the performance index value that reports of described north orientation module and NMS resolve the performance index value obtaining when inconsistent, recalculate performance index value according to the backup file of described source code file; The source code file that described contrast test unit uses with described in recalculate the backup file of source code file that unit uses, be the file of different coding form; The source code file that described contrast test unit uses is bottom document, described in recalculate the source code file that unit uses backup file be the file of the expansion XML of identifiable language form;
Test result determining unit, for using recalculating the performance index value obtaining as testing standard, determines the test result of described performance index value.
5. device as claimed in claim 4, is characterized in that, also comprises:
Resolve memory cell, for before contrast properties desired value, receive the binary format code stream of reported by network elements, described binary format code stream analyzing is obtained original count device value and deposits database in.
6. device as claimed in claim 4, is characterized in that, also comprises:
Report memory cell, for before contrast properties desired value, according to the performance index value of NMS demand, call the source code file that calculates described performance index value; The performance index value calculating is reported to file transfer protocol (FTP) ftp server, so that NMS obtains described performance index value from described ftp server.
CN201110421911.8A 2011-12-15 2011-12-15 Method and device for testing north-orientation performance index Active CN102420724B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110421911.8A CN102420724B (en) 2011-12-15 2011-12-15 Method and device for testing north-orientation performance index

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110421911.8A CN102420724B (en) 2011-12-15 2011-12-15 Method and device for testing north-orientation performance index

Publications (2)

Publication Number Publication Date
CN102420724A CN102420724A (en) 2012-04-18
CN102420724B true CN102420724B (en) 2014-07-23

Family

ID=45944971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110421911.8A Active CN102420724B (en) 2011-12-15 2011-12-15 Method and device for testing north-orientation performance index

Country Status (1)

Country Link
CN (1) CN102420724B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103052098B (en) * 2012-11-21 2015-08-19 大唐移动通信设备有限公司 A kind of method of north orientation performance test and device
CN105636097B (en) * 2014-10-30 2019-03-05 中国移动通信集团设计院有限公司 A kind of method and device verifying network performance statistics
CN110019351A (en) * 2017-09-05 2019-07-16 中国移动通信有限公司研究院 A kind of data detection method, device and computer readable storage medium
CN112988719B (en) * 2019-12-02 2023-04-04 金色熊猫有限公司 Data quality detection method and device, readable medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345654A (en) * 2008-08-30 2009-01-14 华为技术有限公司 Index computing method and apparatus
CN101888318A (en) * 2010-06-30 2010-11-17 中兴通讯股份有限公司 System and method for testing performance index of communication system
CN102075964A (en) * 2009-11-24 2011-05-25 大唐移动通信设备有限公司 Method and equipment for acquiring performance data by using network management system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060004856A1 (en) * 2004-06-15 2006-01-05 Xiangyang Shen Data management and persistence frameworks for network management application development

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345654A (en) * 2008-08-30 2009-01-14 华为技术有限公司 Index computing method and apparatus
CN102075964A (en) * 2009-11-24 2011-05-25 大唐移动通信设备有限公司 Method and equipment for acquiring performance data by using network management system
CN101888318A (en) * 2010-06-30 2010-11-17 中兴通讯股份有限公司 System and method for testing performance index of communication system

Also Published As

Publication number Publication date
CN102420724A (en) 2012-04-18

Similar Documents

Publication Publication Date Title
WO2017041406A1 (en) Failure positioning method and device
CN111459794A (en) Communication network testing method, device, computer equipment and storage medium
CN102420724B (en) Method and device for testing north-orientation performance index
CN109067938B (en) Method and device for testing DNS (Domain name Server)
CN111711192B (en) Real-time line loss analysis method and system for lean management of line loss of support station area
CN103746840B (en) Method and system for automatic checking of software version information of network equipment
CN111181800B (en) Test data processing method and device, electronic equipment and storage medium
CN109933535A (en) Generation method, device and the server of test case
CN108595390B (en) Method for verifying parameter consistency of SCD and IED of intelligent substation
CN104978262A (en) Terminal test method and terminal test device
CN106557419B (en) Program testing method and device
US9084131B2 (en) Data cut-over method and apparatus
CN104717670A (en) Business quality testing method, device and system
CN112910086B (en) Intelligent substation data verification method and system
CN108038127B (en) Data synchronization method, device, terminal equipment and storage medium
CN105117334A (en) XML-based test requirement description and implementation method thereof
CN109698813A (en) A kind of intelligent meter data recording system and method
CN105636097A (en) Method and device for verifying network performance statistic data
CN106941690B (en) Data quality determination method and device
CN117033212A (en) Method for automatically generating interface test case and test case generating device
CN116527553A (en) Processing method, system and storage medium for automatic test report of switch
CN112860562B (en) Automatic test method and device
CN113452533B (en) Charging self-inspection and self-healing method and device, computer equipment and storage medium
CN104517082A (en) Power data collection device and method
CN108632102B (en) Signaling processing method and 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