CN106506072A - A kind of collecting method and device - Google Patents

A kind of collecting method and device Download PDF

Info

Publication number
CN106506072A
CN106506072A CN201610971892.9A CN201610971892A CN106506072A CN 106506072 A CN106506072 A CN 106506072A CN 201610971892 A CN201610971892 A CN 201610971892A CN 106506072 A CN106506072 A CN 106506072A
Authority
CN
China
Prior art keywords
olt
pon
target
target olt
performance data
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
CN201610971892.9A
Other languages
Chinese (zh)
Other versions
CN106506072B (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.)
Raisecom Technology Co Ltd
Original Assignee
Raisecom Technology 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 Raisecom Technology Co Ltd filed Critical Raisecom Technology Co Ltd
Priority to CN201610971892.9A priority Critical patent/CN106506072B/en
Publication of CN106506072A publication Critical patent/CN106506072A/en
Application granted granted Critical
Publication of CN106506072B publication Critical patent/CN106506072B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/077Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using a supervisory or additional signal
    • H04B10/0775Performance monitoring and measurement of transmission parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • H04Q2011/0083Testing; Monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The embodiment of the present invention provides a kind of collecting method and device.Collecting method provided in an embodiment of the present invention includes:NM server obtains the acquisition capacity of each target light line terminal OLT in passive optical network PON, wherein, the maximum PON port numbers of the acquisition capacity of the target OLT sending performance data that are this target OLT within the acquisition time cycle;Acquisition capacity of the NM server according to each target OLT, carries out packet collection to the performance data of the optical network unit ONU that the PON ports of each target OLT connect.When the embodiment of the present invention is solved by the way of the performance data for being gathered ONU in the existing PON, due to NM server it is difficult to be acquired to the performance data of the ONU of whole PON ports connections of OLT by snmp protocol within the shorter acquisition time cycle, and the problem for causing effectively to be monitored the performance indications of ONU in PON.

Description

A kind of collecting method and device
Technical field
The application relate to, but are not limited to EPON (Passive Optical System, referred to as:PON) technology neck Domain, espespecially a kind of collecting method and device.
Background technology
With the development of various broadband access technologys, PON technology is so that capacity is big, transmission range length, cost are relatively low, full-service The advantages such as support have progressively become a kind of popular access technology, in access network is solved in terms of " last one kilometer " problem more Come more attractive, PON technology have been widely used for intelligent acess (Fiber To The X, referred to as:FTTX in).
In PON, topmost three part includes:It is located at optical line terminal (the Optical Line of local side Terminal, referred to as:OLT), be located at terminal optical network unit (Optical Network Unit, referred to as:ONU), with And connection OLT and ONU optical distribution (Optical Distribution Network, referred to as:ODN), ONU is used as OLT Distal end, the NM server of whole PON (for example includes to the configuration of ONU, acquisition of information:Port flow, bandwidth usage Rate, packet loss etc.) all carry out data acquisition in remote management mode to ONU by OLT to realize.Use as FTTX is accessed The continuous expansion of family scale, an OLT connection management ONU end mouth, the i.e. quantity of PON ports may be very big, for example, an OLT Under be connected to 10000 PON ports, even more many so that the maintenance work amoun of PON also gradually rises, especially right In some Very Important Person, to paying much attention to the problems such as PON congestion, packet loss, delay, accordingly, it would be desirable to NM server can It is effectively realized the performance monitoring to each ONU in PON.However, in the prior art, with the ONU quantity connected under OLT Be continuously increased, NM server be difficult within the shorter acquisition time cycle pass through simple NMP (Simple Network Management Protocol, referred to as:SNMP) to the ONU's of the whole PON ports connection of OLT Performance data is acquired, correspondingly, it is difficult to realize the performance indications monitoring to ONU in PON.
In sum, in existing PON gather ONU performance data mode, due to NM server it is difficult to compared with The performance data of the ONU of whole PON ports connections of OLT is acquired by snmp protocol in the short acquisition time cycle, And the problem for causing effectively to be monitored the performance indications of ONU.
Content of the invention
In order to solve above-mentioned technical problem, a kind of collecting method and device is embodiments provided, to solve When being gathered in the existing PON by the way of the performance data of ONU, due to NM server it is difficult in shorter acquisition time The performance data of the ONU that whole PON ports of OLT connect is acquired by snmp protocol in cycle, and causes to have The problem that effect ground is monitored to the performance indications of ONU in PON.
The embodiment of the present invention provides a kind of collecting method, including:
NM server obtains the acquisition capacity of each target light line terminal OLT in passive optical network PON;Wherein, institute The maximum PON port numbers of the acquisition capacity for the stating target OLT sending performance data that are this target OLT within the acquisition time cycle;
Acquisition capacity of the NM server according to each target OLT, the PON ends to each target OLT The performance data of the optical network unit ONU of mouth connection carries out packet collection.
Alternatively, in collecting method as above, PON of the NM server to each target OLT The performance data of the optical network unit ONU of port connection carries out packet collection, including:
The NM server determines each described acquisition time according to the parallel task number that the NM server is supported The quantity of target OLT to be collected in cycle, and according to the acquisition capacity of target OLT by the PON ports in this target OLT It is grouped in one or more acquisition time cycles;
The NM server within each described acquisition time cycle, to the PON being grouped in this acquisition time cycle The performance data of the ONU of port connection is acquired.
Alternatively, in collecting method as above, PON of the NM server to each target OLT The performance data of the ONU of port connection carries out packet collection, including:
The NM server answers the acquisition capacity of table and target OLT according to collection relation pair, when each gathers Between the parallel performance data to the ONU that the PON ports in N number of target OLT in presence connect in the cycle be acquired, The parallel acquisition number of tasks that the N is supported less than or equal to the NM server, the collection relation pair answer table to include:Described PON port numbers in each target OLT and target OLT in presence, and with the acquisition capacity of target OLT Corresponding relation;
The NM server judges to execute collection in this acquisition time cycle in the acquisition time end cycle Whether N number of target OLT completes the collection of performance data;
The NM server is in the collection for judging to have n1 target OLT to complete performance data, and n2 target OLT During the collection of unfinished performance data, within the next acquisition time cycle in this acquisition time cycle, closed according to the collection It is the parallel PON to being in presence in n1 target OLT not gathered of the acquisition capacity of correspondingly table and target OLT The ONU of the PON ports connection not gathered in target OLT of ONU and the n2 unfinished performance data collection of port connection Performance data be acquired;Wherein, n1 is N with n2 sums.
Alternatively, in collecting method as above, the NM server obtains each in passive optical network PON The acquisition capacity of target light line terminal OLT, including:
The NM server is set up socket with each target OLT described and is connected;
The NM server connects the performance data for receiving that each target OLT described sends by the socket;
The NM server judges the complete performance data that each target OLT described was sent within the acquisition time cycle Maximum PON port numbers, the acquisition capacity that the maximum PON port numbers are defined as this target OLT.
Alternatively, in collecting method as above, the NM server obtains each in passive optical network PON The acquisition capacity of target light line terminal OLT, including:
The NM server is set up socket with each target OLT described and is connected;
The NM server is connected to presetting in presence in each target OLT described by the socket The PON ports of quantity carry out the collection of performance data;
Whether the NM server judges to collect within the acquisition time cycle presets in each target OLT described The complete performance data of the PON ports of quantity;
When the NM server judges to exist first object OLT, increase PON to be collected in the first object OLT After the quantity of port, performance data collection is carried out to the PON ports in the first object OLT again, until judge can not Collect the first object OLT complete performance data when, the last time is collected the complete performance of the first object OLT Acquisition capacity of the quantity of the PON ports of data as the first object OLT;The first object OLT is taken for the webmaster Business device collects target OLT of the complete performance data of the PON ports of predetermined number;
When the NM server judges to exist the second target OLT, PON to be collected in second target OLT is reduced After the quantity of port, performance data collection is carried out to the PON ports in second target OLT again, until judging to gather To second target OLT complete performance data when, currently collected the complete performance data of second target OLT Acquisition capacity of the quantity of PON ports as second target OLT;Second target OLT be the NM server not Collect target OLT of the complete performance data of the PON ports of predetermined number.
Alternatively, in collecting method as above, methods described also includes:
The NM server obtains the quantity of the PON ports of each target OLT connection described in the PON.
Alternatively, in collecting method as above, the NM server obtains every described in the PON The quantity of the PON ports of individual target OLT connection, including:
The NM server is set up socket with each target OLT described and is connected;
The NM server connects this target OLT companies for receiving that each target OLT described sends by the socket The quantity of the PON ports for connecing.
The embodiment of the present invention also provides a kind of collecting method, including:
Target light line terminal OLT sends the performance data of this target OLT to NM server so that the network manager service Device obtains the acquisition capacity of target OLT the passive optical network PON port according to the acquisition capacity to target OLT It is grouped, the maximum of the acquisition capacity of the target OLT sending performance data that are this target OLT within the acquisition time cycle PON port numbers;
Target OLT sends the PON ports connection of this target OLT according to the packet to the NM server The performance data of optical network unit ONU.
Alternatively, in collecting method as above, the PON ports of target OLT are grouped by described being grouped into To in one or more acquisition time cycles;Target OLT sends this target according to the packet to the NM server The performance data of the optical network unit ONU of the PON ports connection of OLT, including:
Target OLT is sent to the NM server within each described acquisition time cycle according to the packet This target OLT is grouped into the performance data of the ONU of the connection of the PON ports in this acquisition time cycle.
Alternatively, in collecting method as above, methods described also includes:
Target OLT sends the quantity of the PON ports of this target OLT connections to the NM server so that described NM server obtains the quantity of the PON ports of each target OLT connection described in the PON.
The embodiment of the present invention provides a kind of data acquisition unit, is arranged in the NM server of passive optical network PON, institute Stating device includes:
Acquisition module, for obtaining the acquisition capacity of each target light line terminal OLT in PON;Wherein, the target The maximum PON port numbers of the acquisition capacity of the OLT sending performance data that are this target OLT within the acquisition time cycle;
Acquisition module, for the acquisition capacity of each target OLT according to acquisition module acquisition, to described every The performance data of the optical network unit ONU of the PON ports connection of individual target OLT carries out packet collection.
Alternatively, in data acquisition unit as above, the acquisition module includes:
Grouped element, the parallel task number for being supported according to the NM server determine each described acquisition time week The quantity of target OLT to be collected in phase, and the PON ports in this target OLT are divided according to the acquisition capacity of target OLT Group is in one or more acquisition time cycles;
First collecting unit, for, within each described acquisition time cycle, being grouped into this collection to the grouped element The performance data of the ONU of the PON ports connection in the time cycle is acquired.
Alternatively, in data acquisition unit as above, the acquisition module includes:
Second collecting unit, for answering the acquisition capacity of table and target OLT according to collection relation pair, in each collection In time cycle, the parallel performance data to the ONU that the PON ports in N number of target OLT in presence connect is adopted Collection, the N answer table to include less than or equal to the parallel acquisition number of tasks that the NM server is supported, the collection relation pair: PON port numbers in each target OLT described and target OLT in presence, and the collection energy with target OLT The corresponding relation of power;
First judging unit, adopts in the acquisition time end cycle, judging to execute in this acquisition time cycle Whether N number of target OLT of collection completes the collection of performance data;
Second collecting unit, is additionally operable to judge there is n1 target OLT completing property in first judging unit Can data collection, and n2 target OLT do not complete performance data collection when, next in this acquisition time cycle gathers In time cycle, answer according to the collection relation pair that the acquisition capacity of table and target OLT is parallel not to be gathered to n1 ONU and target OLT of the n2 unfinished performance data collection that PON ports in target OLT in presence connect In the performance data of ONU of PON ports connection that do not gather be acquired;Wherein, n1 is N with n2 sums.
Alternatively, in data acquisition unit as above, the acquisition module includes:
First connection establishment unit, is connected for setting up socket with each target OLT described;
First receiving unit, the socket connection for being set up by first connection establishment unit receive described The performance data that each target OLT sends;
Determining unit, for judge first receiving unit receive described in each target OLT acquisition time week The maximum PON port numbers are defined as this target OLT by the maximum PON port numbers of the complete performance data sent in the phase Acquisition capacity.
Alternatively, in data acquisition unit as above, the acquisition module includes:
Second connection establishment unit, is connected for setting up socket with each target OLT described;
3rd collecting unit, the socket for being set up by second connection establishment unit are connected to described every The PON ports of the predetermined number in individual target OLT in presence carry out the collection of performance data;
Second judging unit, for judging whether the 3rd collecting unit collects institute within the acquisition time cycle State the complete performance data of the PON ports of predetermined number in each target OLT;
Processing unit, for when second judging unit judges to exist first object OLT, increasing by first mesh In mark OLT after the quantity of PON ports to be collected, indicate the 3rd collecting unit again to the PON in the first object OLT Port carries out performance data collection, until second judging unit is judged to collect the complete of the first object OLT During whole performance data, the last time is collected the quantity of the PON ports of the complete performance data of the first object OLT as institute State the acquisition capacity of first object OLT;The first object OLT is the PON ends that the NM server collects predetermined number Target OLT of the complete performance data of mouth;
The processing unit, is additionally operable to, when second judging unit judges to exist the second target OLT, reduce described In second target OLT after the quantity of PON ports to be collected, indicate the 3rd collecting unit again to second target OLT In PON ports carry out performance data collection, until second judging unit is judged to collect second target OLT During complete performance data, the quantity of PON ports of the complete performance data of second target OLT is currently collected as institute State the acquisition capacity of the second target OLT;Second target OLT is the PON that the NM server does not collect predetermined number Target OLT of the complete performance data of port.
Alternatively, in data acquisition unit as above,
The acquisition module, is additionally operable to the number for obtaining the PON ports of each target OLT connection described in the PON Amount.
Alternatively, in data acquisition unit as above, the acquisition module includes:
3rd connection establishment unit, is connected for setting up socket with each target OLT described;
Second receiving unit, the socket connection for being set up by the 3rd connection establishment unit receive described The quantity of the PON ports of this target OLT connections that each target OLT sends.
The embodiment of the present invention also provides a kind of data acquisition unit, is arranged at the target light circuit end of passive optical network PON In the OLT of end, described device includes:
First sending module, for sending the performance data of target OLT to NM server so that the webmaster clothes Business device obtains the acquisition capacity of target OLT and the PON ports of target OLT is carried out point according to the acquisition capacity Group, the maximum PON ports of the acquisition capacity of the target OLT sending performance data that are this target OLT within the acquisition time cycle Quantity;
Second sending module, for according to the packet, to the PON ports that the NM server sends this target OLT The performance data of the optical network unit ONU of connection.
Alternatively, in data acquisition unit as above, the PON ports of target OLT are grouped by described being grouped into To in one or more acquisition time cycles;Second sending module is sent to the NM server according to the packet The performance data of the optical network unit ONU of the PON ports connection of this target OLT, including:
According to the packet, within each described acquisition time cycle, this target OLT point is sent to the NM server The performance data of the ONU of PON port connection of the group Dao this acquisition time cycle within.
Alternatively, in data acquisition unit as above, first sending module is additionally operable to the network manager service Device sends the quantity of the PON ports of the target OLT connection so that the NM server is obtained described in the PON The quantity of the PON ports of each target OLT connection.
Collecting method provided in an embodiment of the present invention and device, obtain each in PON by NM server The acquisition capacity of target OLT, and the acquisition capacity according to each target OLT, the ONU connected by the PON ports of each target OLT Performance data carry out packet collection;As the acquisition capacity of target OLT is this target OLT transmission property within the acquisition time cycle The maximum PON port numbers of energy data understand, during packet collection, can be taken with the acquisition capacity of target OLT as webmaster The maximum PON port numbers that business device was acquired to target OLT within each acquisition time cycle, by by PON Target OLT under the PON ports that connect be grouped in the different acquisition time cycles collection for carrying out performance data, so as to realize The performance data of in PON multiple ONUs is collected to effect;The embodiment of the present invention is provided collecting method and is gathered by packet Mode, when solving by the way of the performance data for gathering ONU in the existing PON, due to NM server it is difficult to The performance data of the ONU of whole PON ports connections of OLT is adopted by snmp protocol in the shorter acquisition time cycle Collection, and the problem for causing effectively to be monitored the performance indications of ONU.
Description of the drawings
Accompanying drawing is used for providing further understanding technical solution of the present invention, and constitutes a part for specification, with this The embodiment of application for explaining technical scheme, does not constitute the restriction to technical solution of the present invention together.
Fig. 1 is a kind of flow chart of collecting method provided in an embodiment of the present invention;
Fig. 2 is a kind of system architecture schematic diagram in PON;
Fig. 3 is the flow chart of another kind of collecting method provided in an embodiment of the present invention;
Fig. 4 is the flow chart of another collecting method provided in an embodiment of the present invention;
Fig. 5 is the collection that a kind of NM server obtains target OLT in collecting method provided in an embodiment of the present invention The Signalling exchange flow chart of ability;
Fig. 6 is the flow chart of another collecting method provided in an embodiment of the present invention;
Fig. 7 is also a kind of flow chart of collecting method provided in an embodiment of the present invention;
Fig. 8 is the resource that a kind of NM server obtains PON in collecting method provided in an embodiment of the present invention The Signalling exchange flow chart of data message;
Fig. 9 is also a kind of flow chart of collecting method provided in an embodiment of the present invention;
Figure 10 is a kind of structural representation of data acquisition unit provided in an embodiment of the present invention;
Figure 11 is the structural representation of another kind of data acquisition unit provided in an embodiment of the present invention;
Figure 12 is the structural representation of another data acquisition unit provided in an embodiment of the present invention;
Figure 13 is the structural representation of another data acquisition unit provided in an embodiment of the present invention;
Figure 14 is also a kind of structural representation of data acquisition unit provided in an embodiment of the present invention;
Figure 15 is also a kind of structural representation of data acquisition unit provided in an embodiment of the present invention.
Specific embodiment
For making the object, technical solutions and advantages of the present invention become more apparent, below in conjunction with accompanying drawing to the present invention Embodiment be described in detail.It should be noted that in the case where not conflicting, in the embodiment and embodiment in the application Feature mutually can be combined.
Can be in the such as computer system of one group of computer executable instructions the step of the flow process of accompanying drawing is illustrated Execute.And, although show logical order in flow charts, but in some cases, can be suitable be different from herein Sequence executes shown or described step.
Technical scheme is described in detail below by specific embodiment, following embodiment of the invention In ONU can be the terminal being directly connected to OLT, or the terminal being connected with OLT by optical splitter.The present invention is carried Can be combined with each other for following specific embodiment, for same or analogous concept or process may be in some embodiments Repeat no more.
Fig. 1 is a kind of flow chart of collecting method provided in an embodiment of the present invention.The data that the present embodiment is provided are adopted In the case of carry out data acquisition PON, the method can be executed diversity method by data acquisition unit, the number Generally realize in the way of hardware and software combines according to harvester, the device can be integrated in the process of NM server In device, use is called for processor.As shown in figure 1, the method for the present embodiment can include:
S110, NM server obtain the acquisition capacity of each target OLT in PON, and the acquisition capacity of target OLT is The maximum PON port numbers of this target OLT sending performance data within the acquisition time cycle.
Collecting method provided in an embodiment of the present invention, there is provided a kind of to PON in multiple ONU performance data The mode being acquired.As shown in Fig. 2 a kind of system architecture schematic diagram in for PON, NM server management controls many Individual OLT, the quantity of the OLT being connected with each OLT under multiple ONU, NM server connect the quantity of PON ports under each OLT, And the quantity of the ONU of each PON ports connection is very more;Therefore, the performance data to ONU is executed in PON Acquisition tasks, cause easily occur network congestion, packet loss and delay etc. in gatherer process as the data volume of ONU is very huge Problem.
In embodiments of the present invention, NM server can first obtain the acquisition capacity of each target OLT in PON, Target OLT described in the embodiment of the present invention is referred to:NM server determines the ONU for needing the PON ports to those OLT to connect The OLT of performance data collection is carried out, can be the fixed all or part of OLT in PON of NM server.Separately Outward, the acquisition capacity of target OLT is referred to:The maximum PON port numbers of this target OLT sending performance data within the acquisition time cycle Amount, due to connecting how several PON ports under target OLT, each PON port may be connected with multiple ONU by optical splitter, therefore, The performance data of all PON ports for being difficult within the acquisition time cycle to collect target OLT, can pass through to obtain target The acquisition capacity of OLT knows the maximum PON port numbers of target OLT sending performance data within the acquisition time cycle.
It should be noted that least unit of the embodiment of the present invention with PON ports as sending performance data, you can to gather Performance data to certain PON port refers to, can collect all ONU's in presence of PON ports connection Performance data.
S120, acquisition capacity of the NM server according to each target OLT connect to the PON ports of each target OLT The performance data of ONU carries out packet collection.
In embodiments of the present invention, NM server can be right according to the acquisition capacity of each target OLT in PON The performance data of the ONU of the PON ports connection of each target OLT carries out packet collection, and implementation can be:For example, as it is known that 100 PON ports are connected with certain target OLT, and the acquisition capacity of target OLT is 30 PON ports, then network manager service Device during collection, within each acquisition time cycle, by 30 connected under most multipair target OLT of packet mode The performance data of the ONU of PON ports connection is acquired;Again for example, as it is known that being connected with 20 PON ports under certain target OLT, And the acquisition capacity of target OLT is 30 PON ports, as acquisition capacity is more than PON port numbers, then NM server exists In the acquisition time cycle, the performance data of the ONU of the 20 PON ports connections connected under target OLT can be acquired.? That is, NM server is less than or equal to target OLT with the PON port numbers gathered within each acquisition time cycle Acquisition capacity is grouped for standard, and the performance data of the ONU that the PON ports of target OLT connect is acquired.
In prior art, NM server was connected to whole PON ports of OLT by snmp protocol within the acquisition time cycle The mode that the performance data of the ONU for connecing is acquired, in the case that in PON webmasters, FTTX accessing users scale constantly expands, It is difficult to ensure that in completing to whole PONs within the shorter acquisition time cycle whole ONU acquisition tasks, so as to meeting Cause to be effectively realized the problem for monitoring the performance indications such as ONU end mouth flow, bandwidth availability ratio.Compared to prior art The mode of the performance data of middle collection ONU, acquisition capacity of the embodiment of the present invention by each target OLT of acquisition, and with collection Ability as packet standard, by packet mode, within an acquisition time cycle to target OLT in part PON ports connect The performance data of the ONU for connecing is acquired, as such, it is possible to the performance data of a large amount of ONU is grouped into the different acquisition time cycle Inside it is acquired, so as to avoid while the problems such as gathering the performance data of all ONU and cause network congestion, packet loss and postpone.
The collecting method that the present embodiment is provided, obtains each target OLT in PON by NM server and adopts Collection ability, and the acquisition capacity according to each target OLT, the performance data to the ONU of the PON ports connection of each target OLT Carry out packet collection;Due to the acquisition capacity of the target OLT sending performance data that are this target OLT within the acquisition time cycle most Big PON port numbers understand, during packet collection, can be NM server at each with the acquisition capacity of target OLT Maximum PON port numbers target OLT being acquired in the acquisition time cycle, by by under target OLT in PON PON ports even are grouped in the different acquisition time cycles collection for carrying out performance data, so as to realize effectively collecting The performance data of multiple ONU in PON;The present embodiment provides collecting method by way of packet is gathered, and solves When being gathered in the existing PON by the way of the performance data of ONU, due to NM server it is difficult in shorter acquisition time The performance data of the ONU that whole PON ports of OLT connect is acquired by snmp protocol in cycle, and causes to have The problem that effect ground is monitored to the performance indications of ONU.
Alternatively, in embodiments of the present invention, the implementation of above-mentioned S120 can include:NM server is according to webmaster The parallel task number that server is supported determines the quantity of target OLT to be collected in each acquisition time cycle, and according to target The acquisition capacity of OLT is grouped into the PON ports in this target OLT in one or more acquisition time cycles;NM server Within the acquisition time cycle, the performance data of the ONU of the PON ports connection being grouped in this acquisition time cycle is adopted Collection.
Alternatively, in embodiments of the present invention, as the formula that NM server calculates the bandwidth availability ratio of port is:Certain Bandwidth availability ratio of the Single port within the acquisition time cycle=in the acquisition time cycle to two sampling flows of same port it Difference/port nominal bandwidth, therefore, needs to carry out double collection to each PON port within the acquisition time cycle, in order to count Calculate the bandwidth availability ratio of the PON ports;The implementation is acquired by the performance data of ONU i.e. in the embodiment of the present invention can Think:NM server within each acquisition time cycle, to the complete of each target OLT for being grouped in this acquisition time cycle The performance data of the ONU of portion or the connection of part PON ports carries out double collection.The embodiment of the present invention is in the acquisition time cycle On the basis of interior double collecting performance data, it is known that PON port flows, PON ports can be also calculated in acquisition time week Bandwidth availability ratio in phase, so as to be monitored to the performance indications of ONU.
Alternatively, Fig. 3 is the flow chart of another kind of collecting method provided in an embodiment of the present invention.In above-mentioned Fig. 1 institutes On the basis of showing collecting method, the S120 in the present embodiment can include:
S121, NM server answer the acquisition capacity of table and target OLT according to collection relation pair, in each acquisition time week In phase, the parallel performance data to the ONU that the PON ports in N number of target OLT in presence connect is acquired, and N is little In or equal to NM server support parallel acquisition number of tasks, collection relation pair answer table to include:Each target OLT and this target PON port numbers in OLT in presence, and the corresponding relation with the acquisition capacity of this target OLT;
S122, NM server judge to execute the N number of of collection in this acquisition time cycle in acquisition time end cycle Whether target OLT completes the collection of performance data;
S123, NM server is in the collection for judging to have n1 target OLT to complete performance data, and n2 target When OLT does not complete the collection of performance data, within the next acquisition time cycle in this acquisition time cycle, according to collection relation The acquisition capacity of corresponding table and target OLT is parallel to be connected to the PON ports in n1 target OLT not gathered in presence The performance data of the ONU of the PON ports connection not gathered in target OLT of the ONU for connecing and n2 unfinished performance data collection It is acquired;Wherein, n1 is N with n2 sums.
In the present embodiment, NM server can be ranked up mark to target OLT in whole PON, and build Found the PON port numbers in presence in each target OLT and this target OLT, and each target OLT and this target The corresponding relation of the acquisition capacity of OLT, that is, set up above-mentioned collection relation pair and answer table.Subsequently, NM server is in acquisition performance number According to when, can identify according to the sequence of OLT, select top n target OLT within the current acquisition time cycle, parallel is N number of to this The performance data of the ONU that the PON ports in target OLT in presence connect is acquired;In actual applications, for this For N number of target OLT, within the current acquisition time cycle, the maximum PON port numbers only according to its acquisition capacity determine and will adopt Collect the PON ports of performance data, and execution performance data acquisition, performance data collection herein can equally be:Double Gather the ONU performance datas of selected PON ports connection and cached.When arriving in the next acquisition time cycle, net Pipe server was judged within the current acquisition time cycle, during in N number of target OLT, whether each target OLT is completed to this target OLT The collection of the performance data of the ONU that the PON ports in presence connect;If completing the collection to certain target OLT, Sequence mark order according to target OLT to next target OLT sending performance acquisition tasks, will target OLT PON ends Mouth is put in current concurrent tasks as the object of performance data collection, if not completing the collection to certain OLT, from collection Relation pair is answered, and to target OLT in Not gathering the ONU that PON ports (less than or equal to maximum PON port datas) connect carries out performance data collection, if remaining Acquisition capacity of the PON port numbers less than target OLT is not gathered, then it is right remaining PON ports to be sampled as performance data As carrying out performance data collection;For example, NM server judges have n1 target OLT to complete adopting for performance data Collection, n2 target OLT do not complete the collection of performance data, and wherein, n1 and n2 sums can be 0, now, webmaster for N, n1 or n2 The parallel ONU connected by the PON ports in n1 target OLT not gathered in presence and n2 is individual unfinished for server The performance data of the ONU of the PON ports connection not gathered in target OLT of performance data collection is acquired, also, to n1 Target OLT and when being acquired to target OLT of n2 unfinished performance data collections, according to collection relation pair answer table according to The maximum PON port numbers of each target OLT are acquired.
It should be noted that:In above-mentioned acquisition step, due to being in presence in NM server known target OLT PON port numbers, and completed gather PON port numbers, therefore can know whether to complete to each target OLT In the performance data of all PON ports whether gather and complete.Above-mentioned S121~S123 is repeated, until completing to all targets The collection of the performance data of the ONU of all PON ports connections in OLT in presence.
As can be seen here, by above-mentioned packet acquisition mode, NM server can ensure that in PON the embodiment of the present invention The complete collection of each target OLT reporting performance data, and when not being subject to PON networking under OLT the PON ports that connect or The restriction of ONU quantity, it is easier to the test in net and without the need for fixed configurations network.
The collecting method that the embodiment of the present invention is proposed is described in detail below by way of application example, table 1 below is shown Show to meaning property that each target OLT and each target OLT in certain PON recorded in NM server are corresponding The relevant information of PON ports.
Table 1
OLT is numbered PON port numbers in presence Acquisition capacity
OLT-1 100 ports 40 ports
OLT-2 80 ports 40 ports
OLT-3 50 ports 30 ports
OLT-4 30 ports 30 ports
OLT-5 20 ports 20 ports
OLT-6 10 ports 10 ports
The acquisition time cycle is preset for 5 minutes (min), i.e., is gathered once every 5min, NM server is supported Parallel acquisition number of tasks is 4, then NM server is carried out the mode of performance data collection and can be illustrated by the content of table 2 below:
Table 2
By above-mentioned table 2 as can be seen that within each acquisition time cycle, NM server parallel to 4 OLT's PON ports carry out performance collection, according to the collection relation illustrated in table 1, within first acquisition time cycle, to OLT-1's 30 PON ports connections of 40 PON ports, 40 PON ports of OLT-2,30 PON ports of OLT-3 and OLT-4 The performance data of ONU carries out double collection, when arriving in second acquisition time cycle, it can be determined that go out OLT-1, OLT- There are the PON ports not gathered in 2 and OLT-3, therefore continue the performance number of the ONU to the PON ports connection wherein not gathered According to being acquired, OLT-4 completes to gather, then 20 PON to OLT-5 that can be parallel within the second segment acquisition time cycle The performance data of the ONU of port connection is acquired, the property within the acquisition time cycle below using identical rule to ONU Energy data are acquired.
Collecting method provided in an embodiment of the present invention, for the big of the PON ports connected under target OLT in PON Quantity, situation about the performance data of the ONU of all PON ports connection cannot be completely gathered within an acquisition time cycle, Target OLT and its PON ports in PON carries out packet collection, it is ensured that it is simultaneously right to support in an acquisition time cycle Multiple targets OLT collect the performance data of PON ports.Also, NM server can be with according to target in gatherer process The collection density of the actual treatment capacity adjusting performance data of OLT, mitigates the pressure of OLT device performance collection, so as to guarantee property In energy gatherer process, the accuracy of data.
Alternatively, in a kind of implementation of the embodiment of the present invention, as shown in figure 4, being provided in an embodiment of the present invention The flow chart of another collecting method.S110 on the basis of collecting method shown in above-mentioned Fig. 1, in the present embodiment Can include:
S111, NM server set up socket with each target OLT and are connected;
S112, NM server connect the performance data for receiving that each target OLT sends by socket;
S113, NM server judge complete performance data that each target OLT sent within the acquisition time cycle most Big PON port numbers, the acquisition capacity that maximum PON port numbers are defined as this target OLT.
In the present embodiment, as target OLT there may be large number of lower even PON ports, and in acquisition time week In phase, although target OLT by the performance data of each PON port processings to the ONU that is connected, but can work as PON port number mistakes When the ONU quantity that connects under big and PON ports is excessive, it is impossible to meet target OLT gathered data and can report net exactly Pipe server, therefore, for each target OLT, needs to determine respectively and disclosure satisfy that in the acquisition time cycle that this target OLT is adopted Collection performance data can accurately report the maximum PON port numbers of NM server.As shown in figure 5, being the embodiment of the present invention In the collecting method of offer, a kind of NM server obtains the Signalling exchange flow chart of the acquisition capacity of target OLT, the stream Journey may comprise steps of:
S201, NM server are sent for creating what sockets services end (Socket Server) serviced to target OLT The collection request of SNMP performances, in order to notify target OLT to create Socket Server services, can in the SNMP performances collection request To include following parameter:The address of target OLT, for example include procotol (Internet Protocol, referred to as:IP) The source address of socket connection (Socket connections) will be set up in location+port numbers, NM server, for example, include IP address+end Slogan, for indicating that target OLT carries out the performance collection mark of performance collection, and the PON for needing to carry out performance data collection Port numbers.
S202, target OLT are received and are gathered after request for creating the SNMP performances of Socket Server services, are being sentenced When disconnected wherein entrained address is local ip address and the port numbers of target OLT, will in local record NM server The source address (IP address+port numbers) of Socket connections is set up, Socket Server services are created.
S203, target OLT start to gather each PON ports connection according to the PON port numbers that SNMP performances are gathered in request ONU performance data, the performance data for being gathered is cached.
It should be noted that target OLT carries out the collection of performance data, can with using arbitrary mode in prior art come Execute;In addition, the form of performance data can be extensible markup language (Extensible Markup Language, referred to as For:XML) form, content can for example include:Port index, performance indications (for example include:Ethernet port enters direction and wraps well Byte number, nominal rate etc.), performance data value etc., limited target OLT does not carry out the side of performance data collection to the embodiment of the present invention Formula and the concrete form of performance data.
S204, NM server create socket client (Socket Client) service.
S205, NM server initiate connection request to the Socket Server services of target OLT;Also, now may be used also To arrange the acquisition interval time that the time-out time of Socket connections is predetermined performance data.It should be noted that the step Middle setting time-out time is that the situation for being caused resource not discharge due to exception is arranged in order to prevent from setting up after Socket connections After time-out time, if Socket connection time-out, NM server disconnects release resource automatically.
S206, after target OLT receives the connection request serviced from the Socket Client of NM server, judges The address of target OLT carried in the connection request of received Socket Client services and NM server will Whether the source address (IP address+port numbers) for setting up Socket connections is identical with locally stored corresponding information, if identical, Socket connection is set up therebetween, it is allowed to carry out the transmission of performance data between NM server and target OLT, otherwise, It is considered the connection request of illegal Socket Client services, refusal connection.
The performance data of local cache is reported NM server by Socket connections by S207, target OLT;The step In, target OLT reporting performance data can set up Socket connection after or set up Socket connection setting time after from Row triggering.
S208, after NM server services the performance data information that reception target OLT is reported by Socket Client, Judge the maximum PON port numbers of complete performance data that can be collected in the acquisition time cycle, the maximum PON port numbers are made Acquisition capacity for corresponding target OLT.
S209, NM server judge that the reception time of the performance data that target OLT is reported has arrived at acquisition time During the cycle, then disconnect this Socket connection;After target OLT knows that NM server disconnects Socket connections, also in target OLT Side disconnects Socket connections.It should be noted that target OLT knows that NM server disconnects the mode of Socket connections, can be with By NM server send message know, it is also possible to by the protocol massages before both or those skilled in the art institute The alternate manner that knows knows that the embodiment of the present invention is not construed as limiting.
The collecting method provided by Fig. 4 and embodiment illustrated in fig. 5, can be known and be remembered in NM server Record each target OLT maximum PON port numbers to NM server sending performance data within the acquisition time cycle, implementation Be set up between NM server and each target OLT Socket connection after, by each target OLT active reporting performance number According to NM server obtains performance data according to automatic in the acquisition time cycle.
Alternatively, in another kind of implementation of the embodiment of the present invention, different from above-mentioned Fig. 4 and embodiment illustrated in fig. 5 It is, after setting up Socket connections between NM server and target OLT, NM server is obtained by way of active inquiry Performance data is taken, as shown in fig. 6, the flow chart for another collecting method provided in an embodiment of the present invention.In above-mentioned Fig. 1 On the basis of shown collecting method, the S110 in the present embodiment can include:
S114, NM server set up socket with each target OLT and are connected;
S115, NM server are connected to the predetermined number in each target OLT in presence by socket PON ports carry out the collection of performance data;
S116, NM server judge whether collect predetermined number in each target OLT within the acquisition time cycle The complete performance data of PON ports;
S117, NM server increase PON ends to be collected in first object OLT when judging to exist first object OLT After the quantity of mouth, performance data collection is carried out to the PON ports in first object OLT again, until judging to collect During the complete performance data of first object OLT, the last time is collected the PON ports of the complete performance data of first object OLT Quantity as first object OLT acquisition capacity;First object OLT collects the PON of predetermined number for NM server Target OLT of the complete performance data of port;
S118, NM server reduce PON ends to be collected in the second target OLT when judging to exist the second target OLT After the quantity of mouth, performance data collection is carried out to the PON ports in the second target OLT again, until judging to collect second During the complete performance data of target OLT, the quantity of the PON ports of the complete performance data of the second target OLT is currently collected Acquisition capacity as the second target OLT;Second target OLT is the PON ports that NM server does not collect predetermined number Complete performance data target OLT.
In the present embodiment, NM server determines there is the online institutes of ONU according to the asset data information in PON There are PON ports;According to the collected PON port numbers that presetting rule is set for once gathering, and from there is the online institutes of ONU Have the PON ports that collected PON port numbers are selected out in PON ports according to presetting rule;Now, presetting rule can be adopted Be initial value with some predetermined value, then using by plus or change PON port numbers by by the way of subtracting, it would however also be possible to employ , there are the online all PON port numbers of ONU as initial value using known in binary search;Network manager service in the present embodiment Device is obtained in the mode of the acquisition capacity of target OLT, needs also exist for the Socket first set up between NM server and target OLT Connection, subsequently, NM server services to send to target OLT by Socket Client to be needed to carry out performance data collection PON ports sequence number;Target OLT services to report to NM server by Socket Server to be needed to carry out performance data collection The corresponding ONU performance datas of PON ports sequence number;NM server receives target OLT by Socket Client services and reports Performance data judging whether return in the acquisition time cycle the collected PON port numbers for issuing PON ports complete Entire data, if it is, increase collected PON port numbers, and issues to target OLT again and needs to carry out performance data collection PON ports sequence number, until when can not receive partial data, last time will be received the PON port numbers of partial data As corresponding target OLT within the acquisition time cycle the maximum PON port numbers to NM server sending performance data;No Then, collected PON port numbers are reduced, and is issued to target OLT again and is needed the PON ports sequence number for carrying out performance collection, directly When partial data is received will be currently able to receive the PON port numbers of partial data as corresponding target OLT in collection The time cycle interior maximum PON port numbers to NM server sending performance data;Above-mentioned target OLT is in acquisition time week The acquisition capacity of target OLT is in phase to the maximum PON port numbers of NM server sending performance data.Need explanation It is that NM server can judge whether to receive the complete performance that target OLT sends according to protocol rule set in advance Data;Subsequently, after NM server determines the PON port numbers of target OLT, in the separated of NM server and target OLT Socket connects.
Collecting method is provided by embodiment illustrated in fig. 6, it is every to determine that NM server can actively initiate inquiry Individual target OLT within maximum PON port numbers from the acquisition time cycle to NM server sending performance data, wherein, webmaster Socket connections are set up between server and target OLT or are disconnected and the Socket connections between target OLT and above-mentioned Fig. 5 institutes Show that the mode of embodiment is similar to, therefore here is omitted.
It should be noted that NM server passes through what snmp protocol connected to whole PON ports of OLT in prior art The performance data of ONU is acquired, the collection to the performance data of each PON port of each OLT, is required for transmission SNMP to ask Ask and cause collecting efficiency relatively low;The embodiment of the present invention is by setting up Socket connections between NM server and target OLT Mode, it is possible to use based on transmission control protocol (Transmission Control Protocol, referred to as:TCP) The performance data of the ONU of Socket connection transmission PON port connections, can improve the effect of collecting performance data to a great extent Rate.
Alternatively, Fig. 7 is also a kind of flow chart of collecting method provided in an embodiment of the present invention.In above-mentioned Fig. 1 institutes On the basis of showing collecting method, the method that the present embodiment is provided can also include:
S100, NM server obtain the quantity of the PON ports of each target OLT connection in PON.
In the present embodiment, for whole PON, NM server is according to networking structure known target OLT Quantity, but the PON port numbers for each target OLT connection, NM server is not aware that, due to the embodiment of the present invention Packet collection be that the PON ports in target OLT and target OLT are grouped, and hence it is also possible to obtain each target The quantity of the PON ports of OLT connections;Difference according to target OLT model, Running State not equal factor, target OLT The quantity of the PON ports of connection is possible to change, accordingly, it would be desirable to be reacquired by NM server in network operation. Similar to embodiment illustrated in fig. 6 with above-mentioned Fig. 4, the S100 in the present embodiment can include:
S101, NM server set up socket with each target OLT and are connected;
S102, NM server receive this target OLT connections of each target OLT transmission by the socket connection The quantity of PON ports.
It should be noted that the NM server in the embodiment of the present invention can also receive the number of resources of target OLT transmission It is believed that ceasing, the asset data information can include:The quantity of target OLT, the PON port numbers of each target OLT and each The presence of the presence of PON ports, the ONU quantity of each PON ports connection and each ONU;According to target OLT model Difference, Running State not equal factor, above- mentioned information is likely to change, accordingly, it would be desirable in network operation When reacquired by NM server.
In actual applications, as shown in figure 8, being a kind of network manager service in collecting method provided in an embodiment of the present invention Device obtains the Signalling exchange flow chart of the asset data information of PON, and the flow process may comprise steps of:
S301, NM server are sent for creating what sockets services end (Socket Server) serviced to target OLT SNMP collections of resources are asked, in order to notify target OLT to create Socket Server service, can include in SNMP requests with Lower parameter:The source of Socket connections will be set up in the address (for example including IP address+port numbers) of target OLT, NM server Address (for example including IP address+port numbers), for indicate target OLT carry out collection of resources collection of resources mark;Herein Target OLT is selected according to actual conditions, can is whole OLT in PON, or is needed to carry out PON port flows The part OLT of the performance data collections such as monitoring.
S302, target OLT are received for creating after the SNMP collections of resources request that Socket Server are serviced, and are being sentenced When disconnected wherein entrained address is local ip address and the port numbers of target OLT, will in local record NM server The source address (IP address+port numbers) of Socket connections is set up, Socket Server services are created.
S303, target OLT have successfully created Socket Server services to NM server response.
S304, NM server create socket client (Socket Client) service.
S305, NM server initiate connection request to the Socket Server services of target OLT.
S306, after target OLT receives the connection request serviced from the Socket Client of NM server, judges The address of target OLT carried in the connection request of received Socket Client services and NM server will Whether the source address (IP address+port numbers) for setting up Socket connections is identical with locally stored corresponding information, if identical, Socket connection is set up therebetween, it is allowed to carries out resource data transmission between NM server and target OLT, otherwise, recognizes For being the connection request of illegal Socket Client services, refuse connection.
S307, target OLT collection local resource data message (for example include:PON port numbers, PON ports are in wire The presence of state, the ONU quantity of each PON ports connection and each ONU).
The asset data information of collection is reported NM server, and mesh by Socket connections by S308, target OLT Mark OLT is sent completely mark after asset data information is reported and is fully completed;It should be noted that target OLT is locally provided The collection of SDI can not be limited in the embodiment of the present invention with being limited using arbitrary mode in prior art.Separately Outward, NM server receives the asset data information that target OLT is reported by Socket Client.
S309, when the Socket that disconnects after completing mark that NM server receives the transmission of target OLT connects;Target OLT is obtained After knowing that NM server disconnects Socket connections, also Socket connections are disconnected in target OLT side.It should be noted that target OLT Know that NM server disconnects the mode of Socket connections, message can be sent by NM server and be known, it is also possible to be passed through Protocol massages or alternate manner known to the person skilled in the art before both know that the embodiment of the present invention is not limited Fixed.
S310, NM server set up the corresponding relation of above-mentioned asset data information for each target OLT, and using slow Deposit and record in NM server.
The said method provided by embodiment illustrated in fig. 8, it may be determined that go out the Current resource data message of PON, When online equipment or equipment state change, it is also possible to direct access, and do not limited by network environment, so as to right Collection target OLT continuous PON port numbers can also be automatically obtained when unknown network topological structure.
It should be noted that in PON, if equipment and equipment state are determined completely without there is any changing Become, then directly using the asset data information being manually set during networking, and can also not pass through NM server and target OLT Between information exchange obtaining the asset data information in PON.In addition, NM server can be same by parallel task When send SNMP requests to multiple targets OLT, NM server can set up Socket with multiple targets OLT respectively and be connected.
Also, it should be noted the S100 in the embodiment of the present invention can be executed before S110~S120, S100 also may be used To execute after S110~S120, provide resource during the performance data collection for ONU once being carried out upper for NM server Data message;Embodiment illustrated in fig. 7 is illustrated so that S100 was executed before S110~S120 as an example.
Fig. 9 is also a kind of flow chart of collecting method provided in an embodiment of the present invention.The data that the present embodiment is provided In the case of carry out data acquisition PON, the method can be executed acquisition method by data acquisition unit, should Data acquisition unit generally realizes in the way of hardware and software combines that the device can be integrated in the process of target OLT In device, use is called for processor.As shown in figure 9, the method for the present embodiment can include:
S410, target OLT send the performance data of this target OLT to NM server so that NM server is obtained should The acquisition capacity of target OLT is simultaneously grouped to the PON ports of target OLT according to the acquisition capacity, the collection energy of target OLT The maximum PON port numbers of the power sending performance data that are this target OLT within the acquisition time cycle.
Collecting method provided in an embodiment of the present invention, there is provided a kind of to PON in multiple ONU performance data The mode being acquired.The system architecture of Fig. 2 shown in PON equally may be referred to, and NM server management control is multiple OLT, the quantity of the OLT being connected with each OLT under multiple ONU, NM server connect the quantity of PON ports under each OLT, with And the quantity of the ONU of each PON ports connection is very more;Therefore, adopting for the performance data to ONU is executed in PON Set task, as the data volume of ONU is very huge and causes easily to occur network congestion, packet loss and delay etc. in gatherer process to ask Topic.
In embodiments of the present invention, each target OLT in PON can send this target OLT to NM server Performance data so that NM server obtain PON in each target OLT acquisition capacity, retouch in the embodiment of the present invention Target OLT that states is referred to:NM server determines that the ONU for needing the PON ports to those OLT to connect carries out performance data collection OLT, can be the fixed all or part of OLT in PON of NM server.In addition, the collection of target OLT Ability is referred to:The maximum PON port numbers of this target OLT sending performance data within the acquisition time cycle, due to target OLT under Much more several PON ports, each PON port may be connected with multiple ONU by optical splitter, therefore, an acquisition time week It is difficult to collect the performance data of all PON ports of target OLT in phase, can be obtained by obtaining the acquisition capacity of target OLT Know the maximum PON port numbers of target OLT sending performance data within the acquisition time cycle.
It should be noted that least unit of the embodiment of the present invention with PON ports as sending performance data, you can to gather Performance data to certain PON port refers to, can collect all ONU's in presence of PON ports connection Performance data.
S420, target OLT send the property of the ONU of the PON ports connection of this target OLT according to packet to NM server Can data.
In embodiments of the present invention, the packet mode of the PON ports to target OLT can be handed down to by NM server Corresponding target OLT, so as to target OLT can be according to packet, to the PON ports connection that NM server sends this target OLT ONU performance data, so as to realize collection of the NM server to the performance data of ONU in PON, implementation can be with For:For example, 100 PON ports are connected with certain target OLT, and the acquisition capacity of target OLT is 30 PON ports, then Sending method can be:Within each acquisition time cycle, the property of the ONU that connect under which 30 PON ports are connected by target OLT Energy data is activation is to NM server;Again for example, 20 PON ports are connected with certain target OLT, and target OLT is adopted Collection ability is 30 PON ports, and as acquisition capacity is more than PON port numbers, then sending method can be:Target OLT by its The performance data of the ONU of 20 PON ports connections of lower company is sent to NM server.That is, target OLT is adopted at each Acquisition capacity of the PON port numbers sent in the collection time cycle less than or equal to target OLT.
In prior art, NM server was connected to whole PON ports of OLT by snmp protocol within the acquisition time cycle The mode that the performance data of the ONU for connecing is acquired, in the case that in PON webmasters, FTTX accessing users scale constantly expands, It is difficult to ensure that in completing to whole PONs within the shorter acquisition time cycle whole ONU acquisition tasks, so as to meeting Cause to be effectively realized the problem for monitoring the performance indications such as ONU end mouth flow, bandwidth availability ratio.Compared to prior art The mode of the performance data of middle collection ONU, acquisition capacity of the embodiment of the present invention by each target OLT of acquisition, and with collection Ability as packet standard, by packet mode, within an acquisition time cycle to target OLT in part PON ports connect The performance data of the ONU for connecing is acquired, as such, it is possible to the performance data of a large amount of ONU is grouped into the different acquisition time cycle Inside it is acquired, so as to avoid while the problems such as gathering the performance data of all ONU and cause network congestion, packet loss and postpone.
The collecting method that the present embodiment is provided, the performance that this target OLT is sent by target OLT to NM server Data so that NM server obtains the acquisition capacity of target OLT the PON ports according to acquisition capacity to target OLT It is grouped, also, target OLT is sent the ONU's of the PON ports connection of this target OLT according to packet to NM server Performance data;Maximum due to the acquisition capacity of the target OLT sending performance data that are this target OLT within the acquisition time cycle PON port numbers understand, during the target OLT sending performance data, with the acquisition capacity of target OLT as packet mark Standard, sends the maximum PON port numbers of target OLT, i.e. network manager service within each acquisition time cycle to NM server Device carries out performance data by the PON ports connected under target OLT in PON were grouped in the different acquisition time cycles Collection, so as to realize the performance data for effectively collecting multiple ONU in PON;The present embodiment provides data acquisition side Method by way of packet is gathered, when solving by the way of the performance data for gathering ONU in the existing PON, due to net Pipe server is difficult within the shorter acquisition time cycle property by snmp protocol to the ONU of whole PON ports connections of OLT Energy data are acquired, and the problem for causing effectively to be monitored the performance indications of ONU.
Alternatively, in embodiments of the present invention, above-mentioned packet can be by the PON ports of target OLT be grouped into one or In multiple acquisition time cycles, the implementation of S420 can include:Target OLT according to packet, in each acquisition time cycle The performance number of the interior ONU for sending the PON ports connection that this target OLT was grouped in this acquisition time cycle to NM server According to.
Alternatively, in embodiments of the present invention, as the formula that NM server calculates the bandwidth availability ratio of port is:Certain Bandwidth availability ratio of the Single port within the acquisition time cycle=in the acquisition time cycle to two sampling flows of same port it Difference/port nominal bandwidth, therefore, target OLT can continuously transmit performance twice to NM server within the acquisition time cycle Data so that NM server calculates the bandwidth availability ratio of PON ports.The embodiment of the present invention within the acquisition time cycle, target On the basis of OLT continuously transmits performance data twice, NM server understands PON port flows, can also calculate PON ports and exist Bandwidth availability ratio in the acquisition time cycle, so as to be monitored to the performance indications of ONU.
Alternatively, in collecting method provided in an embodiment of the present invention, can also include:Target OLT is to network manager service Device sends the quantity of the PON ports of this target OLT connections so that NM server obtains each target OLT connection in PON PON ports quantity.In the present embodiment, for whole PON, NM server mesh according to known to networking structure The quantity of mark OLT, but the PON port numbers for each target OLT connection, NM server is not aware that, due to this The packet collection of bright embodiment is that the PON ports in target OLT and target OLT are grouped, and hence it is also possible to obtain every The quantity of the PON ports of individual target OLT connection;Difference according to target OLT model, Running State not equal factor, The quantity of the PON ports of target OLT connection is possible to change, accordingly, it would be desirable to be thought highly of by network manager service in network operation New acquisition.
In the embodiment of the present invention, target OLT can be to send the asset data information of PON, such as to NM server Including:The quantity of target OLT in PON, the PON port numbers of each target OLT and the presence of each PON port, The ONU quantity of each PON ports connection and the presence of each ONU;Difference according to target OLT model, in network operation shape The not equal factor of state, above- mentioned information is likely to change, accordingly, it would be desirable in network operation by NM server again Obtain.
It should be noted that target OLT sends the quantity of PON ports or the step of asset data information to NM server Suddenly, can execute before S410, or execute after S420, once carry out upper for NM server Asset data information is provided during the performance data collection of ONU.
Also, it should be noted in the embodiment of the present invention, NM server carries out performance number to the PON ports of target OLT According to the mode of collection, NM server obtains the mode of the acquisition capacity of target OLT, and NM server obtains PON The mode of middle resource data, is described in detail in the above-described embodiments, therefore be will not be described here.
Figure 10 is a kind of structural representation of data acquisition unit provided in an embodiment of the present invention.The number that the present embodiment is provided According to harvester in the case of carry out data acquisition PON, the data acquisition unit passes through hardware and software In conjunction with mode realizing, the device can be integrated in PON in the processor of NM server, and calling for processor makes With.As shown in Figure 10, the data acquisition unit of the present embodiment can include:Acquisition module 10 and acquisition module 20.
Acquisition module 10, for obtaining the acquisition capacity of each target OLT in PON, wherein, the acquisition capacity of target OLT Maximum PON port numbers for this target OLT sending performance data within the acquisition time cycle.
Data acquisition unit provided in an embodiment of the present invention, there is provided a kind of to PON in multiple ONU performance data The mode being acquired.The system architecture of Fig. 2 shown in PON is equally referred to, and NM server management control is multiple OLT, the quantity of the OLT being connected with each OLT under multiple ONU, NM server connect the quantity of PON ports under each OLT, with And the quantity of the ONU of each PON ports connection is very more;Therefore, adopting for the performance data to ONU is executed in PON Set task, as the data volume of ONU is very huge and causes easily to occur network congestion, packet loss and delay etc. in gatherer process to ask Topic.
In embodiments of the present invention, acquisition module 10 can first obtain the acquisition capacity of each target OLT in PON, Target OLT described in the embodiment of the present invention is referred to:NM server determines the ONU for needing the PON ports to those OLT to connect The OLT of performance data collection is carried out, can be the fixed all or part of OLT in PON of NM server.Separately Outward, the acquisition capacity of target OLT is referred to:The maximum PON port numbers of this target OLT sending performance data within the acquisition time cycle Amount, due to connecting how several PON ports under target OLT, each PON port may be connected with multiple ONU by optical splitter, therefore, The performance data of all PON ports for being difficult within the acquisition time cycle to collect target OLT, can pass through to obtain target The acquisition capacity of OLT knows the maximum PON port numbers of target OLT sending performance data within the acquisition time cycle.
It should be noted that least unit of the embodiment of the present invention with PON ports as sending performance data, you can to gather Performance data to certain PON port refers to, can collect all ONU's in presence of PON ports connection Performance data.
Acquisition module 20, the acquisition capacity of each target OLT for being obtained according to acquisition module 10, to each target The performance data of the ONU of the PON ports connection of OLT carries out packet collection.
In embodiments of the present invention, acquisition module 20 can have been obtained according to acquisition module 10 each target OLT is adopted Collection ability, carries out packet collection to the performance data of the ONU that the PON ports of each target OLT connect, and implementation is in above-mentioned reality Apply in example it is stated that event here is not being repeated.PON port number of the NM server to gather within each acquisition time cycle Amount is grouped for standard less than or equal to the acquisition capacity of target OLT, to ONU's that the PON ports of target OLT connect Performance data is acquired.
In prior art, NM server was connected to whole PON ports of OLT by snmp protocol within the acquisition time cycle The mode that the performance data of the ONU for connecing is acquired, in the case that in PON webmasters, FTTX accessing users scale constantly expands, It is difficult to ensure that in completing to whole PONs within the shorter acquisition time cycle whole ONU acquisition tasks, so as to meeting Cause to be effectively realized the problem for monitoring the performance indications such as ONU end mouth flow, bandwidth availability ratio.Compared to prior art The mode of the performance data of middle collection ONU, acquisition capacity of the embodiment of the present invention by each target OLT of acquisition, and with collection Ability as packet standard, by packet mode, within an acquisition time cycle to target OLT in part PON ports connect The performance data of the ONU for connecing is acquired, as such, it is possible to the performance data of a large amount of ONU is grouped into the different acquisition time cycle Inside it is acquired, so as to avoid while the problems such as gathering the performance data of all ONU and cause network congestion, packet loss and postpone.
Data acquisition unit provided in an embodiment of the present invention is used for executing the data of embodiment illustrated in fig. 1 offer of the present invention and adopts Diversity method, possesses corresponding functional module, and which realizes that principle is similar with technique effect, and here is omitted.
Alternatively, in embodiments of the present invention, above-mentioned acquisition module 20 can include:
Grouped element, the parallel task number for being supported according to NM server determine each acquisition time cycle in wait to adopt The quantity of target OLT of collection, and the PON ports in this target OLT are grouped into one or many according to the acquisition capacity of target OLT In the individual acquisition time cycle;
First collecting unit, for, within the acquisition time cycle, being grouped into PON in this acquisition time cycle to grouped element The performance data of the ONU of port connection is acquired.
Alternatively, in embodiments of the present invention, as the formula that NM server calculates the bandwidth availability ratio of port is:Certain Bandwidth availability ratio of the Single port within the acquisition time cycle=in the acquisition time cycle to two sampling flows of same port it Difference/port nominal bandwidth, therefore, needs to carry out double collection to each PON port within the acquisition time cycle, in order to count Calculate the bandwidth availability ratio of the PON ports;Acquisition module 20 i.e. in the embodiment of the present invention is acquired to the performance data of ONU Implementation can be:Within each acquisition time cycle, to the complete of each target OLT for being grouped in this acquisition time cycle The performance data of the ONU of portion or the connection of part PON ports carries out double collection.Inventive embodiments are within the acquisition time cycle On the basis of double collecting performance data, it is known that PON port flows, PON ports can be also calculated in the acquisition time cycle Interior bandwidth availability ratio, so as to be monitored to the performance indications of ONU.
Alternatively, Figure 11 is the structural representation of another kind of data acquisition unit provided in an embodiment of the present invention.Above-mentioned On the architecture basics of Figure 10 shown devices, the acquisition module 20 in the present embodiment can include:
Second collecting unit 21, for answering the acquisition capacity of table and target OLT according to collection relation pair, when each gathers Between the parallel performance data to the ONU that the PON ports in N number of target OLT in presence connect in the cycle be acquired, The parallel acquisition number of tasks that N is supported less than or equal to NM server, collection relation pair answer table to include:Each target OLT and sheet PON port numbers in target OLT in presence, and the corresponding relation with the acquisition capacity of this target OLT;
First judging unit 22, adopts for when in acquisition time end cycle, judging to execute in this acquisition time cycle Whether N number of target OLT of collection completes the collection of performance data;
Second collecting unit 21, is additionally operable to judge have n1 target OLT to complete performance number in the first judging unit 22 According to collection, and n2 target OLT do not complete performance data collection when, in the next acquisition time in this acquisition time cycle In cycle, according to collection relation pair answer the acquisition capacity of table and target OLT parallel to being in n1 target OLT not gathered The PON ports not gathered in target OLT of ONU and n2 unfinished performance data collection of the PON ports connection of presence The performance data of the ONU of connection is acquired;Wherein, n1 is N with n2 sums.
It should be noted that:In the step of above-mentioned second collecting unit 21 executes collection, due to known to NM server PON port numbers in target OLT in presence, and the PON port numbers for having completed to gather, therefore can know Whether complete whether to gather the performance data of all PON ports in each target OLT and complete.First judging unit 22 and second Collecting unit 21 repeats above-mentioned judgement and according to the operation for judging that structure is acquired, until completing to all targets OLT In all PON ports connection in presence ONU performance data collection.
As can be seen here, by above-mentioned packet acquisition mode, NM server can ensure that in PON the embodiment of the present invention The complete collection of each target OLT reporting performance data, and when not being subject to PON networking under OLT the PON ports that connect or The restriction of ONU quantity, it is easier to the test in net and without the need for fixed configurations network.
Data acquisition unit provided in an embodiment of the present invention is used for executing the data of embodiment illustrated in fig. 3 offer of the present invention and adopts Diversity method, possesses corresponding functional module, and which realizes that principle is similar with technique effect, and here is omitted.The embodiment of the present invention The data acquisition unit of offer is equally referred in above-mentioned application example the collection relation pair shown in table 1 and answers shown in table and table 2 Acquisition mode, have been described in the above-mentioned application example of its implementation, therefore will not be described here.
Alternatively, it is in a kind of implementation of the embodiment of the present invention, as shown in figure 12, provided in an embodiment of the present invention The structural representation of another data acquisition unit.On the architecture basics of above-mentioned Figure 10 shown devices, obtaining in the present embodiment Delivery block 10 can include:
First connection establishment unit 11, is connected for setting up socket with each target OLT;
First receiving unit 12, the socket connection for being set up by the first connection establishment unit 11 receive each target The performance data that OLT sends;
Determining unit 13, for judging each target OLT that the first receiving unit 12 receives within the acquisition time cycle The maximum PON port numbers of the complete performance data for sending, the collection energy that maximum PON port numbers are defined as this target OLT Power.
In the present embodiment, as target OLT there may be large number of lower even PON ports, and in acquisition time week In phase, although target OLT by the performance data of each PON port processings to the ONU that is connected, but can work as PON port number mistakes When the ONU quantity that connects under big and PON ports is excessive, it is impossible to meet target OLT gathered data and can report net exactly Pipe server, therefore, for each target OLT, needs to determine respectively and disclosure satisfy that in the acquisition time cycle that this target OLT is adopted Collection performance data can accurately report the maximum PON port numbers of NM server.NM server by with target OLT Signalling exchange, obtains the implementation of the acquisition capacity of target OLT, is equally referred to flow chart shown in Fig. 5, above-described embodiment In have been described in, therefore will not be described here.
Data acquisition unit provided in an embodiment of the present invention is used for executing the data of embodiment illustrated in fig. 4 offer of the present invention and adopts Diversity method, possesses corresponding functional module, and which realizes that principle is similar with technique effect, and here is omitted.
Alternatively, in another kind of implementation of the embodiment of the present invention, different from above-mentioned embodiment illustrated in fig. 12 be, After setting up Socket connections between NM server and target OLT, data acquisition unit is obtained by way of active inquiry Performance data, as shown in figure 13, is the structural representation of another data acquisition unit provided in an embodiment of the present invention.Above-mentioned On the architecture basics of Figure 10 shown devices, in the present embodiment, acquisition module 10 can include:
Second connection establishment unit 14, is connected for setting up socket with each target OLT;
3rd collecting unit 15, the socket for being set up by the second connection establishment unit 14 are connected to each target The PON ports of the predetermined number in OLT in presence carry out the collection of performance data;
Second judging unit 16, for judging whether the 3rd collecting unit 15 collects each mesh within the acquisition time cycle The complete performance data of the PON ports of predetermined number in mark OLT;
Processing unit 17, for when the second judging unit 16 judges to exist first object OLT, increasing first object In OLT after the quantity of PON ports to be collected, indicate that the 3rd collecting unit 15 is carried out to the PON ports in first object OLT again Performance data collection, when the second judging unit 16 judges the complete performance data that can not collect first object OLT, will Last time collects the collection energy of the quantity as first object OLT of the PON ports of the complete performance data of first object OLT Power;First object OLT collects target OLT of the complete performance data of the PON ports of predetermined number for NM server;
Processing unit 17, is additionally operable to, when the second judging unit 16 judges to exist the second target OLT, reduce by the second target In OLT after the quantity of PON ports to be collected, indicate that the 3rd collecting unit 15 is carried out to the PON ports in the second target OLT again Performance data collection, when the second judging unit 16 judges the complete performance data for collecting the second target OLT, will be current Collect the complete performance data of the second target OLT PON ports quantity as the second target OLT acquisition capacity;This Two targets OLT are target OLT of the complete performance data of the PON ports that NM server does not collect predetermined number.
Data acquisition unit is provided by embodiment illustrated in fig. 13, it is every to determine that NM server can actively initiate inquiry Individual target OLT within maximum PON port numbers from the acquisition time cycle to NM server sending performance data, wherein, webmaster Socket connections are set up between server and target OLT or are disconnected and the Socket connections between target OLT and above-mentioned Fig. 5 institutes Show that the mode of embodiment is similar to, therefore here is omitted.
Data acquisition unit provided in an embodiment of the present invention is used for executing the data of embodiment illustrated in fig. 6 offer of the present invention and adopts Diversity method, possesses corresponding functional module, and which realizes that principle is similar with technique effect, and here is omitted.
Alternatively, in embodiments of the present invention, acquisition module 10, are additionally operable to obtain each target OLT connection in PON PON ports quantity.
In the present embodiment, for whole PON, data acquisition unit is according to networking structure known target OLT Quantity, but the PON port numbers for the connection of each target OLT, NM server is not aware that, due to present invention enforcement The packet collection of example is that the PON ports in target OLT and target OLT are grouped, and hence it is also possible to obtain each target The quantity of the PON ports of OLT connections, difference according to target OLT model, Running State not equal factor, target OLT The quantity of the PON ports of connection is possible to change, accordingly, it would be desirable to be reacquired by NM server in network operation. Figure 14 is also a kind of structural representation of data acquisition unit provided in an embodiment of the present invention.Knot in above-mentioned Figure 10 shown devices On the basis of structure, the acquisition module 10 in the present embodiment can include:
3rd connection establishment unit 18, is connected for setting up socket with each target OLT;
Second receiving unit 19, the socket connection for being set up by the 3rd connection establishment unit 18 receive each target The quantity of the PON ports of this target OLT connections that OLT sends.
It should be noted that the second receiving unit 19 in the embodiment of the present invention also receives the number of resources of target OLT transmission It is believed that ceasing, the asset data information can include:The quantity of target OLT, the PON port numbers of each target OLT and each The presence of the presence of PON ports, the ONU quantity of each PON ports connection and each ONU;According to target OLT model Difference, Running State not equal factor, above- mentioned information is likely to change, accordingly, it would be desirable in network operation When reacquired by NM server.
Data acquisition unit provided in an embodiment of the present invention is used for executing the data of embodiment illustrated in fig. 7 offer of the present invention and adopts Diversity method, possesses corresponding functional module, and which realizes that principle is similar with technique effect, and here is omitted.
The present embodiment in actual applications, NM server by the Signalling exchange with target OLT, obtain number of resources it is believed that The implementation of breath, is equally referred to flow chart shown in Fig. 8, has been described in above-described embodiment, therefore here is no longer gone to live in the household of one's in-laws on getting married State.
It should be noted that in PON, if equipment and equipment state are determined completely without there is any changing Become, then directly using the asset data information being manually set during networking, and can also not pass through NM server and target OLT Between information exchange obtaining the asset data information in PON.In addition, NM server can be same by parallel task When send SNMP requests to multiple targets OLT, NM server can set up Socket with multiple targets OLT respectively and be connected.
Also, it should be noted the operation of the acquisition of acquisition module 10 asset data information can obtained in the embodiment of the present invention Take the acquisition capacity of OLT and execute before executing acquisition tasks, it is also possible to obtaining the acquisition capacity of OLT and executing acquisition tasks Execute afterwards, for carry out next time ONU performance data collection when provide asset data information.
Figure 15 is also a kind of structural representation of data acquisition unit provided in an embodiment of the present invention.The present embodiment is provided Data acquisition unit in the case of carry out data acquisition PON, the data acquisition unit generally with hardware and Realizing, the device can be integrated in the processor of target OLT the mode that software combines, and call use for processor.Such as Shown in Figure 15, the device of the present embodiment can include:First sending module 30 and the second sending module 40.
First sending module 30, for sending the performance data of target OLT so that NM server is obtained to NM server Take the acquisition capacity of target OLT and the passive optical network PON port of target OLT is grouped according to acquisition capacity, the target The maximum PON port numbers of the acquisition capacity of the OLT sending performance data that are this target OLT within the acquisition time cycle.
Data acquisition unit provided in an embodiment of the present invention, there is provided a kind of to PON in multiple ONU performance data The mode being acquired.The system architecture of Fig. 2 shown in PON equally may be referred to, and NM server management control is multiple OLT, the quantity of the OLT being connected with each OLT under multiple ONU, NM server connect the quantity of PON ports under each OLT, with And the quantity of the ONU of each PON ports connection is very more;Therefore, adopting for the performance data to ONU is executed in PON Set task, as the data volume of ONU is very huge and causes easily to occur network congestion, packet loss and delay etc. in gatherer process to ask Topic.
In embodiments of the present invention, each target OLT in PON can send this target OLT to NM server Performance data so that NM server obtain PON in each target OLT acquisition capacity, retouch in the embodiment of the present invention Target OLT that states is referred to:NM server determines that the ONU for needing the PON ports to those OLT to connect carries out performance data collection OLT, can be the fixed all or part of OLT in PON of NM server.In addition, the collection of target OLT Ability is referred to:The maximum PON port numbers of this target OLT sending performance data within the acquisition time cycle, due to target OLT under Much more several PON ports, each PON port may be connected with multiple ONU by optical splitter, therefore, an acquisition time week It is difficult to collect the performance data of all PON ports of target OLT in phase, can be obtained by obtaining the acquisition capacity of target OLT Know the maximum PON port numbers of target OLT sending performance data within the acquisition time cycle.
It should be noted that least unit of the embodiment of the present invention with PON ports as sending performance data, you can to gather Performance data to certain PON port refers to, can collect all ONU's in presence of PON ports connection Performance data.
Second sending module 40, for according to packet, sending the PON ports connection of this target OLT to NM server The performance data of optical network unit ONU.
In embodiments of the present invention, the packet mode of the PON ports to target OLT can be handed down to by NM server Corresponding target OLT, so as to the second sending module 40 can be according to packet, to the PON that NM server sends this target OLT The performance data of the ONU of port connection, so as to realize collection of the NM server to the performance data of ONU in PON, realizes Mode is not in the above-described embodiments it is stated that event here is being repeated.Target OLT was sent within each acquisition time cycle Acquisition capacity of the PON port numbers less than or equal to target OLT.
In prior art, NM server was connected to whole PON ports of OLT by snmp protocol within the acquisition time cycle The mode that the performance data of the ONU for connecing is acquired, in the case that in PON webmasters, FTTX accessing users scale constantly expands, It is difficult to ensure that in completing to whole PONs within the shorter acquisition time cycle whole ONU acquisition tasks, so as to meeting Cause to be effectively realized the problem for monitoring the performance indications such as ONU end mouth flow, bandwidth availability ratio.Compared to prior art The mode of the performance data of middle collection ONU, acquisition capacity of the embodiment of the present invention by each target OLT of acquisition, and with collection Ability as packet standard, by packet mode, within an acquisition time cycle to target OLT in part PON ports connect The performance data of the ONU for connecing is acquired, as such, it is possible to the performance data of a large amount of ONU is grouped into the different acquisition time cycle Inside it is acquired, so as to avoid while the problems such as gathering the performance data of all ONU and cause network congestion, packet loss and postpone.
Data acquisition unit provided in an embodiment of the present invention is used for executing the data of embodiment illustrated in fig. 9 offer of the present invention and adopts Diversity method, possesses corresponding functional module, and which realizes that principle is similar with technique effect, and here is omitted.
Alternatively, in embodiments of the present invention, above-mentioned packet can be by the PON ports of target OLT be grouped into one or In multiple acquisition time cycles, second sends 40 root tuber of mould according to packet, to the PON ports that NM server sends this target OLT The performance data of the optical network unit ONU of connection, including:According to packet, to NM server within each acquisition time cycle Send the performance data of the ONU of the PON ports connection that this target OLT was grouped in this acquisition time cycle.
Alternatively, in embodiments of the present invention, as the formula that NM server calculates the bandwidth availability ratio of port is:Certain Bandwidth availability ratio of the Single port within the acquisition time cycle=in the acquisition time cycle to two sampling flows of same port it Difference/port nominal bandwidth, therefore, the second transmission mould 40 can be continuously transmitted twice to NM server within the acquisition time cycle Performance data so that NM server calculates the bandwidth availability ratio of PON ports.The embodiment of the present invention within the acquisition time cycle, On the basis of target OLT continuously transmits performance data twice, NM server understands PON port flows, can also calculate PON ends Bandwidth availability ratio of the mouth within the acquisition time cycle, so as to be monitored to the performance indications of ONU.
Alternatively, in data acquisition unit provided in an embodiment of the present invention, the first sending module 30 is additionally operable to take to webmaster Business device sends the quantity of the PON ports of this target OLT connections so that NM server obtains each target OLT in PON and connects The quantity of the PON ports for connecing.In the present embodiment, for whole PON, NM server is according to known to networking structure The quantity of target OLT, but the PON port numbers for each target OLT connection, NM server is not aware that, due to this The packet collection of inventive embodiments is that the PON ports in target OLT and target OLT are grouped, and hence it is also possible to obtain The quantity of the PON ports of each target OLT connection;Difference according to target OLT model, Running State not equal because Element, the quantity of the PON ports of target OLT connection are possible to change, accordingly, it would be desirable in network operation by NM server Reacquire.
In the embodiment of the present invention, target OLT can be to send the asset data information of PON, such as to NM server Including:The quantity of target OLT in PON, the PON port numbers of each target OLT and the presence of each PON port, The ONU quantity of each PON ports connection and the presence of each ONU;Difference according to target OLT model, in network operation shape The not equal factor of state, above- mentioned information is likely to change, accordingly, it would be desirable in network operation by NM server again Obtain.
It should be noted that target OLT sends the quantity of PON ports or the step of asset data information to NM server Suddenly, can execute, or in 40 basis of the second sending module before first sends 30 pieces of sending performance data of mould Send execute send after execute, resource is provided during the performance data collection for once carrying out ONU upper for NM server Data message.
Also, it should be noted in the embodiment of the present invention, NM server carries out performance number to the PON ports of target OLT According to the mode of collection, NM server obtains the mode of the acquisition capacity of target OLT, and NM server obtains PON The mode of middle resource data, is described in detail in the above-described embodiments, therefore be will not be described here.
One of ordinary skill in the art will appreciate that all or part of step in said method can be referred to by program Related hardware (such as processor) is made to complete, described program can be stored in computer-readable recording medium, such as read-only storage Device, disk or CD etc..Alternatively, all or part of step of above-described embodiment can also use one or more integrated circuits To realize.Correspondingly, each module/unit in above-described embodiment can be realized in the form of hardware, for example, pass through integrated electricity Road is realizing its corresponding function, it would however also be possible to employ the form of software function module is realized, for example, is stored in by computing device Program/instruction in memory is realizing its corresponding function.The embodiment of the present invention be not restricted to any particular form hardware and The combination of software.
Although disclosed herein embodiment as above, described content is only to readily appreciate the present invention and adopt Embodiment, is not limited to the present invention.Technical staff in any art of the present invention, is being taken off without departing from the present invention On the premise of the spirit and scope of dew, any modification and change, but the present invention can be carried out in the form and details that implements Scope of patent protection, still must be defined by the scope of which is defined in the appended claims.

Claims (20)

1. a kind of collecting method, it is characterised in that include:
NM server obtains the acquisition capacity of each target light line terminal OLT in passive optical network PON;Wherein, the mesh The maximum PON port numbers of the acquisition capacity of the mark OLT sending performance data that are this target OLT within the acquisition time cycle;
Acquisition capacity of the NM server according to each target OLT, connects to the PON ports of each target OLT The performance data of the optical network unit ONU for connecing carries out packet collection.
2. collecting method according to claim 1, it is characterised in that the NM server is to each target described The performance data of the optical network unit ONU of the PON ports connection of OLT carries out packet collection, including:
The NM server determines each described acquisition time cycle according to the parallel task number that the NM server is supported The quantity of interior target OLT to be collected, and the PON ports in this target OLT are grouped according to the acquisition capacity of target OLT To in one or more acquisition time cycles;
The NM server within each described acquisition time cycle, to the PON ports being grouped in this acquisition time cycle The performance data of the ONU of connection is acquired.
3. collecting method according to claim 1 and 2, it is characterised in that the NM server to described each The performance data of the ONU of the PON ports connection of target OLT carries out packet collection, including:
The NM server answers the acquisition capacity of table and target OLT according to collection relation pair, in each acquisition time week In phase, the parallel performance data to the ONU that the PON ports in N number of target OLT in presence connect is acquired, described The parallel acquisition number of tasks that N is supported less than or equal to the NM server, the collection relation pair answer table to include:Described each PON port numbers in target OLT and target OLT in presence, and corresponding with the acquisition capacity of target OLT Relation;
The NM server judges to execute the N number of of collection in this acquisition time cycle in the acquisition time end cycle Whether target OLT completes the collection of performance data;
The NM server is in the collection for judging to have n1 target OLT to complete performance data, and n2 target OLT be not complete Into performance data collection when, within the next acquisition time cycle in this acquisition time cycle, according to the collection relation pair Answer table and target OLT acquisition capacity parallel to the PON ports in n1 target OLT not gathered in presence The property of the ONU of the PON ports connection not gathered in target OLT of the ONU of the connection and n2 unfinished performance data collection Energy data are acquired;Wherein, n1 is N with n2 sums.
4. collecting method according to claim 1 and 2, it is characterised in that the NM server obtains passive light The acquisition capacity of each target light line terminal OLT in network PON, including:
The NM server is set up socket with each target OLT described and is connected;
The NM server connects the performance data for receiving that each target OLT described sends by the socket;
The NM server judges the maximum of the complete performance data that each target OLT described was sent within the acquisition time cycle PON port numbers, the acquisition capacity that the maximum PON port numbers are defined as this target OLT.
5. collecting method according to claim 1 and 2, it is characterised in that the NM server obtains passive light The acquisition capacity of each target light line terminal OLT in network PON, including:
The NM server is set up socket with each target OLT described and is connected;
The NM server is connected to the predetermined number in each target OLT described in presence by the socket PON ports carry out the collection of performance data;
The NM server judges whether collect predetermined number in each target OLT described within the acquisition time cycle PON ports complete performance data;
When the NM server judges to exist first object OLT, increase PON ports to be collected in the first object OLT Quantity after, performance data collection is carried out to the PON ports in the first object OLT again, until judging to gather To the first object OLT complete performance data when, the last time is collected the complete performance data of the first object OLT PON ports quantity as the first object OLT acquisition capacity;The first object OLT is the NM server Collect target OLT of the complete performance data of the PON ports of predetermined number;
When the NM server judges to exist the second target OLT, PON ports to be collected in second target OLT are reduced Quantity after, performance data collection is carried out to the PON ports in second target OLT again, until judging to collect institute State the second target OLT complete performance data when, currently collected the PON of the complete performance data of second target OLT Acquisition capacity of the quantity of port as second target OLT;Second target OLT is not gathered for the NM server Target OLT to the complete performance data of the PON ports of predetermined number.
6. collecting method according to claim 1 and 2, it is characterised in that methods described also includes:
The NM server obtains the quantity of the PON ports of each target OLT connection described in the PON.
7. collecting method according to claim 6, it is characterised in that the NM server obtains the PON nets The quantity of the PON ports of each target OLT connection described in network, including:
The NM server is set up socket with each target OLT described and is connected;
The NM server connects this target OLT connections of reception each target OLT transmission by the socket The quantity of PON ports.
8. a kind of collecting method, it is characterised in that include:
Target light line terminal OLT sends the performance data of this target OLT to NM server so that the NM server is obtained Take the acquisition capacity of target OLT and the passive optical network PON port of target OLT is carried out according to the acquisition capacity Packet, the maximum PON ends of the acquisition capacity of the target OLT sending performance data that are this target OLT within the acquisition time cycle Mouth quantity;
Target OLT sends the light net of the PON ports connection of this target OLT according to the packet to the NM server The performance data of network unit ONU.
9. collecting method according to claim 8, it is characterised in that described be grouped into the PON of target OLT Port was grouped in one or more acquisition time cycles;Target OLT is sent out to the NM server according to the packet The performance data of the optical network unit ONU for giving the PON ports of this target OLT to connect, including:
Target OLT sends this mesh to the NM server according to the packet within each described acquisition time cycle Mark OLT is grouped into the performance data of the ONU of the connection of the PON ports in this acquisition time cycle.
10. collecting method according to claim 8 or claim 9, it is characterised in that methods described also includes:
Target OLT sends the quantity of the PON ports of this target OLT connections to the NM server so that the webmaster Server obtains the quantity of the PON ports of each target OLT connection described in the PON.
A kind of 11. data acquisition units, are arranged in the NM server of passive optical network PON, it is characterised in that described device Including:
Acquisition module, for obtaining the acquisition capacity of each target light line terminal OLT in PON;Wherein, target OLT The maximum PON port numbers of the acquisition capacity sending performance data that are this target OLT within the acquisition time cycle;
Acquisition module, for the acquisition capacity of each target OLT according to acquisition module acquisition, to each mesh described The performance data of the optical network unit ONU of the PON ports connection of mark OLT carries out packet collection.
12. data acquisition units according to claim 11, it is characterised in that the acquisition module includes:
Grouped element, the parallel task number for being supported according to the NM server were determined in each described acquisition time cycle The quantity of target OLT to be collected, and the PON ports in this target OLT are grouped into according to the acquisition capacity of target OLT In one or more acquisition time cycles;
First collecting unit, for, within each described acquisition time cycle, being grouped into this acquisition time to the grouped element The performance data of the ONU of the PON ports connection in the cycle is acquired.
13. data acquisition units according to claim 11 or 12, it is characterised in that the acquisition module includes:
Second collecting unit, for answering the acquisition capacity of table and target OLT according to collection relation pair, in each acquisition time In cycle, the parallel performance data to the ONU that the PON ports in N number of target OLT in presence connect is acquired, institute N is stated less than or equal to the parallel acquisition number of tasks that the NM server is supported, the collection relation pair answers table to include:Described every PON port numbers in individual target OLT and target OLT in presence, and right with the acquisition capacity of target OLT Should be related to;
First judging unit, in the acquisition time end cycle, judging the N for executing collection in this acquisition time cycle Whether individual target OLT completes the collection of performance data;
Second collecting unit, is additionally operable to judge have n1 target OLT to complete performance number in first judging unit According to collection, and n2 target OLT do not complete performance data collection when, in the next acquisition time in this acquisition time cycle In cycle, according to the collection relation pair answer the acquisition capacity of table and target OLT parallel to the n1 target not gathered In target OLT of the individual unfinished performance data collection of ONU and the n2 that the PON ports in OLT in presence connect not The performance data of the ONU of the PON ports connection of collection is acquired;Wherein, n1 is N with n2 sums.
14. data acquisition units according to claim 11 or 12, it is characterised in that the acquisition module includes:
First connection establishment unit, is connected for setting up socket with each target OLT described;
First receiving unit, the socket for being set up by first connection establishment unit connect each described in reception The performance data that target OLT sends;
Determining unit, for judge first receiving unit receive described in each target OLT within the acquisition time cycle The maximum PON port numbers are defined as adopting for this target OLT by the maximum PON port numbers of the complete performance data for sending Collection ability.
15. data acquisition units according to claim 11 or 12, it is characterised in that the acquisition module includes:
Second connection establishment unit, is connected for setting up socket with each target OLT described;
3rd collecting unit, the socket for being set up by second connection establishment unit are connected to each mesh described The PON ports of the predetermined number in mark OLT in presence carry out the collection of performance data;
Second judging unit, described every for judging whether the 3rd collecting unit was collected within the acquisition time cycle The complete performance data of the PON ports of predetermined number in individual target OLT;
Processing unit, for when second judging unit judges to exist first object OLT, increasing the first object In OLT after the quantity of PON ports to be collected, indicate the 3rd collecting unit again to the PON ends in the first object OLT Mouth carries out performance data collection, until second judging unit is judged to collect the complete of the first object OLT During performance data, the last time is collected the quantity of the PON ports of the complete performance data of the first object OLT as described The acquisition capacity of first object OLT;The first object OLT is the PON ports that the NM server collects predetermined number Complete performance data target OLT;
The processing unit, is additionally operable to, when second judging unit judges to exist the second target OLT, reduce described second In target OLT after the quantity of PON ports to be collected, in indicating the 3rd collecting unit again to second target OLT PON ports carry out performance data collection, until second judging unit is judged to collect the complete of second target OLT During performance data, the quantity of PON ports of the complete performance data of second target OLT is currently collected as described The acquisition capacity of two targets OLT;Second target OLT is the PON ports that the NM server does not collect predetermined number Complete performance data target OLT.
16. data acquisition units according to claim 11 or 12, it is characterised in that
The acquisition module, is additionally operable to the quantity for obtaining the PON ports of each target OLT connection described in the PON.
17. data acquisition units according to claim 16, it is characterised in that the acquisition module includes:
3rd connection establishment unit, is connected for setting up socket with each target OLT described;
Second receiving unit, the socket for being set up by the 3rd connection establishment unit connect each described in reception The quantity of the PON ports of this target OLT connections that target OLT sends.
A kind of 18. data acquisition units, are arranged in the target light line terminal OLT of passive optical network PON, it is characterised in that Described device includes:
First sending module, for sending the performance data of target OLT so that the NM server to NM server Obtain the acquisition capacity of target OLT and the PON ports of target OLT are grouped according to the acquisition capacity, institute The maximum PON port numbers of the acquisition capacity for the stating target OLT sending performance data that are this target OLT within the acquisition time cycle;
Second sending module, for according to the packet, to the PON ports connection that the NM server sends this target OLT Optical network unit ONU performance data.
19. data acquisition units according to claim 18, it is characterised in that described be grouped into target OLT PON ports were grouped in one or more acquisition time cycles;Second sending module according to the packet, to the webmaster Server sends the performance data of the optical network unit ONU of the PON ports connection of this target OLT, including:
According to the packet, this target OLT is sent to the NM server within each described acquisition time cycle and be grouped into The performance data of the ONU of the PON ports connection in this acquisition time cycle.
20. data acquisition units according to claim 18 or 19, it is characterised in that first sending module, also use In the quantity of the PON ports for sending the target OLT connection to the NM server so that the NM server obtains institute State the quantity of the PON ports of each target OLT connection described in PON.
CN201610971892.9A 2016-10-28 2016-10-28 A kind of collecting method and device Active CN106506072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610971892.9A CN106506072B (en) 2016-10-28 2016-10-28 A kind of collecting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610971892.9A CN106506072B (en) 2016-10-28 2016-10-28 A kind of collecting method and device

Publications (2)

Publication Number Publication Date
CN106506072A true CN106506072A (en) 2017-03-15
CN106506072B CN106506072B (en) 2019-06-07

Family

ID=58323179

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610971892.9A Active CN106506072B (en) 2016-10-28 2016-10-28 A kind of collecting method and device

Country Status (1)

Country Link
CN (1) CN106506072B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110505540A (en) * 2019-07-11 2019-11-26 中国联合网络通信集团有限公司 A kind of method and device judging the port PON dilatation priority
CN114070707A (en) * 2020-11-10 2022-02-18 北京市天元网络技术股份有限公司 Internet performance monitoring method and system
CN114449378A (en) * 2020-10-31 2022-05-06 中盈优创资讯科技有限公司 OLT side ONU automatic discovery method and device based on SNMP

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158364A (en) * 2011-05-05 2011-08-17 瑞斯康达科技发展股份有限公司 Time slice scheduling-based device polling method and device
CN103684851A (en) * 2013-11-26 2014-03-26 华为技术有限公司 Data acquiring method and data acquiring device
CN104125013A (en) * 2014-08-13 2014-10-29 烽火通信科技股份有限公司 Passive optical network performance data collecting device and passive optical network performance data processing method
CN105049245A (en) * 2015-07-02 2015-11-11 深圳市西迪特科技有限公司 EPON element management system
CN105357060A (en) * 2015-12-09 2016-02-24 瑞斯康达科技发展股份有限公司 Method, device and system for obtaining network equipment performance data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158364A (en) * 2011-05-05 2011-08-17 瑞斯康达科技发展股份有限公司 Time slice scheduling-based device polling method and device
CN103684851A (en) * 2013-11-26 2014-03-26 华为技术有限公司 Data acquiring method and data acquiring device
CN104125013A (en) * 2014-08-13 2014-10-29 烽火通信科技股份有限公司 Passive optical network performance data collecting device and passive optical network performance data processing method
CN105049245A (en) * 2015-07-02 2015-11-11 深圳市西迪特科技有限公司 EPON element management system
CN105357060A (en) * 2015-12-09 2016-02-24 瑞斯康达科技发展股份有限公司 Method, device and system for obtaining network equipment performance data

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110505540A (en) * 2019-07-11 2019-11-26 中国联合网络通信集团有限公司 A kind of method and device judging the port PON dilatation priority
CN110505540B (en) * 2019-07-11 2021-06-29 中国联合网络通信集团有限公司 Method and device for judging PON port expansion priority
CN114449378A (en) * 2020-10-31 2022-05-06 中盈优创资讯科技有限公司 OLT side ONU automatic discovery method and device based on SNMP
CN114449378B (en) * 2020-10-31 2023-05-30 中盈优创资讯科技有限公司 SNMP-based OLT-side ONU automatic discovery method and device
CN114070707A (en) * 2020-11-10 2022-02-18 北京市天元网络技术股份有限公司 Internet performance monitoring method and system

Also Published As

Publication number Publication date
CN106506072B (en) 2019-06-07

Similar Documents

Publication Publication Date Title
CN112134741B (en) Client-directed networking restrictions in a distributed system
CN105554102A (en) Elastic expansion method based on container cluster and application system thereof
CN103179217B (en) A kind of load-balancing method for WEB application server farm and device
EP2563062A1 (en) Long connection management apparatus and link resource management method for long connection communication
US20100246401A1 (en) Congestion Management in a Shared Network
CN106506072A (en) A kind of collecting method and device
US10411911B2 (en) Network as service service cross-domain orchestration method, orchestration device, and control device
CN112367217B (en) Cooperative type large flow detection method and system oriented to software defined network
CN112104559B (en) SD-WAN network routing jitter mitigation method and SD-WAN network controller
CN109787915A (en) Flow control methods, device, electronic equipment and the storage medium of network access
CN101409654B (en) Method for processing SNMP information in network management system
CN110474842A (en) A kind of communication means, customer terminal equipment and transmission network
CN108173766A (en) A kind of multi-service hierarchical topology method for routing and system based on differentiation QoS
CN106685962B (en) Defense system and method for reflective DDOS attack flow
CN110855741B (en) Service self-adaptive access method and device, storage medium and electronic device
CN109039764A (en) A kind of network parameter configuration method of distributed memory system
CN103581006A (en) System architecture for global optimization of flexible grid optical networks and global optimization method thereof
CN108965013B (en) System and method for rapidly opening IP and optical network service
CN102013996B (en) Data acquisition management method and system and telecommunication network management system
CN110324190A (en) A kind of network plan method and device
Xu et al. Minimizing multi-controller deployment cost in software-defined networking
CN110309225B (en) Data processing method and system
CN107181694B (en) A kind of routing frequency spectrum distributing method realized with multithreading
CN106961397B (en) The optical path method for building up and system of power distribution communication net
CN109413062A (en) Fictitious host computer is by the monitor processing method of malicious attack and system, node server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant