CN104125013A - Passive optical network performance data collecting device and passive optical network performance data processing method - Google Patents

Passive optical network performance data collecting device and passive optical network performance data processing method Download PDF

Info

Publication number
CN104125013A
CN104125013A CN201410398453.4A CN201410398453A CN104125013A CN 104125013 A CN104125013 A CN 104125013A CN 201410398453 A CN201410398453 A CN 201410398453A CN 104125013 A CN104125013 A CN 104125013A
Authority
CN
China
Prior art keywords
performance
time
real
performance data
alarm
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410398453.4A
Other languages
Chinese (zh)
Other versions
CN104125013B (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201410398453.4A priority Critical patent/CN104125013B/en
Publication of CN104125013A publication Critical patent/CN104125013A/en
Application granted granted Critical
Publication of CN104125013B publication Critical patent/CN104125013B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a passive optical network performance data collecting device and a passive optical network performance data processing method. The method comprises that, firstly, a timer units periodically transmits timing messages to a performance module; secondly, the performance module decides whether data passes through a performance dump unit to a data collecting unit according to that the current moment is a performance dumping moment; thirdly, the real-time rate of the performance data is obtained through a performance data processing unit; finally, by comparing the real-time rate of the performance data with a threshold value, whether to issue alarm can be determined. According to the passive optical network performance data collecting and the passive optical network performance data processing method, data collection and processing operations can be completed in the background; the passive optical network performance data collecting device obtains good expansibility and can expand the performance data without adding new tasks; the passive optical network performance data processing method can obtain the real-time performance and the historic performance of a device at any time after a performance collecting task is started.

Description

EPON performance data collection device and processing method
Technical field
The present invention relates to Optical Access Network field, be specifically related to EPON performance data collection device and processing method.
Background technology
In recent years, along with the contour band width service of video request program, online game and IPTV (IPTV) occurs, user constantly increases the demand of access bandwidth.Optical fiber access technology taking Ethernet passive optical network (EPON) and gigabit passive optical network (GPON) as representative, adopt point-to-multipoint structure, Optical Distribution Network (ODN) wherein is all made up of passive device, each optical network unit (ONU) is shared the optical fiber between optical line terminal (OLT) and optical branching device, and this passive network has that cost is low, bandwidth is high, autgmentability is strong, simple feature is safeguarded in operation management.
But along with user of access network scale constantly expands, the workload of the management maintenance of network also progressively rises, the performance index that webmaster keeper is concerned about are also just more and more.At present, obtaining more multisystem performance index adopts following methods to realize conventionally: constantly increase equipment acquisition tasks, facilities for observation port flow and relevant alarm.Like this, related data while going wrong in order to obtain network, just needs the prior opening performance of network manager to gather switch, but because fault is generally difficult to anticipation, therefore before fault is arrived, if the related data when not opening performance switch and just cannot obtaining network and go wrong.
Summary of the invention
Technical problem to be solved by this invention is before fault is arrived, if do not open performance switch and cannot obtain in time the problem of the related data of EPON.
In order to solve the problems of the technologies described above, the technical solution adopted in the present invention is to provide a kind of EPON performance data collection device and processing method, making data acquisition and processing (DAP) be operated in OLT/ONU backstage completes, and this data acquisition unit has good autgmentability, scalability data in new task situation can not added; This data processing method, after performance collection task start, is obtained real-time performance and the historical performance of this equipment at any time.
The object of the present invention is achieved like this:
EPON performance data processing method comprises the following steps:
Step S201, configuration timer units, and periodically send timed message to performance module;
Step S202, performance module are received after the timed message that timer units sends, whether can be divided exactly by the performance collection cycle according to minute part of current system time, judge whether the current system time is performance dump moment point, if it is perform step S203, otherwise execution step S204;
Step S203, performance module transfer the real-time performance data of current time window accumulative total to History Performance Data, and History Performance Data is kept to performance dump unit, then again add up real-time performance data, and perform step S204;
Step S204, data acquisition unit gather properties data according to collection period, and perform step S205;
Step S205, performance data processing unit obtain performance difference according to the statistics of twice before and after every performance data, and the performance difference accumulative total at every turn obtaining is added in real-time performance data, then divided by collection period, obtain the real time rate of this performance data;
Step S206, performance alarm report unit that above-mentioned real time rate and setting threshold are compared, if real time rate exceedes setting threshold, performance alarm reports unit report and alarm; Otherwise not report and alarm.
In above-mentioned EPON performance data processing method, the Abort Timer that described timer units uses operating system to provide.
In above-mentioned EPON performance data processing method, the fixed time interval that described timer units sends timed message is 1s.
In above-mentioned EPON performance data processing method, described History Performance Data is saved in described performance dump unit by the queue mode of FIFO.
In above-mentioned EPON performance data processing method, step S202 specifically comprises the following steps:
Step S2021, performance module receive after the timed message from timer units, obtain the current system time;
If minute part of step S2022 current system time can be divided exactly by performance collection T cycle time, perform step S2023, otherwise execution step S2024;
Step S2023, judge whether performance collection flag is 0, if performance collection flag is 0, execution step S2027, otherwise execution step S2025;
Step S2024, judge the current system time the collected cycle T of minute part except whether rear remainder is T-1, if remainder is T-1, perform step S2026; Otherwise execution step S2025;
Step S2025, performance collection flag add 1, execution step S2028;
Step S2026, performance collection flag are clear 0, execution step S2028;
Step S2027, enter performance dump unit and process respective performances data in current collection period T;
Step S2028, performance dump moment point are judged end.
In above-mentioned EPON performance data processing method, described performance data processing unit carries out frame count calculating, byte count calculates and change type data are calculated;
Described frame count calculates and specifically comprises the following steps:
Step S8101, performance data processing unit receive this count value F from certain frame count performance item of data acquisition unit, and perform step S8102;
Step S8102, judge this frame count performance item last time count value F` and real-time performance count value Fa whether be 0 simultaneously, if be 0 simultaneously, perform step S8103; Otherwise execution step S8104;
Step S8103, this count value F is assigned to count value F` and real-time performance count value Fa last time, and performs step S8108;
Step S8104, calculate this count value F and last time count value F` difference DELTA F, and this count value F is assigned to count value F` last time, then perform step S8105;
Step S8105, renewal current time window aggregate-value Fw, Fw=Δ F+Fw`, wherein Fw` is time window aggregate-value last time, then performs step S8106;
Step S8106, renewal real-time performance count value Fa, Fa=Δ F+Fa`, wherein Fa` is former performance count value, then performs step S8107;
Step S8107, calculate real-time frame speed Fs, Fs=Δ F/T, wherein T is collection period, then performs step S8108;
Step S8108, frame count calculate and finish;
Described byte count is calculated and is specifically comprised the following steps:
Step S8201, performance data processing unit receive this count value B from certain byte count performance item of data acquisition unit, and perform step S8202;
Step S8202, judge whether the Mean Speed BSa of real-time performance time window is 0, if 0, perform step S8203; Otherwise, calculating time window starting time acquisition time Td till now, Td=Fw/BSa, then performs step S8203;
Step S8203, judge this performance item last time count value B ' and real-time performance count value Ba whether be 0 simultaneously, if be 0 simultaneously, make B '=Ba=B, real time rate Bs is set to 0 simultaneously, then perform step S8209; Otherwise, calculate this count value B and last time count value B ' difference DELTA B, and make B '=B, then perform step S8204;
Step S8204, judge whether to open one deck performance data statistical simulation function, if opened, perform step S8205; Otherwise the frame period of ethernet frame and the shared byte number of lead code sum Δ D are set to 0, then perform step S8205;
Step S8205, calculate Δ D, Δ D=Δ F × FD, wherein FD is frame gap and the number of preamble bytes FD that every frame needs, and then performs step S8206;
Step S8206, renewal real-time performance time window aggregate-value Bw, Bw=Bw`+ Δ B+ Δ D, wherein Bw` is former real-time performance time window aggregate-value, then performs step S8207;
Step S8207, renewal real-time performance count value Ba, Ba=Ba`+ Δ B+ Δ D, wherein Ba` is former real-time performance count value, then performs step S8208;
Step S8208, calculate byte real time rate Bs, Bs=(Δ B+ Δ D)/T, execution step S8209;
Step S8209, judge whether the Mean Speed BSa of current real-time performance time window is 0, if 0, BSa=Bs, execution step S8210; Otherwise calculate the Mean Speed BSa of current real-time performance time window, BSa=Bw/ (Td+T), then row step S8210;
Step S8210, judge the maximum B of this count value B maxwhether be 0, if 0, make B max=Bs, and perform step S8211; Otherwise, directly perform step S8211;
Step S8211, judge whether byte real time rate Bs is greater than B maxif, be greater than, make B max=Bs, and perform step S8212; Otherwise, directly perform step S8212;
Step S8212, judge the minimum value B of this count value B minwhether be 0, if 0, B min=Bs, and perform step S8213; Otherwise, directly perform step S8213;
Step S8213, judge whether byte real time rate Bs is less than B minif be less than, B min=Bs, and perform step S8214; Otherwise directly perform step S8214;
Step S8214, byte count are calculated and are finished;
Described change type data are calculated and are specifically comprised the following steps:
Step S8301, performance data processing unit receive the numerical value A from data acquisition unit, and perform step S8302;
Step S8302, judge the mean value A of numerical value A avgwhether be 0, if 0, perform step S8303; Otherwise execution step S8304;
Step S8303, make the mean value A of numerical value A avgequal A, then perform step S8304;
Step S8304, calculate the mean value of this numerical value performance item that is A when counting in, then perform step S8305;
Step S8305, judge the maximum A of numerical value A maxwhether be 0, if 0, perform step S8306; Otherwise execution step S8307;
Step S8306, make A max=A, and perform step S8307;
Step S8307, judge whether numerical value A is greater than A maxif, A>A max, perform step S8308; Otherwise execution step S8309;
Step S8308, make A max=A, and perform step S8309;
Step S8309, judge the minimum value A of numerical value A minwhether be 0, if 0, perform step S8310; Otherwise execution step S8311;
Step S8310, make A min=A, and perform step S8311;
Step S8311, judge whether numerical value A is less than A minif, A<A min, perform step S8312; Otherwise execution step S8313;
Step S8312, make A min=A, and perform step S8313;
Step S8313, change type data correlation computations finish.
In above-mentioned EPON performance data processing method, described step S206 specifically comprises the following steps:
Step S2062, judge whether this performance item opens alarm report switch, if opened, perform step S2063; Otherwise execution step S2064;
Step S2063, judge that whether the rate value of this performance item is less than its removing thresholding, if be less than, performs step S2064; Otherwise, execution step S2066;
Step S2064, judge now whether alarm identifier position is that alarm produces, and produces if alarm identifier position is alarm, performs step S2065; Otherwise execution step S20610;
Step S2065, report and alarm disappear, and alarm identifier position is that alarm disappears, and then performs step S20610;
Step S2066, judge whether the rate value of this performance item is more than or equal to its thresholding that reports, and reports thresholding if be more than or equal to, and performs step S2067; Otherwise execution step S20610;
Step S2067, judge that now whether alarm identifier position is that alarm disappears, and if so, performs step step S2068; Otherwise execution step S20610;
Step S2068, report and alarm produce, and alarm identifier position is that alarm produces, and then performs step S2069;
Step S2069, generation alarm;
The workflow of step S20610, end alarm report unit.
EPON performance data collection device comprises:
Timer units periodically sends timed message;
Performance module comprises performance dump unit and data acquisition unit, described performance module receives after described timed message, according to the comparison between current time in system and performance collection cycle, judge whether that the performance data that described data acquisition unit is collected dumps to described performance dump unit;
Performance data processing unit obtains performance difference according to twice statistics before and after each performance data, is accumulated to real-time performance data, then divided by collection period, obtains the real time rate of this performance data;
Performance alarm reports unit according to the comparative result of described real time rate and setting threshold, carries out operation accordingly, if real time rate exceeds setting threshold, reports performance alarm, otherwise does not report performance alarm.
Data acquisition unit provided by the invention comprises that timer units, performance module, performance data processing unit and performance alarm report unit, and this design makes this device have good autgmentability, can not add scalability data in new task situation.
First data processing method provided by the invention periodically sends timed message to performance module by timer units; Whether performance module, according to be performance dump moment point this moment, selects data whether to arrive data acquisition unit through performance dump unit; Obtain again the real time rate of this performance data through performance data processing unit; Finally performance alarm report unit by with the comparison of threshold value, whether determine report and alarm; This design makes the method make data acquisition and processing (DAP) be operated in OLT/ONU backstage to complete, and this data processing method of this data acquisition unit is after performance collection task start, obtains at any time real-time performance and the historical performance of this equipment.
Brief description of the drawings
Fig. 1 is EPON performance data processing method flow chart provided by the invention;
Fig. 2 is the schematic diagram that performance dump unit of the present invention adopts fifo queue mode save data;
Fig. 3 is the particular flow sheet that performance dump moment point of the present invention is judged;
Fig. 4 is that performance data processing unit of the present invention is processed schematic diagram to different types of data;
Fig. 5 is that performance data processing unit frame count of the present invention calculates particular flow sheet;
Fig. 6 is that performance data processing unit byte count of the present invention is calculated particular flow sheet;
Fig. 7 is that performance data processing unit change type data of the present invention are calculated particular flow sheet;
Fig. 8 is the workflow of alarm report unit in the present invention;
Fig. 9 is EPON performance data collection apparatus structure schematic diagram provided by the invention.
Embodiment
Below in conjunction with Figure of description, the present invention is described in detail.
As shown in Figure 1, EPON performance data processing method provided by the invention comprises the following steps:
Step S201, the Abort Timer configuration timer units that uses operating system to provide, periodically send timed message to performance module, and the fixed time interval that sends timed message is 1s;
Step S202, performance module are received after the timed message that timer units sends, whether can be divided exactly by the performance collection cycle according to minute part of current system time, judge whether the current system time is performance dump moment point, if it is perform step S203, otherwise execution step S204;
Step S203, performance module transfer the real-time performance data of current time window (in current collection period) accumulative total to History Performance Data, and adopt the queue mode of FIFO that History Performance Data is kept to performance dump unit (as shown in Figure 2), then again add up real-time performance data, and perform step S204;
Step S204, data acquisition unit gather properties data according to collection period, and perform step S205;
Step S205, performance data processing unit obtain performance difference according to the statistics of twice before and after every performance data, and the performance difference accumulative total at every turn obtaining is added in real-time performance data, then divided by collection period, obtain the real time rate of this performance data;
Step S206, performance alarm report unit that above-mentioned real time rate and setting threshold are compared, if real time rate exceedes setting threshold, performance alarm reports unit report and alarm; Otherwise not report and alarm.
In above-mentioned EPON performance data processing method, as shown in Figure 3, the performance collection time of the present embodiment is 15 minutes to step S202 idiographic flow, and this flow process comprises the following steps:
Step S2021, performance module receive after the timed message from timer units, obtain the current system time;
If minute part of step S2022 current system time can be divided exactly by performance collection cycle time 15, perform step S2023, otherwise execution step S2024;
Step S2023, judge whether performance collection flag is 0, if performance collection flag is 0, execution step S2027, otherwise execution step S2025;
Step S2024, judge the collected cycle 15 of minute part of current system time except rear remainder whether be 14, if remainder is 14, execution step S2026; Otherwise execution step S2025;
Step S2025, performance collection flag add 1, execution step S2028;
Step S2026, performance collection flag are clear 0, execution step S2028;
Step S2027, enter performance dump unit and process the respective performances data in current collection period 15 minutes;
Step S2028, performance dump moment point are judged end.
Performance dump unit in performance module is historical performance by the real-time performance dump of current time window.Taking 15 minutes performance collections as example, require to arrange 16 time windows according to telecommunications test specification.The performance data of a time window has comprised the performance data in performance collection beginning and ending time and this period.Time window initial time is the integral point time, and be the front 1s of next integral point time deadline, and for example 2012-9-3016:00:00 is to 2012-9-3016:14:59.Performance dump unit is used the queue mode of FIFO, as shown in Figure 2, if queue less than, real-time performance is copied to the position of queue index 1, from present 15 nearest minutes window historical performances, all the other 15 minutes window historical performance index values in queue add 1 successively.If queue is full, needing first to delete in queue is the historical performance of index 16 positions from present 15 minutes windows farthest.After deadline window unloading, need, in the real-time performance of the data accumulation to 24 of the real-time performance of 15 minutes hour, to be added to the integral point (2012-9-3100:00:00) of every day simultaneously always, this moment can be carried out the dump of 24 hours performances.
Data acquisition unit in performance module is responsible for obtaining corresponding performance number, but needs to ensure that the time delay of obtaining data is less than the acquisition interval time, and the acquisition interval time can configure, and is defaulted as 10S.After data acquisition completes, directly performance number is passed to performance data processing unit without any processing.
As shown in Figure 4, in EPON performance data processing method, performance data processing unit carries out frame count calculating, byte count calculates and change type data are calculated.
Wherein: frame count calculates idiographic flow as shown in Figure 5, comprises the following steps:
Step S8101, performance data processing unit receive this count value F from certain frame count performance item of data acquisition unit, and perform step S8102;
Step S8102, judge this performance item last time count value F` and real-time performance count value Fa whether be 0 simultaneously, if be 0 simultaneously, perform step S8103; Otherwise execution step S8104;
Step S8103, this count value F is assigned to count value F` and real-time performance count value Fa last time, and performs step S8108;
The difference DELTA F of step S8104, calculating count value F` last time and this count value F, this difference DELTA F can also be used for calculating other performance item, and this count value F is assigned to count value F` last time, then performs step S8105;
Step S8105, renewal current time window aggregate-value Fw, Fw=Fw+ Δ F, and perform step S8106;
Step S8106, renewal real-time performance count value Fa, Fa=Fa+ Δ F, and perform step S8107;
Step S8107, by Δ F divided by collection period T, calculate real-time frame speed Fs;
Step S8108, frame count calculate and finish.
Byte count is calculated idiographic flow as shown in Figure 6, comprises the following steps:
Step S8201, performance data processing unit receive this count value B from certain byte count performance item of data acquisition unit, and perform step S8202;
Step S8202, judge whether the Mean Speed BSa of real-time performance time window is 0, if 0, perform step S8203; Otherwise, calculate time window starting time acquisition time Td till now, Td=Fw/BSa, wherein, Fw is the accumulative total of counting real-time performance time window by associated frame, then performs step S8203;
Step S8203, judge this performance item last time count value B ' and real-time performance count value Ba whether be 0 simultaneously, if be 0 simultaneously, this count value B is assigned to count value B ' and real-time performance count value Ba last time, real time rate Bs is set to 0 simultaneously, and performs step S8208; Otherwise, calculate this count value B and last time count value B ' difference DELTA B, and this count value B is assigned to count value B ' last time, then perform step S8204;
Step S8204, judge whether to open one deck performance data statistical simulation function, if opened, perform step S8205; Otherwise the frame period of ethernet frame and the shared byte number of lead code sum Δ D are set to 0, then perform step S8205;
The byte number sum Δ D that step S8205, the frame period that calculates ethernet frame and lead code are shared, Δ D=Δ F × FD, wherein, Δ F obtains during frame count calculates, and FD is frame gap and the number of preamble bytes that every frame needs, and then performs step S8206;
Step S8206, renewal real-time performance time window aggregate-value Bw, Bw=Bw+ Δ B+ Δ D, and perform step S8207;
Step S8207, renewal real-time performance count value Ba, Ba=Ba+ Δ B+ Δ D, and perform step S8208;
Step S8208, calculate byte real time rate Bs, Bs=(Δ B+ Δ D)/T, wherein, T is collection period, and performs step S8209;
Step S8209, judge whether the Mean Speed BSa of real-time performance time window is 0, if 0, the Mean Speed BSa of real-time performance time window equals real-time byte-rate Bs, then performs step S8210; Otherwise calculate the Mean Speed BSa of current real-time performance time window, BSa=Bw/ (Td+T), wherein, acquisition time Td and collection period T are added, obtain the current acquisition time of time window, Bw is real-time performance time window aggregate-value, then row step S8210;
Step S8210, judge the maximum B of B maxwhether be 0, if 0, make B maxequal Bs, and perform step S8211; Otherwise, directly perform step S8211;
Step S8211, judge whether byte real time rate Bs is greater than B maxif, be greater than, make B maxequal Bs, and perform step S8212; Otherwise, directly perform step S8212;
Step S8212, judge the minimum value B of B minwhether be 0, if 0, B minequal Bs, and perform step S8213; Otherwise, directly perform step S8213;
Step S8213, judge whether byte real time rate Bs is less than B minif be less than, B minequal Bs, and perform step S8214; Otherwise directly perform step S8214;
Step S8214, byte count are calculated and are finished.
Change type data are calculated idiographic flow as shown in Figure 7, comprise the following steps:
Step S8301, performance data processing unit receive the numerical value A from data acquisition unit, and perform step S8302;
Step S8302, judge A avgwhether be 0, if 0, perform step S8303; Otherwise execution step S8304;
Step S8303, make A avgequal A, then perform step S8304;
Step S8304, calculate the mean value of this numerical value performance item that is A when counting in, then perform step S8305;
If the counts in real-time performance time window is C, C initial condition is 0, and every counting once increases by 1, and C+1 represents the calculation times by the end of so far so, is A by the end of the total amount of this real-time performance counting on so far avg× C+A, the mean value of the performance item that when this is counted, numerical value is A is (A avg× C+A)/(C+1);
Step S8305, judge the maximum A of A maxwhether be 0, if 0, perform step S8306; Otherwise execution step S8307;
Step S8306, make A maxequal A, and perform step S8307;
Step S8307, judge whether A is greater than A maxif A is greater than A max, perform step S8308; Otherwise execution step S8309;
Step S8308, make A maxequal A, and perform step S8309;
Step S8309, judge the minimum value A of A minwhether be 0, if 0, perform step S8310; Otherwise execution step S8311;
Step S8310, make A minequal A, and perform step S8311;
Step S8311, judge whether A is less than A minif A is less than A min, perform step S8312; Otherwise execution step S8313;
Step S8312, make A minequal A, and perform step S8313;
Step S8313, change type data correlation computations finish.
In above-mentioned EPON performance data processing method, as shown in Figure 8, this flow process comprises the following steps step S206 idiographic flow:
Step S2061, performance alarm report unit receive from the rate value of a certain performance of performance data processing unit with and the reporting thresholding and remove thresholding of speed Threshold Crossing Alert thresholding;
Step S2062, judge whether this performance item opens alarm report switch, if opened, perform step S2063; Otherwise execution step S2064;
Step S2063, judge that whether the rate value of this performance item is less than its removing thresholding, if be less than, performs step S2064; Otherwise, execution step S2066;
Step S2064, judge now whether alarm identifier position is that alarm produces, and produces if alarm identifier position is alarm, performs step S2065; Otherwise execution step S20610;
Step S2065, report and alarm disappear, and alarm identifier position is that alarm disappears, and then performs step S20610;
Step S2066, judge whether the rate value of this performance item is more than or equal to its thresholding that reports, and reports thresholding if be more than or equal to, and performs step S2067; Otherwise execution step S20610;
Step S2067, judge that now whether alarm identifier position is that alarm disappears, and if so, performs step step S2068; Otherwise execution step S20610;
Step S2068, report and alarm produce, and alarm identifier position is that alarm produces, and then performs step S2069;
Step S2069, generation alarm;
The workflow of step S20610, end alarm report unit.
As shown in Figure 9, the present invention also provides a kind of EPON performance data collection device, comprises that timer units 1, performance module 2, performance data processing unit 3 and performance alarm report unit 4.
Timer units 1 periodically sends timed message;
Performance module 2 comprises performance dump unit 5 and data acquisition unit 6, performance module 2 receives after described timed message, according to the comparison between current time in system and performance collection cycle, judge whether that the performance data that data acquisition unit 6 is collected dumps to performance dump unit 5;
Performance data processing unit 3 obtains performance difference according to twice statistics before and after each performance data, is accumulated to real-time performance data, then divided by collection period, obtains the real time rate of this performance data;
Performance alarm reports unit 4 according to the comparative result of described real time rate and setting threshold, carries out operation accordingly, if real time rate exceeds setting threshold, reports performance alarm, otherwise does not report performance alarm.
The present invention is not limited to above-mentioned preferred forms, and anyone should learn the structural change of making under enlightenment of the present invention, and every have identical or close technical scheme with the present invention, within all falling into protection scope of the present invention.

Claims (8)

1. EPON performance data processing method, is characterized in that, said method comprising the steps of:
Step S201, configuration timer units, and periodically send timed message to performance module;
Step S202, performance module are received after the timed message that timer units sends, whether can be divided exactly by the performance collection cycle according to minute part of current system time, judge whether the current system time is performance dump moment point, if it is perform step S203, otherwise execution step S204;
Step S203, performance module transfer the real-time performance data of current time window accumulative total to History Performance Data, and History Performance Data is kept to performance dump unit, then again add up real-time performance data, and perform step S204;
Step S204, data acquisition unit gather properties data according to collection period, and perform step S205;
Step S205, performance data processing unit obtain performance difference according to the statistics of twice before and after every performance data, and the performance difference accumulative total at every turn obtaining is added in real-time performance data, then divided by collection period, obtain the real time rate of this performance data;
Step S206, performance alarm report unit that above-mentioned real time rate and setting threshold are compared, if real time rate exceedes setting threshold, performance alarm reports unit report and alarm; Otherwise not report and alarm.
2. EPON performance data processing method according to claim 1, is characterized in that, the Abort Timer that described timer units uses operating system to provide.
3. EPON performance data processing method according to claim 1, is characterized in that, the fixed time interval that described timer units sends timed message is 1s.
4. EPON performance data processing method according to claim 1, is characterized in that, described History Performance Data is saved in described performance dump unit by the queue mode of FIFO.
5. EPON performance data processing method according to claim 1, is characterized in that, step S202 specifically comprises the following steps:
Step S2021, performance module receive after the timed message from timer units, obtain the current system time;
If minute part of step S2022 current system time can be divided exactly by performance collection T cycle time, perform step S2023, otherwise execution step S2024;
Step S2023, judge whether performance collection flag is 0, if performance collection flag is 0, execution step S2027, otherwise execution step S2025;
Step S2024, judge the current system time the collected cycle T of minute part except whether rear remainder is T-1, if remainder is T-1, perform step S2026; Otherwise execution step S2025;
Step S2025, performance collection flag add 1, execution step S2028;
Step S2026, performance collection flag are clear 0, execution step S2028;
Step S2027, enter performance dump unit and process respective performances data in current collection period T;
Step S2028, performance dump moment point are judged end.
6. EPON performance data processing method according to claim 1, is characterized in that, described performance data processing unit carries out frame count calculating, byte count calculates and change type data are calculated;
Described frame count calculates and specifically comprises the following steps:
Step S8101, performance data processing unit receive this count value F from certain frame count performance item of data acquisition unit, and perform step S8102;
Step S8102, judge this frame count performance item last time count value F` and real-time performance count value Fa whether be 0 simultaneously, if be 0 simultaneously, perform step S8103; Otherwise execution step S8104;
Step S8103, this count value F is assigned to count value F` and real-time performance count value Fa last time, and performs step S8108;
Step S8104, calculate this count value F and last time count value F` difference DELTA F, and this count value F is assigned to count value F` last time, then perform step S8105;
Step S8105, renewal current time window aggregate-value Fw, Fw=Δ F+Fw`, wherein Fw` is time window aggregate-value last time, then performs step S8106;
Step S8106, renewal real-time performance count value Fa, Fa=Δ F+Fa`, wherein Fa` is former performance count value, then performs step S8107;
Step S8107, calculate real-time frame speed Fs, Fs=Δ F/T, wherein T is collection period, then performs step S8108;
Step S8108, frame count calculate and finish;
Described byte count is calculated and is specifically comprised the following steps:
Step S8201, performance data processing unit receive this count value B from certain byte count performance item of data acquisition unit, and perform step S8202;
Step S8202, judge whether the Mean Speed BSa of real-time performance time window is 0, if 0, perform step S8203; Otherwise, calculating time window starting time acquisition time Td till now, Td=Fw/BSa, then performs step S8203;
Step S8203, judge this performance item last time count value B ' and real-time performance count value Ba whether be 0 simultaneously, if be 0 simultaneously, make B '=Ba=B, real time rate Bs is set to 0 simultaneously, then perform step S8209; Otherwise, calculate this count value B and last time count value B ' difference DELTA B, and make B '=B, then perform step S8204;
Step S8204, judge whether to open one deck performance data statistical simulation function, if opened, perform step S8205; Otherwise the frame period of ethernet frame and the shared byte number of lead code sum Δ D are set to 0, then perform step S8205;
Step S8205, calculate Δ D, Δ D=Δ F × FD, wherein FD is frame gap and the number of preamble bytes FD that every frame needs, and then performs step S8206;
Step S8206, renewal real-time performance time window aggregate-value Bw, Bw=Bw`+ Δ B+ Δ D, wherein Bw` is former real-time performance time window aggregate-value, then performs step S8207;
Step S8207, renewal real-time performance count value Ba, Ba=Ba`+ Δ B+ Δ D, wherein Ba` is former real-time performance count value, then performs step S8208;
Step S8208, calculate byte real time rate Bs, Bs=(Δ B+ Δ D)/T, execution step S8209;
Step S8209, judge whether the Mean Speed BSa of current real-time performance time window is 0, if 0, BSa=Bs, execution step S8210; Otherwise calculate the Mean Speed BSa of current real-time performance time window, BSa=Bw/ (Td+T), then row step S8210;
Step S8210, judge the maximum B of this count value B maxwhether be 0, if 0, make B max=Bs, and perform step S8211; Otherwise, directly perform step S8211;
Step S8211, judge whether byte real time rate Bs is greater than B maxif, be greater than, make B max=Bs, and perform step S8212; Otherwise, directly perform step S8212;
Step S8212, judge the minimum value B of this count value B minwhether be 0, if 0, Bmin=Bs, and perform step S8213; Otherwise, directly perform step S8213;
Step S8213, judge whether byte real time rate Bs is less than B minif be less than, B min=Bs, and perform step S8214; Otherwise directly perform step S8214;
Step S8214, byte count are calculated and are finished;
Described change type data are calculated and are specifically comprised the following steps:
Step S8301, performance data processing unit receive the numerical value A from data acquisition unit, and perform step S8302;
Step S8302, judge the mean value A of numerical value A avgwhether be 0, if 0, perform step S8303; Otherwise execution step S8304;
Step S8303, make the mean value A of numerical value A avgequal A, then perform step S8304;
Step S8304, calculate the mean value of this numerical value performance item that is A when counting in, then perform step S8305;
Step S8305, judge the maximum A of numerical value A maxwhether be 0, if 0, perform step S8306; Otherwise execution step S8307;
Step S8306, make A max=A, and perform step S8307;
Step S8307, judge whether numerical value A is greater than A maxif, A>A max, perform step S8308; Otherwise execution step S8309;
Step S8308, make A max=A, and perform step S8309;
Step S8309, judge the minimum value A of numerical value A minwhether be 0, if 0, perform step S8310; Otherwise execution step S8311;
Step S8310, make A min=A, and perform step S8311;
Step S8311, judge whether numerical value A is less than A minif, A<A min, perform step S8312; Otherwise execution step S8313;
Step S8312, make A min=A, and perform step S8313;
Step S8313, change type data correlation computations finish.
7. EPON performance data processing method according to claim 1, is characterized in that, described step S206 specifically comprises the following steps:
Step S2062, judge whether this performance item opens alarm report switch, if opened, perform step S2063; Otherwise execution step S2064;
Step S2063, judge that whether the rate value of this performance item is less than its removing thresholding, if be less than, performs step S2064; Otherwise, execution step S2066;
Step S2064, judge now whether alarm identifier position is that alarm produces, and produces if alarm identifier position is alarm, performs step S2065; Otherwise execution step S20610;
Step S2065, report and alarm disappear, and alarm identifier position is that alarm disappears, and then performs step S20610;
Step S2066, judge whether the rate value of this performance item is more than or equal to its thresholding that reports, and reports thresholding if be more than or equal to, and performs step S2067; Otherwise execution step S20610;
Step S2067, judge that now whether alarm identifier position is that alarm disappears, and if so, performs step step S2068; Otherwise execution step S20610;
Step S2068, report and alarm produce, and alarm identifier position is that alarm produces, and then performs step S2069;
Step S2069, generation alarm;
The workflow of step S20610, end alarm report unit.
8. EPON performance data collection device, is characterized in that, comprising:
Timer units periodically sends timed message;
Performance module comprises performance dump unit and data acquisition unit, described performance module receives after described timed message, according to the comparison between current time in system and performance collection cycle, judge whether that the performance data that described data acquisition unit is collected dumps to described performance dump unit;
Performance data processing unit obtains performance difference according to twice statistics before and after each performance data, is accumulated to real-time performance data, then divided by collection period, obtains the real time rate of this performance data;
Performance alarm reports unit according to the comparative result of described real time rate and setting threshold, carries out operation accordingly, if real time rate exceeds setting threshold, reports performance alarm, otherwise does not report performance alarm.
CN201410398453.4A 2014-08-13 2014-08-13 Passive optical network performance data collecting device and passive optical network performance data processing method Active CN104125013B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410398453.4A CN104125013B (en) 2014-08-13 2014-08-13 Passive optical network performance data collecting device and passive optical network performance data processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410398453.4A CN104125013B (en) 2014-08-13 2014-08-13 Passive optical network performance data collecting device and passive optical network performance data processing method

Publications (2)

Publication Number Publication Date
CN104125013A true CN104125013A (en) 2014-10-29
CN104125013B CN104125013B (en) 2017-02-22

Family

ID=51770289

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410398453.4A Active CN104125013B (en) 2014-08-13 2014-08-13 Passive optical network performance data collecting device and passive optical network performance data processing method

Country Status (1)

Country Link
CN (1) CN104125013B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639393A (en) * 2015-01-07 2015-05-20 烽火通信科技股份有限公司 Passive optical network flow whole-network acquisition device and passive optical network flow whole-network acquisition method
CN105610633A (en) * 2016-02-23 2016-05-25 烽火通信科技股份有限公司 Self-sampling system and method for real-time performance in communication equipment
WO2016192212A1 (en) * 2015-06-01 2016-12-08 中兴通讯股份有限公司 Method and apparatus for processing power down warning information of optical network unit onu
CN106506072A (en) * 2016-10-28 2017-03-15 瑞斯康达科技发展股份有限公司 A kind of collecting method and device
CN107846328A (en) * 2017-12-01 2018-03-27 上海市共进通信技术有限公司 Based on the network rate real-time statistical method concurrently without lock circle queue
WO2020114496A1 (en) * 2018-12-06 2020-06-11 华为技术有限公司 Data acquisition method and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1065827A1 (en) * 1999-06-29 2001-01-03 Lucent Technologies Inc. Method and apparatus for detecting service anomalies in transaction-oriented networks
CN1588895A (en) * 2004-07-23 2005-03-02 北京邮电大学 System for monitoring internet service quality and realizing method
CN1741460A (en) * 2004-08-23 2006-03-01 华为技术有限公司 Method and system for realizing telecommunication network universal performance management
CN101621400A (en) * 2008-06-30 2010-01-06 中兴通讯股份有限公司 History performance data collection method and performance data collecting system
CN101808007A (en) * 2010-02-22 2010-08-18 烽火通信科技股份有限公司 Method for acquiring real-time performance data by network manager

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1065827A1 (en) * 1999-06-29 2001-01-03 Lucent Technologies Inc. Method and apparatus for detecting service anomalies in transaction-oriented networks
CN1588895A (en) * 2004-07-23 2005-03-02 北京邮电大学 System for monitoring internet service quality and realizing method
CN1741460A (en) * 2004-08-23 2006-03-01 华为技术有限公司 Method and system for realizing telecommunication network universal performance management
CN101621400A (en) * 2008-06-30 2010-01-06 中兴通讯股份有限公司 History performance data collection method and performance data collecting system
CN101808007A (en) * 2010-02-22 2010-08-18 烽火通信科技股份有限公司 Method for acquiring real-time performance data by network manager

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639393A (en) * 2015-01-07 2015-05-20 烽火通信科技股份有限公司 Passive optical network flow whole-network acquisition device and passive optical network flow whole-network acquisition method
WO2016192212A1 (en) * 2015-06-01 2016-12-08 中兴通讯股份有限公司 Method and apparatus for processing power down warning information of optical network unit onu
CN105610633A (en) * 2016-02-23 2016-05-25 烽火通信科技股份有限公司 Self-sampling system and method for real-time performance in communication equipment
CN106506072A (en) * 2016-10-28 2017-03-15 瑞斯康达科技发展股份有限公司 A kind of collecting method and device
CN106506072B (en) * 2016-10-28 2019-06-07 瑞斯康达科技发展股份有限公司 A kind of collecting method and device
CN107846328A (en) * 2017-12-01 2018-03-27 上海市共进通信技术有限公司 Based on the network rate real-time statistical method concurrently without lock circle queue
CN107846328B (en) * 2017-12-01 2021-03-12 上海市共进通信技术有限公司 Network rate real-time statistical method based on concurrent lock-free ring queue
WO2020114496A1 (en) * 2018-12-06 2020-06-11 华为技术有限公司 Data acquisition method and related device
CN111294112A (en) * 2018-12-06 2020-06-16 华为技术有限公司 Data acquisition method and related equipment
CN111294112B (en) * 2018-12-06 2021-06-22 华为技术有限公司 Data acquisition method and related equipment
US11589141B2 (en) 2018-12-06 2023-02-21 Huawei Technologies Co., Ltd. Data collection method and related device

Also Published As

Publication number Publication date
CN104125013B (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN104125013A (en) Passive optical network performance data collecting device and passive optical network performance data processing method
CN106777603B (en) intelligent substation relay protection device service life prediction method
CN103220173B (en) A kind of alarm monitoring method and supervisory control system
CN101808351B (en) Method and system for business impact analysis
CN109005528A (en) A kind of bluetooth mesh gateway data polymerization report method
CN101056199B (en) An uplink burst performance monitoring method of point-to-multipoint access network, head device and access network system
CN102611564A (en) Method, system and network element for realizing performance alarm
WO2016188187A1 (en) Testing method and device for passive optical network alarm
CN106649140A (en) Data processing method, apparatus and system
CN110177031B (en) SDN network-based data monitoring control system and monitoring control method thereof
CN103856344A (en) Alarm event information processing method and device
CN111327477A (en) Substation area control protection method and system based on edge calculation
CN106199251B (en) A kind of distribution network failure early warning system and method based on adaptive modeling analysis
Nougnanke et al. Low-overhead near-real-time flow statistics collection in SDN
CN102013996B (en) Data acquisition management method and system and telecommunication network management system
CN116489019B (en) Intelligent visual signaling channel management method, system and medium
CN109831315B (en) Capacity expansion prediction method and device for network traffic
CN113676790B (en) Acquisition scheduling method and device for low-voltage centralized meter reading equipment, concentrator and medium
CN101635659B (en) Method and device for alarm jitter prevention
CN107995014B (en) Method and device for discovering function topology based on alarm information
CN104392315A (en) Power grid monitoring system based remote measuring off-limit alarm processing method
CN111044847B (en) Complex power distribution network fault tolerance online fault positioning method based on probability evaluation
CN103684821A (en) Method and device for processing alarm messages
CN111126277A (en) Power failure alarm signal identification method, device, terminal and storage medium
CN110856040A (en) Method and device for processing monitoring data in client

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