CN110391921A - Processing method, device and the storage medium of the configuration information of the port OLT - Google Patents

Processing method, device and the storage medium of the configuration information of the port OLT Download PDF

Info

Publication number
CN110391921A
CN110391921A CN201810343657.6A CN201810343657A CN110391921A CN 110391921 A CN110391921 A CN 110391921A CN 201810343657 A CN201810343657 A CN 201810343657A CN 110391921 A CN110391921 A CN 110391921A
Authority
CN
China
Prior art keywords
port
olt
onu
information
configuration information
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
CN201810343657.6A
Other languages
Chinese (zh)
Other versions
CN110391921B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201810343657.6A priority Critical patent/CN110391921B/en
Priority to PCT/CN2019/077211 priority patent/WO2019201025A1/en
Publication of CN110391921A publication Critical patent/CN110391921A/en
Application granted granted Critical
Publication of CN110391921B publication Critical patent/CN110391921B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/0816Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • 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
    • 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/25Arrangements specific to fibre transmission
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides processing method, device, storage medium and the electronic devices of a kind of configuration information of port OLT, wherein this method comprises: obtaining the information of the first port in the ONU that optical network unit ONU is sent;Determine second port corresponding with first port in optical line terminal OLT, wherein the second port is logic port;It is handled according to configuration information of the information of above-mentioned first port to second port.Through the invention, it solves present in the relevant technologies due to ONU model, large number of and cause under bursts of traffic scene, ONU not can guarantee the problem of scene for meeting various bursts of traffic, and then realize by configuring the port OLT and cope with the scene of various bursts of traffic in network, reduce the purpose of impact of the bursts of traffic for ONU.

Description

Processing method, device and the storage medium of the configuration information of the port OLT
Technical field
The present invention relates to the communications field, in particular to a kind of processing method of the configuration information of port OLT, device, Storage medium and electronic device.
Background technique
Continuous development and every country broadband implementation with optical-fiber network, FTTX (Fiber-to-the x, x =H for home, P for premises, C for curb and N for node or neighborhood, wherein FTTH is fiber to the home, and FTTP is fiber to the station, and FTTC is that Fiber To The Curb/cell, and FTTN is fiber-to-the-node) entirely Face is spread out, and FTTX is the mainstream technology of fixed network access at present, mainly by OLT (fiber line terminal, Optical in FTTX system Line Terminal) and two kinds of equipment compositions of ONU (optical network unit, Optical Network Unit), OLT device master It is placed in office side's computer room, and ONU equipment is mainly placed in user side, is connected between OLT and ONU by optical fiber, one OLT pairs Answer several hundred to thousands of a ONU equipments.
In recent years, the continuous pursuit with user for bandwidth, the big bandwidth applications such as 100M become existing in multiple areas Real, in order to better meet the demand of user, OLT first line of a couplet jaws equipment is also gradually changed to the ability of 10G, OLT by the ability of 1G Upper layer device (including router etc.) has also carried out dilatation in bandwidth, can satisfy the demand of user at present, but Bring some problems.
The dilatation of upper layer device results in the increase (upper layer device happens suddenly according to rates such as 10G) of bursts of traffic, is limited to The caching of the influence of cost or each manufacturer's different model, ONU can not fully meet various scenes, to compare in bursts of traffic When big, lead to ONU caching not enough, so as to cause packet loss, affect user experience.
To solve the above-mentioned problems, most direct mode is exactly to replace ONU equipment or upgrading ONU firmware version to meet The demand of bursts of traffic, but the pressure such as cost are constrained to, ONU not can guarantee the scene that can meet various bursts of traffic, And ONU model is numerous, mass upgrade ONU version is also not-so-practical.
For the above problem present in the relevant technologies, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides processing method, device, storage medium and the electronics of a kind of configuration information of port OLT Device meets the scenes of various bursts of traffic at least to solve the problems, such as that ONU present in the relevant technologies not can guarantee.
According to one embodiment of present invention, a kind of processing method of the configuration information of port OLT is provided, comprising: obtain The information for the first port in the ONU for taking optical network unit ONU to send;Determine in optical line terminal OLT with it is described The corresponding second port of first port, wherein the second port is logic port;According to the information of the first port to institute The configuration information for stating second port is handled.
Optionally, the information of the first port includes the report of the connection status of the first port, the first port The caching capabilities of literary processing speed and the first port, wherein the information according to the first port is to described second It includes: when the connection status for determining the first port is normal connection, according to described that the configuration information of port, which carries out processing, The Message processing rate of first port and the caching capabilities of the first port carry out the configuration information of the second port Adjustment;And/or when the connection status for determining the first port is to disconnect, that deletes the second port matches confidence Breath.
Optionally, the configuration information of the second port includes integer value, burst value and cache size, wherein according to described The Message processing rate of first port and the caching capabilities of the first port carry out the configuration information of the second port Adjustment includes: the Message processing rate being adjusted to the shaping value of the second port less than or equal to the first port;It will The burst value of the second port is adjusted to the caching capabilities less than or equal to the first port;By the slow of the second port Value is deposited to be adjusted to be greater than the caching capabilities of the first port;Wherein, the shaping value E-Packets for the second port Mean Speed, the burst value is described slow for indicating that the second port E-Packets more than the byte number of Mean Speed Value is deposited for indicating that the second port allows to cache the byte number of message.
Optionally, after the configuration information for deleting the second port, the method also includes: by the second port The occupied resource allocation of configuration information to other ports in the OLT.
Optionally, described before being handled according to information of the information of the first port to the second port Method further include: determine the authentication state of the ONU;According to the information of the first port to the information of the second port into Row processing includes: when the authentication state for determining the ONU is to authenticate successfully, according to the information of the first port to described the The configuration information of Two-port netwerk is handled.
Optionally, after the authentication state for determining the ONU, the method also includes: in the certification for determining the ONU When state is authentification failure, the configuration information of port corresponding with all of the port in the ONU in the OLT is deleted.
Optionally, in deleting the OLT port corresponding with all of the port in the ONU configuration information it Afterwards, the method also includes: by the configuration information institute of port corresponding with all of the port in the ONU in the OLT The resource allocation of occupancy is to other ports in the OLT.
Optionally, before being handled according to configuration information of the information of the first port to the second port, The method also includes: determine the rate that the upper united mouth of the OLT E-Packets;According to the information of the first port to described It includes: to determine that rate that the upper united mouth E-Packets is greater than the first port that the configuration information of second port, which carries out processing, Message processing rate when, handled according to configuration information of the information of the first port to the second port.
Optionally, after determining the rate that the upper united mouth of the OLT E-Packets, the method also includes: in determination When the rate that the upper united mouth E-Packets is less than or equal to the Message processing rate of the first port, the second end is maintained The configuration information of mouth is constant.
It optionally, include the number of the first port in the information of the first port, wherein come from optical fiber receiving In the ONU of network unit ONU before the information of first port, the method also includes: record each port in the ONU Number and the OLT in each port between corresponding relationship;Determine in optical line terminal OLT with the first port pair The second port answered includes: corresponding with the first port according to the determination of the number of the corresponding relationship and the first port The second port.
Optionally, the information of the first port includes at least one of: the number of the first port, described first The caching capabilities of the connection status of port, the Message processing rate of the first port, the first port;And/or described The configuration information of Two-port netwerk includes at least one of: shaping value, the average speed to E-Packet for indicating the second port Rate;Burst value, for indicating that the second port E-Packets more than the byte number of Mean Speed;Cache size, for indicating The second port allows to cache the byte number of message.
Optionally, when the first port is physical port, the Message processing rate of the first port is described the The negotiated speed of Single port;And/or when the first port is logic port, the Message processing rate of the first port For the maximum rate of the processing message of the first port.
According to one embodiment of present invention, a kind of processing method of the configuration information of port OLT is additionally provided, comprising: The information of first port in ONU is sent to OLT, wherein the information of the first port is used to indicate the OLT and determines institute Second port corresponding with the first port in OLT is stated, and according to the information of the first port to the second port Configuration information is handled, and the second port is logic port.
Optionally, before the information of the first port in ONU is sent to OLT, the method also includes: detect institute The connection status for stating first port changes.
Optionally, before the information of the first port in ONU is sent to OLT, the method also includes: described in detection The caching capabilities of the connection status of each port, the Message processing rate of each port and each port in ONU;By first in ONU The information of port be sent to OLT include: by the number of the first port, the connection status of the first port detected, The Message processing rate of the first port and the caching capabilities of the first port are sent to the OLT.
Optionally, the information of the first port includes at least one of: the number of the first port, described first The caching capabilities of the connection status of port, the Message processing rate of the first port, the first port;And/or described The configuration information of Two-port netwerk includes at least one of: shaping value, the average speed to E-Packet for indicating the second port Rate;Burst value, for indicating that the second port E-Packets more than the byte number of Mean Speed;Cache size, for indicating The second port allows to cache the byte number of message.
Optionally, when the first port is physical port, the Message processing rate of the first port is described the The negotiated speed of Single port;And/or when the first port is logic port, the Message processing rate of the first port For the maximum rate of the processing message of the first port.
According to another embodiment of the invention, a kind of processing unit of the configuration information of port OLT is additionally provided, is wrapped It includes: obtaining module, the information of the first port in the ONU for obtaining optical network unit ONU transmission;Determining module, For determining second port corresponding with the first port in optical line terminal OLT, wherein the second port is logic Port;Processing module, for being handled according to the information of the first port the configuration information of the second port.
Optionally, the information of the first port includes the report of the connection status of the first port, the first port The caching capabilities of literary processing speed and the first port, wherein the processing module includes: adjustment unit, in determination When the connection status of the first port is normal connection, according to the Message processing rate of the first port and described first The caching capabilities of port are adjusted the configuration information of the second port;And/or unit is deleted, for described in the determination The connection status of first port is when disconnecting, to delete the configuration information of the second port.
According to another embodiment of the invention, a kind of processing unit of the configuration information of port OLT is additionally provided, is wrapped It includes: sending module, for the information of the first port in ONU to be sent to OLT, wherein the information of the first port is used for Indicate that the OLT determines second port corresponding with the first port in the OLT, and according to the information of the first port The configuration information of the second port is handled, the second port is logic port.
Optionally, described device further include: detection module, for the information of the first port in ONU to be sent to OLT Before, detect that the connection status of the first port changes.
According to still another embodiment of the invention, a kind of storage medium is additionally provided, meter is stored in the storage medium Calculation machine program, wherein the computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
According to still another embodiment of the invention, a kind of electronic device, including memory and processor are additionally provided, it is described Computer program is stored in memory, the processor is arranged to run the computer program to execute any of the above-described Step in embodiment of the method.
Through the invention, due to being handled the configuration information of the logic port of OLT, ONU equipment that no replacement is required Or upgrading ONU version, so, even if handling in bursts of traffic without to ONU, weight only is carried out to the port of OLT New configuration solves present in the relevant technologies due to ONU model, large number of and cause under bursts of traffic scene, ONU not can guarantee the problem of scene for meeting various bursts of traffic, and then realizes by configuring the port OLT and cope in network The scene of various bursts of traffic reduces the purpose of impact of the bursts of traffic for ONU.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is FTTX system entirety networking diagram according to an embodiment of the present invention;
Fig. 2 is a kind of the hard of the mobile terminal of the processing method of the configuration information of port OLT according to an embodiment of the present invention Part structural block diagram;
Fig. 3 is the processing method flow chart of the configuration information of the first port OLT according to an embodiment of the present invention;
Fig. 4 is the processing method flow chart of the configuration information of the port second of OLT according to an embodiment of the present invention;
Fig. 5 is the OLT detection configuration flow figure of specific embodiment 1 according to the present invention;
Fig. 6 is the OLT detection configuration flow figure of specific embodiment 2 according to the present invention;
Fig. 7 is the ONU detection physics port status flow chart of specific embodiment 2 according to the present invention;
Fig. 8 is the ONU detection logical port state flow chart of specific embodiment 2 according to the present invention;
Fig. 9 is the OLT detection configuration flow figure of specific embodiment 3 according to the present invention;
Figure 10 is the OLT detection configuration flow figure of specific embodiment 4 according to the present invention;
Figure 11 is the structural block diagram of the processing unit of the configuration information of the first port OLT according to an embodiment of the present invention;
Figure 12 is the structural block diagram of the processing unit of the configuration information of the port second of OLT according to an embodiment of the present invention;
Figure 13 is FTTX system integral module schematic diagram according to embodiments of the present invention.
Specific embodiment
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in combination with Examples.It should be noted that not conflicting In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.
Scheme in the embodiment of the present invention can be applied in FTTX system, can solve asking for bursts of traffic in system Topic, allows FTTX system to cope with the scene of various bursts in network.FTTX system entirety networking diagram is as shown in Figure 1.
The bursts of traffic of FTTX system is hung standby mainly since the bursts of traffic of upper layer device causes (10G) under ONU Link (100,000,000/gigabit) be likely to become bottleneck, need more cachings to carry out stored messages so as to cause ONU equipment, otherwise can Lead to packet loss, to influence user's physical examination.
Usually ONU is cached limited as terminal device, and OLT caches abundance as local side apparatus, and configures and repair Change conveniently, is exactly the caching bottleneck for solving ONU terminal by the cached configuration strategy on OLT in the embodiment of the present invention.
To solve the above-mentioned problems, the present invention provides a kind of burst guard method and device of FTTX flow system flow, below Examples illustrate the present invention for solution:
Embodiment 1
Embodiment of the method provided by the embodiment of the present application one can be in mobile terminal, terminal or similar fortune It calculates and is executed in device.For running on mobile terminals, Fig. 2 is a kind of configuration information of port OLT of the embodiment of the present invention Processing method mobile terminal hardware block diagram.As shown in Fig. 2, mobile terminal 20 may include one or more (Fig. 2 In only show one) (processor 202 can include but is not limited to Micro-processor MCV or programmable logic device to processor 202 The processing unit of FPGA etc.) and memory 204 for storing data, optionally, above-mentioned mobile terminal can also include being used for The transmission device 206 and input-output equipment 208 of communication function.It will appreciated by the skilled person that shown in Fig. 2 Structure is only to illustrate, and does not cause to limit to the structure of above-mentioned mobile terminal.For example, mobile terminal 20, which may also include, compares Fig. 2 Shown in more perhaps less component or with the configuration different from shown in Fig. 2.
Memory 204 can be used for storing computer program, for example, the software program and module of application software, such as this hair The corresponding computer program of processing method of the configuration information of the port OLT in bright embodiment, processor 202 pass through operation storage Computer program in memory 204 realizes above-mentioned method thereby executing various function application and data processing. Memory 204 may include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage fills It sets, flash memory or other non-volatile solid state memories.In some instances, memory 204 can further comprise relative to place The remotely located memory of device 202 is managed, these remote memories can pass through network connection to mobile terminal 20.Above-mentioned network Example includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmitting device 206 is used to that data to be received or sent via a network.Above-mentioned network specific example may include The wireless network that the communication providers of mobile terminal 20 provide.In an example, transmitting device 206 includes a Network adaptation Device (Network Interface Controller, referred to as NIC), can be connected by base station with other network equipments to It can be communicated with internet.In an example, transmitting device 206 can for radio frequency (Radio Frequency, referred to as RF) module is used to wirelessly be communicated with internet.
Embodiment 2
A kind of processing method of the configuration information of port OLT is provided in the present embodiment, and Fig. 3 is to implement according to the present invention The processing method flow chart of the configuration information of the first port OLT of example, as shown in figure 3, the process includes the following steps:
Step S302 obtains the information of the first port in the ONU that optical network unit ONU is sent;
Step S304 determines second port corresponding with first port in optical line terminal OLT, wherein the second end Mouth is logic port;
Step S306 is handled according to configuration information of the information of above-mentioned first port to second port.
Wherein, the terminal that can be of aforesaid operations, such as OLT are executed.In the present embodiment, different ONU is corresponded in OLT Port be different logic port (alternatively referred to as virtual port), the configuration information of different logic ports is different.
In the above-described embodiments, due to being handled the configuration information of the logic port of OLT, no replacement is required ONU Equipment or upgrading ONU version, so, even if being handled in bursts of traffic without to ONU, only to the port of OLT into Row reconfigures, and solves present in the relevant technologies due to ONU model, large number of and cause in bursts of traffic scene Under, the problem of ONU not can guarantee the scene for meeting various bursts of traffic, and then realize by configuring the port OLT and cope with net The scene of various bursts of traffic in network, reduces the purpose of impact of the bursts of traffic for ONU.
In an alternative embodiment, the information of above-mentioned first port includes the connection status of first port, first end The Message processing rate of mouth and the caching capabilities of first port, wherein the configuration according to the information of first port to second port It includes: when the connection status for determining first port is normal connection, according to the Message processing of first port that information, which carries out processing, The caching capabilities of rate and first port are adjusted the configuration information of second port;And/or determining first port Connection status is when disconnecting, to delete the configuration information of second port.In the present embodiment, it does not need to disconnecting What the configuration information of the corresponding logic port in port in ONU was adjusted.
In an alternative embodiment, the configuration information of above-mentioned second port includes integer value, burst value and cache size, Wherein, it is carried out according to configuration information of the caching capabilities of the Message processing rate of first port and first port to second port Adjustment includes: the Message processing rate being adjusted to the shaping value of second port less than or equal to first port;By second port Burst value be adjusted to the caching capabilities less than or equal to first port;The cache size of second port is adjusted to be greater than first end The caching capabilities of mouth;Wherein, which is used for the Mean Speed that E-Packets of second port, and above-mentioned burst value is for indicating the Two-port netwerk E-Packets more than the byte number of Mean Speed, and above-mentioned cache size is used to indicate that second port to allow to cache the word of message Joint number.It in the present embodiment, is to be tied up by the virtual port (corresponding to above-mentioned logic port) on OLT with ONU end mouth It is fixed, shaping (Mean Speed that virtual port E-Packets), burst (virtual port forwarding report are carried out for virtual port on OLT Text is more than the byte number of Mean Speed) and caching (byte number that virtual port can cache message) adjustment, it is shielded on OLT Burst flow outside FTTX system, so that the impact for ONU is reduced, to solve the problems, such as bursts of traffic.In the present embodiment, OLT can be based on the port information that ONU is reported (for example, port connection state, the Message processing rate of port, the caching of port Ability) shaping, burst are carried out for virtual port and cache adjustment.
In an alternative embodiment, after the configuration information for deleting above-mentioned second port, the above method further include: By the occupied resource allocation of the configuration information of second port to other ports in OLT.That is, in the present embodiment, The cache resources of deletion can distribute to the use of other virtual ports.
In an alternative embodiment, the information of second port is handled according to the information of above-mentioned first port Before, the above method further include: determine the authentication state of ONU;According to the information of above-mentioned first port to the information of second port Carrying out processing includes: to be matched according to the information of first port to second port when the authentication state for determining ONU is to authenticate successfully Confidence breath is handled.That is, being first to be determined to the authentication state of ONU, in determination in the present embodiment The authentication state of ONU is when authenticating successfully, just can configuration information to the logic port in the corresponding OLT in port in ONU into Row processing.The processing mode under authentification failure is illustrated below:
In an alternative embodiment, after determining the authentication state of ONU, the above method further include: determining ONU Authentication state be authentification failure when, delete OLT in port corresponding with all of the port in ONU configuration information.In In the present embodiment, in ONU authentification failure, illustrate it should is not have message transmissions between the ONU and OLT, it therefore, can be with Port corresponding with the port in ONU in OLT configuration is deleted.
In an alternative embodiment, the port corresponding with all of the port in ONU in deleting above-mentioned OLT After configuration information, the above method further include: by the configuration information of port corresponding with all of the port in ONU in OLT Occupied resource allocation is to other ports in OLT.That is, in the present embodiment, the cache resources of deletion can divide Other virtual ports of dispensing use.
In an alternative embodiment, the configuration information of second port is carried out according to the information of above-mentioned first port Before processing, the above method further include: determine the rate that the upper united mouth of OLT E-Packets;According to the information of first port to It includes: to determine that rate that upper united mouth E-Packets is greater than the Message processing of first port that the configuration information of Two-port netwerk, which carries out processing, When rate, handled according to configuration information of the information of first port to second port.In the present embodiment, OLT can be with base Judged in the port information that the upper united mouth OLT rate and ONU report, carries out shaping, burst and caching for virtual port and adjust It is whole.In addition it is also necessary to explanation, OLT are also based on the authentication state of ONU, and combine the upper united mouth OLT message rate and ONU reporting port information is judged, is carried out shaping, burst and caching for virtual port and is adjusted.
In an alternative embodiment, after determining the rate that the upper united mouth of above-mentioned OLT E-Packets, the above method Further include: when the rate for determining that upper united mouth E-Packets is less than or equal to the Message processing rate of first port, maintain second The configuration information of port is constant.
It in an alternative embodiment, include the number of first port in the information of above-mentioned first port, wherein connecing It receives in the ONU from optical network unit ONU before the information of first port, the above method further include: each end in record ONU The corresponding relationship between each port in the number and OLT of mouth;It determines corresponding with first port in optical line terminal OLT Two-port netwerk includes: to determine second port corresponding with the first port according to the number of corresponding relationship and first port.At this In embodiment, virtual port (corresponding to above-mentioned logic port) on OLT is to need to be bound in advance with the port in ONU 's.
In an alternative embodiment, the information of above-mentioned first port includes at least one of: the volume of first port Number, the caching capabilities of the Message processing rate of the connection status of first port, first port, first port;And/or above-mentioned The configuration information of Two-port netwerk includes at least one of: shaping value, for indicating Mean Speed that second port E-Packets; Burst value, for indicating that second port E-Packets more than the byte number of Mean Speed;Cache size, for indicating that second port permits Perhaps the byte number of message is cached.
In an alternative embodiment, when above-mentioned first port is physical port, the Message processing of the first port Rate is the negotiated speed of first port;And/or when above-mentioned first port is logic port, at the message of the first port Manage the maximum rate for the processing message that rate is first port.That is, in the present embodiment, if ONU end mouth is physics Port can be reported by its port negotiation rate as port speed;If ONU end mouth is logic port, it can be passed through Port maximum handles message rate, reports as port speed.
Embodiment 3
A kind of processing method of the configuration information of port OLT is additionally provided in the present embodiment, and Fig. 4 is real according to the present invention The processing method flow chart of the configuration information of second of port OLT of example is applied, as shown in figure 4, the process includes the following steps:
The information of first port in ONU is sent to OLT by step S402, wherein the information of the first port is for referring to Show that OLT determines second port corresponding with the first port in OLT, and second port is matched according to the information of first port Confidence breath is handled, which is logic port.
Wherein, execute aforesaid operations can be ONU.In the present embodiment, the port that different ONU is corresponded in OLT is Different logic ports (alternatively referred to as virtual port), the configuration information of different logic ports are different.
In the above-described embodiments, due to being handled the configuration information of the logic port of OLT, no replacement is required ONU Equipment or upgrading ONU version, so, even if being handled in bursts of traffic without to ONU, only to the port of OLT into Row reconfigures, and solves present in the relevant technologies due to ONU model, large number of and cause in bursts of traffic scene Under, the problem of ONU not can guarantee the scene for meeting various bursts of traffic, and then realize by configuring the port OLT and cope with net The scene of various bursts of traffic in network, reduces the purpose of impact of the bursts of traffic for ONU.
In an alternative embodiment, before the information of the first port in ONU is sent to OLT, the above method Further include: detect that the connection status of the first port changes.In the present embodiment, ONU can be monitored in real time in ONU The state of each port, after determining that the connection status for having port changes, by the changed end of connection status in ONU The information of mouth occurs to OLT.
In an alternative embodiment, before the information of the first port in ONU is sent to OLT, the above method Further include: the caching capabilities of the connection status of each port, the Message processing rate of each port and each port in detection ONU;It will The information of first port in ONU is sent to the connection shape that OLT includes: the first port by the number of first port, detected The caching capabilities of state, the Message processing rate of first port and first port are sent to OLT.
In an alternative embodiment, the information of above-mentioned first port includes at least one of: the volume of first port Number, the caching capabilities of the Message processing rate of the connection status of first port, first port, first port;And/or above-mentioned The configuration information of Two-port netwerk includes at least one of: shaping value, for indicating Mean Speed that second port E-Packets; Burst value, for indicating that second port E-Packets more than the byte number of Mean Speed;Cache size, for indicating that second port permits Perhaps the byte number of message is cached.
In an alternative embodiment, when above-mentioned first port is physical port, the Message processing speed of first port Rate is the negotiated speed of first port;And/or when first port is logic port, the Message processing rate of first port is The maximum rate of the processing message of first port.
Embodiment 2 is mainly to be described from the side OLT, and embodiment 3 is mainly to be described from the side ONU, is tied below Specific embodiment is closed, overall description is carried out to the interaction process between OLT and ONU:
Specific embodiment 1
As shown in figure 5, OLT is for virtual port configuration shaping value, burst value and cache size configuration, packet in the present embodiment Include following steps:
After the success of S501:ONU authentication registration, OLT issues data configuration to ONU, and the port data of ONU is mapped to OLT Virtual port (corresponding to the logic port in above-mentioned OLT) on;
S502:OLT records the port relation table of ONU end mouth and OLT virtual port, the slot position including the ONU on OLT Number, PON slogan and number of registration information, the note when LAN1 mouth correspondence virtual port 256 of such as No. 5 ONU of No. 3 PON mouths of No. 2 slot positions Recording information is 2/3/5:1 corresponding 256;
S503:OLT is for virtual port configuration shaping value, burst value and caching value parameter.
According to the content in the embodiment of the present invention, OLT is protected for virtual port configuration shaping value, burst value and cache size The message rate that card OLT is issued is relatively uniform, and caches the burst flow of upper layer device, reduces bursts of traffic for ONU's Impact.
Specific embodiment 2
As shown in fig. 6, in this embodiment, OLT adjusts virtual in OLT according to the port information that ONU is reported Shaping value, burst value and the cache size configuration of port, include the following steps:
After the success of S601:ONU authentication registration, OLT issues data configuration to ONU, and the port data of ONU is mapped to OLT Virtual port on;
S602:OLT records the port relation table of ONU end mouth and OLT virtual port, the slot position including the ONU on OLT Number, PON slogan and number of registration information, the note when LAN1 mouth correspondence virtual port 256 of such as No. 5 ONU of No. 3 PON mouths of No. 2 slot positions Recording information is 2/3/5:1 corresponding 256;
The message of S603:OLT detection ONU reporting port information is (that is, detect whether to receive ONU end mouth state change letter Breath), if not receiving message, continue to test, if receiving message, into S604;
S604: obtaining ONU end mouth status information, judge ONU end mouth state, if port is that UP state (corresponds to above-mentioned Connection status), into S606, otherwise (that is, disconnecting state corresponding to above-mentioned if DOWN state when port) enters S605;
S605: ONU end mouth is DOWN state at this time, determines OLT virtual port by port relation table by ONU end slogan, It is indexed by virtual port and searches configuration relation table, deleted virtual port shaping value, burst value and cache size configuration, can will delete The caching removed is used for other virtual ports, is entered step S603 and is continued to test;
S606: ONU end mouth is UP state at this time, obtains the parameter informations such as port numbers, port speed, the buffer to ports of ONU, OLT virtual port is determined by port relation table by ONU end slogan;
S607: shaping value, burst value and the caching value parameter of configuration OLT virtual port, the concrete configuration of OLT virtual port Principle records configuration relation table referring to the explanation in inventive embodiments, such as shaping value B, burst value C that virtual port A is configured, delays Value D is deposited, configuration relation table is recorded as A and corresponds to B/C/D, and A is call number.S603 is entered step to continue to test.
According to the present embodiment, ONU end mouth rate Y is less than or equal to by the shaping value B of virtual port, guarantees that OLT is transmitted to Port speed of the message rate of ONU end mouth less than or equal to ONU will not generate so that ONU end mouth is capable of handling all messages The problems such as packet loss;It is less than or equal to ONU end mouth by virtual port burst value C and caches Z, enables OLT in the base of Mean Speed Happen suddenly bigger message on plinth, do one's best and sends more messages, but guarantees that these messages will not be slow because of ONU end mouth It deposits insufficient and leads to packet loss;It is greater than ONU end mouth by virtual port cache size D and caches Z, so that has message burst in upper layer device When OLT virtual port can cache more messages compared to ONU end mouth, to guarantee that these messages will not be dropped.
As shown in fig. 7, corresponding ONU end mouth is true hardware port information, pass through the negotiation to ONU hardware port State is detected.
After S701:ONU start completion, the configuration that OLT is issued is received, parses relevant configuration information;
S702: the port data message of ONU is forwarded in the virtual port of OLT configuration based on configuration;
S703:ONU starting thread detects the negotiation state change information of each physical port;
S704: if do not changed, continuing to test, if changed, into S705;
S705: obtaining the negotiation state of physical port, if it is the state from DOWN to UP, obtains port numbers, the association of port The information such as entropy rate, buffer to ports, report negotiated speed as port speed;If it is the state from UP to DOWN, end is obtained The port number information of mouth, negotiated speed and buffer to ports default are indifferent to, and are configurable to full 0, enter step S706;
Port information (port numbers, port status, port speed, buffer to ports) is reported to OLT, port shape by S706:ONU When state is UP, port speed is port negotiation rate;When port status is DOWN, port speed and buffer to ports are not anticipated Justice can report as full 0.
In this embodiment, ONU end mouth can be non-genuine hardware port information, be logic port (such as WIFI The port ESSID), by the detection to ONU logic port mac address information, to judge whether ONU end mouth is using;Pass through The processing message maximum rate of logic port indicates port speed, as shown in figure 8, the present embodiment includes the following steps:
After S801:ONU start completion, the configuration that OLT is issued is received, parses relevant configuration information;
S802: the port data message of ONU is forwarded in the virtual port of OLT configuration based on configuration;
S803:ONU starting thread detects the MAC address learning information of each logic port;
S804: each logic port MAC address learning quantity is recorded, and is compared with last registration value;
S805: if the MAC Address quantity of logic port is to enter step S809 from having to stateless, otherwise enter Step S806;
S806: if the MAC Address quantity of logic port is state from scratch, S807 is entered step, is otherwise continued Detect each logic port MAC address learning information;
S807: the logical port state is UP state at this time, records the state, enters step S808;
S808: obtaining the port speed and buffer to ports of logic port, which is not to indicate real physics Rate, and refer to and be capable of handling the maximum rate of message by the logic port (the ESSID logic port of such as WIFI is capable of handling message Maximum rate is 500Mbit/s, then the rate is port speed), enter step S810;
S809: the logical port state is DOWN state at this time, records the state, enters step S810;
Physical port information (port numbers, port status, port speed, buffer to ports) is reported to OLT by S810:ONU, end When mouth state is UP, port speed is the maximum rate of port processing message;Port status be DOWN when, port speed and Buffer to ports is nonsensical, can report as full 0.
Specific embodiment 3
As shown in figure 9, in this embodiment, corresponding OLT is according to the ONU port information reported and the OLT first line of a couplet Message breath configures to adjust the shaping value, burst value and cache size of virtual port, includes the following steps.
After the success of S901:ONU authentication registration, OLT issues data configuration to ONU, and the port data of ONU is mapped to OLT Virtual port on;
S902:OLT records the port relation table of ONU end mouth and OLT virtual port, the slot position including the ONU on OLT Number, PON slogan and number of registration information, the note when LAN1 mouth correspondence virtual port 256 of such as No. 5 ONU of No. 3 PON mouths of No. 2 slot positions Recording information is 2/3/5:1 corresponding 256;
S903:OLT detects the message (that is, receiving ONU end mouth state change information) of ONU reporting port information, if do not had Message is received, is continued to test, if receiving message, into S904;
S904: obtaining ONU end mouth status information, if port is UP state, into S906, otherwise enters S905;
S905: ONU end mouth is DOWN state at this time, determines OLT virtual port by port relation table by ONU end slogan, It is indexed by virtual port and searches configuration relation table, deleted virtual port shaping value, burst value and cache size configuration, can will delete The caching removed is used for other virtual ports, then is continued to test;
S906: ONU end mouth is UP state at this time, obtains ONU end mouth rate;
S907: OLT virtual port is determined by port relation table by ONU end slogan, to navigate to the virtual port Upper united mouth information obtains the rate information of the upper united mouth OLT;
S908: if the upper united mouth OLT rate is greater than ONU end mouth rate, S709 is entered step, is otherwise continued to test;
S909: obtaining the parameter informations such as port numbers, port speed, the buffer to ports of ONU, passes through port by ONU end slogan Relation table determines OLT virtual port, configures the shaping value, burst value and caching value parameter of OLT virtual port, OLT virtual port Concrete configuration principle referring to the explanation in summary of the invention, record configuration relation table, such as the shaping value B that virtual port A is configured, dash forward Hair value C, cache size D, configuration relation table are recorded as A and correspond to B/C/D, and A is call number, and continues to detect.
In the present embodiment, ONU end mouth rate Y is less than or equal to by the shaping value B of virtual port, guarantees that OLT is transmitted to Port speed of the message rate of ONU end mouth less than or equal to ONU will not generate so that ONU end mouth is capable of handling all messages The problems such as packet loss;It is less than or equal to ONU end mouth by virtual port burst value C and caches Z, enables OLT in the base of Mean Speed Happen suddenly bigger message on plinth, do one's best and sends more messages, but guarantees that these messages will not be slow because of ONU end mouth It deposits insufficient and leads to packet loss;It is greater than ONU end mouth by virtual port cache size D and caches Z, so that has message burst in upper layer device When OLT virtual port can cache more messages compared to ONU end mouth, to guarantee that these messages will not be dropped.
Optionally, by the judgement to upper united mouth rate, only when upper united mouth rate is greater than ONU end mouth rate, at this time Just there is a possibility that burst, needs to carry out virtual port shaping, burst and caching adjustment, ensure that the OLT utilization of resources Efficiency.
Specific embodiment 4
As shown in Figure 10, OLT is reported according to ONU port information, the upper united mouth OLT information and ONU login state is adjusted Whole corresponding shaping value and cached configuration, include the following steps:
After the success of S1001:ONU authentication registration, OLT issues data configuration to ONU, and the port data of ONU is mapped to OLT Virtual port on;
S1002:OLT records the port relation table of ONU end mouth and OLT virtual port, the slot position including the ONU on OLT Number, PON slogan and number of registration information, the note when LAN1 mouth correspondence virtual port 256 of such as No. 5 ONU of No. 3 PON mouths of No. 2 slot positions Recording information is 2/3/5:1 corresponding 256;
The authentication state of S1003:OLT detection ONU enters step S1005, otherwise enters step if authenticated successfully S1004;
S1004: ONU is in authentification failure state at this time, and OLT traverses the ONU all of the port information, passed through by ONU end mouth Port relation table determines OLT virtual port, is indexed by virtual port and searches configuration relation table, deletion virtual port shaping value, The caching of deletion, can be used for the use of other virtual ports, and continue to test by burst value and cache size configuration;
Whether the message of S1005:OLT detection ONU reporting port information is (that is, it is judged that receive ONU end mouth state change letter Breath), if not receiving message, continue to test, if received, into S1006;
S1006: obtaining ONU end mouth status information, if port is UP state, into S1008, otherwise enters S1007;
S1007: ONU end mouth is DOWN state at this time, determines OLT virtual port by port relation table by ONU end slogan, It is indexed by virtual port and searches configuration relation table, deleted virtual port shaping value, burst value and cache size configuration, can will delete The caching removed is used for other virtual ports, and is continued to test;
S1008: ONU end mouth is UP state at this time, obtains ONU end mouth rate;
S1009: OLT virtual port is determined by port relation table by ONU end slogan, to navigate to the virtual port Upper united mouth information obtains the rate information of the upper united mouth OLT;
S1010: if the upper united mouth OLT rate is ceased greater than ONU end message, S1011 is entered step, is otherwise continued to test;
S1011: obtaining the parameter informations such as port numbers, port speed, the buffer to ports of ONU, passes through port by ONU end slogan Relation table determines OLT virtual port, configures the shaping value, burst value and caching value parameter of OLT virtual port, OLT virtual port Concrete configuration principle referring to the explanation in summary of the invention, record configuration relation table, such as the shaping value B that virtual port A is configured, dash forward Hair value C, cache size D, configuration relation table are recorded as A and correspond to B/C/D, and A is call number.S803 is entered step to continue to test.
According to the content in this specific embodiment, ONU end mouth rate Y is less than or equal to by the shaping value B of virtual port, is protected The message rate that card OLT is transmitted to ONU end mouth is less than or equal to the port speed of ONU, so that ONU end mouth is capable of handling all reports Text, the problems such as packet loss will not be generated;It is less than or equal to ONU end mouth by virtual port burst value C and caches Z, enables OLT flat Happen suddenly bigger message on the basis of equal rate, do one's best and sends more messages, but guarantees that these messages will not be because For ONU end mouth caches insufficient and leads to packet loss;It is greater than ONU end mouth by virtual port cache size D and caches Z, so that is set on upper layer OLT virtual port can cache more messages compared to ONU end mouth when having message burst, to guarantee that these messages will not be by It abandons.
Optionally, by the judgement for upper united mouth rate, only when upper united mouth rate is greater than ONU end mouth rate, this When just exist burst a possibility that, need to virtual port carry out shaping, burst and caching adjustment, ensure that OLT cache resources The efficiency utilized.
Optionally, by the judgement for ONU authentication state, when ONU is in authentification failure state, ONU has been at this time It is virtual on OLT can directly to delete the ONU all of the port without carrying out burst protection for ONU end mouth in illegal state Shaping, burst and the cache size configuration of port, and the cache resources of deletion are used to other virtual ports, it mentions to greatest extent The efficiency that high OLT cache resources utilize.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 4
A kind of processing unit of the configuration information of port OLT is additionally provided in the present embodiment, and the device is for realizing upper Embodiment and preferred embodiment are stated, the descriptions that have already been made will not be repeated.As used below, term " module " can be with Realize the combination of the software and/or hardware of predetermined function.Although device described in following embodiment is preferably come with software real It is existing, but the realization of the combination of hardware or software and hardware is also that may and be contemplated.
Figure 11 is the structural block diagram of the processing unit of the configuration information of the first port OLT according to an embodiment of the present invention, As shown in figure 11, which includes:
Module 112 is obtained, the information of the first port in ONU for obtaining optical network unit ONU transmission;Determine mould Block 114 is connected to above-mentioned acquisition module 114, for determining second end corresponding with first port in optical line terminal OLT Mouthful, wherein the second port is logic port;Processing module 116 is connected to above-mentioned acquisition module 114, for according to first end The information of mouth handles the configuration information of second port.
In an alternative embodiment, the information of above-mentioned first port includes the connection status of first port, first end The Message processing rate of mouth and the caching capabilities of first port, wherein above-mentioned processing module 116 includes: adjustment unit, is used for When the connection status for determining first port is normal connection, according to the slow of the Message processing rate of first port and first port Ability is deposited to be adjusted the configuration information of second port;And/or unit is deleted, in the connection shape for determining first port State is when disconnecting, to delete the configuration information of second port.
In an alternative embodiment, the configuration information of above-mentioned second port includes integer value, burst value and cache size, Wherein, above-mentioned adjustment unit is specifically used for: the shaping value of second port is adjusted at the message less than or equal to first port Manage rate;The burst value of second port is adjusted to the caching capabilities less than or equal to first port;By the caching of second port Value is adjusted to the caching capabilities greater than first port;Wherein, which is used for the Mean Speed that second port E-Packets, on Burst value is stated for indicating that second port E-Packets more than the byte number of Mean Speed, above-mentioned cache size is for indicating second end Mouth allows to cache the byte number of message.
In an alternative embodiment, above-mentioned apparatus is also used to: after the configuration information for deleting above-mentioned second port, By the occupied resource allocation of the configuration information of second port to other ports in OLT.
In an alternative embodiment, above-mentioned apparatus is also used to: according to the information of above-mentioned first port to second end Before the information of mouth is handled, the authentication state of ONU is determined;Above-mentioned processing module 116 is used for: in the certification shape for determining ONU State is when authenticating successfully, to be handled according to configuration information of the information of first port to second port.
In an alternative embodiment, above-mentioned apparatus is also used to: after determining the authentication state of ONU, determining ONU Authentication state be authentification failure when, delete OLT in port corresponding with all of the port in ONU configuration information.
In an alternative embodiment, above-mentioned apparatus is also used to: in deleting above-mentioned OLT with all of the port in ONU After the configuration information of corresponding port, by the configuration information of port corresponding with all of the port in ONU in OLT Occupied resource allocation is to other ports in OLT.
In an alternative embodiment, above-mentioned apparatus is also used to: according to the information of above-mentioned first port to second end Before the configuration information of mouth is handled, the rate that the upper united mouth of OLT E-Packets is determined;According to the information of first port to It includes: to determine that rate that upper united mouth E-Packets is greater than the Message processing of first port that the configuration information of Two-port netwerk, which carries out processing, When rate, handled according to configuration information of the information of first port to second port.
In an alternative embodiment, above-mentioned apparatus is also used to: in the speed for determining that the upper united mouth of above-mentioned OLT E-Packets After rate, when the rate for determining that upper united mouth E-Packets is less than or equal to the Message processing rate of first port, second is maintained The configuration information of port is constant.
It in an alternative embodiment, include the number of first port in the information of above-mentioned first port, wherein above-mentioned Device is also used to: in receiving the ONU from optical network unit ONU before the information of first port, recording each end in ONU The corresponding relationship between each port in the number and OLT of mouth;It determines corresponding with first port in optical line terminal OLT Two-port netwerk includes: to determine second port corresponding with the first port according to the number of corresponding relationship and first port.
In an alternative embodiment, the information of above-mentioned first port includes at least one of: the volume of first port Number, the caching capabilities of the Message processing rate of the connection status of first port, first port, first port;And/or above-mentioned The configuration information of Two-port netwerk includes at least one of: shaping value, for indicating Mean Speed that second port E-Packets; Burst value, for indicating that second port E-Packets more than the byte number of Mean Speed;Cache size, for indicating that second port permits Perhaps the byte number of message is cached.
In an alternative embodiment, when above-mentioned first port is physical port, the Message processing of the first port Rate is the negotiated speed of first port;And/or when above-mentioned first port is logic port, at the message of the first port Manage the maximum rate for the processing message that rate is first port.That is, in the present embodiment, if ONU end mouth is physics Port can be reported by its port negotiation rate as port speed;If ONU end mouth is logic port, it can be passed through Port maximum handles message rate, reports as port speed.
It should be noted that the device in the present embodiment can be applied in OLT, combined with specific embodiments below to OLT In module be illustrated:
Specific embodiment 5
It in this embodiment, include that OLT interactive module (corresponding to above-mentioned acquisition module 112 and determines mould in OLT Block 114) and OLT caching adjustment module (corresponding to above-mentioned processing module 116), each module is illustrated below:
There are two effects for OLT interactive module:
1) ONU end mouth data are all forwarded to the virtual terminal of OLT by the agreement between OLT-ONU by OLT interactive module On mouth, so that OLT when E-Packeting to ONU, can perceive the information of ONU end mouth, and OLT virtual port and ONU are recorded Port relation table between port;
Optionally, if between ONU-OLT being GPON agreement, ONU end mouth can be mapped to OLT's by OMCI agreement On GEMPORT, as ONU end mouth 1 is mapped on GEMPORT1;
Optionally, if between ONU-OLT being EPON agreement, ONU end mouth can be mapped to by extension OAM agreement On the LLID of OLT, as ONU end mouth 1 is mapped on LLID1;
Optionally, the port relation table of OLT has recorded the index relative of ONU end mouth and OLT virtual port, port relation table ONU end mouth be call number.Record information when virtual port 256 as corresponding such as the LAN1 mouth of No. 5 ONU of No. 3 PON mouths of No. 2 slot positions It is the call number of the entry for corresponding 256, the 2/3/5:1 of 2/3/5:1.
2) OLT interactive module receives ONU end mouth status information, and parses these information, so that OLT real-time perception ONU end The variation of message breath.
OLT caching adjustment module by OLT interactive module get in real time ONU end message breath (port numbers, port status, Port speed, buffer to ports), port relation table is indexed by ONU end slogan, the virtual port of OLT is searched, is directed on OLT Virtual port carries out shaping, burst and caching adjustment, shaping value, burst value and the cache size of virtual ports and guarantees upper layer The burst of equipment flow does not have any influence for ONU, and records the configuration relation table between OLT virtual port and Configuration Values, Virtual port is the call number of the table.Such as shaping value B, burst value C, cache size D that virtual port A is configured, configuration relation table note Record is that A corresponds to B/C/D, and A is call number.
If ONU end mouth state is UP, the information and basic principle of OLT caching adjustment module record are as shown in table 1:
1) OLT virtual port (A) is determined by port index tables by ONU end slogan (X);
2) the shaping value B of OLT virtual port A configuration is less than or equal to ONU end mouth rate Y;
3) the burst value C of OLT virtual port A configuration is less than or equal to ONU end mouth cache size Z;
4) the cache size D of OLT virtual port A configuration is greater than ONU end mouth cache size Z.
Table 1
If ONU end mouth state is DOWN, OLT caching adjustment module will be based on configuration relation table information, and delete shaping, dash forward The configuration such as hair and caching:
1) OLT virtual port (A) is determined by port index tables by ONU end slogan (X);
2) the shaping value B configuration of OLT virtual port A is deleted;
3) the burst value C configuration of OLT virtual port A is deleted;
4) the cache size D configuration of OLT virtual port A is deleted, the cache resource allocation of deletion can be given to other virtual terminals Mouth uses.
Optionally, OLT caching adjustment module can judge upper connecting port speed by the rate of connecting port on acquisition OLT Relationship between rate and ONU end mouth rate.When upper united mouth rate is greater than ONU end mouth rate, a possibility that burst, compares at this time Greatly, need to carry out virtual port shaping, burst and caching adjustment;(such as when upper united mouth rate is less than or equal to ONU end mouth rate ONU end mouth rate is 1000M, when OLT first line of a couplet port speed is less than or equal to 1000M), the burst of upper connecting port can not surpass at this time The port speed of ONU is crossed, can not have to carry out the configuration such as shaping, burst and caching for virtual port.
Optionally, OLT caching adjustment module obtains the authentication state of ONU by OLT interactive module, if ONU has located In authentification failure state, ONU is in illegal state at this time, can directly delete ONU all of the port virtual port on OLT Shaping, burst and cache size configuration, and the cache resources of deletion are used to other virtual ports.
Embodiment 5
In the present embodiment, a kind of processing unit of the configuration information of port OLT is additionally provided, Figure 12 is according to the present invention The structural block diagram of the processing unit of the configuration information of second of port OLT of embodiment, as shown in figure 12, which includes:
Sending module 122, for the information of the first port in ONU to be sent to OLT, wherein the letter of the first port Breath is used to indicate OLT and determines second port corresponding with first port in OLT, and according to the information of the first port to second end The configuration information of mouth is handled, which is logic port.
In an alternative embodiment, above-mentioned apparatus further include: detection module, for by the first port in ONU Information be sent to before OLT, detect that the connection status of first port changes.
In an alternative embodiment, above-mentioned apparatus is also used to: being sent to by the information of the first port in ONU Before OLT, the caching capabilities of the connection status of each port, the Message processing rate of each port and each port in ONU are detected;It will The information of first port in ONU is sent to the connection shape that OLT includes: the first port by the number of first port, detected The caching capabilities of state, the Message processing rate of first port and first port are sent to OLT.
In an alternative embodiment, the information of above-mentioned first port includes at least one of: the volume of first port Number, the caching capabilities of the Message processing rate of the connection status of first port, first port, first port;And/or above-mentioned The configuration information of Two-port netwerk includes at least one of: shaping value, for indicating Mean Speed that second port E-Packets; Burst value, for indicating that second port E-Packets more than the byte number of Mean Speed;Cache size, for indicating that second port permits Perhaps the byte number of message is cached.
In an alternative embodiment, when above-mentioned first port is physical port, the Message processing speed of first port Rate is the negotiated speed of first port;And/or when first port is logic port, the Message processing rate of first port is The maximum rate of the processing message of first port.
It should be noted that the device in the present embodiment can be applied in ONU, combined with specific embodiments below to ONU In module be illustrated:
Specific embodiment 6
In this embodiment, ONU includes ONU end mouth detection module and ONU interactive module (corresponding to above-mentioned transmission Module 122), each module is illustrated below:
ONU end mouth detection module is responsible for the detection of ONU end mouth state, the state of each port real-time detection ONU, and obtains The relevant informations such as rate, the buffer to ports of port.
ONU records following information, including port numbers by port detecting module, and port status, port speed, port is delayed It deposits.
Port numbers indicate the number of ONU end mouth, such as LAN1 information;
Port status indicates the connection state information of ONU end mouth, including UP (successful connection)/DOWN (connection failure) two Kind status information;
Port speed indicates the rate of ONU end mouth maximum processing message, such as 100Mbit/s, 1000Mbit/s;
Optionally, it if ONU end mouth is physical port, can be reported by its port negotiation rate as port speed;
Optionally, if ONU end mouth is logic port, message rate can be handled by its port maximum, as port Rate reports.
Buffer to ports indicates the maximum packet buffer value of ONU end mouth, such as 1M byte.
ONU interactive module is after receiving port status change message (port status from UP to DOWN, or from DOWN To UP), obtain the information (port numbers, port status, port speed, buffer to ports) of port detecting module record, and by these Information is reported to OLT by the protocol encapsulation between ONU-OLT.
Optionally, if between ONU-OLT being GPON agreement, OMCI protocol encapsulation reporting port information can be passed through;
It optionally, can be by extending OAM protocol encapsulation reporting port information if between ONU-OLT being EPON agreement.
The schematic diagram of each module is as shown in figure 13 in OLT and ONU, by the operation of each module in specific embodiment 5 and 6, It is adjusted when upper layer device has bursts of traffic by the shaping of OLT and caching, the influence for ONU equipment is avoided, with tradition Technology compared to there is following advantage:
Firstly, directly avoiding the parameter tune for each terminal device by adjusting relevant configuration on local side apparatus It is whole;
Secondly, when network flow upgrades, ONU unaware is not necessarily to mass upgrade ONU version;
Finally, each port information of ONU and authentication state can be based on, dynamic adjusts the cache information on OLT, so that Caching on OLT is sufficiently used.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong Following manner realization is crossed, but not limited to this: above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with any Combined form is located in different processors.
Embodiment 6
The embodiments of the present invention also provide a kind of storage medium, computer program is stored in the storage medium, wherein The computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (Read- Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hard The various media that can store computer program such as disk, magnetic or disk.
The embodiments of the present invention also provide a kind of electronic device, including memory and processor, stored in the memory There is computer program, which is arranged to run computer program to execute the step in any of the above-described embodiment of the method Suddenly.
Optionally, above-mentioned electronic device can also include transmission device and input-output equipment, wherein the transmission device It is connected with above-mentioned processor, which connects with above-mentioned processor.
Optionally, the specific example in the present embodiment can be with reference to described in above-described embodiment and optional embodiment Example, details are not described herein for the present embodiment.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored It is performed by computing device in the storage device, and in some cases, it can be to be different from shown in sequence execution herein Out or description the step of, perhaps they are fabricated to each integrated circuit modules or by them multiple modules or Step is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.It is all within principle of the invention, it is made it is any modification, etc. With replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (23)

1. a kind of processing method of the configuration information of the port OLT characterized by comprising
Obtain the information of the first port in the ONU that optical network unit ONU is sent;
Determine second port corresponding with the first port in optical line terminal OLT, wherein the second port is logic Port;
It is handled according to configuration information of the information of the first port to the second port.
2. the method according to claim 1, wherein the information of the first port includes the first port The caching capabilities of connection status, the Message processing rate of the first port and the first port, wherein described according to The information of first port carries out processing to the configuration information of the second port
When the connection status for determining the first port is normal connection, according to the Message processing rate of the first port with And the caching capabilities of the first port are adjusted the configuration information of the second port;And/or
When the connection status for determining the first port is to disconnect, the configuration information of the second port is deleted.
3. according to the method described in claim 2, it is characterized in that, the configuration information of the second port includes integer value, dashes forward Hair value and cache size, wherein according to the caching capabilities pair of the Message processing rate of the first port and the first port The configuration information of the second port, which is adjusted, includes:
The shaping value of the second port is adjusted to the Message processing rate less than or equal to the first port;
The burst value of the second port is adjusted to the caching capabilities less than or equal to the first port;
The cache size of the second port is adjusted to the caching capabilities greater than the first port;
Wherein, the shaping value is used for the Mean Speed that the second port E-Packets, and the burst value is for indicating described Second port E-Packets more than the byte number of Mean Speed, and the cache size is reported for indicating that the second port allows to cache The byte number of text.
4. the method according to claim 1, wherein after the configuration information for deleting the second port, institute State method further include:
By the occupied resource allocation of the configuration information of the second port to other ports in the OLT.
5. the method according to claim 1, wherein
Before being handled according to information of the information of the first port to the second port, the method also includes: Determine the authentication state of the ONU;
Carrying out processing according to information of the information of the first port to the second port includes: to determine recognizing for the ONU Card state is when authenticating successfully, to be handled according to configuration information of the information of the first port to the second port.
6. according to the method described in claim 5, it is characterized in that, after the authentication state for determining the ONU, the method Further include:
When the authentication state for determining the ONU is authentification failure, deletes in the OLT and divide with all of the port in the ONU The configuration information of not corresponding port.
7. according to the method described in claim 6, it is characterized in that, in deleting the OLT with all of the port in the ONU After the configuration information of corresponding port, the method also includes:
By the occupied resource allocation of configuration information of port corresponding with all of the port in the ONU in the OLT To other ports in the OLT.
8. the method according to claim 1, wherein
Before being handled according to configuration information of the information of the first port to the second port, the method is also wrapped It includes: determining the rate that the upper united mouth of the OLT E-Packets;
Carrying out processing according to configuration information of the information of the first port to the second port includes: to determine the first line of a couplet When the rate that mouth E-Packets is greater than the Message processing rate of the first port, according to the information of the first port to described The configuration information of second port is handled.
9. according to the method described in claim 8, it is characterized in that, in the rate for determining that the upper united mouth of the OLT E-Packets Later, the method also includes:
When the rate for determining that the upper united mouth E-Packets is less than or equal to the Message processing rate of the first port, maintain The configuration information of the second port is constant.
10. the method according to claim 1, wherein including the first end in the information of the first port The number of mouth, wherein
In receiving the ONU from optical network unit ONU before the information of first port, the method also includes: note Record the corresponding relationship between each port in the number and the OLT of each port in the ONU;
Determine in optical line terminal OLT second port corresponding with the first port include: according to the corresponding relationship with And the number of the first port determines the second port corresponding with the first port.
11. the method according to claim 1, wherein
The information of the first port includes at least one of: the connection of the number of the first port, the first port The caching capabilities of state, the Message processing rate of the first port, the first port;And/or
The configuration information of the second port includes at least one of: shaping value, for indicating the second port forwarding report The Mean Speed of text;Burst value, for indicating that the second port E-Packets more than the byte number of Mean Speed;Caching Value, for indicating that the second port allows to cache the byte number of message.
12. according to the method for claim 11, which is characterized in that
When the first port is physical port, the Message processing rate of the first port is the negotiation of the first port Rate;And/or
When the first port is logic port, the Message processing rate of the first port is the processing of the first port The maximum rate of message.
13. a kind of processing method of the configuration information of the port OLT characterized by comprising
The information of first port in ONU is sent to OLT, wherein it is true that the information of the first port is used to indicate the OLT Second port corresponding with the first port in the fixed OLT, and according to the information of the first port to the second end The configuration information of mouth is handled, and the second port is logic port.
14. according to the method for claim 13, which is characterized in that the information of the first port in ONU is being sent to OLT Before, the method also includes:
Detect that the connection status of the first port changes.
15. according to the method for claim 14, which is characterized in that
Before the information of the first port in ONU is sent to OLT, the method also includes: detect each port in the ONU Connection status, the Message processing rate of each port and the caching capabilities of each port;
By the information of the first port in ONU be sent to OLT include: by the number of the first port, detect described The caching capabilities of the connection status of Single port, the Message processing rate of the first port and the first port are sent to institute State OLT.
16. according to the method for claim 13, which is characterized in that
The information of the first port includes at least one of: the connection of the number of the first port, the first port The caching capabilities of state, the Message processing rate of the first port, the first port;And/or
The configuration information of the second port includes at least one of: shaping value, for indicating the second port forwarding report The Mean Speed of text;Burst value, for indicating that the second port E-Packets more than the byte number of Mean Speed;Caching Value, for indicating that the second port allows to cache the byte number of message.
17. according to the method for claim 16, which is characterized in that
When the first port is physical port, the Message processing rate of the first port is the negotiation of the first port Rate;And/or
When the first port is logic port, the Message processing rate of the first port is the processing of the first port The maximum rate of message.
18. a kind of processing unit of the configuration information of the port OLT characterized by comprising
Module is obtained, the information of the first port in the ONU for obtaining optical network unit ONU transmission;
Determining module, for determining second port corresponding with the first port in optical line terminal OLT, wherein described Second port is logic port;
Processing module, for being handled according to the information of the first port the configuration information of the second port.
19. device according to claim 18, which is characterized in that the information of the first port includes the first port Connection status, the Message processing rate of the first port and the first port caching capabilities, wherein the processing mould Block includes:
Adjustment unit, for when the connection status for determining the first port is normal connection, according to the first port The caching capabilities of Message processing rate and the first port are adjusted the configuration information of the second port;And/or
Unit is deleted, for deleting the second port when the connection status for determining the first port is to disconnect Configuration information.
20. a kind of processing unit of the configuration information of the port OLT characterized by comprising
Sending module, for the information of the first port in ONU to be sent to OLT, wherein the information of the first port is used for Indicate that the OLT determines second port corresponding with the first port in the OLT, and according to the information of the first port The configuration information of the second port is handled, the second port is logic port.
21. device according to claim 20, which is characterized in that described device further include:
Detection module, for detecting the first port before the information of the first port in ONU is sent to OLT Connection status changes.
22. a kind of storage medium, which is characterized in that be stored with computer program in the storage medium, wherein the computer Program is arranged to execute method described in any one of claim 1 to 12 when operation, wants alternatively, executing the right Seek method described in 13 to 17 any one.
23. a kind of electronic device, including memory and processor, which is characterized in that be stored with computer journey in the memory Sequence, the processor are arranged to run the computer program to execute described in any one of claim 1 to 12 Method, alternatively, executing method described in any one of claim 13 to 17.
CN201810343657.6A 2018-04-17 2018-04-17 Method and device for processing configuration information of OLT (optical line terminal) port and storage medium Active CN110391921B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810343657.6A CN110391921B (en) 2018-04-17 2018-04-17 Method and device for processing configuration information of OLT (optical line terminal) port and storage medium
PCT/CN2019/077211 WO2019201025A1 (en) 2018-04-17 2019-03-06 Method and apparatus for processing configuration information of olt port, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810343657.6A CN110391921B (en) 2018-04-17 2018-04-17 Method and device for processing configuration information of OLT (optical line terminal) port and storage medium

Publications (2)

Publication Number Publication Date
CN110391921A true CN110391921A (en) 2019-10-29
CN110391921B CN110391921B (en) 2022-08-02

Family

ID=68239245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810343657.6A Active CN110391921B (en) 2018-04-17 2018-04-17 Method and device for processing configuration information of OLT (optical line terminal) port and storage medium

Country Status (2)

Country Link
CN (1) CN110391921B (en)
WO (1) WO2019201025A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637079A (en) * 2020-12-16 2021-04-09 中国电子科技集团公司第三十研究所 Multi-line flow impact control method and equipment
CN113259791A (en) * 2021-07-02 2021-08-13 武汉长光科技有限公司 Information configuration method, electronic device and computer-readable storage medium
CN114079623A (en) * 2020-08-04 2022-02-22 中国移动通信集团河北有限公司 Method and device for identifying transmission capability of user side router
WO2022053063A1 (en) * 2020-09-14 2022-03-17 中兴通讯股份有限公司 Service management method and apparatus for passive optical network, optical line terminal and medium
WO2023186141A1 (en) * 2022-04-02 2023-10-05 中兴通讯股份有限公司 Data packet forwarding method and apparatus, storage medium, and electronic device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040120326A1 (en) * 2002-12-24 2004-06-24 Hyeon-Sik Yoon System and method for VLAN configuration of E-PON, and recording medium with stored program thereof
US20040141759A1 (en) * 2003-01-13 2004-07-22 Globespan Virata Incorporated System and method for dynamic bandwidth allocation in PONs
CN1777334A (en) * 2005-12-09 2006-05-24 润欣通信技术(上海)有限公司 Ethernet passive optical network multi-service dynamic bandwide authorizing method
CN101035389A (en) * 2006-03-08 2007-09-12 上海交通大学 System and method for bandwidth allocation in the remote device of the passive optical network
CN101068145A (en) * 2007-07-05 2007-11-07 杭州华三通信技术有限公司 EPON network element configuration method and EPON
CN101317373A (en) * 2006-04-26 2008-12-03 华为技术有限公司 Optical network terminal, its port speed limiting attribute configuration method and packet processing method
CN102143412A (en) * 2011-01-26 2011-08-03 华为技术有限公司 Connection admission control (CAC) method and device as well as passive optical network (PON) system
CN102739426A (en) * 2011-04-13 2012-10-17 中兴通讯股份有限公司 DPOE system and service auto-configuration method and network based on DPOE system
CN104604182A (en) * 2013-08-13 2015-05-06 华为技术有限公司 Service channel configuration method, optical line terminal and passive optical network
CN106162383A (en) * 2015-03-26 2016-11-23 中兴通讯股份有限公司 Distribution method, device and the optical line terminal of a kind of optical network unit business information
CN106656562A (en) * 2016-11-11 2017-05-10 成都广达新网科技股份有限公司 Method and device for detecting ONU configurations batch-issued by OLT

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100589443C (en) * 2007-06-12 2010-02-10 中兴通讯股份有限公司 An Ethernet service processing method in Gbit passive optical network
CN103281600A (en) * 2013-06-03 2013-09-04 上海斐讯数据通信技术有限公司 Method for identifying ONU types

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040120326A1 (en) * 2002-12-24 2004-06-24 Hyeon-Sik Yoon System and method for VLAN configuration of E-PON, and recording medium with stored program thereof
US20040141759A1 (en) * 2003-01-13 2004-07-22 Globespan Virata Incorporated System and method for dynamic bandwidth allocation in PONs
CN1777334A (en) * 2005-12-09 2006-05-24 润欣通信技术(上海)有限公司 Ethernet passive optical network multi-service dynamic bandwide authorizing method
CN101035389A (en) * 2006-03-08 2007-09-12 上海交通大学 System and method for bandwidth allocation in the remote device of the passive optical network
CN101317373A (en) * 2006-04-26 2008-12-03 华为技术有限公司 Optical network terminal, its port speed limiting attribute configuration method and packet processing method
CN101068145A (en) * 2007-07-05 2007-11-07 杭州华三通信技术有限公司 EPON network element configuration method and EPON
CN102143412A (en) * 2011-01-26 2011-08-03 华为技术有限公司 Connection admission control (CAC) method and device as well as passive optical network (PON) system
CN102739426A (en) * 2011-04-13 2012-10-17 中兴通讯股份有限公司 DPOE system and service auto-configuration method and network based on DPOE system
CN104604182A (en) * 2013-08-13 2015-05-06 华为技术有限公司 Service channel configuration method, optical line terminal and passive optical network
CN106162383A (en) * 2015-03-26 2016-11-23 中兴通讯股份有限公司 Distribution method, device and the optical line terminal of a kind of optical network unit business information
CN106656562A (en) * 2016-11-11 2017-05-10 成都广达新网科技股份有限公司 Method and device for detecting ONU configurations batch-issued by OLT

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114079623A (en) * 2020-08-04 2022-02-22 中国移动通信集团河北有限公司 Method and device for identifying transmission capability of user side router
WO2022053063A1 (en) * 2020-09-14 2022-03-17 中兴通讯股份有限公司 Service management method and apparatus for passive optical network, optical line terminal and medium
CN112637079A (en) * 2020-12-16 2021-04-09 中国电子科技集团公司第三十研究所 Multi-line flow impact control method and equipment
CN113259791A (en) * 2021-07-02 2021-08-13 武汉长光科技有限公司 Information configuration method, electronic device and computer-readable storage medium
CN113259791B (en) * 2021-07-02 2021-09-14 武汉长光科技有限公司 Information configuration method, electronic device and computer-readable storage medium
WO2023186141A1 (en) * 2022-04-02 2023-10-05 中兴通讯股份有限公司 Data packet forwarding method and apparatus, storage medium, and electronic device

Also Published As

Publication number Publication date
CN110391921B (en) 2022-08-02
WO2019201025A1 (en) 2019-10-24

Similar Documents

Publication Publication Date Title
CN110391921A (en) Processing method, device and the storage medium of the configuration information of the port OLT
EP2106064A1 (en) Method, device and system of distributing service
EP3154222B1 (en) Service configuration data processing method and apparatus
CN109302372A (en) A kind of communication means, equipment and storage medium
CN108616402B (en) Management method and system of remote equipment
CN101909077A (en) Method and device for identifying peer-to-peer services and access network
US9973427B2 (en) Method for determining management domain, network device, and virtual cluster
CN108882305A (en) A kind of shunt method and device of data packet
CN104584478B (en) Terminal authentication method, apparatus and system in passive optical network
CN112203172B (en) Special line opening method and device
EP3244587A1 (en) Method, device and system for precision time protocol time synchronization in aggregation network
CN101141411B (en) Method for implementing user port location in passive optical network access equipment
CN103391487A (en) Method and device for transmitting services in multiple logical link identifier (LLID) mode
US10219052B2 (en) Agile resource on demand service provisioning in software defined optical networks
CN111193969A (en) Data communication and communication management method based on DPU and DPU
CN109600436A (en) A kind of distribution iscsi service implementing method, system and relevant apparatus
CN104704867B (en) The method and apparatus of data routing
CN111404719B (en) Network topology information acquisition method and system
CN105591956B (en) Flow control methods and equipment based on User-Network Interface UNI
CN112688817A (en) Network service issuing method, system and device based on government affair cloud and storage medium
CN101820410B (en) Call processing method, system and device
CN104426883A (en) User digit map transmission processing method, device and system
CN104468194B (en) The compatibility method and forwarding server of a kind of network equipment
CN108574530A (en) Data sending, receiving method and device and multichannel EPON system
US10868718B2 (en) Simplified operation of a central office point of delivery and/or for improved port discovery, verification and/or auto-configuration within a broadband access network of a telecommunications network

Legal Events

Date Code Title Description
PB01 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