The performance statistics system and method for a kind of ONU unit
Technical field
The present invention relates to a kind of performance statistics technology, particularly relate to a kind of performance statistics system and method for the ONU unit that is applicable to frame-type OLT equipment.
Background technology
Performance statistics is to carry out performance monitoring for network, network element or equipment, to gather relevant performance statistic, and the validity of evaluating network and network element, the state of reporting facility.The object of performance statistics is network enabled planning and network analysis, thereby improves performance and the efficiency of network.In equipment running process, regularly report performance statistic to backstage, backstage draws various indexs after gathering, such as indexs such as the quality (call completing rate, cutting off rate) of network, load (number of users, flow), availabilities.Regular maintenance, examination and upgrade expanding decision-making that these indexs and user carry out are closely bound up.At present, most performance statistics scheme is all to configure each objects of statistics collection of statistical data according to performance statistics, then statistics is processed.
Passive optical-fiber network PON (Passive Optical Network) system comprises optical line terminal OLT (Optical Line Terminal) equipment and optical network unit ONU (Optical Network Unit).Wherein commonly rack OLT equipment of OLT comparison in equipment, comprises main control card and line card, has efficient bandwidth availability ratio and Ethernet service tenability, and Bang Zu operator ensures for user provides reliable quality of service.Wherein, main control card is the core control panel of whole equipment, and major function is system control and processes broadband services.Main control card is communicated by letter with line card, complete configuration, management and the control to equipment with this, realize the processing of ALM, performance information by inband NMS channel simultaneously, main control card is realized the management to each line card in OLT equipment by TCP/IP (Transmission Control Protocol/Internet Protocol) agreement, and any function that therefore needs each line card to realize has all needed main control card to control by Element management system or order line.
In order fully to ensure the service quality of network operation, be convenient to regular maintenance and the failure diagnosis of user to equipment, PON system supports the line card of OLT ONU unit to be carried out to the performance statistics of packet.Existing ONU unit performance statistics is to utilize line card and ONU unit to carry out alternately: the packet of performance statistics is reported to line card by ONU unit; Line card is responsible for safeguarding the configuration information of ONU unit, and according to the configuration information to ONU unit, the packet that it is reported filters.
But, in PON system, often can carry out hot plug to ONU unit.Once ONU unit is carried out to hot plug, just need to re-issue configuration information to ONU unit, then just can restart to carry out performance statistics.So for PON system, the performance statistics that ONU unit obtains is to carry out according to the process shown in Fig. 1:
Step 1 S11, ONU unit acquiescence is opened performance statistics;
Step 2 S12, line card detects the hot pluggable condition of ONU unit: if ONU unit is insertion state, jump to step 3 S13; If ONU unit is in extracting state, performance statistics finishes;
Step 3 S13, line card judges whether ONU unit authorizes: if jump to step 4 S14; If not, performance statistics finishes;
Step 4 S14, line card issues configuration information to ONU unit again;
Step 5 S15, line card is according to the configuration information of OUN unit, and the performance statistic that OUN unit is provided carries out filtration treatment;
Step 6 S16, carries out performance statistics processing to the statistics after filtering.
Be not difficult to find out that from the ONU unit performance statistic processes shown in Fig. 1 existing ONU unit performance accounting method has following shortcoming:
1) the performance management task of line card need to be safeguarded the configuration information of ONU unit, when ONU unit carries out, after hot plug, need to re-issuing the configuration information of performance statistics, comprise the statistic sampling cycle etc., increase the complexity of performance management, the treatable efficiency of reduction property.
2) all ONU unit is in the time reaching the standard grade mandate, and acquiescence all reports statistics, and therefore, the performance management task of line card need to be filtered statistics, has increased the work for the treatment of amount of statistics.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide the performance statistics system and method for a kind of ONU unit, be used for having solved prior art, when performance management is processed statistics, also to safeguard the configuration status of objects of statistics ONU unit, reduce the problem of performance statistics efficiency.
For achieving the above object and other relevant objects, the invention provides the performance statistics system of a kind of ONU unit, be applicable to frame-type OLT equipment, it is characterized in that, described performance statistics system comprises line card performance statistic module, ONU statistic switch module and ONU performance statistic module;
Described line card performance statistic module is for detection of described ONU unit, setting and store configuration information, the storage of described ONU unit and process the statistics that described ONU unit is uploaded;
Described ONU statistic switch module is used for judging whether described ONU performance statistic module carries out performance statistics;
Described ONU performance statistic module is for controlling the performance statistics of described ONU unit and uploading described statistics to described line card performance statistic module.
Preferably, described line card performance statistic module detects described ONU unit and comprises: detect the state of described ONU unit and judge whether described ONU unit authorizes.
Preferably, the state of described ONU unit comprises insertion and extracts.
Preferably, described configuration information comprises the sampling period.
Preferably, described ONU statistic switch module is initially set to and closes.
The performance accounting method that the invention also discloses a kind of ONU unit, specifically comprises:
Step 1, line card performance statistic module detects the state of described ONU unit: if described ONU unit is in the time inserting state, jump to step 2; If described ONU unit is in the time extracting state, ONU statistic switch module is set to close, and jumps to step 4;
Step 2, described line card performance statistic module judges whether described ONU unit authorizes: if authorized, jump to step 3; If with no authorized, described ONU statistic switch module is set to close, and jumps to step 4;
Step 3, described line card performance statistic module arranges the configuration information of described ONU unit, and described ONU statistic switch module is set to open;
Step 4, detects described ONU statistic switch module: if described ONU statistic switch module is opened, jump to step 5; If described ONU statistic switch module is closed, ONU performance statistic module does not carry out performance statistics;
Step 5, described ONU performance statistic module carries out performance statistics, and reports statistics;
Step 6, carries out performance statistics processing to all described statistics reporting.
Preferably, in described step 1, the described insertion state of described ONU unit and described in extract state and also comprise ONU unit described in warm swap.
Preferably, described ONU statistic switch module is initially set to and closes.
Preferably, in described step 3, the described configuration information that described line card performance statistic module arranges described ONU unit comprises judging in described line card performance statistic module, whether to prestore described configuration information: if had, the described configuration information that described line card performance statistic module issues preservation is to described ONU unit; If no, described line card performance statistic module directly carries out performance statistics setting to described ONU unit.
Preferably, when described line card performance statistic module directly carries out performance statistics setting to described ONU unit, also the information of setting is given to dynamical save as described configuration information.
As mentioned above, the performance statistics system and method for a kind of ONU of the present invention unit, has following beneficial effect:
1) configuration information of the performance statistics of ONU unit when line card performance statistic module substep issues hot plug, allows performance management only pay close attention to user's configuration and statistics, has improved the efficiency of performance statistics;
2) line card performance statistic module, in the time issuing the configuration information of performance statistics, is issued to ONU performance statistic module by the information of ONU statistic switch module simultaneously, only allows user configured collection point report image data, has reduced the data of statistical disposition.
Brief description of the drawings
Fig. 1 is shown as the schematic flow sheet of the performance accounting method of ONU of the prior art unit.
Fig. 2 is shown as the structural representation of the performance statistics system of ONU of the present invention unit.
Fig. 3 is shown as the schematic flow sheet of the performance accounting method of ONU of the present invention unit.
Element numbers explanation
S11~S16 step
The performance statistics system of 2 ONU unit
21 line card performance statistic modules
22 ONU statistic switch modules
23 ONU performance statistic modules
S31~S36 step
Embodiment
Below, by specific instantiation explanation embodiments of the present invention, those skilled in the art can understand other advantages of the present invention and effect easily by the disclosed content of this specification.The present invention can also be implemented or be applied by other different embodiment, and the every details in this specification also can be based on different viewpoints and application, carries out various modifications or change not deviating under spirit of the present invention.It should be noted that, in the situation that not conflicting, the feature in following examples and embodiment can combine mutually.
It should be noted that, the diagram providing in following examples only illustrates basic conception of the present invention in a schematic way, satisfy and only show with assembly relevant in the present invention in graphic but not component count, shape and size drafting while implementing according to reality, when its actual enforcement, kenel, quantity and the ratio of each assembly can be a kind of random change, and its assembly layout kenel also may be more complicated.
The invention provides a kind of performance statistics system and method for the ONU unit that is applicable to frame-type OLT equipment, it utilizes the configuration information of the performance statistics of the line card dynamic memory ONU unit of frame-type OLT equipment, and in ONU unit, has increased an ONU statistic switch module.Like this, in the time that ONU unit carries out hot plug, can directly issue configuration information to ONU unit by line card, also ONU statistic switch module is arranged simultaneously.In the time that ONU unit is carried out to performance statistics, according to switching or the closed condition of ONU statistic switch module, optionally upload the statistics of ONU unit, performance management only carries out performance statistics to the statistics of uploading.By like this, accurately control the statistics reporting, greatly reduce the statistics that need to carry out performance statistics, also just effectively raise the efficiency of performance statistics, also reduce the complexity of performance management.
The performance statistics system 2 of a kind of ONU of the present invention unit specifically as shown in Figure 2, comprises ONU statistic switch module 22 and ONU performance statistic module 23 in line card performance statistic module 21 and the ONU unit in line card.Wherein,
Line card performance statistic module 21 is mainly for detection of the plug state of ONU unit; Detect ONU unit and whether authorize, arrange and store the configuration information of ONU unit performance statistics; Store and process the statistics of uploading.And the configuration information that ONU unit performance statistics is set adopts two kinds of methods: 1), if line card performance statistic module 21 does not store the configuration information that ONU unit is corresponding, line card performance statistic module 21 directly carries out performance statistics setting to ONU unit; 2) line card performance statistic module 21 stores the configuration information that ONU unit is corresponding, directly issues this configuration information to ONU unit.
ONU statistic switch module 22 is for judging whether ONU performance statistic module uploads the statistics of ONU unit self: if ONU unit switch module 22 in open, ONU performance statistic module reports statistics; If ONU unit switch module 22 is in closing, ONU performance statistic module does not carry out performance statistics.
ONU performance statistic module 23 is for controlling the performance statistics of ONU unit, and reports statistics to line card performance statistic module 21 according to ONU statistic switch module 22.
The invention also discloses the performance accounting method of a kind of ONU unit, wherein, need to carry out initialization setting for ONU unit, be set to closed condition by ONU statistic switch module 22.Performance accounting method of the present invention specifically as shown in Figure 3, comprising:
Step 1 S31, line card performance statistic module 21 detects the state of ONU unit, and ONU unit is divided into insertion and extracts two states:
If ONU unit, in the time inserting state, jumps to step 2 S32;
If ONU statistic switch module 22 in the time extracting state, is closed in ONU unit, and jump to step 4 S34;
In the present invention, the insertion of ONU unit and extract can be under powering-off state plug, also can, for frame-type OLT equipment, in charged situation, carry out hot plug to ONU unit.
Step 2 S32, line card performance statistic module 21 judges whether ONU unit authorizes:
If authorize, jump to step 3 33;
If with no authorized, is set to ONU statistic switch module 22 to close, and jumps to step 4 34.
Step 3 S33, line card performance statistic module 21 arranges the configuration information of ONU unit and opens ONU statistic switch module 22:
Wherein, line card performance statistic module 21 issues and will detect in line card performance statistic module 21, whether to store this ONU unit configuration information before configuration information:
If there is no the configuration information of storage, be that ONU unit is to use first on this frame-type OLT equipment, this ONU unit was not carried out to the configuration of any performance statistics before, so, line card performance statistic module 21 need to require directly this ONU unit to be carried out to performance statistics setting according to concrete performance statistics, and, in issuing configuration information, this configuration information is stored on line card performance statistic module 21, and in order fully and effectively to utilize the memory space of line card, so line card performance statistic module 21 adopts dynamic memory to the configuration information of ONU unit,
If there is the configuration information of storage on line card performance statistic module 21: plug has appearred in ONU unit, re-start configuration to this ONU unit, so line card performance statistic module 21 re-issues the configuration information of this ONU unit of storage to ONU unit;
Step 4 S34, the state of detection ONU statistic switch module 22:
If ONU statistic switch module 22, in opening, jumps to step 5 35;
If ONU statistic switch module 22 is in closed condition, ONU performance statistic module 23 does not carry out performance statistics, does not report the statistics of self;
Step 5 S35, ONU performance statistic module 23 carries out performance statistics, and reports the statistics of self;
Step 6 S36, due to more than one of ONU unit, so line card performance statistic module 21, in the time carrying out performance statistics processing, is that all statisticss that multiple ONU performance statistic modules are reported are carried out performance statistics processing together.
In sum, the performance statistics system and method for ONU of the present invention unit, while jointly use for ONU unit and frame-type OLT equipment, there is the situation of hot plug, ONU performance statistic module and ONU statistic switch module in ONU unit, are increased, and the configuration information that the performance statistics of line card performance statistic module to ONU unit is set on the line card of frame-type OLT equipment carries out dynamic memory, make ONU unit after hot plug, not need ONU unit to re-start the configuration information setting of performance statistics, and only need to issue the configuration information of storage, performance management does not just need the performance statistics configuration status to paying close attention to ONU unit like this, reduce the complexity of performance management, and in the time carrying out performance statistics, the ONU unit of only opening for ONU statistic switch module carries out the performance statistics of statistics, has greatly reduced like this data of statistical disposition, has increased the efficiency of performance statistics.So the present invention has effectively overcome various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all can, under spirit of the present invention and category, modify or change above-described embodiment.Therefore, such as in affiliated technical field, have and conventionally know that the knowledgeable, not departing from all equivalence modifications that complete under disclosed spirit and technological thought or changing, must be contained by claim of the present invention.