Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended
The example of device and method being described in detail in claims, some aspects of the invention are consistent.
It is only to be not intended to limit the invention merely for for the purpose of describing particular embodiments in terminology used in the present invention.
It is also intended in the present invention and the "an" of singular used in the attached claims, " described " and "the" including majority
Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps
It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the present invention
A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from
In the case where the scope of the invention, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination ".
The following embodiment of the present invention can be applied in a kind of EPON system, as shown in Figure 1, the system includes optical link
Terminal (OLT), optical network unit (ONU), POS (Passive Optical Splitter, passive fiber splitter) and net
Tube apparatus;
Wherein, OLT device is typically placed in local side CO (Central Office, central machine room), is entire EPON system
The core equipment of system, OLT device are usually an Ethernet switch, router or multimedia conversion platform, provide EPON
Interface between the core data of system and service provider, video and telephone network.ONU equipment is used to connect the net of user side
Network equipment (such as PC, set-top box and interchanger) is generally positioned at user's family, corridor or roadside, is mainly responsible for user side
The forwarding of upstream data (data that ONU equipment is sent to OLT device) and selectively receive the downlink broadcast forwarded from OLT device side
Data (data packet that OLT device is sent to ONU equipment).Upstream data can be coupled on an optical fiber by POS, by downlink data
It is distributed to each ONU equipment.Network Management Equipment can be managed and monitor to entire EPON network, wherein the Network Management Equipment can
To be that the network management based on SNMP (Simple Network Management Protocol, Simple Network Management Protocol) agreement is set
Standby, which connect with OLT device, and user does visually ONU equipment in entire EPON network using Network Management Equipment
Monitoring and management, such as the data traffic, message transmission rate and the state of data-interface that monitor each ONU equipment in real time etc. are believed
Breath.
The network management data acquisition methods that the present invention describes apply by Network Management Equipment to ONU equipment or OLT device into
Under the scene of row monitoring and management, under the scene, Network Management Equipment is in order to be monitored and manage to ONU equipment or OLT device
Reason needs the network management data to ONU equipment or OLT device request for monitoring, and the network management data of request is shown to user;
In order to reduce the message amount of Network Management Equipment interaction in data request process, in the present invention, Network Management Equipment setting reports week
Phase and required network management data type, and by the report cycle of data-indication message setting ONU equipment or OLT device, make
ONU equipment or OLT device actively report Network Management Equipment to Network Management Equipment needed for network management data, to reduce message friendship
Mutually, system signaling expense is saved, the present invention will be described combined with specific embodiments below.
Fig. 2 is the method that a kind of network management data provided in an embodiment of the present invention obtains, as shown in Fig. 2, this method comprises:
The report cycle and network management data type of each optical network unit is arranged in S201, Network Management Equipment.
S202, the Network Management Equipment are that each optical network unit generates the first data-indication message.
Wherein, each first data-indication message includes the address of each optical network unit, report cycle and network management number
According to type.
S203, the Network Management Equipment send each first data-indication message to optical line terminal, so that the optical line terminal root
According to the network management data that the report cycle of each optical network unit is arranged in each first data-indication message and needs are collected.
S204, the Network Management Equipment receive the first data reporting message from the optical line terminal.
Wherein, which carries the network management data of each optical network unit.
Using above-described embodiment, the report cycle being arranged by Network Management Equipment and network management data type, optical network unit energy
It is enough according to network management data needed for report cycle active reporting Network Management Equipment, thus reduce Network Management Equipment and optical network unit it
Between message interaction, saved system signaling expense, solved the problems, such as that network resource consumption is big in available data transmission process.
Fig. 3 is the method that another network management data provided in an embodiment of the present invention obtains, as shown in figure 3, the present invention is implemented
Example can be applied to EPON network, which can be the Network Management Equipment based on snmp protocol, in embodiments of the present invention,
The report cycle and network management data type of each optical network unit is arranged in Network Management Equipment, and sends the first data to optical line terminal and refer to
Show message, the network management data that the report cycle of each optical network unit is arranged in optical line terminal and needs are collected, so that each optical-fiber network
Unit reports the first data reporting message for carrying network management data according to the report cycle of setting, this method comprises:
The report cycle and network management data type of each optical network unit is arranged in S301, Network Management Equipment.
S302, Network Management Equipment are that each optical network unit generates the first data-indication message.
Wherein, each first data-indication message includes the address of each optical network unit, report cycle and network management data
Type, first data-indication message are used to indicate optical network unit and report the corresponding net of network management data type according to report cycle
Pipe data.
First data-indication message is sent to optical line terminal by S303, Network Management Equipment.
S304, optical line terminal parse first data-indication message and obtain the address of each optical network unit, report cycle
With network management data type.
On the network management data that the report cycle of each optical network unit is arranged in S305, optical line terminal and needs are collected generates
Report instruction message.
Wherein, it includes the report cycle of each optical network unit and the network management data that needs are collected that this, which reports instruction message, is used
In the network management data for indicating that each optical network unit reports needs to collect according to the report cycle.
It should be noted that optical line terminal receive first request of data instruction message after, also record this first
The source address (i.e. the address of Network Management Equipment) of data-indication message, so as to the network management number sent in subsequently received optical network unit
According to rear, the network management data is sent to Network Management Equipment according to the source address.
This is reported instruction message to be sent to the corresponding optical-fiber network list in address of each optical network unit by S306, optical line terminal
Member.
It should be noted that since Network Management Equipment can request the number of multiple network management data types to optical network unit simultaneously
According to accordingly it is also possible to which different report cycles is arranged to the data of each network management data type, that is to say, that above-mentioned first number
It may include multiple network management data types and each corresponding report cycle of network management data type according to instruction message, each
The corresponding report cycle of network management data type can be different.
S307, each optical network unit report the report cycle in instruction message to report network management number to optical line terminal according to this
According to.
Wherein, which may include the data traffic, message transmission rate and data-interface of optical network unit
State etc. is used to monitor the data of optical network unit, such as the occupancy of CPU.
S308, optical line terminal receive the network management data, and the network management data is encapsulated as the first data reporting message.
Wherein, which can be snmp protocol message.
The first data reporting message is sent to Network Management Equipment by S309, optical line terminal.
Wherein, OLT device sends out the first data reporting message got from optical network unit according to the source address of record
It send to Network Management Equipment, Network Management Equipment parses the first data reporting message and obtain after receiving the first data reporting message
The network management data, and the network management data is shown to user.
Using above-described embodiment, the report cycle being arranged by Network Management Equipment and network management data type, optical network unit energy
It is enough according to network management data needed for report cycle active reporting Network Management Equipment, thus reduce Network Management Equipment and optical network unit it
Between message interaction, saved system signaling expense, it is big to solve network resource consumption in existing network management data acquisition process
Problem.
Fig. 4 is the method that another network management data provided in an embodiment of the present invention obtains, as shown in figure 4, the present invention is implemented
Example can be applied to EPON network, which can be the Network Management Equipment based on snmp protocol, in embodiments of the present invention,
Network Management Equipment can be respectively set the report cycle and network management data type of each optical network unit and optical line terminal, and to each
Optical network unit sends the first data-indication message, so that optical network unit is reported according to the report cycle of setting and network management data
The corresponding network management data of type;The second data-indication message is sent to optical line terminal, so that optical line terminal is according to setting
Report cycle reports network management data corresponding with network management data type, this method comprises:
The report cycle and network management number of each optical network unit and optical line terminal can be respectively set in S401, Network Management Equipment
According to type.
S402, Network Management Equipment generate the first data-indication message and the second data-indication message.
Wherein, each first data-indication message includes the address of each optical network unit, report cycle and network management number
According to type, each second data-indication message includes the report cycle and network management data type of the optical line terminal.
S403, Network Management Equipment send the first data-indication message to each optical network unit by optical line terminal.
Wherein, optical network unit also records first data-indication message after obtaining first data-indication message
Source address (i.e. the address of Network Management Equipment), to report the network management data by optical line terminal according to the source address subsequent
To Network Management Equipment.
S404, each optical network unit parse first data-indication message and obtain the report cycle and network management of optical network unit
Data type.
S405, each optical network unit collect the corresponding network management data of network management data type, and the network management data is encapsulated as
Third data reporting message.
Wherein, which carries the network management data that each optical network unit is collected, in the third data
Report message can be snmp protocol message, which may include the data traffic of optical network unit, message transmission rate
With the state of data-interface etc. for monitoring the data of optical network unit, such as the occupancy of CPU.
S406, each optical network unit are reported in the third data by optical line terminal to Network Management Equipment according to report cycle
Report message.
Wherein, Network Management Equipment parses the third data reporting message and obtains after receiving the third data reporting message
The network management data, and the network management data is shown to user.
S407, Network Management Equipment send the second data-indication message to optical line terminal.
Wherein, optical line terminal also records second data-indication message after obtaining second data-indication message
Source address (i.e. the address of Network Management Equipment), so that the network management data is sent to Network Management Equipment according to the source address subsequent.
S408, optical line terminal parse second data-indication message and obtain the report cycle and network management of the optical line terminal
Data type.
S409, optical line terminal collect the corresponding network management data of network management data type, and the network management data is encapsulated as the
Two data reporting messages.
Wherein, which carries the network management data of the optical line terminal, which, which reports, disappears
Breath can be snmp protocol message, which may include the data traffic of optical line terminal, message transmission rate sum number
State according to interface etc. is used to monitor the data of optical network unit, such as the occupancy of CPU.
S410, optical line terminal report the second data reporting message to Network Management Equipment according to report cycle.
Wherein, Network Management Equipment parses the second data reporting message and obtains after receiving the second data reporting message
The network management data, and the network management data is shown to user.
It should be noted that for simple description, therefore, it is stated as a series of dynamic for above method embodiment
It combines, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described, because of foundation
The present invention, some steps may be performed in other sequences or simultaneously.For example, step S403 is to step S406 and step S407
To being not limited to first carry out step S403 to step S406 between step S410 step S407 is executed again to step S410, it can also
Step S403 to step S406 is executed again to first carry out step S407 to step S410, may also be performed simultaneously step S403 to step
Rapid S406 and step S407 is to step S410, and the present embodiment is not construed as limiting this, secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention
It is necessary.
Using above-described embodiment, Network Management Equipment can be respectively set optical network unit and light wireless terminal report cycle and
The network management data type reported, so that optical network unit and light wireless terminal report corresponding net according to the report cycle of setting
Pipe data, thus when reducing Network Management Equipment request network management data message interaction, saved system signaling expense, solved existing
There is the problem that network resource consumption is big in network management data acquisition process.
Fig. 5 is a kind of network management data acquisition device provided in an embodiment of the present invention, which is applied to Network Management Equipment, the dress
It sets and includes:
Setting unit 501, for the report cycle and network management data type of each optical network unit to be arranged;
Control unit 502, for generating multiple first data-indication messages;Wherein, each first data-indication message
Address including each optical network unit, report cycle and network management data type;
Transmission unit 503, for sending multiple first data-indication message optical line terminal;
Receiving unit 504, for receiving the first data reporting message from the optical line terminal;Wherein, first number
The network management data of each optical network unit is carried according to reporting message.
Optionally, the setting unit 501 is also used to be arranged the report cycle and network management data type of the optical line terminal;
The control unit 502 is also used to generate the second data-indication message for the optical line terminal;Second data instruction
Message includes the report cycle and network management data type of the optical line terminal;
The transmission unit 503 is also used to send second data-indication message to the optical line terminal;
The receiving unit 504 is also used to receive the second data reporting message from the optical line terminal;Wherein, this
Two data reporting messages carry the network management data of the optical line terminal.
Optionally, the transmission unit 503 is also used to send each first data-indication message to each optical network unit.
Optionally, the receiving unit 504 is also used to receive the third data reporting message from each optical network unit;
Wherein, each third data reporting message carries the network management data that each optical network unit is collected.
Using above-described embodiment, the report cycle being arranged by Network Management Equipment and network management data type, optical network unit energy
It is enough according to network management data needed for report cycle active reporting Network Management Equipment, thus reduce Network Management Equipment and optical network unit it
Between message interaction, saved system signaling expense, solved the problems, such as that network resource consumption is big in available data transmission process.
The embodiment of network management data acquisition device of the present invention can be applied on Network Management Equipment.Installation practice can pass through
Software realization can also be realized by way of hardware or software and hardware combining.Taking software implementation as an example, it anticipates as a logic
Device in justice is by the processor of Network Management Equipment where it by computer program instructions corresponding in nonvolatile memory
It is read into memory what operation was formed.For hardware view, as shown in fig. 6, for where network management data acquisition device of the present invention
A kind of hardware structure diagram of Network Management Equipment can also wrap other than processor shown in fig. 6, network interface and memory
Other hardware are included, this is repeated no more.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus
Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
The purpose for needing to select some or all of the modules therein to realize the present invention program.Those of ordinary skill in the art are not paying
Out in the case where creative work, it can understand and implement.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.