[go: up one dir, main page]

CN103391488B - In a kind of EPON, intelligence discharges the method for bandwidth - Google Patents

In a kind of EPON, intelligence discharges the method for bandwidth Download PDF

Info

Publication number
CN103391488B
CN103391488B CN201310345687.8A CN201310345687A CN103391488B CN 103391488 B CN103391488 B CN 103391488B CN 201310345687 A CN201310345687 A CN 201310345687A CN 103391488 B CN103391488 B CN 103391488B
Authority
CN
China
Prior art keywords
epon
flow
link
connection state
network connection
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.)
Expired - Fee Related
Application number
CN201310345687.8A
Other languages
Chinese (zh)
Other versions
CN103391488A (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.)
Shenzhen Gongjin Electronics Co Ltd
Original Assignee
Shenzhen Gongjin Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Gongjin Electronics Co Ltd filed Critical Shenzhen Gongjin Electronics Co Ltd
Priority to CN201310345687.8A priority Critical patent/CN103391488B/en
Publication of CN103391488A publication Critical patent/CN103391488A/en
Application granted granted Critical
Publication of CN103391488B publication Critical patent/CN103391488B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides in a kind of EPON the method that intelligence discharges bandwidth, the method makes ONT Optical Network Terminal hang up voluntarily idle link by EPON manager, in the time having upstream data, establishes the link, in the time there is no upstream data, discharge link. When the present invention can detect user data message and will send by wide area network, can automatically initiate linking request and wake the other side up and set up with it communication port, also can monitor in real time idle link, hang up voluntarily the link that free time exceedes setting value. By such chainlink control method, can meet some has transfer of data or the user's request in special time transmission data once in a while, effectively utilizes broadband resource.

Description

In a kind of EPON, intelligence discharges the method for bandwidth
Technical field
The present invention relates to passive optical network terminal (ONU) use field, particularly a kind of conversation controlling method to the online wide area network link of circuit switching. The method effectively utilizes the network bandwidth according to detecting user to the demand of wide area network.
Background technology
EPON is a kind of optical fiber access technology of point-to-multipoint, this optical fiber access technology has been cancelled the active equipment between local side and client, it can avoid the electromagnetic interference of external equipment well, reduce the fault rate of circuit and external equipment, improve the reliability of system, can save maintenance cost simultaneously. Relative technological products is more and more subject to the welcome in market in recent years, will replace at leisure traditional active electric network communication equipment.
At present domestic passive optical-fiber network technology application is more extensively EPON(EthernetPassiveOpticalNetwork Ethernet passive optical network), passive optical-fiber network technical standard mainly can be divided into APON(ATM PON ATM Passive Optical Network), BPON(BroadbandPON BPON), GPON(GigabitPON Gigabit Passive Optical Network) and tetra-kinds of technology of EPON. APON, BPON and GPON standard are all worked out by International Telecommunication Union, are first BPON standard from APON standard evolution, then develop into up-to-date GPON standard now; And the international electronic apparatus IEEE of IEEE of EPON standard Ze You works out. EPON is based on Ethernet and IP agreement, and upper and lower provisional capital is 1.25Gbps, also has 10Gbps simultaneously; GPON can support the various protocols such as ATM, TDM, SONET/SDH, Ethernet, and up-downgoing is respectively 1.25Gbps, 2.5Gbps, 10Gbps.
In passive light network terminal use procedure, mainly complete local data is sent to long-range server or other terminal by WAN, and receive or download the data that descended by long-range server or other terminal by WAN, in order to express easily, in present specification, passive light network terminal is called to upstream data to long-range server or other terminal transmission data, cross the data that WAN receives or download is descended by long-range server or other terminal and be called downlink data, accordingly, the direction that passive light network terminal outwards sends data is called up direction, the direction that receives data is called down direction, equally also there are uplink port and downlink port.
Although EPON is being greatly improved aspect communication quality, reliability now, but passive light network terminal is controlled automatically owing to can not carrying out flow, often can detect while not needing flow in other words while thering is no flow, also by bandwidth occupancy, will bring higher cost to EPON work like this, can not meet user's demand.
Summary of the invention
To the object of the invention is in order overcoming the above problems, to the invention provides the method for intelligence release bandwidth in a kind of EPON.
Technical scheme of the present invention is: in a kind of EPON, intelligence discharges the method for bandwidth, makes ONT Optical Network Terminal hang up voluntarily idle link by EPON manager; Comprise the following steps:
Step 1, by EPON manager, ONT Optical Network Terminal is initialized;
The flow of step 2, up direction by EPON manager to ONT Optical Network Terminal is monitored;
If step 3, within the time of setting, detects that up direction has flow, initiate linking request to opposite end, network connection state is set for connecting; If within the time of setting, detect that up direction does not have flow, hang up the link of up direction, network state is set for hanging up;
The flow of step 4, continuation up direction to ONT Optical Network Terminal by EPON manager is monitored;
If step 5, within the time of setting, detects that up direction has flow, if now network connection state is for connecting, turn to step 4, if now network connection state is for hanging up, initiate linking request to opposite end, and network connection state is set for connecting, turn to step 4;
If within the time of setting, detect that up direction does not have flow, if now network connection state is for connecting, hang up the link of up direction, network state is set for hanging up, turn to step 4, if now network connection state, for hanging up, turns to step 4.
Further, in above-mentioned EPON, intelligence discharges in the method for bandwidth: in described step 2, flow by the up direction to ONT Optical Network Terminal by EPON manager is monitored, comprise: create a thread and adopt the mode of poll to check the data link output queue that will monitor, if queue is sky represent countless according to output, indicate without flow, otherwise have flow.
Further, in above-mentioned EPON, intelligence discharges in the method for bandwidth: in described step 3, " network connection state " variable is a temporary variable, exist in internal memory, after power-off, it can be cleared, after powering on and restarting, system can be opened up again an internal memory for it and be stored it.
Further, in above-mentioned EPON, intelligence discharges in the method for bandwidth: in described step 3: " initiating linking request to opposite end " is exactly to send a pppoe request message by terminal; " hang up the link of up direction " monitor data Link State being set is disconnect, removes IP, dns address that this chain routing server distributes to it.
When the present invention can detect user data message and will send by wide area network, can automatically initiate linking request and wake the other side up and set up with it communication port, also can monitor in real time idle link, hang up voluntarily the link that free time exceedes setting value. By such chainlink control method, can meet some has transfer of data or the user's request in special time transmission data once in a while, effectively utilizes broadband resource.
Below in conjunction with specific embodiment, the present invention is described in more detail.
Brief description of the drawings
Fig. 1 is the overall flow figure that uses this method.
Fig. 2 is the main flow chart of the embodiment of the present invention one.
Fig. 3 be the embodiment of the present invention one from flow chart.
Detailed description of the invention
Embodiment 1, the present embodiment is a kind of intelligent method for releasing based on EPON band, comprises the following steps:
Step 1, by EPON manager, ONT Optical Network Terminal is initialized.
Step 2, by EPON manager, create thread and adopt the mode of poll to check the data link output queue that will monitor, if queue is sky to be represented countlessly according to output, indicate without flow, otherwise have flow.
If step 3, within the time of setting, detects that up direction has flow, initiate linking request to opposite end, network connection state is set for connecting; If within the time of setting, detect that up direction does not have flow, hang up the link of up direction, network state is set for hanging up.
Here network connection state variable is a temporary variable, exists in internal memory, and after power-off, it can be cleared, and after powering on and restarting, system can be opened up again an internal memory for it and be stored it.
Concrete steps are: if within the time of setting, detect that up direction has flow, ONU sends a pppoe linking request message, if ONU receives the response message of server, network connection state is set for connecting; If within the time of setting, detect that up direction does not have flow, hang up the link of up direction, network state is set for hanging up;
The flow of step 4, continuation up direction to ONT Optical Network Terminal by EPON manager is monitored;
If step 5, within the time of setting, detects that up direction has flow, if now network connection state is for connecting, turn to step 4, if now network connection state is for hanging up, initiate linking request to opposite end, and network connection state is set for connecting, turn to step 4;
If within the time of setting, detect that up direction does not have flow, if now network connection state is for connecting, hang up the link of up direction, network state is set for hanging up, turn to step 4, if now network connection state, for hanging up, turns to step 4.
Here setting-up time supports and holds according to reality, and general half an hour is proper, in time that also can be shorter.
As shown in Figure 1, in the present embodiment, whether the up direction by monitoring passive light network terminal has data flow to produce control signal, control EPON and set up and linking of WAN end or linking of release (hanging up) and WAN, whether the up direction of monitoring passive light network terminal has data flow mainly to comprise the content of two aspects.
After the first initializes, the flow of the up direction by EPON manager to ONT Optical Network Terminal is monitored;
Now, if within the time of setting, detect that up direction has flow, initiate linking request to opposite end, network connection state is set for connecting; If within the time of setting, detect that up direction does not have flow, hang up the link of up direction, network state is set for hanging up.
In passive light network terminal is normally worked kind, also by EPON manager, the flow of the up direction to ONT Optical Network Terminal was monitored.
Now, there are following two kinds of situations:
If within the time of setting, detect that up direction has flow, if now network connection state is for connecting, continue monitoring, if now network connection state is for hanging up, initiate linking request to opposite end, and network connection state is set for connecting, continue monitoring.
If within the time of setting, detect that up direction does not have flow, if now network connection state is for connecting, hang up the link of up direction, network state is set for hanging up, continue monitoring, if now network connection state is for hanging up, continue monitoring.
The master and slave flow chart of the present embodiment while specifically implementing as shown in Figure 2,3
Based on EPON broad band intelligent method for releasing, said method is that the real-time supervisory user data message of passive light network terminal (ONU) has will send by wide area network time, can be automatically and the other side initiate linking request and set up communication port, idle link is implemented automatically to hang up processing, abandon the data message that WAN connects input direction. Detailed process is as follows.
Host process handling process: as Fig. 2
Step1: by EPON manager, start the broad band intelligent hypervisor in single user optical network unit MCU, initialize and load relevant configured parameter, such as idle timeout, flow-control etc. are set;
Step2: circulation receives the message that monitoring WAN connection traffic process is sent;
Step3: if receive the disconnect message that monitoring WAN connection traffic process is sent, host process is hung up the link connection that this WAN connects, and abandons the data message that this WAN connects input direction;
Setp4: if receive the connect message that monitoring WAN connection traffic process is sent, host process is initiated to set up communication port with opposite end communication linkage request.
Monitoring WAN connection traffic process handling process: as Fig. 3
Step1: scan round monitoring WAN connects the flow of outbound course, starts hardware timer simultaneously, if reset hardware timer when WAN connection outbound course has data flow within the time of setting;
Step2: the connection status that WAN connects within the time of setting is connect state, if WAN connects outbound course without flow, sends a disconnect message to host process;
Setp3: sometime, if detected when user data message will connect transmission by this WAN, send a connect message to host process, the hardware timer of simultaneously resetting after disconnection WAN connects.
According to above-mentioned method for designing, when understanding the link of automatic hanging connection breaking free time and have user data message to send by wide area network, passive light network terminal (ONU) sets up communication port, effectively utilize network broadband resource.

Claims (3)

1. a method for intelligence release bandwidth in EPON, makes ONT Optical Network Terminal hang up voluntarily idle link by EPON manager; It is characterized in that, comprise the following steps:
Step 1, by EPON manager, ONT Optical Network Terminal is initialized;
The flow of step 2, up direction by EPON manager to ONT Optical Network Terminal is monitored;
If step 3, within the time of setting, detects that up direction has flow, initiate linking request to opposite end, network connection state is set for connecting; If within the time of setting, detect that up direction does not have flow, hang up the link of up direction, network state is set for hanging up;
The flow of step 4, continuation up direction to ONT Optical Network Terminal by EPON manager is monitored;
If step 5, within the time of setting, detects that up direction has flow, if now network connection state is for connecting, turn to step 4, if now network connection state is for hanging up, initiate linking request to opposite end, and network connection state is set for connecting, turn to step 4;
If within the time of setting, detect that up direction does not have flow, if now network connection state is for connecting, hang up the link of up direction, network state is set for hanging up, turn to step 4, if now network connection state, for hanging up, turns to step 4;
In described step 3, " initiating linking request to opposite end " is exactly to send a pppoe request message by terminal; " hang up the link of up direction " monitor data Link State being set is disconnect, removes IP, dns address that this chain routing server distributes to it.
2. the method for intelligence release bandwidth in EPON according to claim 1, it is characterized in that: in described step 2, flow by the up direction to ONT Optical Network Terminal by EPON manager is monitored, comprise: create a thread and adopt the mode of poll to check the data link output queue that will monitor, if queue is sky represent countless according to output, indicate without flow, otherwise have flow.
3. the method for intelligence release bandwidth in EPON according to claim 1, it is characterized in that: in described step 3, network connection state variable is a temporary variable, exist in internal memory, after power-off, described network connection state variable can be cleared, and after powering on and restarting, system will again be opened up an internal memory and be stored described network connection state variable.
CN201310345687.8A 2013-08-09 2013-08-09 In a kind of EPON, intelligence discharges the method for bandwidth Expired - Fee Related CN103391488B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310345687.8A CN103391488B (en) 2013-08-09 2013-08-09 In a kind of EPON, intelligence discharges the method for bandwidth

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310345687.8A CN103391488B (en) 2013-08-09 2013-08-09 In a kind of EPON, intelligence discharges the method for bandwidth

Publications (2)

Publication Number Publication Date
CN103391488A CN103391488A (en) 2013-11-13
CN103391488B true CN103391488B (en) 2016-05-11

Family

ID=49535629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310345687.8A Expired - Fee Related CN103391488B (en) 2013-08-09 2013-08-09 In a kind of EPON, intelligence discharges the method for bandwidth

Country Status (1)

Country Link
CN (1) CN103391488B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112910788A (en) * 2019-11-19 2021-06-04 西安诺瓦星云科技股份有限公司 Communication link management method and device
CN114979841A (en) * 2022-05-12 2022-08-30 苏州大学 Method, device and system for improving uplink bandwidth utilization in passive optical network

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6546014B1 (en) * 2001-01-12 2003-04-08 Alloptic, Inc. Method and system for dynamic bandwidth allocation in an optical access network
CN100488207C (en) * 2005-09-23 2009-05-13 华为技术有限公司 Operation method for passive optic network user terminal
CN101510851A (en) * 2009-04-03 2009-08-19 杭州华三通信技术有限公司 Method and apparatus for releasing network bandwidth
JP5529081B2 (en) * 2011-06-29 2014-06-25 富士通テレコムネットワークス株式会社 Network system, transmission apparatus, and connection management method

Also Published As

Publication number Publication date
CN103391488A (en) 2013-11-13

Similar Documents

Publication Publication Date Title
EP2830261B1 (en) Optical line terminal device and implementation method thereof
CN101778314B (en) Optical communication system and method for operating the same
CN102388577A (en) Optical subscriber terminal device, pon system, and abnormality detection method
CN112567647A (en) PON fault positioning method and device
CN102196322B (en) Optical power regulation method of Ethernet passive optical network (EPON) and optical line terminal
WO2007030186A3 (en) Facilitating differentiated service qualities in an ethernet passive optical network
US20120128349A1 (en) Passive optical network system, station side apparatus and power consumption control method
WO2010047950A3 (en) Method and system for protection switching in ethernet passive optical networks
CN103299585B (en) Data processing suitable for standby state configuration management
CN105827485B (en) Node communications status based on PRP and HSR network monitors method
JP4572182B2 (en) Optical subscriber communication system, method for suppressing abnormal light emission of optical subscriber unit in optical subscriber communication system, and program thereof
EP3220556A1 (en) Method, device and system for detecting rogue optical network unit
WO2016101525A1 (en) Method, apparatus and system for managing optical network unit dpu device
CN103391488B (en) In a kind of EPON, intelligence discharges the method for bandwidth
CN106100723B (en) A kind of optical module
US20160285554A1 (en) Method, Device and System for Processing ONU Data
CN106301538A (en) A kind of method realizing pretection switch and optical network unit
EP2942906B1 (en) Automatic wiring switching apparatus and system, and automatic wiring switching method
CN103716185A (en) Passive optical network protocol stack accelerated processing method
JP5592320B2 (en) Communication apparatus and power saving method for communication apparatus
CN103795816A (en) Passive optical network system and its configuration method and access method
CN106685529B (en) Methods, devices and systems for adjusting circuit rate
JP6414406B2 (en) Station side device, home side device, PON system, and optical communication method
CN110446125B (en) Optical network system, optical path switching method, optical switching instruction issuing method and optical branching device
JP5720515B2 (en) Intra-station optical line terminator and bandwidth grant method for intra-office optical line terminator

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160511

Termination date: 20180809