CN104506365A - Method for realizing compatible analysis of various chip services in passive optical network - Google Patents
Method for realizing compatible analysis of various chip services in passive optical network Download PDFInfo
- Publication number
- CN104506365A CN104506365A CN201410837835.2A CN201410837835A CN104506365A CN 104506365 A CN104506365 A CN 104506365A CN 201410837835 A CN201410837835 A CN 201410837835A CN 104506365 A CN104506365 A CN 104506365A
- Authority
- CN
- China
- Prior art keywords
- business
- chip
- epon
- configuration
- analyzed
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 230000003287 optical effect Effects 0.000 title claims abstract description 9
- 238000004458 analytical method Methods 0.000 title abstract description 9
- 230000008569 process Effects 0.000 claims description 30
- 230000007246 mechanism Effects 0.000 claims description 10
- 230000007704 transition Effects 0.000 claims description 7
- 238000005538 encapsulation Methods 0.000 claims description 6
- 230000006870 function Effects 0.000 abstract description 44
- 238000011161 development Methods 0.000 abstract description 10
- 238000012545 processing Methods 0.000 abstract description 6
- 238000012423 maintenance Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000005206 flow analysis Methods 0.000 description 1
- 238000010348 incorporation Methods 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
The invention relates to a method for realizing compatible analysis of various chip services in a passive optical network. The method includes that a system defines a uniform configuration structural body and a uniformly-encapsulated bottom layer interface on a hardware abstraction layer; the system acquires corresponding processing functions according to the chip services and stores the processing functions; the system parallelly connects the uniformly-encapsulated bottom layer interface with the processing functions. By the method, service analysis compatible in chip of various manufacturers is realized; codes are added through the mode, so that effort of software development can be centralized on difference in realizing of new and old chip functions, no attention needs to be paid on upper-layer code realizing, and function module development time is saved greatly; the codes are well organized and high in universality, a good foundation is laid for quickly developing product functions and bringing products into market, and the method has a wider application basis.
Description
Technical field
The present invention relates to EPON field, specifically refer in a kind of EPON the method realizing various chips business compatibility and analyze.
Background technology
Along with the development of science and technology, the change in passive optical network terminal field, shows as development and incorporation two main trend.
Along with increasing new technology, new chip solution constantly occurs, as BCM6838X, LANTIQ etc., facing to diversified demand, much new function needs to use new chip solution and could realize.
In the terminal equipment competition be growing more intense now, the high-quality of software and highly compatible will lay good basis to product rapid development and later maintenance, and its design should meet rapidly various customization demand.
The method of compatibility multi-vendor chip traffic flow analysis proposes an a kind of method, can effectively overcome the above problems.
Summary of the invention
The object of the invention is the shortcoming overcoming above-mentioned prior art, provide a kind of configuration structure entity by a set of unified definition and the unified physical layer interface encapsulated, achieve in the EPON of compatible multi-vendor chip business diagnosis the method realizing various chips business compatibility and analyze.
To achieve these goals, the method realizing the analysis of various chips business compatibility in EPON of the present invention has following formation:
Realize the method that various chips business compatibility is analyzed in this EPON, its main feature is, described method comprises the following steps:
(1) system defines unified configuration structure entity and the unified physical layer interface encapsulated at hardware abstraction layer;
(2) system described in obtains corresponding process function according to chip business, and the process function described in storing;
(3) physical layer interface of described unified encapsulation associates with described process function by the system described in.
Wherein, described unified configuration structure entity comprises the configuration that optical line terminal sends, the configuration that described optical line terminal sends comprises traffic classification process, VLAN operation and filter configuration, and described unified configuration structure entity is the mutual structure of the OMCI module of EPON and configuration transitions module.
Further, the process function described in described storage, is specially:
Described process function is stored in respective file by message mechanism by described system.
Further, described system obtains corresponding process function according to chip business, is specially:
Described system obtains several process branch by message mechanism, and each process branch encapsulation is obtained corresponding process function.
Have employed in EPON of the present invention the method realizing various chips business compatibility and analyze, there is following features:
1, compatible good, by encapsulating the mechanism of function, various chips scheme can be added in identical code framework;
2, add code fast, avoid the operation of too much repeatability, reduce the development time;
3, the code quality added in this way is high, considerably reduces DEBUG time and size of code;
4, maintenance cost is low, only needs the correct and complete of the total code logic ensureing hardware abstraction layer, just new chip solution constantly can be added in existing software architecture, saves the time of debugging OMCI to this part code of bottom configuration transitions;
5, the type of service in hardware abstraction layer considered comprehensively, the portability of this part code will become very high.
According to These characteristics, the method tool realizing the analysis of various chips business compatibility in EPON of the present invention has the following advantages:
1, a large amount of functional module development times is saved;
2, save the later maintenance time, decrease required size of code;
3, be placed in a set of logic by all business functions by message mechanism, the orderliness of code is clear, and versatility is good, can many people safeguard;
4, add code in this way, the energy of software development can be concentrated in the difference of new and old chip functions realization, do not need to pay close attention to upper strata codes implement;
5, can promptly a new chip solution be added in existing code framework, product is introduced to the market lay a good foundation for rapid development function.
Accompanying drawing explanation
Fig. 1 is the flow chart realizing the method that various chips business compatibility is analyzed in EPON of the present invention.
Fig. 2 is the flow chart of a specific embodiment of the present invention.
Embodiment
In order to more clearly describe technology contents of the present invention, conduct further description below in conjunction with specific embodiment.
The physical layer interface that the present invention is encapsulated with unification by the configuration structure entity of a set of unified definition, achieves the compatibility of hardware abstraction layer to multiple manufacturers chip interface.
Refer to Fig. 1, in one embodiment, at the structure of a set of business configuration of hardware abstraction layer unified definition, OLT (optical line terminal is comprised in this structure, optical line terminal) all configurations of issuing, comprise traffic classification process, VLAN (Virtual Local Area Network, VLAN) operation, filter (filtration) configuration etc.; For the situation that all there is interpolation business and the business of deletion different chip, these total situations can be placed in same message processing function and go to realize, the realization of this function can be different according to the different definition of chip content, therefore all business function measure for fulfill (namely processing function) are placed in a set of logic by message mechanism, orderliness is clear, is convenient to many people and safeguards; In defined physical layer interface, only need add the interface that can realize this function in chip, the realization of package interface can be put in different files according to the difference of chip, only need call the chip interface of needs when calling.
Wherein, business function function (process function) namely realizes the function of concrete business, as the realization of transparent transmission mode, marking mode; Business function function can call bottom encapsulation function, and namely bottom encapsulation function have invoked in each chip in order to realize the interface of identical function the inside.
Simultaneously, the analysis to each business model is added at hardware abstraction layer, mainly can be divided into according to ethernet type classification (for the treatment of IPOE (Ethernet), PPPOE (Point-to-Point Protocol over Ethernet, transmit point-to-point protocol by Ethernet) etc. particular type message), according to TAG (label) quantitative classification (for the treatment of UNTAG (not being with TAG), SINGLETAG (band one deck TAG), the message of DOUBLETAG (with two-layer TAG)), specific function process is (as port speed constraint, ACL (Access Control List, Access Control List (ACL)) etc.).
Wherein, for the Treatment Analysis of UNTAG, SINGLETAG, DOUBLETAG message, each VLAN and pri (Primary Rate Interface can be added in each analysis process, primary rate interface) situation that may occur when realizing configuration service, and in the process branch of each situation, encapsulate a unified physical layer interface.
As shown in the above, the framework of this method is roughly divided into OMCI module from top to bottom, HAL module and driver module, wherein, OMCI module is for resolving OMCI agreement, HAL module is for resolving concrete business, and driver module is used for calling chip physical interface, and configuration structure entity is used for the mutual of OMCI module and HAL module, process function is present in HAL module, for the treatment of the message from OMCI module, bottom package interface is present in HAL module, for calling the chip interface in DRV.
Due to the difference of chip solution, prior art means need to rewrite a large amount of OMCI (ONT Management andControl Interface, ONT management and control interface) to the configuration transitions code of bottom, and by above-mentioned execution mode, hardware abstraction layer has abundant type of service, only new chip interface need be replaced in the realization that bottom encapsulates function when running into new chip solution, efficiently convenient.
In conjunction with above-mentioned execution mode, as shown in Figure 2, be a specific embodiment of invention:
1) define OMCI module and the mutual structure of configuration transitions module, this structure comprises the traffic flow configuration that all OLT issue.
2) in configuration transitions module, according to business and the function of actual capabilities configuration, be subdivided into multiple process branch by message mechanism, different branch encapsulates out different process functions.
3) realization processing function can according to the different definition of chip solution in different C language files, actually call corresponding chip interface according to selected chip when calling.
4) only need create the C language file that new process function realizes when adding new chip solution, in process function, find out corresponding chip interface realize.
Wherein, the OMCI agreement that uses when OMCI module refers to office side's configurating terminal, OMCI module is the parsing module of this agreement.
Have employed in EPON of the present invention the method realizing various chips business compatibility and analyze, there is following features:
1, compatible good, by encapsulating the mechanism of function, various chips scheme can be added in identical code framework;
2, add code fast, avoid the operation of too much repeatability, reduce the development time;
3, the code quality added in this way is high, considerably reduces DEBUG time and size of code;
4, maintenance cost is low, only needs the correct and complete of the total code logic ensureing hardware abstraction layer, just new chip solution constantly can be added in existing software architecture, saves the time of debugging OMCI to this part code of bottom configuration transitions;
5, the type of service in hardware abstraction layer considered comprehensively, the portability of this part code will become very high.
According to These characteristics, the method tool realizing the analysis of various chips business compatibility in EPON of the present invention has the following advantages:
1, a large amount of functional module development times is saved;
2, save the later maintenance time, decrease required size of code;
3, be placed in a set of logic by all business functions by message mechanism, the orderliness of code is clear, and versatility is good, can many people safeguard;
4, add code in this way, the energy of software development can be concentrated in the difference of new and old chip functions realization, do not need to pay close attention to upper strata codes implement;
5, can promptly a new chip solution be added in existing code framework, product is introduced to the market lay a good foundation for rapid development function.
In this description, the present invention is described with reference to its specific embodiment.But, still can make various amendment and conversion obviously and not deviate from the spirit and scope of the present invention.Therefore, specification and accompanying drawing are regarded in an illustrative, rather than a restrictive.
Claims (6)
1. realize the method that various chips business compatibility is analyzed in EPON, it is characterized in that, described method comprises the following steps:
(1) system defines unified configuration structure entity and the unified physical layer interface encapsulated at hardware abstraction layer;
(2) system described in obtains corresponding process function according to chip business, and the process function described in storing;
(3) physical layer interface of described unified encapsulation associates with described process function by the system described in.
2. realize the method that various chips business compatibility is analyzed in EPON according to claim 1, it is characterized in that, described unified configuration structure entity comprises the configuration that optical line terminal sends.
3. realize the method that various chips business compatibility is analyzed in EPON according to claim 2, it is characterized in that, the configuration that described optical line terminal sends comprises traffic classification process, VLAN operation and filter configuration.
4. realize the method that various chips business compatibility is analyzed in EPON according to claim 1, it is characterized in that, described unified configuration structure entity is the mutual structure of the OMCI module of EPON and configuration transitions module.
5. realize the method that various chips business compatibility is analyzed in EPON according to claim 1, it is characterized in that, the process function described in described storage, is specially:
Described process function is stored in respective file by message mechanism by described system.
6. realize the method that various chips business compatibility is analyzed in EPON according to claim 1, it is characterized in that, described system obtains corresponding process function according to chip business, is specially:
Described system obtains several process branch by message mechanism, and each process branch encapsulation is obtained corresponding process function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410837835.2A CN104506365A (en) | 2014-12-24 | 2014-12-24 | Method for realizing compatible analysis of various chip services in passive optical network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410837835.2A CN104506365A (en) | 2014-12-24 | 2014-12-24 | Method for realizing compatible analysis of various chip services in passive optical network |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104506365A true CN104506365A (en) | 2015-04-08 |
Family
ID=52948080
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410837835.2A Pending CN104506365A (en) | 2014-12-24 | 2014-12-24 | Method for realizing compatible analysis of various chip services in passive optical network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104506365A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106815086A (en) * | 2017-01-13 | 2017-06-09 | 邦彦技术股份有限公司 | Communication control framework based on Loongson platform |
WO2019001565A1 (en) * | 2017-06-30 | 2019-01-03 | 中兴通讯股份有限公司 | Method and apparatus for implementing white-box otn hardware device, and storage medium |
CN110971499A (en) * | 2019-12-10 | 2020-04-07 | 上海市共进通信技术有限公司 | Method for realizing uniform analysis and processing of VLAN service |
WO2022127471A1 (en) * | 2020-12-16 | 2022-06-23 | International Business Machines Corporation | Communicating network flow data using a network protocol |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070025734A1 (en) * | 2005-07-28 | 2007-02-01 | Nec Corporation | PON system and logical link allocation method |
US20080037986A1 (en) * | 2006-08-11 | 2008-02-14 | Futurewei Technologies, Inc. | Optical Network Terminal Management and Control Interface (OMCI) Containing a Description of the OMCI |
CN103354508A (en) * | 2013-07-08 | 2013-10-16 | 上海斐讯数据通信技术有限公司 | OMCI managing method |
CN103369417A (en) * | 2013-07-31 | 2013-10-23 | 太仓市同维电子有限公司 | Configuration method of gigabit passive optical network terminal device |
CN103746746A (en) * | 2013-12-11 | 2014-04-23 | 上海斐讯数据通信技术有限公司 | Business system of network device |
CN104168139A (en) * | 2014-08-13 | 2014-11-26 | 烽火通信科技股份有限公司 | OLT equipment customization method based on PON system |
-
2014
- 2014-12-24 CN CN201410837835.2A patent/CN104506365A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070025734A1 (en) * | 2005-07-28 | 2007-02-01 | Nec Corporation | PON system and logical link allocation method |
US20080037986A1 (en) * | 2006-08-11 | 2008-02-14 | Futurewei Technologies, Inc. | Optical Network Terminal Management and Control Interface (OMCI) Containing a Description of the OMCI |
CN103354508A (en) * | 2013-07-08 | 2013-10-16 | 上海斐讯数据通信技术有限公司 | OMCI managing method |
CN103369417A (en) * | 2013-07-31 | 2013-10-23 | 太仓市同维电子有限公司 | Configuration method of gigabit passive optical network terminal device |
CN103746746A (en) * | 2013-12-11 | 2014-04-23 | 上海斐讯数据通信技术有限公司 | Business system of network device |
CN104168139A (en) * | 2014-08-13 | 2014-11-26 | 烽火通信科技股份有限公司 | OLT equipment customization method based on PON system |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106815086A (en) * | 2017-01-13 | 2017-06-09 | 邦彦技术股份有限公司 | Communication control framework based on Loongson platform |
CN106815086B (en) * | 2017-01-13 | 2020-04-14 | 邦彦技术股份有限公司 | Communication control device based on Loongson platform |
WO2019001565A1 (en) * | 2017-06-30 | 2019-01-03 | 中兴通讯股份有限公司 | Method and apparatus for implementing white-box otn hardware device, and storage medium |
CN110971499A (en) * | 2019-12-10 | 2020-04-07 | 上海市共进通信技术有限公司 | Method for realizing uniform analysis and processing of VLAN service |
CN110971499B (en) * | 2019-12-10 | 2021-11-12 | 上海市共进通信技术有限公司 | Method for realizing uniform analysis and processing of VLAN service |
WO2022127471A1 (en) * | 2020-12-16 | 2022-06-23 | International Business Machines Corporation | Communicating network flow data using a network protocol |
US11677864B2 (en) | 2020-12-16 | 2023-06-13 | International Business Machines Corporation | Communicating network flow data using a network protocol |
GB2617738A (en) * | 2020-12-16 | 2023-10-18 | Ibm | Communicating network flow data using a network protocol |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102255903B (en) | Safety isolation method for virtual network and physical network of cloud computing | |
CN104506365A (en) | Method for realizing compatible analysis of various chip services in passive optical network | |
CN101826987B (en) | A hybrid service support system and method based on a converged open network | |
CN105262837B (en) | A kind of integration of three networks application terminal access device and implementation method based on cloud computing | |
CN103746746B (en) | A kind of operation system of the network equipment | |
CN104601723B (en) | Power Marketing Management System SOA framework based on internal services bus | |
CN103513976B (en) | Service flowpath modelling approach and device | |
CN101771572B (en) | Method for batch configuration of service of passive optical network equipment | |
CN102857566A (en) | Intelligent gateway of internet of things capable of being customized by software | |
CN108400992A (en) | A kind of streaming traffic data protocol analysis software frame realization system and method | |
CN104267991A (en) | Mobile application platform based on rapid service encapsulation | |
CN103561078A (en) | Telecom operation system and service implementation method | |
CN103647706A (en) | Self-adaptation protocol communication gateway and communication platform | |
CN106998347A (en) | The apparatus and method of server virtualization network share | |
CN103997523A (en) | Smart city service system based on cloud services and implementation method thereof | |
CN102855143A (en) | Universal communication frame in SCADA (supervisory control and data acquisition) system | |
WO2015117411A1 (en) | Service data transmission method and device | |
CN204360184U (en) | A kind of Modbus equipment master-salve station communication management system based on real-time data base | |
CN104734947A (en) | Single-fiber interconnection type home gateway | |
CN103347077A (en) | Method and device for data transmission of distributed file system | |
CN104007962B (en) | The implementation method of OMCI entities based on Object-oriented Technique | |
CN102438017A (en) | Modbus and BACnet Ethernet protocol conversion device and conversion method based on routing function | |
CN104536759B (en) | The general-purpose platform implementation method of business disc system management | |
CN103369417A (en) | Configuration method of gigabit passive optical network terminal device | |
CN103488740B (en) | A kind of system and method for realizing data sharing in ONU equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150408 |