CN104601379A - Method for saving traffic and surfing internet for passive optical network (PON) home gateway unit - Google Patents

Method for saving traffic and surfing internet for passive optical network (PON) home gateway unit Download PDF

Info

Publication number
CN104601379A
CN104601379A CN201510045117.6A CN201510045117A CN104601379A CN 104601379 A CN104601379 A CN 104601379A CN 201510045117 A CN201510045117 A CN 201510045117A CN 104601379 A CN104601379 A CN 104601379A
Authority
CN
China
Prior art keywords
internet
step
interface
home gateway
passive optical
Prior art date
Application number
CN201510045117.6A
Other languages
Chinese (zh)
Inventor
廖连兵
Original Assignee
太仓市同维电子有限公司
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 太仓市同维电子有限公司 filed Critical 太仓市同维电子有限公司
Priority to CN201510045117.6A priority Critical patent/CN104601379A/en
Publication of CN104601379A publication Critical patent/CN104601379A/en

Links

Abstract

The invention discloses a method for saving traffic and surfing the internet for a passive optical network (PON) home gateway unit. The method comprises the steps of creating a dynamic host conformation protocol (DHCP) router access interface or PPPoE dial-up router access interface based on Ethernet; adding IPtables rules for interconnection of networks to enable all internet surfing data to be handled through the interface; counting the internet surfing data packet functions passing through the interface; 4, creating a management process, and monitoring the change of the internet surfing data packet of the access interface; creating a timer for the management process; 6, counting and recording the quantity of the internet surfing data packet of the current access interface again after the set time is reached; 7, comparing the data recorded twice; 8, starting the timer again after reaching the set time. The method is applied to traffic saving and internet surfing of the PON home gateway unit.

Description

无源光纤网络上行家庭网关节省流量、智能上网的方法 Passive optical network upstream flow method to save the home gateway, intelligent Internet

技术领域 FIELD

: :

[0001] 本发明涉及一种无源光纤网络上行家庭网关节省流量、智能上网的方法。 [0001] The present invention relates to a passive optical network upstream traffic saving method of the home gateway, Intelligent Internet.

背景技术 Background technique

: :

[0002] 无源光纤网络PON上行家庭网关的上网方式常用的有三种:动态主机配置协议DHCP路由器上网、基于以太网的点对点协议PPPoE路由器拨号上网和桥接拨号上网。 Commonly used [0002] a passive optical network, PON, the uplink access of the home gateway in three ways: Dynamic Host Configuration Protocol DHCP Internet routers, Internet Point to Point Protocol over Ethernet PPPoE dial-up routers and bridges dial.

[0003] 动态主机配置协议DHCP路由器上网:在无源光纤网络PON上行家庭网关中创建一个上行路由器上网接口,通过动态主机配置协议DHCP方式获取网络地址,无源光纤网络PON上行家庭网关通过该接口处理上下行网络数据,为连接到家庭网关的上网设备提供网络服务。 [0003] DHCP Dynamic Host Configuration Protocol router Internet: Create an upstream router in the Internet access passive optical network PON upstream home gateway, network address acquired by Dynamic Host Configuration Protocol DHCP mode, a passive optical network, PON, upstream the home gateway via the interface uplink and downlink data processing network, providing network services to connect to a home Internet gateway devices.

[0004] 基于以太网的点对点协议PPPoE路由器拨号上网:无源光纤网络PON上行家庭网关中创建一个上行路由器上网接口,通过基于以太网的点对点协议PPPoE拨号方式获取网络地址,无源光纤网络PON上行家庭网关通过该接口处理上下行网络数据,为连接到家庭网关的上网设备提供网络服务。 [0004] Point to Point Protocol over Ethernet PPPoE dial-up router: passive optical network PON uplink create a home gateway router up Internet access, by acquiring a network address of the Point to Point Protocol over Ethernet PPPoE dial-up, up-PON Passive Optical Network home gateway through the interface processing uplink and downlink data network, is connected to the home Internet gateway devices to provide network services.

[0005] 桥接拨号上网:无源光纤网络PON上行家庭网关中创建一个桥接口,直接转发上下行网络数据,连接到无源光纤网络PON上行家庭网关的上网设备通过拨号方式获取网络地址,实现上网功能。 [0005] Bridge dial: Create a bridge interface passive optical network PON upstream home gateway and forwards downlink data network, the device connected to the passive optical network PON access home gateway uplink acquired by dial-up network address, browse the Internet Features.

[0006] 但是二种方法都存在各自不完美的地方。 [0006] However, two kinds of methods have their own imperfections.

发明内容 SUMMARY

: :

[0007] 本发明的目的是提供一种优化了现有的无源光纤网络PON上行家庭网关的上网方式,为家庭网络节省流量,实现智能上网的无源光纤网络上行家庭网关节省流量、智能上网的方法。 [0007] The object of the present invention is to provide a way to optimize the existing passive optical network PON access home gateway uplink, to save traffic of the home network, intelligent passive optical network upstream Internet to save traffic of the home gateway, Intelligent Internet Methods.

[0008] 上述的目的通过以下的技术方案实现: [0008] The above object is achieved by the following technical solution:

[0009] 一种无源光纤网络上行家庭网关节省流量、智能上网的方法,本方法包括八个步骤,第一步创建一个动态主机配置协议DHCP路由器上网接口或基于以太网的点对点协议PPPoE拨号路由器上网接口,第二步添加网络之间互连的协议IPtables规则,使所有上网数据都通过该接口处理,第三步统计通过该接口的上网数据包功能,第四步创建一个管理进程,监控上网接口的上网数据包变化,第五步管理进程创建一个定时器,第六步定时时间到后,再次统计并记录当前上网接口的上网数据包个数,第七步将两次记录的数据做对比,第八步定时时间到后再次启动定时器。 [0009] A passive optical network upstream to save traffic of the home gateway, Intelligent Internet, the method includes eight steps, the first step in creating a dynamic host configuration protocol DHCP router with Internet access or Point to Point Protocol over Ethernet PPPoE dial-up router Internet access, the second step is added between the network interconnection agreement IPtables rules so that all Internet data through the interface process, the third step statistical data packets through the Internet functionality of the interface, the fourth step to create a management process, monitoring the Internet Internet packet interface changes, the fifth step management process creates a timer, the sixth regular time to step back, re-recording statistics and the number of packets with Internet access in the current Internet, the data will be recorded twice in the seventh step to do comparison eighth step after regular time to start the timer again.

[0010] 所述的无源光纤网络上行家庭网关节省流量、智能上网的方法,所述的第五步管理进程创建一个定时器是启动该定时器时统计并记录当前上网接口的上网数据包。 [0010] A passive optical network upstream flow method to save the home gateway, intelligent access to the Internet, the fifth step of the management process is to create a timer statistics and records Internet packets of the current Internet access when you start the timer.

[0011] 所述的无源光纤网络上行家庭网关节省流量、智能上网的方法,所述的第七步将两次记录的数据做对比时如果发现有增加,表明定时的这段时间上网设备是有上网请求的,如果当前的上行上网接口处于被禁用状态,启用该接口,并拉起对应动态主机配置协议DHCP或基于以太网的点对点协议PPPoE进程获取网络之间互连的协议IP地址,为上网设备提供上网服务;如果该接口处于启用状态则不做处理。 Passive optical network of the home gateway uplink [0011] according save traffic, Intelligent Internet, the seventh step the data is recorded twice if there do increase the contrast, show that the timing of this time is the access device with Internet request, if the current uplink access is disabled in the interface, this interface is enabled and pulls the corresponding dynamic host configuration protocol DHCP or acquired interconnection between networks based on Ethernet process point to point protocol PPPoE protocol IP address, Internet equipment to provide Internet services; if the interface is enabled then no treatment.

[0012] 所述的无源光纤网络上行家庭网关节省流量、智能上网的方法,所述的第七步将两次记录的数据做对比时如果统计数据没有变化,表明定时的这段时间上网设备没有上网请求,此时上网接口如果处于启用状态,禁用上行上网接口,对应的动态主机配置协议DHCP进程或基于以太网的点对点协议PPPoE进程被杀死,释放上网接口获取的地址,不提供上网服务;如果上行接口处于禁用状态则不做处理。 [0012] A passive optical network upstream to save traffic of the home gateway, Intelligent Internet, the seventh step of recording data twice, if the statistics do not change in comparison, show that the timing of this time access device no Internet access request, this time if Internet access is enabled, disabled up Internet access, the corresponding dynamic host configuration protocol (DHCP) process or be killed based on the point to point protocol PPPoE process Ethernet interface to obtain the release of Internet addresses, not to provide Internet services ; uplink interface is disabled if it is not treated.

[0013] 所述的无源光纤网络上行家庭网关节省流量、智能上网的方法,所述的第八步定时时间到后再次启动定时器是定时时间到后再次启动定时器,不断循环,监控上行上网接口的上网数据包的变化。 [0013] A passive optical network upstream to save traffic of the home gateway, Intelligent Internet, according to the eighth step the timing time the timer is started again after the regular time after starting the timer again, the cycle of monitoring uplink changes in Internet data packet access interface.

[0014] 有益效果: [0014] beneficial effects:

[0015] 1.本发明采用了无源光纤网络PON上行家庭网关启动并注册成功后,启用上行上网接口,为上网设备提供网络服务,使用方便。 [0015] 1. The present invention uses a passive optical network, PON, the upstream promoter and the home gateway registration is successful, the uplink enable Internet access, access device to provide network services, and easy to use.

[0016] 2.本发明为无源光纤网络PON上行家庭网关提供了配置智能上网的功能,使上网速度快,功能全。 [0016] 2. The present invention provides a passive optical network, PON, the uplink configuration of smart home gateway function of the Internet, the Internet so fast, full-featured.

[0017] 3.本发明为上网设备提供网络服务,实现家庭网络的流量节省、实现智能上网。 [0017] 3. The present invention provides a device for the Internet network services, and network traffic family savings, intelligent Internet.

附图说明 BRIEF DESCRIPTION

: :

[0018] 附图1是本产品的系统图。 [0018] FIG. 1 is a system diagram of the present product.

[0019] 附图2是附图1的实物图。 [0019] Figure 2 is a physical map of the drawings.

具体实施方式 Detailed ways

: :

[0020] 实施例1: [0020] Example 1:

[0021] 一种无源光纤网络上行家庭网关节省流量、智能上网的方法,本方法包括八个步骤,第一步创建一个动态主机配置协议DHCP路由器上网接口或基于以太网的点对点协议PPPoE拨号路由器上网接口,第二步添加网络之间互连的协议Iinux系统中管理防火墙的工具网络之间互连的协议IPtables规则,使所有上网数据都通过该接口处理,第三步统计通过该接口的上网数据包功能,第四步创建一个管理进程,监控上网接口的上网数据包变化,第五步管理进程创建一个定时器,第六步定时时间到后,再次统计并记录当前上网接口的上网数据包个数,第七步将两次记录的数据做对比,第八步定时时间到后再次启动定时器。 [0021] A passive optical network upstream to save traffic of the home gateway, Intelligent Internet, the method includes eight steps, the first step in creating a dynamic host configuration protocol DHCP router with Internet access or Point to Point Protocol over Ethernet PPPoE dial-up router Internet access, the second step is added IPtables protocol rules interconnection between network protocols Iinux tool system interconnect between network management firewall so that all Internet data through the interface process, the third step of the interface statistics through the Internet packages feature, the fourth step to create a management process, monitoring changes in the Internet data packets with Internet access, the fifth step management process creates a timer, the sixth regular time to step back, re-record the current statistics and Internet access in the Internet data packets number, the seventh step of recording two data do comparison, a timer is started again after the eighth step to the regular time.

[0022] 实施例2: [0022] Example 2:

[0023] 实施例1所述的无源光纤网络上行家庭网关节省流量、智能上网的方法,所述的第五步管理进程创建一个定时器是启动该定时器时统计并记录当前上网接口的上网数据包。 Examples passive optical network upstream of the home gateway 1 ways to save traffic, intelligent Internet [0023] implementation, the fifth step is to manage the process of creating a timer and record statistics when you start the timer current Internet access in the Internet data pack.

[0024] 实施例3: [0024] Example 3:

[0025] 实施例1所述的无源光纤网络上行家庭网关节省流量、智能上网的方法,所述的第七步将两次记录的数据做对比时如果发现有增加,表明定时的这段时间上网设备是有上网请求的,如果当前的上行上网接口处于被禁用状态,启用该接口,并拉起对应动态主机配置协议DHCP或基于以太网的点对点协议PPPoE进程获取网络之间互连的协议IP地址,为上网设备提供上网服务;如果该接口处于启用状态则不做处理。 Passive optical network of the home gateway uplink [0025] Example 1 save traffic, Intelligent Internet, the seventh step the data is recorded twice do compare if there are increased, indicating that the timing of the period Internet access device is requested, if the current uplink access is disabled in the interface, this interface is enabled and pulls the corresponding dynamic host configuration protocol DHCP or acquired interconnection between networks based on Ethernet process point to point protocol PPPoE protocol IP address for the device to provide Internet access services; if the interface is enabled then no treatment.

[0026] 实施例4: [0026] Example 4:

[0027] 实施例1所述的无源光纤网络上行家庭网关节省流量、智能上网的方法,所述的第七步将两次记录的数据做对比时如果统计数据没有变化,表明定时的这段时间上网设备没有上网请求,此时上网接口如果处于启用状态,禁用上行上网接口,对应的动态主机配置协议DHCP进程或基于以太网的点对点协议PPPoE进程被杀死,释放上网接口获取的地址,不提供上网服务;如果上行接口处于禁用状态则不做处理。 [0027] Example passive optical network of the home gateway uplink saving method according to an embodiment of the flow rate, intelligent Internet, the seventh step if the comparison of the statistics do not change the recording data twice, indicating that the timing of this Internet access devices do not have time to request, at this time if Internet access is enabled, disabled up Internet access, the corresponding dynamic host configuration protocol (DHCP) process or point to point protocol-based Ethernet PPPoE process is killed, the release of Internet access to obtain the address, not providing Internet access; if it is not treated uplink interface is disabled.

[0028] 实施例5: [0028] Example 5:

[0029] 实施例1所述的无源光纤网络上行家庭网关节省流量、智能上网的方法,所述的第八步定时时间到后再次启动定时器是定时时间到后再次启动定时器,不断循环,监控上行上网接口的上网数据包的变化。 [0029] Example passive optical network of the home gateway uplink saving method according to a flow rate, a smart Internet embodiment, the eighth step of the timing time the timer is started again after the timer is started again after the timing of time, the cycle of , monitoring changes in the uplink packet access Internet interface.

[0030] 在此说明书中,本发明已参照其特定的实施例作了描述。 [0030] In this specification, the present invention has been described with reference to specific embodiments thereof. 但是,很显然仍可以作出各种修改和变换而不背离本发明的精神和范围。 However, it is still apparent that various modifications and variations can be made without departing from the spirit and scope of the invention. 因此,说明书和附图应被认为是说明性的而非限制性的。 Accordingly, the specification and drawings are to be regarded as illustrative rather than restrictive.

Claims (5)

1.一种无源光纤网络上行家庭网关节省流量、智能上网的方法,其特征是:本方法包括八个步骤,第一步创建一个动态主机配置协议DHCP路由器上网接口或基于以太网的点对点协议PPPoE拨号路由器上网接口,第二步添加网络之间互连的协议IPtables规则,使所有上网数据都通过该接口处理,第三步统计通过该接口的上网数据包功能,第四步创建一个管理进程,监控上网接口的上网数据包变化,第五步管理进程创建一个定时器,第六步定时时间到后,再次统计并记录当前上网接口的上网数据包个数,第七步将两次记录的数据做对比,第八步定时时间到后再次启动定时器。 1. A passive optical network upstream traffic saving method of the home gateway, Intelligent Internet, characterized in that: the method includes eight steps, the first step in creating a dynamic host configuration protocol DHCP router with Internet access or Point to Point Protocol over Ethernet PPPoE dial-up Internet access router, add a second step protocol IPtables rules interconnection between networks, so that all Internet data through the interface process, the third step statistical data packets through the Internet functionality of the interface, the fourth step to create a management process , monitoring changes in the Internet data packets with Internet access, the fifth step management process creates a timer, the sixth regular time to step back, re-recording statistics and the number of packets with Internet access in the current Internet, the seventh step will be recorded twice data do comparison, start the timer again eighth regular time to step back.
2.根据权利要求1所述的无源光纤网络上行家庭网关节省流量、智能上网的方法,其特征是:所述的第五步管理进程创建一个定时器是启动该定时器时统计并记录当前上网接口的上网数据包。 2. The passive optical network upstream of the home gateway 1 ways to save traffic, intelligent Internet claims, characterized in that: the fifth step of the management process creates a timer is started when the timer count and record the current Internet access Internet data packets.
3.根据权利要求1所述的无源光纤网络上行家庭网关节省流量、智能上网的方法,其特征是:所述的第七步将两次记录的数据做对比时如果发现有增加,表明定时的这段时间上网设备是有上网请求的,如果当前的上行上网接口处于被禁用状态,启用该接口,并拉起对应动态主机配置协议DHCP或基于以太网的点对点协议PPPoE进程获取网络之间互连的协议IP地址,为上网设备提供上网服务;如果该接口处于启用状态则不做处理。 3. The passive optical network according to a method for saving the home gateway uplink traffic, the smart Internet, which is characterized in the claims: the seventh step the data is recorded twice if there do increase the contrast, show that the timing this time with Internet access device is requested, if the current uplink access is disabled in the interface, this interface is enabled and pulls the correspondence between the acquired network configuration protocol DHCP or point to point protocol PPPoE process based on the mutual dynamic host Ethernet even the protocol IP address for the device to provide Internet access services; if the interface is enabled then no treatment.
4.根据权利要求1所述的无源光纤网络上行家庭网关节省流量、智能上网的方法,其特征是:所述的第七步将两次记录的数据做对比时如果统计数据没有变化,表明定时的这段时间上网设备没有上网请求,此时上网接口如果处于启用状态,禁用上行上网接口,对应的动态主机配置协议DHCP进程或基于以太网的点对点协议PPPoE进程被杀死,释放上网接口获取的地址,不提供上网服务;如果上行接口处于禁用状态则不做处理。 4. The passive optical network according to a method for saving the home gateway uplink traffic, the smart Internet, which is characterized in the claims: The two recorded data if comparison of the statistics do not change in the seventh step, indicated that a timing device that time no Internet access request, this time, if Internet access is enabled, disable the upstream Internet access, the corresponding dynamic host configuration protocol DHCP process are killed or point to point protocol PPPoE process based on Ethernet, the Internet interface to obtain the release of address, not to provide Internet services; then if not treated uplink interface is disabled.
5.根据权利要求1所述的无源光纤网络上行家庭网关节省流量、智能上网的方法,其特征是:所述的第八步定时时间到后再次启动定时器是定时时间到后再次启动定时器,不断循环,监控上行上网接口的上网数据包的变化。 5. The passive optical network according to a method for saving the home gateway uplink traffic, the smart Internet, which is characterized in the claims: the eighth step to the timing time the timer is started again after the regular time after the timing starts again , a continuous cycle, monitor changes in the uplink Internet access Internet data packets.
CN201510045117.6A 2015-01-29 2015-01-29 Method for saving traffic and surfing internet for passive optical network (PON) home gateway unit CN104601379A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510045117.6A CN104601379A (en) 2015-01-29 2015-01-29 Method for saving traffic and surfing internet for passive optical network (PON) home gateway unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510045117.6A CN104601379A (en) 2015-01-29 2015-01-29 Method for saving traffic and surfing internet for passive optical network (PON) home gateway unit

Publications (1)

Publication Number Publication Date
CN104601379A true CN104601379A (en) 2015-05-06

Family

ID=53126904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510045117.6A CN104601379A (en) 2015-01-29 2015-01-29 Method for saving traffic and surfing internet for passive optical network (PON) home gateway unit

Country Status (1)

Country Link
CN (1) CN104601379A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1425246A (en) * 2000-03-17 2003-06-18 美国在线服务公司 Home-networking
US20060209857A1 (en) * 2005-03-15 2006-09-21 Bellsouth Intellectual Property Corporation Broadband home applications gateway/residential gateway systems, methods and computer program products
CN1859292A (en) * 2005-12-16 2006-11-08 华为技术有限公司 Household gateway and method for ensuring household network service terminal QoS
WO2007016809A1 (en) * 2005-08-05 2007-02-15 Zte Corporation A managing method of bridging device
CN101146047A (en) * 2007-11-06 2008-03-19 中国电信股份有限公司 A method, system and gateway for controlling quantity of network access terminal under routing mode
CN101667942A (en) * 2009-10-14 2010-03-10 中兴通讯股份有限公司 Control method of home gateway and device thereof
CN102594635A (en) * 2012-02-15 2012-07-18 中国联合网络通信集团有限公司 Home-gateway-based terminal access method and system, and home gateway
US20140281029A1 (en) * 2013-03-14 2014-09-18 Time Warner Cable Enterprises Llc System and method for automatic routing of dynamic host configuration protocol (dhcp) traffic

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1425246A (en) * 2000-03-17 2003-06-18 美国在线服务公司 Home-networking
US20060209857A1 (en) * 2005-03-15 2006-09-21 Bellsouth Intellectual Property Corporation Broadband home applications gateway/residential gateway systems, methods and computer program products
WO2007016809A1 (en) * 2005-08-05 2007-02-15 Zte Corporation A managing method of bridging device
CN1859292A (en) * 2005-12-16 2006-11-08 华为技术有限公司 Household gateway and method for ensuring household network service terminal QoS
CN101146047A (en) * 2007-11-06 2008-03-19 中国电信股份有限公司 A method, system and gateway for controlling quantity of network access terminal under routing mode
CN101667942A (en) * 2009-10-14 2010-03-10 中兴通讯股份有限公司 Control method of home gateway and device thereof
CN102594635A (en) * 2012-02-15 2012-07-18 中国联合网络通信集团有限公司 Home-gateway-based terminal access method and system, and home gateway
US20140281029A1 (en) * 2013-03-14 2014-09-18 Time Warner Cable Enterprises Llc System and method for automatic routing of dynamic host configuration protocol (dhcp) traffic

Similar Documents

Publication Publication Date Title
CN100531127C (en) Dynamic VLAN ID assignment and packet transfer apparatus
CN102576345B (en) Dynamic management of network flow
AU2010239067B2 (en) Method and apparatus for accommodating duplicate MAC addresses
RU2010136044A (en) Manage wireless relay nodes using the identifier
CN102594711A (en) Message forwarding method and edge device therefor
CN101022394A (en) Method for realizing virtual local network aggregating method and converging exchanger
WO2013033457A1 (en) Topology discovery in a hybrid network
CN102726069B (en) Based on the properties of dynamic service group session
CN101247297B (en) Device, system and method for automatically configuring application terminal in family network
CN100364289C (en) Method for implementing layer-2 equipment interconnection in resilient packet ring (RPR) based network
CN101427523B (en) A business-binding method and device
CN102394831A (en) Flow uninterruptible method and device based on virtual machine VM (virtual memory) migration
CN101426004A (en) Three layer conversation access method, system and equipment
CN1964282A (en) System and method for remote management
CN101106512B (en) A processing method and device for QinQ termination configuration
CN101227407B (en) Method and apparatus for sending message based on two layer tunnel protocol
JP2010506439A (en) Point-to-Multipoint function in bridged network
CN1744597A (en) Method for host use obtaining IP address parameters in IPV6 network
CN100471162C (en) Method for releasing and processing virtual circuit information and supplier edge device
US8880656B2 (en) Customer edge device auto-configuration
CN102082690B (en) Passive finding equipment and method of network topology
US20160261496A1 (en) Packet forwarding in data center network
CN103797774B (en) A network address translation device and method
CN101098292A (en) Method for reducing user address analysis protocol broadcast on access equipment
US20100303092A1 (en) Dynamically Configuring Attributes of a Parent Circuit on a Network Element

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
WD01