CN103067204B - A kind of method that OMCI entities are accessed from application layer - Google Patents

A kind of method that OMCI entities are accessed from application layer Download PDF

Info

Publication number
CN103067204B
CN103067204B CN201210572681.XA CN201210572681A CN103067204B CN 103067204 B CN103067204 B CN 103067204B CN 201210572681 A CN201210572681 A CN 201210572681A CN 103067204 B CN103067204 B CN 103067204B
Authority
CN
China
Prior art keywords
omci
entities
interface
function
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201210572681.XA
Other languages
Chinese (zh)
Other versions
CN103067204A (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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201210572681.XA priority Critical patent/CN103067204B/en
Publication of CN103067204A publication Critical patent/CN103067204A/en
Application granted granted Critical
Publication of CN103067204B publication Critical patent/CN103067204B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Communication Control (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention relates to technical field of photo communication, more particularly to a kind of method that OMCI entities are accessed from application layer of the present invention, pass through predetermined registration operation interface, so that the independent process on ONU can be by calling the operate interface, realize OMCI solid datas to be created, set, read and/or deleted etc. from application layer and operate, and independently of OLT management, while avoiding conflicting, increase operability and the flexibility for ONU configure operation, in favor of customization of the producer for ONU.

Description

A kind of method that OMCI entities are accessed from application layer
Technical field
The present invention relates to technical field of photo communication, more particularly to a kind of method that OMCI entities are accessed from application layer.
Background technology
GPON(Gigabit-Capable PON)Technology is the latest generation broadband passive based on ITU-TG.984.x standards Light Integrated access standard, with high bandwidth, high efficiency, large coverage, the abundant grade many merits of user interface, by most of fortune Battalion business, which is considered as, realizes that access network service is broadband, the desirable technique of synthesization transformation.
Fig. 1 is the structural representation of GPON application modes in the prior art;As shown in figure 1, GPON systems include light section Point(Optical Network Unit, abbreviation ONU), optical network device(Optical Network Terminal, abbreviation ONT) With passive optical distribution network;Wherein, OLT provides network side and core net for access network(As video service network, IP network and/or Tradition net etc.)Between interface, and pass through optical distribution network(Optical Distribution Network, abbreviation OND, OND It is the FTTH fiber cable networks based on PON equipment, mainly to provide transmission line between OLT and ONU)With multiple ONU and/ Or ONT connections, such as Fiber-To-The-Office(Fiber To The Office, abbreviation FTTO)Or fiber to the home(Fiber To The Home, abbreviation FTTH)Deng, and as the Core Feature equipment of PON system, OLT, which has, concentrates bandwidth allocation, control each ONU, in real time monitoring, the function of operation maintenance management PON systems.
OMCI(ONU Management and Control Interface)It is a kind of configuration defined in GPON standards Transmission channel, the proprietary ATM PVC or GEM PORT transmission OMCI message by being set up between OLT and ONT, for providing The acquisition ONU abilities of standard, and the method for being managed and controlling to it.
In the prior art, configurations all ONT is all controlled by OLT, after OLT has sent configuration information, system administration All configuration informations can be stored to database by person OMCI(Data Base, abbreviation DB)Or in configuration file, standard agreement is only Only how specification operates OMCI entities from OLT, and only when having alarm or attribute change, ONT can active reporting Message, and ONT can only three kinds of message of active reporting:Alarm, AVC and Test Result.
Specifically, ONT is registered to OLT, to set up OMCI passages.Because OMCI is that master-slave mode management agreement, i.e. OLT are main Equipment, and ONT is slave unit, so multiple ONT equipment that OLT is connected below by OMCI passages control OLT, and OLT and ONT OMCI interacting messages typically use Stop And Wait, i.e., only OLT have received correctly reply message after, can just issue next Individual message arrangement, the time-out time of single OMCI message is usually set to 1s.
But, when other processes in ONU systems need to access OMCI solid datas, to be configured to OMCI entities When, because ONU of the prior art applications are all to realize OMCI in the conventional mode, and OMCI processes are OMCI entities Manager, so can only rely on OLT active arrangement to realize the access to OMCI entities, unpromising application layer exploitation is independent A socket realize the configuration feature to OMCI entities, can only be the access to the OMCI solid data information preserved, i.e., The operation that OMCI solid datas are created, set, read and/or deleted from application layer can not be realized, and then causes ONU's Configuration operation is relatively simple, is unfavorable for ONU producer's customization.
The content of the invention
For above mentioned problem present in existing ONU configurations, now provide and a kind of OMCI entities are accessed by application layer Method, by the operation such as OMCI solid datas being created, setting, reading and/or being deleted from application layer.
The purpose of the present invention is achieved through the following technical solutions:
A kind of method that OMCI entities are accessed from application layer of the present invention, applied to the OMCI in GPON systems physically, institute Stating GPON systems includes ONU, wherein, comprise the following steps:
A default operate interface;
Independent process on one ONU calls the operate interface, carries out operational motion to the OMCI entities, and simulate OLT issues the corresponding mechanism that comes into force of the operational motion;
Wherein, the operate interface is establishment interface and/or reads interface and/or setting interface and/or deletion interface.
The above-mentioned method that OMCI entities are accessed from application layer, wherein, the operate interface is described only to create during interface Vertical process calls the establishment interface, carries out newly-built operation to the OMCI entities, and simulate OLT to issue coming into force for newly-built action Mechanism.
The above-mentioned method that OMCI entities are accessed from application layer, wherein, in addition to:
It is described to create the identity values of the incoming OMCI entities of interface, the index value of the OMCI entities and described The data storage pointer of OMCI entities;
According to the identity value and the head of entity index value filling generation OMCI messages;
The newly-built Message function of conversion and the newly-built function that comes into force of the OMCI entities are searched according to the identity value;
The data of the incoming OMCI entities are converted into OMCI message formats by the newly-built Message function of conversion, and are filled out It is charged in the OMCI messages;
The newly-built Message function of conversion will fill the incoming newly-built function that comes into force of the OMCI message datas finished Handled.
The above-mentioned method that OMCI entities are accessed from application layer, wherein, the operate interface is described only to read during interface Vertical process calls the reading interface, and the OMCI entities are read, and simulates OLT and issue coming into force for read action Mechanism, is converted into message reading.
The above-mentioned method that OMCI entities are accessed from application layer, wherein, in addition to:
It is described to read the identity values of the incoming OMCI entities of interface, the index value of the OMCI entities and described The data storage pointer of OMCI entities;
According to the identity value and the head of entity index value filling generation OMCI messages, and its mask is entered Row sets to obtain all properties to the OMCI;
The reading for searching the OMCI entities according to the identity value comes into force function and Message function is read in conversion;
Call it is described reading come into force function by the digital independent of the OMCI entities into the OMCI messages;
The conversion reads Message function and the incoming OMCI message datas is converted into OMCI solid data forms.
The above-mentioned method that OMCI entities are accessed from application layer, wherein, the operate interface is described only to set during interface Vertical process calls the setting interface, is configured operation to the OMCI entities, and simulates OLT and issue coming into force for setting action Mechanism.
The above-mentioned method that OMCI entities are accessed from application layer, wherein, in addition to:
It is described to set the identity value of the incoming OMCI entities of interface, index value, the attribute of the OMCI entities to cover The data storage pointer of code value and the OMCI entities;
According to the identity value and the head of entity index value filling generation OMCI messages, and by incoming institute State the relevant position that attribute mask value is filled into the OMCI messages;
The conversion for searching the OMCI entities according to the identity value sets Message function and setting to come into force function;
The conversion sets Message function that incoming OMCI solid datas are converted into OMCI message formats and is filled into OMCI In message, then the incoming setting of the OMCI message datas that the finish function that comes into force will be filled handled.
The above-mentioned method that OMCI entities are accessed from application layer, wherein, the operate interface is described only to delete during interface Vertical process calls the deletion interface, deletion action is carried out to the OMCI entities, and simulates OLT issuing coming into force for deletion action Mechanism.
The above-mentioned method that OMCI entities are accessed from application layer, wherein, in addition to:
The index value of the identity value and the OMCI entities for deleting the incoming OMCI entities of interface;
According to the identity value and the head of entity index value filling generation OMCI messages;
Search the deletion validation callback function of the OMCI entities according to the identity value, and by the institute having been filled with The incoming function that comes into force of deleting of message data for stating OMCI headers is handled.
In summary, a kind of method that OMCI entities are accessed from application layer of the present invention, passes through predetermined registration operation interface so that Independent process on ONU can be by calling the operate interface, and realization is created to OMCI solid datas from application layer, set The operation such as put, read and/or delete, and independently of OLT management, while conflict is avoided, increase carries out configuration behaviour to ONU The operability of work and flexibility, in favor of customization of the producer for ONU.
Brief description of the drawings
Fig. 1 is the structural representation of GPON application modes in the prior art;
Fig. 2 is the schematic flow sheet of establishment interface function implementation in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of reading interface function implementation in the embodiment of the present invention;
Fig. 4 is the schematic flow sheet of setting interface function implementation in the embodiment of the present invention;
Fig. 5 is the schematic flow sheet of deletion interface function implementation in the embodiment of the present invention.
Embodiment
The embodiment to the present invention is further described below in conjunction with the accompanying drawings:
A kind of method that OMCI entities are accessed from application layer, applied to the OMCI in GPON systems physically, the GPON systems System includes ONU, comprises the following steps:
It is default to create interface, read interface, interface is set and/or deletes the operate interfaces such as interface;
Independent process on one ONU calls aforesaid operations interface, to carry out corresponding operating action to OMCI entities, and simulates OLT issues the corresponding mechanism that comes into force of the operational motion;
When operate interface is creates interface, independent process calls establishment interface, and newly-built operation is carried out to OMCI entities, and Simulation OLT issues the mechanism that comes into force of newly-built action;
When operate interface is reads interface, independent process calls reading interface, and OMCI entities are read, and Simulation OLT issues the mechanism that comes into force of read action, is converted into message reading;
When operate interface is sets interface, independent process calls setting interface, and operation is configured to OMCI entities, and Simulation OLT issues the mechanism that comes into force of setting action;
When operate interface is deletes interface, independent process calls deletion interface, and deletion action is carried out to OMCI entities, and Simulation OLT issues the mechanism that comes into force of deletion action.
Fig. 2 is the schematic flow sheet of establishment interface function implementation in the embodiment of the present invention;As shown in Fig. 2 operation connects Mouth is creates during interface, the identity value of the incoming OMCI entities of the establishment interface(ClassId), index value(meInstance) With data storage pointer(*pData), and according to above-mentioned identity value and the head of entity index value filling generation OMCI messages Portion(omciMsg);Call back function is judged whether according to identity value, if being not present, is done directly;If being held in the presence of if Row call back function.
Wherein, call back function is converts newly-built Message function and the newly-built function that comes into force, and the newly-built Message function of the conversion will be passed The data of the OMCI entities entered are converted into OMCI message formats, and are filled into OMCI messages, and convert newly-built Message function and incite somebody to action Fill the incoming newly-built function that comes into force of OMCI message datas finished to be handled, and then complete establishment action.
Fig. 3 is the schematic flow sheet of reading interface function implementation in the embodiment of the present invention;As shown in figure 3, operation connects Mouth is reads during interface, the identity value of the incoming OMCI entities of the reading interface(ClassId), index value(meInstance) With data storage pointer(*pData), and according to above-mentioned identity value and the head of entity index value filling generation OMCI messages Portion(omciMsg), and the mask of OMCI entities is configured, its mask value is such as set to 0xFF, it is real to obtain the OMCI The all properties of body;Call back function is judged whether according to identity value, if being not present, is done directly;If in the presence of if Perform call back function.
Wherein, call back function is that reading comes into force function and Message function is read in conversion, and the reading function that comes into force is real by OMCI The digital independent of body converts reading Message function and incoming OMCI message datas then is converted into OMCI realities into OMCI messages Volume data form, and then complete read action.
Fig. 4 is the schematic flow sheet of setting interface function implementation in the embodiment of the present invention;As shown in figure 4, operation connects Mouth is sets during interface, the identity value of the incoming OMCI entities of the setting interface(ClassId), OMCI entities index value (meInstance), attribute mask value(mask)With the data storage pointer of OMCI entities(*pData), and according to above-mentioned body The head of part ident value and entity index value filling generation OMCI messages, and incoming attribute mask value is filled into OMCI messages Relevant position;Call back function is judged whether according to identity value, if being not present, is done directly;If being held in the presence of if Row call back function.
Wherein, call back function sets Message function and setting to come into force function for conversion, and the conversion sets Message function to pass The OMCI solid datas entered are converted into OMCI message formats and are filled into OMCI messages, then will fill the OMCI message datas finished It is incoming to set the function that comes into force to be handled, and then complete setting action.
Fig. 5 is the schematic flow sheet of deletion interface function implementation in the embodiment of the present invention;As shown in figure 5, operation connects Mouth is deletes during interface, the identity value of the incoming OMCI entities of the deletion interface(ClassId)With the index value of OMCI entities (meInstance), and according to above-mentioned identity value and the head of entity index value filling generation OMCI messages;According to body Part ident value judges whether call back function, if being not present, is done directly;If performing call back function in the presence of if.
Wherein, above-mentioned call back function is deletes validation callback function, and by the message for the OMCI headers having been filled with The incoming function that comes into force of deleting of data is handled, and then completes setting action.
To sum up, a kind of method that OMCI entities are accessed from application layer of the present invention, passes through predetermined registration operation interface so that on ONU Independent process can be by calling the operate interface, realization is created to OMCI solid datas from application layer, set, being read And/or the operation such as delete, and independently of OLT management, while conflict is avoided, increase to ONU configure operation can Operability and flexibility, in favor of customization of the producer for ONU.
By explanation and accompanying drawing, the exemplary embodiments of the specific structure of embodiment are given, based on essence of the invention God, can also make other conversions.Although foregoing invention proposes existing preferred embodiment, however, these contents are not intended as Limitation.
For a person skilled in the art, read after described above, various changes and modifications undoubtedly will be evident. Therefore, appended claims should regard whole variations and modifications of the true intention and scope that cover the present invention as.In power Any and all scope and content of equal value, are all considered as still belonging to the intent and scope of the invention in the range of sharp claim.

Claims (5)

1. a kind of method that OMCI entities are accessed from application layer, applied to the OMCI in GPON systems physically, the GPON systems System includes ONU, it is characterised in that comprise the following steps:
A default operate interface;
Independent process on one ONU calls the operate interface, carries out operational motion to the OMCI entities, and simulate under OLT Send out the corresponding mechanism that comes into force of the operational motion;
Wherein, the operate interface is establishment interface and/or reads interface and/or setting interface and/or deletion interface;
The operate interface is creates during interface, and the independent process calls the establishment interface, and the OMCI entities are carried out Newly-built operation, and simulate the mechanism that comes into force that OLT issues newly-built action;
The operate interface is reads during interface, and the independent process calls the reading interface, and the OMCI entities are carried out Read operation, and the mechanism that comes into force that OLT issues read action is simulated, it is converted into message reading;
The operate interface is sets during interface, and the independent process calls the setting interface, and the OMCI entities are carried out Operation is set, and simulates the mechanism that comes into force that OLT issues setting action;
The operate interface is deletes during interface, and the independent process calls the deletion interface, and the OMCI entities are carried out Deletion action, and simulate the mechanism that comes into force that OLT issues deletion action.
2. the method according to claim 1 that OMCI entities are accessed from application layer, it is characterised in that also include:
The identity value for creating the incoming OMCI entities of interface, the index value of the OMCI entities and the OMCI are real The data storage pointer of body;
According to the identity value and the head of entity index value filling generation OMCI messages;
The newly-built Message function of conversion and the newly-built function that comes into force of the OMCI entities are searched according to the identity value;
The data of the incoming OMCI entities are converted into OMCI message formats by the newly-built Message function of conversion, and are filled into In the OMCI messages;
The newly-built Message function of conversion will fill the incoming newly-built function progress that comes into force of the OMCI message datas finished Processing.
3. the method according to claim 1 that OMCI entities are accessed from application layer, it is characterised in that also include:
The identity value for reading the incoming OMCI entities of interface, the index value of the OMCI entities and the OMCI are real The data storage pointer of body;
According to the identity value and the head of entity index value filling generation OMCI messages, and its mask is set Put to obtain all properties to the OMCI;
The reading for searching the OMCI entities according to the identity value comes into force function and Message function is read in conversion;
Call it is described reading come into force function by the digital independent of the OMCI entities into the OMCI messages;
The conversion reads Message function and the incoming OMCI message datas is converted into OMCI solid data forms.
4. the method according to claim 1 that OMCI entities are accessed from application layer, it is characterised in that also include:
Identity value, the index value of the OMCI entities, the attribute mask value of the setting incoming OMCI entities of interface With the data storage pointer of the OMCI entities;
According to the identity value and the head of entity index value filling generation OMCI messages, and by the incoming category Property mask value is filled into the relevant position of the OMCI messages;
The conversion for searching the OMCI entities according to the identity value sets Message function and setting to come into force function;
The conversion sets Message function that incoming OMCI solid datas are converted into OMCI message formats and is filled into OMCI messages In, then the incoming setting of the OMCI message datas that the finish function that comes into force will be filled handled.
5. the method according to claim 1 that OMCI entities are accessed from application layer, it is characterised in that also include:
The index value of the identity value and the OMCI entities for deleting the incoming OMCI entities of interface;
According to the identity value and the head of entity index value filling generation OMCI messages;
The deletion validation callback function of the OMCI entities is searched according to the identity value, and described in having been filled with The incoming function that comes into force of deleting of message data of OMCI headers is handled.
CN201210572681.XA 2012-12-25 2012-12-25 A kind of method that OMCI entities are accessed from application layer Expired - Fee Related CN103067204B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210572681.XA CN103067204B (en) 2012-12-25 2012-12-25 A kind of method that OMCI entities are accessed from application layer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210572681.XA CN103067204B (en) 2012-12-25 2012-12-25 A kind of method that OMCI entities are accessed from application layer

Publications (2)

Publication Number Publication Date
CN103067204A CN103067204A (en) 2013-04-24
CN103067204B true CN103067204B (en) 2017-08-04

Family

ID=48109674

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210572681.XA Expired - Fee Related CN103067204B (en) 2012-12-25 2012-12-25 A kind of method that OMCI entities are accessed from application layer

Country Status (1)

Country Link
CN (1) CN103067204B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103354508B (en) * 2013-07-08 2018-07-31 上海斐讯数据通信技术有限公司 A kind of OMCI management methods
CN104410536B (en) * 2014-12-19 2018-05-01 上海斐讯数据通信技术有限公司 Data service configuration method, system and ONU equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101004742A (en) * 2006-01-17 2007-07-25 中兴通讯股份有限公司 Under embedded environment, method for protecting consistency of memory database
WO2011012092A1 (en) * 2009-07-31 2011-02-03 Huawei Technologies Co., Ltd. Optical network terminal management control interface-based passive optical network security enhancement
CN102098165A (en) * 2009-12-14 2011-06-15 中兴通讯股份有限公司 Method and system for multicast preview control of Gigabit passive optical network system
CN102298648A (en) * 2011-09-29 2011-12-28 南京国电南自轨道交通工程有限公司 Out-of-process access method of open real-time database

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101004742A (en) * 2006-01-17 2007-07-25 中兴通讯股份有限公司 Under embedded environment, method for protecting consistency of memory database
WO2011012092A1 (en) * 2009-07-31 2011-02-03 Huawei Technologies Co., Ltd. Optical network terminal management control interface-based passive optical network security enhancement
CN102098165A (en) * 2009-12-14 2011-06-15 中兴通讯股份有限公司 Method and system for multicast preview control of Gigabit passive optical network system
CN102298648A (en) * 2011-09-29 2011-12-28 南京国电南自轨道交通工程有限公司 Out-of-process access method of open real-time database

Also Published As

Publication number Publication date
CN103067204A (en) 2013-04-24

Similar Documents

Publication Publication Date Title
CN106850788B (en) Integrated framework and integrated approach towards multi-source heterogeneous geographic information resources
CN102546221B (en) Service configuration method and system for optical network unit
EP2830261B1 (en) Optical line terminal device and implementation method thereof
CN100581175C (en) Computer Ethernet card based on passive optical network
CN102624995B (en) Be applicable to virtual-number application process, the Apparatus and system of the Internet
KR20070013301A (en) A method for remote access of an optical network device in a passive optical network
WO2021136092A1 (en) Onu management method, apparatus, device, and system, and computer readable storage medium
CN101247310B (en) Virtual local area network filtering configuration method and system
US10356496B2 (en) Converged passive optical LAN
CN104937862B (en) A kind of optical line terminal, communication means and passive optical network
CN101179433A (en) Method and system for performing remote management to passive optical network terminal
CN103067204B (en) A kind of method that OMCI entities are accessed from application layer
CN101478348A (en) Method, apparatus and system for relay equipment management in point to multi-point system
CN102055643B (en) Allocation method for downlink priority scheduling, and downlink priority scheduling method and device
CN110557693A (en) Optical network protocol analyzer
CN113938771A (en) Service distribution method of passive optical network
CN103281600A (en) Method for identifying ONU types
KR101481393B1 (en) Method and apparatuses for performing network functions in a passive optical network
CN209497462U (en) A kind of single fiber nets isolation access device more
CN105007263B (en) The user configuration method and system of a kind of optical network unit
Hatano et al. Standardization and technology trends in optical, wireless and virtualized access systems
CN107465541A (en) A kind of GPON remote devices and its management method
CN102868545A (en) Passive optical network configuration method and element management system
CN103684614A (en) Network device of optical network terminal and power adjustment method of optical signal
Chung High speed and low latency PON for 5G networks

Legal Events

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

Granted publication date: 20170804

Termination date: 20181225