CN103346913B - The method realizing module configuration in passive optical network terminal - Google Patents
The method realizing module configuration in passive optical network terminal Download PDFInfo
- Publication number
- CN103346913B CN103346913B CN201310270883.3A CN201310270883A CN103346913B CN 103346913 B CN103346913 B CN 103346913B CN 201310270883 A CN201310270883 A CN 201310270883A CN 103346913 B CN103346913 B CN 103346913B
- Authority
- CN
- China
- Prior art keywords
- equipment
- script
- terminal device
- terminal
- hgu
- 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.)
- Active
Links
Abstract
A kind of method that the present invention relates to realize module configuration in passive optical network terminal, wherein said passive optical network terminal includes that starting script arranges unit and information memory cell, the terminal device that described method is described starts and after hardware information in information memory cell described in reading, described terminal device arranges to load unit from described startup script and starts script, then according to the described terminal equipment type started in script and the unified interface information of module to be configured, the port and protocol stack of described terminal device is set, and start each module to be configured.Use the method realizing module configuration in the passive optical network terminal of this kind of structure, can be implemented in and on-demand in network-termination device rapidly join or delete functional module, can quickly meet the use demand that client is different, it is substantially reduced production cost and the research and development maintenance cost of terminal device, simple in construction, easy to use, there is wider application scope.
Description
Technical field
The present invention relates to the communications field, particularly relate to the EPON communications field, specifically refer to a kind of passive light network terminal and set
The standby middle method realizing module configuration.
Background technology
Along with the development of science and technology, the change in passive optical network terminal field, show as development and incorporation two main trend.
On the one hand, increasing new technology, new equipment form, such as: the technology such as SFP, 10GEPON are constantly occurring.Face
Facing to client all over the world, different demands, the newest standard is suggested, privately owned, is applied to special screne
Business model is occurring.
On the other hand, GPON with EPON is gradually merging.Some chips occur now such as: BCM6838X, both can do
GPON terminal device, it is also possible to make EPON terminal device.Two-layer equipment SFU on traditional concept and three-layer equipment HGU
Also merging, convergence.A lot of SFU support the function that original HGU such as TR069 just support, some HGU is also made more to come
More simplifying, without functions such as USB, wifi, morphological function is close to SFU.And a lot of chip has occurred, such as: BCM6818X
Series, both can be SFU, it is also possible to be HGU.
In the terminal device of present numerous and complicated is competed, constantly reduce at hardware material price, in the environment that function is gradually become strong.As
What is based on a powerful chip, by quickly adding or deleting corresponding function, meets different clients all over the world
Customized demand, seizing market rapidly is a very important thing.
Summary of the invention
It is an object of the invention to the shortcoming overcoming above-mentioned prior art, it is provided that one be capable of in network-termination device by
Need to rapidly join or delete functional module, simple in construction, easy to use, there is the EPON of wider application scope eventually
The method realizing module configuration in end equipment.
To achieve these goals, the method realizing module configuration in the passive optical network terminal of the present invention is as follows:
Realizing the method that module configures in this passive optical network terminal, it is mainly characterized by, described passive light network terminal
Equipment includes that starting script arranges unit and information memory cell, and described method comprises the following steps:
(1) terminal device described in starts and hardware information in information memory cell described in reading;
(2) terminal device described in arranges the startup script described in loading unit from the described script that starts;
(3) terminal device described in starts the terminal equipment type defined in script according to described, arranges described terminal device
Port and protocol stack;
(4) terminal device described in, according to the unified interface information of the module to be configured defined in described startup script, starts institute
The module to be configured stated.
It is preferred that described startup script arranges unit includes read-write region and read-only zones, described read-only zones stores
Having the original startup script of described terminal device, described arranges the startup described in loading unit from the described script that starts
Script, comprises the following steps:
(11) whether the read-write region described in judgement exists startup script, if it is, continue step (12), if it does not,
Then continue step (13);
(12) from described read-write region load described in startup script;
(13) from described read-only zones load described in startup script.
It is preferred that described starts the terminal equipment type defined in script according to described, the end of described terminal device is set
Mouth and protocol stack, comprise the following steps:
(21) it is SFU equipment or HGU equipment according to described terminal equipment type, corresponding terminal device port is set;
(22) it is EPON equipment or GPON equipment according to described terminal equipment type, loads corresponding OAM agreement
Stack or OMCI protocol stack.
More preferably, described is SFU equipment or HGU equipment according to described terminal equipment type, arranges corresponding terminal
Device port, comprises the following steps:
(211) terminal equipment type described in judgement is SFU equipment or HGU equipment, if SFU equipment, then continues
Continuous step (212), if HGU equipment, then continues step (213);
(212) arranging described device port is actual port;
(213) arranging described device port is virtual port.
More preferably, described terminal device also includes web module, and described is that EPON sets according to described terminal equipment type
Standby still GPON equipment, after loading corresponding OAM protocol stack or OMCI protocol stack, further comprising the steps of:
(23) when web module starts, it is SFU equipment or HGU equipment according to described terminal device, hides corresponding
Web interface.
Further, described is SFU equipment or HGU equipment according to described terminal device, hides corresponding web
Interface, comprises the following steps:
(231) terminal device described in judgement is SFU equipment or HGU equipment, if SFU, then continues step (232),
If HGU, then continue step (233);
(232) related interfaces of HGU equipment is hidden;
(233) related interfaces of SFU equipment is hidden.
Have employed the method realizing module configuration in the passive optical network terminal in this invention, have the advantages that
1, the method realizing module configuration in a kind of passive optical network terminal described in this patent, by a set of unified definition
Module interface, configurable startup script and the hardware information of FX, it is achieved that software function module rapidly joins and deletes
Function.Profit in this way, can quickly meet the demand that client is customized, be introduced to the market by product rapidly.
2, the method realizing module configuration in a kind of passive optical network terminal described in this patent, goes for multiple network
Agreement, is with a wide range of applications, and hardware version uses one, greatly reduces production cost, and software version also only has one
Individual, simply start configuration script different, although software version can be caused excessive, but the price of current NAND Flash is not
Disconnected reduction, the PON equipment NAND Flash capacity of main flow has reached 128M, can fully meet demand, be substantially reduced
The cost that research and development are safeguarded, the marketization of product also can greatly speed up.
Accompanying drawing explanation
Fig. 1 be the present invention passive optical network terminal in realize the flow chart of method of module configuration.
Fig. 2 be the present invention passive optical network terminal in realize the detail flowchart of method of module configuration.
Detailed description of the invention
In order to more clearly describe the technology contents of the present invention, conduct further description below in conjunction with specific embodiment.
It is illustrated in figure 1 in the passive optical network terminal of the present invention flow chart of the method realizing module configuration.
Described passive optical network terminal, by the module interface of a set of unified definition, the startup script that can arrange arranges list
Unit and be stored in as the hardware information in the FX of information memory cell, it is achieved that software module rapidly joins and deletes
Function, and client can start configuration script by amendment, deletes at any time or add according to the different demands of oneself different times
The functional module of oil (gas) filling device.
Add a new functional module, it is only necessary to realize unified interface, and XML to be resolved is write in unified interface definition
In document, and in starting configuration, add this module.
Module to be configured can be the functional modules such as RSTP, IGMP, MLD, DHCP relay, PPPOE relay, net,
The startup of each functional module being become by configurable startup script pull-up, described startup script can be according to the demand of client
Revise voluntarily.
In the present embodiment, using identical chips or the product of a family chip, software is one.Busybox therein,
The information such as kernel, boot keep consistent, during startup, according to writing the hardware information of FX in hardware Flash, report and set
The information such as standby ethernet port number, voice port number, WIFI, USB port, convenient configuration and management.
Meanwhile, distinguish proprietary protocol and universal standard protocol module, according to the different demands of different clients, opened by configurable
Dynamic script, the corresponding privately owned module of pull-up and public module.
The method realizing module configuration in described passive optical network terminal comprises the following steps:
(1) terminal device described in starts and hardware information in information memory cell described in reading;
(2) terminal device described in arranges the startup script described in loading unit from the described script that starts;
(3) terminal device described in starts the terminal equipment type defined in script according to described, arranges described terminal device
Port and protocol stack;
(4) terminal device described in, according to the unified interface information of the module to be configured defined in described startup script, starts institute
The module to be configured stated.
Before configuration module, it is necessary first to define the interface of each module to be configured, make the interface of each module to be configured
Keep unified, specifically refer to, define a set of unified MIB(management information bank), by the interface definition of all modules at XML
In document, by perl script during compiling, generate total interface code.By get, get first, get next, set obtain and
Operate each interface.Between scheduler module, message transmission, can only be realized by unified interface.When operation and configuration interface, configuration
The module of script pull-up, returns actual value, does not has the module of pull-up to return null value.
Described startup script arranges unit and includes read-write region and read-only zones, and in described read-only zones, storage has described
The original startup script of terminal device, when described startup script is set by the unified interface information of the module to be configured according to compiling
Put the startup script in unit when being configured, first the script that starts in described read-only zones is copied to described read-write district
Territory, then revises the startup script in described read-write region.
Starting configuration script can be in the read-write region of equipment, it is also possible at the read-only zones of equipment.With joining of read-write region
Putting script preferential, the most just with the configuration script of read-only zones, convenient debugging is used.The configuration script of read-only zones is mainly used in
Volume production equipment, it is to avoid maloperation, causes existing network equipment unavailable.
Therefore, described arranges the startup script described in loading unit from the described script that starts, and comprises the following steps:
(11) whether the read-write region described in judgement exists startup script, if it is, continue step (12), if it does not,
Then continue step (13);
(12) from described read-write region load described in startup script;
(13) from described read-only zones load described in startup script.
Described starts the terminal equipment type defined in script according to described, arranges the port and protocol of described terminal device
Stack, comprises the following steps:
(21) it is SFU equipment or HGU equipment according to described terminal equipment type, corresponding terminal device port is set;
(22) it is EPON equipment or GPON equipment according to described terminal equipment type, loads corresponding OAM agreement
Stack or OMCI protocol stack.
Described is SFU equipment or HGU equipment according to described terminal equipment type, arranges corresponding terminal device port,
Comprise the following steps:
(211) terminal equipment type described in judgement is SFU equipment or HGU equipment, if SFU equipment, then continues
Continuous step (212), if HGU equipment, then continues step (213);
(212) arranging described device port is actual port PORT;
(213) arranging described device port is virtual port VEIP;
Described terminal device also includes web module, described according to described terminal equipment type be EPON equipment or
GPON equipment, after loading corresponding OAM protocol stack or OMCI protocol stack, further comprising the steps of:
(23) when web module starts, it is SFU equipment or HGU equipment according to described terminal device, hides corresponding
Web interface.
Described is SFU equipment or HGU equipment according to described terminal device, hide corresponding web interface, including with
Lower step:
(231) terminal device described in judgement is SFU equipment or HGU equipment, if SFU, then continues step (232),
If HGU, then continue step (233);
(232) related interfaces of HGU equipment is hidden;
(233) related interfaces of SFU equipment is hidden.
Wherein, PON refers to passive optical-fiber network, the light i.e. in optical access network, between optical line terminal and optical network unit
Distribution net does not has the part of any active equipment.
EPON refers to ethernet passive optical network, i.e. use point-to-multipoint structure and passive light transmission, combine PON technology and
The feature of ethernet technology, provides multiple business on Ethernet.
GPON refers to that gigabit transmits EPON, has high bandwidth, high efficiency, large coverage, user interface abundant
Feature.
SFU refers to single dwelling unit, access terminal equipment and application terminal collectively form, and supports broadband access terminal and voice
Etc. function, there is multiple Ethernet interface and POTS interface.
HGU refers to home gateway unit, has home gateway functionalities, has multiple Ethernet interface, WLAN interface, POTS
Interface and cable interfaces.
OAM refers to operation management maintainance, the embedded OAM agreement of control and management plane.
OMCI refers to that optical network unit management controls interface protocol.
IGMP refers to Internet igmpinternet, is a multicast protocol, for IP main frame to the road of any one direct neighbor
Their group membership's situation is reported by device.
MLD refers to multicast listener discovery protocol, is a kind of multicast protocol, finds for IPv6 router on its directly connected subnet
Multicast listener.
It is illustrated in figure 2 in the passive optical network terminal of the present embodiment after realizing the method startup terminal device that module configures
Detail flowchart.
After described terminal device starts, the concrete methods of realizing starting each functional module to be configured is as follows:
First described terminal device is started, obtain the hardware information in FX in Flash;
Load and start script, according to the content started in script, determine the equipment started be GPON SFU, EPON SFU,
GPON HGU or EPON is HGU;
It is GPON or EPON according to equipment, starts corresponding OAM and OMCI protocol stack;The startup root of Web module
According to being SFU or HGU hides corresponding interface;
According to the content started in script, start corresponding module, general and privately owned protocol stack.
After equipment has started, if it is desired to next time starts pull-up or deletes certain module, the startup in read-only zones can be joined
Put script, copy in read-write region, the content inside amendment, then restarting equipment, carry out according still further to said method
Realize the on-demand configuration to functional module.
Have employed the method realizing module configuration in the passive optical network terminal in this invention, have the advantages that
1, the method realizing module configuration in a kind of passive optical network terminal described in this patent, by a set of unified definition
Module interface, configurable startup script and the hardware information of FX, it is achieved that software function module rapidly joins and deletes
Function.Profit in this way, can quickly meet the demand that client is customized, be introduced to the market by product rapidly.
2, the method realizing module configuration in a kind of passive optical network terminal described in this patent, goes for multiple network
Agreement, is with a wide range of applications, and hardware version uses one, greatly reduces production cost, and software version also only has one
Individual, simply start configuration script different, although software version can be caused excessive, but the price of current NAND Flash is not
Disconnected reduction, the PON equipment NAND Flash capacity of main flow has reached 128M, can fully meet demand, be substantially reduced
The cost that research and development are safeguarded, the marketization of product also can greatly speed up.
In this description, the present invention is described with reference to its specific embodiment.But it is clear that still may be made that various
Amendment and conversion are without departing from the spirit and scope of the present invention.Therefore, specification and drawings is considered as illustrative rather than limits
Property processed.
Claims (5)
1. the method realizing module configuration in a passive optical network terminal, it is characterised in that described EPON is eventually
End equipment includes that starting script arranges unit and information memory cell, and described method comprises the following steps:
(1) terminal device described in starts and hardware information in information memory cell described in reading;
(2) terminal device described in arranges to load unit from described startup script and starts script;
(3) terminal device described in starts the terminal equipment type defined in script according to described, arranges described terminal device
Port and protocol stack;
(4) terminal device described in, according to the unified interface information of the module to be configured defined in described startup script, starts institute
The module to be configured stated;
Described starts the terminal equipment type defined in script according to described, arranges the port and protocol of described terminal device
Stack, comprises the following steps:
(21) it is SFU equipment or HGU equipment according to described terminal equipment type, corresponding terminal device port is set;
(22) it is EPON equipment or GPON equipment according to described terminal equipment type, loads corresponding OAM agreement
Stack or OMCI protocol stack.
The method realizing module configuration in passive optical network terminal the most according to claim 1, it is characterised in that institute
The startup script stated arranges unit and includes read-write region and read-only zones, and in described read-only zones, storage has described terminal to set
Standby original startup script, described arranges the startup script described in loading unit, including following from the described script that starts
Step:
(11) whether the read-write region described in judgement exists startup script, if it is, continue step (12), if it does not,
Then continue step (13);
(12) from described read-write region load described in startup script;
(13) from described read-only zones load described in startup script.
The method realizing module configuration in passive optical network terminal the most according to claim 1, it is characterised in that institute
Stating is SFU equipment or HGU equipment according to described terminal equipment type, arranges corresponding terminal device port, including
Following steps:
(211) terminal equipment type described in judgement is SFU equipment or HGU equipment, if SFU equipment, then continues
Continuous step (212), if HGU equipment, then continues step (213);
(212) arranging described device port is actual port;
(213) arranging described device port is virtual port.
The method realizing module configuration in passive optical network terminal the most according to claim 1, it is characterised in that institute
The terminal device stated also includes web module, and described is EPON equipment or GPON sets according to described terminal equipment type
Standby, after loading corresponding OAM protocol stack or OMCI protocol stack, further comprising the steps of:
(23) when web module starts, it is SFU equipment or HGU equipment according to described terminal device, hides corresponding
Web interface.
The method realizing module configuration in passive optical network terminal the most according to claim 4, it is characterised in that institute
Stating is SFU equipment or HGU equipment according to described terminal device, hides corresponding web interface, comprises the following steps:
(231) terminal device described in judgement is SFU equipment or HGU equipment, if SFU, then continues step (232),
If HGU, then continue step (233);
(232) related interfaces of HGU equipment is hidden;
(233) related interfaces of SFU equipment is hidden.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310270883.3A CN103346913B (en) | 2013-06-28 | 2013-06-28 | The method realizing module configuration in passive optical network terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310270883.3A CN103346913B (en) | 2013-06-28 | 2013-06-28 | The method realizing module configuration in passive optical network terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103346913A CN103346913A (en) | 2013-10-09 |
CN103346913B true CN103346913B (en) | 2016-09-07 |
Family
ID=49281689
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310270883.3A Active CN103346913B (en) | 2013-06-28 | 2013-06-28 | The method realizing module configuration in passive optical network terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103346913B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104468405B (en) * | 2014-11-10 | 2018-03-30 | 上海市共进通信技术有限公司 | The method that network physical trunking is realized in Gbit passive optical network system |
CN107147630B (en) * | 2017-04-27 | 2020-12-25 | 金华市智甄通信设备有限公司 | Method and device for realizing automatic generation of OMCI protocol stack code |
CN107659858B (en) * | 2017-08-24 | 2020-06-16 | 四川天邑康和通信股份有限公司 | Passive optical network regional self-adaptive system |
CN107579847B (en) * | 2017-08-24 | 2021-06-18 | 四川天邑康和通信股份有限公司 | Data configuration method of passive optical network regional adaptive system |
CN109560969B (en) * | 2018-12-21 | 2022-02-15 | 深圳创维数字技术有限公司 | Configuration method of ONU network port, ONU terminal and storage medium |
CN110224906A (en) * | 2019-06-28 | 2019-09-10 | 深圳市友华软件科技有限公司 | The network uplink switching method and apparatus of intelligent gateway device |
CN113923544B (en) * | 2021-09-28 | 2023-05-12 | 烽火通信科技股份有限公司 | Management method and system of standard and private OMCI service model ONU |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101132233A (en) * | 2006-08-25 | 2008-02-27 | 上海未来宽带技术及应用工程研究中心有限公司 | Method for implementing electricity-saving mode on optical network unit of passive optical network |
CN101561857A (en) * | 2009-04-28 | 2009-10-21 | 苏州国芯科技有限公司 | Multi-mode startup safety embedded system |
CN102111482A (en) * | 2009-12-25 | 2011-06-29 | 深圳市银星数码有限公司 | Multi-system multi-mode intelligent mobile terminal and control method |
US7991296B1 (en) * | 2006-11-10 | 2011-08-02 | Marvell International Ltd. | Method and apparatus for data frame synchronization and delineation |
CN102149025A (en) * | 2010-02-04 | 2011-08-10 | 华为技术有限公司 | Interface matching method, device and system for PON (passive optical network) |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110268443A1 (en) * | 2010-04-29 | 2011-11-03 | Pmc Sierra Ltd. | Interface for pluggable pon ont |
-
2013
- 2013-06-28 CN CN201310270883.3A patent/CN103346913B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101132233A (en) * | 2006-08-25 | 2008-02-27 | 上海未来宽带技术及应用工程研究中心有限公司 | Method for implementing electricity-saving mode on optical network unit of passive optical network |
US7991296B1 (en) * | 2006-11-10 | 2011-08-02 | Marvell International Ltd. | Method and apparatus for data frame synchronization and delineation |
CN101561857A (en) * | 2009-04-28 | 2009-10-21 | 苏州国芯科技有限公司 | Multi-mode startup safety embedded system |
CN102111482A (en) * | 2009-12-25 | 2011-06-29 | 深圳市银星数码有限公司 | Multi-system multi-mode intelligent mobile terminal and control method |
CN102149025A (en) * | 2010-02-04 | 2011-08-10 | 华为技术有限公司 | Interface matching method, device and system for PON (passive optical network) |
Also Published As
Publication number | Publication date |
---|---|
CN103346913A (en) | 2013-10-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103346913B (en) | The method realizing module configuration in passive optical network terminal | |
CN103430499B (en) | The method and apparatus of multicast packet Path Setup in network virtualization system | |
CN106161163B (en) | High-integration-level multimedia intelligent home gateway, management system and television box | |
CN102013998B (en) | Tr-069 protocol-based management method for realizing home network | |
WO2010058013A3 (en) | Forwarding operation data related to the present operation of a plurality of inverter units to a monitoring unit | |
WO2017050036A1 (en) | Resource allocation information transmission and data distribution method and device | |
Figuerola et al. | Converged optical network infrastructures in support of future internet and grid services using IaaS to reduce GHG emissions | |
Aleksić | Energy-efficient communication networks for improved global energy productivity | |
US11050811B2 (en) | System and method for mesh network streaming | |
CN107889285A (en) | A kind of construction method for merging isomery gateway and merging isomery gateway | |
CN101119253A (en) | Method and system for controlling user accessing WLAN using user hierarchy | |
KR101800320B1 (en) | Network on chip system based on bus protocol, design method for the same and computer readable recording medium in which program of the design method is recorded | |
CN103036757B (en) | A kind of network architecture and collocation method thereof | |
CN101547110A (en) | Method, system and device for registering multicast source | |
CN105760126B (en) | A kind of multi-screen file sharing method and system | |
CN104065494A (en) | Rack-type OLT equipment and method for achieving multicast VLAN therefor | |
CN109560969A (en) | Configuration method, ONU terminal and the storage medium of the ONU network port | |
CN109873716A (en) | Processing method, device and the storage medium of data | |
CN110190988A (en) | A kind of service deployment method and device | |
CN105897541B (en) | The method of compatible SUPER VLAN and VLANIF in IPRAN systems | |
CN106786773B (en) | A kind of distributed power grid system | |
CN106612298B (en) | A kind of content distribution method and system based on large-scale network node | |
CN103259944B (en) | Method for configuring IP soft switch system and different intranet switchboards | |
Alcober et al. | Internet future architectures for network and media independent services and protocols | |
WO2018161793A1 (en) | Grid system, and path determining method and control device in grid system |
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 |