CN103051485A - Business analysis method for GPON (Gigabit Passive Optical Network) - Google Patents

Business analysis method for GPON (Gigabit Passive Optical Network) Download PDF

Info

Publication number
CN103051485A
CN103051485A CN2013100086135A CN201310008613A CN103051485A CN 103051485 A CN103051485 A CN 103051485A CN 2013100086135 A CN2013100086135 A CN 2013100086135A CN 201310008613 A CN201310008613 A CN 201310008613A CN 103051485 A CN103051485 A CN 103051485A
Authority
CN
China
Prior art keywords
gpon
business
business diagnosis
compiler
communication equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013100086135A
Other languages
Chinese (zh)
Other versions
CN103051485B (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.)
Taicang T&W Electronics Co Ltd
Original Assignee
Taicang T&W 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 Taicang T&W Electronics Co Ltd filed Critical Taicang T&W Electronics Co Ltd
Priority to CN201310008613.5A priority Critical patent/CN103051485B/en
Publication of CN103051485A publication Critical patent/CN103051485A/en
Application granted granted Critical
Publication of CN103051485B publication Critical patent/CN103051485B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a business analysis method for a GPON (Gigabit Passive Optical Network). The business analysis method comprises the following steps of: on GPON-accessed data communication equipment, collecting ME (Managed Entity) in OMCI (ONT Management and Control Interface) Protocol; selecting attributes and values related to business configuration, and storing the attributes and the values in an ASCII (American Standard Code For Information Interchange) form into a file; generating a corresponding code conforming to a design language; compiling the code into a target cord capable of being recognized by the communication equipment through a compiler; and executing the target code through the communication equipment, and finishing business configuration. The business analysis method has a function that: through the novel language and the compiler, the most complicated analysis part in a business process is split off. When a new business type is generated, only the definition of a programming language needs to be updated, and a complicated analysis process is executed by the compiler generated by FLEX and Bison automatically. Therefore, the development operation of programming personnel can be greatly simplified; and the accuracy, the maintainability, the expandability and the stability of analysis can be improved greatly.

Description

A kind of business diagnosis method for GPON
Technical field
The present invention relates to the OAM technology of data communication field, relate in particular to a kind of business diagnosis method for GPON.
Background technology
At communication technical field, GPON (Gigabit-Capable PON) not only has high bandwidth, high efficiency, wide coverage, the abundant many merits that waits of user interface, more with its powerful OAM(Operation Administration Maintenance), remedy the deficiency of numerous access technology remote control ability, become gradually the main flow of access technology.It provides 3 kinds of OAM passages: OAM passage, PLOAM and the OMCI of embedding.OMCI has wherein defined the ME of abundant species, has covered the every aspect of communication equipment comprehensively, for Long-distance Control provides powerful basis and flexible and changeable method.G984.4 and G988.8 have defined numerous types of service, and along with the appearance of various application and Internet Service Provider's various demands, these types of service are also among constantly developing and innovating.For the various demands of compatibility, the size of code of communication equipment is increasing, and complexity is more and more higher, has all proposed more and more higher requirement for hardware and code maintenance personnel.In order can in time to make a response to new variation rapidly, must to invent a kind of strong method and finish the miscellaneous service analysis.
Summary of the invention
The object of the present invention is to provide a kind of business diagnosis method for GPON, solved day by day complicated GPON business diagnosis hard problem.
For addressing the above problem, the technical solution used in the present invention is:
A kind of business diagnosis method for GPON may further comprise the steps:
On the data communications equipment of GPON access, by collecting the ME in the OMCI agreement;
Filter out the attribute relevant with business configuration and value, deposit file in the form of ASCII;
Generate the code that meets accordingly design language;
Then the object code that becomes communication equipment to identify code translation through compiler;
Communication equipment performance objective code, the configuration of finishing service.
Further technical scheme is above-mentioned by collecting the ME in the OMCI agreement, is that the business that communication equipment will be received extracts by control ME, and stores with the form of ASCII character.
Further technical scheme is above-mentioned data communications equipment, employing be the GPON access module, support OMCI agreement and expansion thereof.
Further technical scheme is that above-mentioned OMCI agreement refers to G984.4 or G988.8.
Further technical scheme is that above-mentioned ME comprises VLAN taggingfilter data, VLAN tagging operation configuration data and Extended VLAN tagging operation configuration data.
Further technical scheme is that above-mentioned compiler is at first according to ME type design language elements, then according to language elements design syntax analyzer rule, according to type of service syntax rule is set, uses FLEX and Bisons to generate the C code, last cross compile generates object code.
Further technical scheme is the language elements that above-mentioned compiler also can be identified the ME information automatic translation cost compiler of collecting, and is organized as the program of logical meaning.
Further technical scheme is that above-mentioned compiler is automatically to produce corresponding input and output, the business diagnosis that the real-time Simulation communication equipment is done.
Further technical scheme is that above-mentioned compiler is automatically to produce corresponding input and output, the business diagnosis that the real-time Simulation communication equipment is done.
Further technical scheme is above-mentioned according to analog result, extracts corresponding configuration, and the adaptive data structure of generation and bottom layer driving, makes communication equipment finish corresponding business diagnosis.
The beneficial effect that adopts technique scheme to produce is: by a kind of new language and compiler, analysis part the most complicated in the operation flow is peeled off out.When having new type of service to produce, we only need to upgrade the definition of programming language, and complicated analytic process is carried out by the compiler that FLEX and Bison generate automatically.Can greatly simplify programming personnel's development like this, improve accurately reading of analyzing, maintainability, extensibility and stability all will be greatly improved.
Description of drawings
Fig. 1 is the schematic flow sheet of one embodiment of the invention;
Fig. 2 is the schematic flow sheet that compiler becomes code translation the object code that communication equipment can identify in the one embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
Fig. 1 shows an embodiment of a kind of business diagnosis method for GPON of the present invention: a kind of business diagnosis method for GPON may further comprise the steps:
On the data communications equipment of GPON access, by collecting the ME in the OMCI agreement;
Filter out the attribute relevant with business configuration and value, deposit file in the form of ASCII;
Generate the code that meets accordingly design language;
Then the object code that becomes communication equipment to identify code translation through compiler;
Communication equipment performance objective code, the configuration of finishing service.
A kind of preferred embodiment of the business diagnosis method for GPON according to the present invention by collecting the ME in the OMCI agreement, is that the business that communication equipment will be received extracts by control ME, and stores with the form of ASCII character.
Another preferred embodiment of a kind of business diagnosis method for GPON according to the present invention, data communications equipment, employing be the GPON access module, support OMCI agreement and expansion thereof.
Another preferred embodiment of a kind of business diagnosis method for GPON according to the present invention, the OMCI agreement refers to G984.4 or G988.8.
Another preferred embodiment of a kind of business diagnosis method for GPON according to the present invention, ME comprises VLANtagging filter data, VLAN tagging operation configuration data and Extended VLANtagging operation configuration data.
Fig. 2 shows another preferred embodiment of a kind of business diagnosis method for GPON of the present invention, compiler is at first according to ME type design language elements, then according to language elements design syntax analyzer rule, according to type of service syntax rule is set, use FLEX and Bisons to generate the C code, last cross compile generates object code.
Another preferred embodiment of a kind of business diagnosis method for GPON according to the present invention, the language elements that compiler also can be identified the ME information automatic translation cost compiler of collecting, and be organized as the program of logical meaning.
Another preferred embodiment of a kind of business diagnosis method for GPON according to the present invention, compiler are automatically to produce corresponding input and output, the business diagnosis that the real-time Simulation communication equipment is done.
Another preferred embodiment of a kind of business diagnosis method for GPON according to the present invention, compiler are automatically to produce corresponding input and output, the business diagnosis that the real-time Simulation communication equipment is done.
Another preferred embodiment of a kind of business diagnosis method for GPON according to analog result, extracts corresponding configuration according to the present invention, and the adaptive data structure of generation and bottom layer driving, makes communication equipment finish corresponding business diagnosis.
The attribute Upstream VLAN tagging operation mode of the ME-VLAN tagging operation configuration data of the below in the OMCI is as example, and the exercises of this ME regulation can be processed in this language.In the following description, use abstract symbol to be described, FLEX and Bison can not identify them.Wherein, ' → ' expression " being defined as ", ' ' representative " perhaps ", OP represents operator.TRANS represents transparent transmission, is equivalent to property value and is 0 operation.It is 1 operation that SINTAG is equivalent to property value.It is 2 operation that TAG is equivalent to property value.
rule→rule?OP?OP
OP→TRANS?S?INTAG?TAG
Make compiler.The formal definition that the language of above design can be identified with FLEX and Bsion out adds translation scheme, and calls FLEX and Bsion compiles, and can generate the C source code of corresponding compiler.The target program that uses cross-compiler that this C compilation of source code can be called as communication equipment has just been finished the making of compiler.In translation scheme, except this kind language is compiled, can also increase the operation of various necessity, such as according to the content generating code fragment of ME.
The running of business diagnosis.After communication equipment receives service configuration information by OMCI, its form with ASCII character can be saved in the file.Then take this file as input, call compiler, the process that this compiler will finishing service be analyzed, and the result saved as the form that communication equipment can be identified
The ME of the traffic aided by analyzing OMCI agreement regulation defines a kind of new programming language.Utilize FLEX and Bison, generate the compiler for this language.Utilize the business diagnosis module in this compiler replacement communication equipment, in real time the miscellaneous service model of GPON is analyzed.
Although invention has been described with reference to a plurality of explanatory embodiment of the present invention here, but, should be appreciated that those skilled in the art can design a lot of other modification and execution modes, these are revised and execution mode will drop within the disclosed principle scope and spirit of the application.More particularly, in the scope of, accompanying drawing open in the application and claim, can carry out multiple modification and improvement to building block and/or the layout of subject combination layout.Except modification that building block and/or layout are carried out with improving, to those skilled in the art, other purposes also will be obvious.

Claims (10)

1. business diagnosis method that is used for GPON is characterized in that may further comprise the steps:
On the data communications equipment of GPON access, by collecting the ME in the OMCI agreement;
Filter out the attribute relevant with business configuration and value, deposit file in the form of ASCII;
Generate the code that meets accordingly design language;
Then the object code that becomes communication equipment to identify code translation through compiler;
Communication equipment performance objective code, the configuration of finishing service.
2. a kind of business diagnosis method for GPON according to claim 1 is characterized in that: described by collecting the ME in the OMCI agreement, and be that the business that communication equipment will be received extracts by control ME, and store with the form of ASCII character.
3. a kind of business diagnosis method for GPON according to claim 1 is characterized in that: described data communications equipment, employing be the GPON access module, support OMCI agreement and expansion thereof.
4. a kind of business diagnosis method for GPON according to claim 1, it is characterized in that: described OMCI agreement refers to G984.4 or G988.8.
5. a kind of business diagnosis method for GPON according to claim 1, it is characterized in that: described ME comprises VLAN tagging filter data, VLAN tagging operation configuration data and Extended VLAN tagging operation configuration data.
6. a kind of business diagnosis method for GPON according to claim 1, it is characterized in that: described compiler is at first according to ME type design language elements, then according to language elements design syntax analyzer rule, according to type of service syntax rule is set, use FLEX and Bisons to generate the C code, last cross compile generates object code.
7. a kind of business diagnosis method for GPON according to claim 1 is characterized in that: the language elements that described compiler also can be identified the ME information automatic translation cost compiler of collecting, and be organized as the program of logical meaning.
8. a kind of business diagnosis method for GPON according to claim 1 is characterized in that: described compiler is automatically to produce corresponding input and output, the business diagnosis that the real-time Simulation communication equipment is done.
9. a kind of business diagnosis method for GPON according to claim 1 is characterized in that: described compiler is automatically to produce corresponding input and output, the business diagnosis that the real-time Simulation communication equipment is done.
10. a kind of business diagnosis method for GPON according to claim 1 is characterized in that: according to analog result, extract corresponding configuration, and the adaptive data structure of generation and bottom layer driving, make communication equipment finish corresponding business diagnosis.
CN201310008613.5A 2013-01-10 2013-01-10 A kind of business diagnosis method for GPON Active CN103051485B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310008613.5A CN103051485B (en) 2013-01-10 2013-01-10 A kind of business diagnosis method for GPON

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310008613.5A CN103051485B (en) 2013-01-10 2013-01-10 A kind of business diagnosis method for GPON

Publications (2)

Publication Number Publication Date
CN103051485A true CN103051485A (en) 2013-04-17
CN103051485B CN103051485B (en) 2016-03-16

Family

ID=48063990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310008613.5A Active CN103051485B (en) 2013-01-10 2013-01-10 A kind of business diagnosis method for GPON

Country Status (1)

Country Link
CN (1) CN103051485B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346173A (en) * 2014-11-05 2015-02-11 上海市共进通信技术有限公司 Method for realizing rapid generation of management entity codes in computer software system
CN105354074A (en) * 2015-12-07 2016-02-24 上海市共进通信技术有限公司 Method for realizing rapid development of gigabit passive optical network terminal equipment scheme
CN107147630A (en) * 2017-04-27 2017-09-08 上海斐讯数据通信技术有限公司 It is a kind of to realize the method and device that OMCI protocol stack codes are automatically generated
CN108563447A (en) * 2018-04-13 2018-09-21 郑州云海信息技术有限公司 A kind of code adding method, system, device and computer readable storage medium
CN109361549A (en) * 2018-11-20 2019-02-19 四川九州电子科技股份有限公司 The method for automatically configuring terminal system network interface is realized by OMCI
CN110971499A (en) * 2019-12-10 2020-04-07 上海市共进通信技术有限公司 Method for realizing uniform analysis and processing of VLAN service

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080199180A1 (en) * 2006-04-29 2008-08-21 Huawei Technologies Co., Ltd. Optical network terminal and a message processing method, a message processing apparatus and system thereof
CN101414925A (en) * 2007-10-17 2009-04-22 华为技术有限公司 Method, system and apparatus for configuring optical network terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080199180A1 (en) * 2006-04-29 2008-08-21 Huawei Technologies Co., Ltd. Optical network terminal and a message processing method, a message processing apparatus and system thereof
CN101414925A (en) * 2007-10-17 2009-04-22 华为技术有限公司 Method, system and apparatus for configuring optical network terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
马福萍: "GPON网管系统ONT管理控制接口的研究与设计", 《中国优秀硕士学位论文全文数据库科技信息辑》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346173A (en) * 2014-11-05 2015-02-11 上海市共进通信技术有限公司 Method for realizing rapid generation of management entity codes in computer software system
CN104346173B (en) * 2014-11-05 2018-04-13 上海市共进通信技术有限公司 The method for quickly generating management entity code is realized in computer software
CN105354074A (en) * 2015-12-07 2016-02-24 上海市共进通信技术有限公司 Method for realizing rapid development of gigabit passive optical network terminal equipment scheme
CN107147630A (en) * 2017-04-27 2017-09-08 上海斐讯数据通信技术有限公司 It is a kind of to realize the method and device that OMCI protocol stack codes are automatically generated
CN108563447A (en) * 2018-04-13 2018-09-21 郑州云海信息技术有限公司 A kind of code adding method, system, device and computer readable storage medium
CN109361549A (en) * 2018-11-20 2019-02-19 四川九州电子科技股份有限公司 The method for automatically configuring terminal system network interface is realized by OMCI
CN109361549B (en) * 2018-11-20 2021-11-09 四川九州电子科技股份有限公司 Method for realizing automatic configuration of terminal system network interface through OMCI
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

Also Published As

Publication number Publication date
CN103051485B (en) 2016-03-16

Similar Documents

Publication Publication Date Title
CN103051485B (en) A kind of business diagnosis method for GPON
CN111309752B (en) Domain-specific language component for service flow data processing and operation method thereof
CN106528129B (en) A kind of Web application interface generation system and method
CN105308927B (en) Message editing processing method and relevant device
CN109213482A (en) The graphical application platform of artificial intelligence and application method based on convolutional neural networks
CN106095376B (en) A kind of implementation method of quick configuration monitoring picture
CN112699681A (en) Power communication system defect fault order dispatching method and device based on knowledge graph
CN108874438A (en) Patch generation method, device, electronic equipment and computer program product
CN101316201A (en) Multi-terminal mode script device and data processing method and automatization test system
CN109948804A (en) Cross-platform towed deep learning modeling and training method and device
CN102479079A (en) Method and device for generating application
CN108369591A (en) System and method for caching and parameterizing ir
CN109116828A (en) Model code configuration method and device in a kind of controller
CN107291522A (en) A kind of compiling optimization method and system towards custom rule file
Troia et al. Machine learning-assisted planning and provisioning for SDN/NFV-enabled metropolitan networks
CN102707934B (en) A kind of realize method and system with what form of scripts represented value-added service flow process
CN107943482A (en) Rule-based stream data processing method unification monitor supervision platform
CN107943476B (en) A kind of computer interlocking software development approach based on model-driven
CN109753281B (en) Micro-grid energy management strategy visualization development tool based on graphical programming
CN102629213A (en) Analysis method and monitoring method for C language simulation model
CN112882696B (en) Full-element model training system based on supercomputer
CN103546833B (en) Service restoration method and system in GPON
CN104391782A (en) Network-equipment managing-software client-end simulating method on basis of XML (X Extensive Markup Language) script
CN107817972A (en) Cache code process method, apparatus, storage medium and electronic equipment
CN109583071A (en) A kind of parallel optimization method and system based on cloud emulation

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