CN103546230B - MIB data uploading methods - Google Patents
MIB data uploading methods Download PDFInfo
- Publication number
- CN103546230B CN103546230B CN201210236806.1A CN201210236806A CN103546230B CN 103546230 B CN103546230 B CN 103546230B CN 201210236806 A CN201210236806 A CN 201210236806A CN 103546230 B CN103546230 B CN 103546230B
- Authority
- CN
- China
- Prior art keywords
- attribute
- mib
- effective
- ont
- omci
- 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
The invention discloses a kind of MIB data uploading methods, wherein the MIB data uploading methods include:S1, the species based on default upload attribute, in an ONU or the MIB of an ONT all properties, effective attribute is labeled as by the attribute for meeting the default species for uploading attribute;S2, the valid data length for being followed successively by each effective attribute mark effective attribute;S3, it is successively read an effective attribute from the MIB, and based on the valid data length of effective attribute acceptance of the bid note, effective attribute with the valid data equal length is encapsulated as an OMCI messages, and the OMCI messages are sent to an OLT.The MIB data uploading methods of the present invention, which effectively upload attribute by mark, reduces the upload of unnecessary attribute, saves a part of system resource, improves the accuracy of configuration information, so as to improve the efficiency of upload.
Description
Technical field
The present invention relates to a kind of upload of MIB (Management Information Base device management informations storehouse) data
Method, more particularly to a kind of GPON networks (Gigabit-Capable Passive Optical Network 1000 M passive light
Network) in ONT (Optical Network Terminal ONT Optical Network Terminals) or ONU (Optical Network Unit light nets
Network unit) MIB data uploading methods between OLT (Optical Line Terminal optical line terminals).
Background technology
The rapid growth of Internet user and the popularization of broad band network application, promote the development of network infrastructure.Net
The speed increase that the total bandwidth of network is doubled with every half a year, VoIP (Voice over Internet Protocol internet protocols
Voice transfer is carried out on the network of view), the new network application such as IPTV (Web TV) and game on line and network technology not yet
It is disconnected that new challenge is proposed to the network bandwidth.In the long run, existing broadband access technology can not meet this high speed number
According to the demand growth of transmission, under this background, GPON technologies can meet the demand of following high speed data transfer as a kind of
Broadband access technology increasingly attracted attention.
Mainly include OLT and ONU/ONT in Gigabit Passive Optical Network GPON.Wherein OMCI (ONU Management and
Control Interface ONT are managed and control interface) be a kind of configuration transmission channel defined in GPON standards, by
Proprietary OMCI message is set up between OLT and ONT/ONU, ability and configuration for the acquisition ONU/ONT that provides standard, and it is right
Its method for being managed and controlling.
MIB upload functions in existing OMCI agreements be mainly used to manage current ONU/ONT in relevant configuration
Information, obtains and analyzes the parameter of each attribute in MIB.When ONU is initialized, ONU/ONT first matches somebody with somebody confidence according to current
Breath generation MIB, wherein ONU/ONT internal information is contained, such as software function or hardware parameter.ONU/ONT reports MIB
In attribute so that the function and configuration, i.e. OLT that OLT obtains ONU/ONT can send the report that comes up by analyzing ONU/ONT
Literary message finds and managed the configuration information of hardware and software in ONU/ONT.
Therefore the MIB upload functions in existing OMCI agreements realize OLT management and control ONU/ONT basis.
Existing MIB upload functions are come out by extracting attribute from ONU/ONT MIB after OLT transmission message.
The quantity of all properties in MIB is wherein counted first, is then message and is returned in each one attributes encapsulation of reading
OLT。
So being that attribute all in MIB is uploaded into OLT, still in the prior art in the quantity of computation attribute
There are different ONU/ONT in GPON networks, and each ONU/ONT attribute having is different, so each ONU/
The different attribute of some in ONT is exactly invalid attribute for OLT, if now all uploading all properties in ONU/ONT MIB
Invalid packet is just generated to OLT.
If data are that null value or random value also result in the attribute data of OLT receptions not in the invalid attribute
Accurately.
In addition, MIB upload functions are the data for carrying out reading attributes according to a fixed-length value in the prior art, although
The length for now encapsulating obtained message is identical, but is due to effective data length difference in each attribute, so in message
More or less invalid data is certainly existed, so as to reduce the efficiency for uploading message.
ONU/ONT is the reading attributes data directly from MIB in the prior art, because record has ONU/ONT category in MIB
Property, if configuration or function change in ONU/ONT, necessarily cause the change of the data of the attribute recorded in MIB, so now
Or MIB upload functions are in implementation procedure, then the attribute data for the ONU/ONT that OLT is received also changes, it will lead
Cause the corrupt data uploaded.And because the ONU/ONT attribute datas received before and after OLT are mismatched, also cause the MIB category read
Property data turn into invalid attribute data.
The content of the invention
The technical problem to be solved in the present invention is to overcome on the ONU/ONT of prior art attribute crossing to upload efficiency
It is low, easily occur data transmission fault and be easy to produce the defect of substantial amounts of invalid data to upload there is provided a kind of MIB data
Method, attribute is effectively uploaded by mark and determines attribute length to improve upper transfer efficiency, when additionally by generating any
The copy of attribute in the MIB at quarter, so as to avoid the mistake for uploading data and the generation of invalid data.
The present invention is to solve above-mentioned technical problem by following technical proposals:
The invention provides a kind of MIB data uploading methods, it is characterized in that the MIB data uploading methods include:
S1, the species based on default upload attribute, in an ONU or the MIB of an ONT all properties, by meeting
The attribute for stating the species of default upload attribute is labeled as effective attribute;
S2, the valid data length for being followed successively by each effective attribute mark effective attribute;
S3, be successively read from the MIB it is unencapsulated for OMCI messages and send to effective attribute of an OLT, and be based on
The valid data length of effective attribute acceptance of the bid note, by the data with effective attribute of the valid data equal length
OMCI messages are encapsulated as, and the OMCI messages are sent to the OLT.All effective attributes that will be in the MIB according to
It is secondary to be encapsulated as OMCI messages, and send into the OLT.
It is preferred that further comprising the steps of in step sl:Calculate the number of effective attribute in the MIB in all properties
Amount;
And also include after step S3:Whether S4, the quantity of the detection OMCI messages are equal to the number of effective attribute
Amount, if so, flow terminates, otherwise sends the OMCI messages for including error message to the OLT.
It is preferred that further comprising the steps of before step S1:
The OLT sends an OMCI request messages to the ONU or ONT;
The ONU or ONT determine the species of default upload attribute based on the OMCI request messages.
Present invention also offers a kind of MIB data uploading methods, it is characterized in that the MIB data uploading methods include:
S1, by the caching of an ONU or the current MIB of ONT all properties write-in one;
S2, the species based on default upload attribute, will meet the default species for uploading attribute in the caching
Attribute be labeled as effective attribute;
S3, the valid data length for being followed successively by each effective attribute mark effective attribute;
S4, be successively read from the caching it is unencapsulated for OMCI messages and send to effective attribute of an OLT, and be based on
The valid data length of effective attribute acceptance of the bid note, by the data with effective attribute of the valid data equal length
OMCI messages are encapsulated as, and the OMCI messages are sent to the OLT.All effective attributes that will be in the MIB according to
It is secondary to be encapsulated as OMCI messages, and send into the OLT,
It is preferred that further comprising the steps of in step s 2:Calculate effective attribute in the caching in all properties
Quantity;
And also include after step S4:Whether S5, the quantity of the detection OMCI messages are equal to the number of effective attribute
Amount, if so, flow terminates, otherwise sends the OMCI messages for including error message to the OLT.
It is preferred that further comprising the steps of before step S1:
The OLT sends an OMCI request messages to the ONU or ONT;
The ONU or ONT determine the species of default upload attribute based on the OMCI request messages.
Invention further provides a kind of GPON networks using upper described MIB data uploading methods.
The positive effect of the present invention is:
The MIB data uploading methods of the present invention, which effectively upload attribute by mark, reduces the upload of unnecessary attribute,
A part of system resource is saved, the accuracy of configuration information is improved, so as to improve the efficiency of upload.
And by the data length for the attribute for defining MIB, so that broken the form that tradition reports message-length to fix,
Every message can determine its length by the length of attribute.
Additionally in the MIB by generating any instant attribute copy so that avoid upload data mistake and nothing
Imitate the generation of data.
Moreover, needing the mark uploaded to be the quantity of attribute in statistics ONU/ONT in advance, ONU/ is finally detected again
Whether the message amount that ONT is reported is identical with the quantity of effective attribute, so as to be confirmed whether not leak the category for passing ONU/ONT
Property, so further ensure that the integrality of the attribute for the ONU/ONT that OLT is received.
Brief description of the drawings
Fig. 1 is the flow chart of the first embodiment of the MIB data uploading methods of the present invention.
Fig. 2 is the flow chart of the second embodiment of the MIB data uploading methods of the present invention.
Embodiment
Present pre-ferred embodiments are provided below in conjunction with the accompanying drawings, to describe technical scheme in detail.
First embodiment:
The quantity of maximum effectively attribute in the MIB of an ONT in GPON networks has been counted in the present embodiment, that is, has confirmed OLT institutes
The quantity of the attribute for the ONT that can be used.And correspondingly determine each data for needing to be uploaded to OLT ONT effective attribute
Length, consequently facilitating each effective attribute for needing injury is encapsulated as message by ONT.So message described in the present embodiment according to
The difference of the data length of effective attribute, with different message lengths, therefore fixation reports each to belong in the past for change
Property mode, improve the MIB degrees of accuracy reported and the efficiency reported.
So added in the present embodiment in attribute in MIB attribute whether be the attribute that OLT needs effective attribute
AttrMask is marked, and further the valid data length Len of attribute is remembered in each effective attribute acceptance of the bid again.
Hereafter, using the configuration transmission channel of ONT and OLT OMCI in GPON networkings, ONT is according to having in valid data
Each effective attribute that marked AttrMask is OMCI messages in effect data length Len encapsulation MIB, and is sent to OLT.I.e. this
When ONT the attribute with AttrMask will only be uploaded in MIB, and OMCI messages are encapsulated as according to Len in the attribute, so that real
Existing ONT MIB data are uploaded in OLT.
So the MIB data uploading methods of the present embodiment are as shown in figure 1, comprise the following steps:
Step 1, the OLT send an OMCI request messages a to ONT.Wherein described OLT by OMCI agreements and ONT it
Between set up configuration transmission channel, so as to can be communicated between the ONT and OLT by OMCI messages.
Step 2, the ONT determines the species of default upload attribute based on the OMCI request messages.The ONT is based on
The OMCI messages of the OLT obtain the species and type of the attribute in the required ONT obtained of OLT MIB.
Step 3, the species based on default upload attribute, in the MIB of ONT all properties, will meet described
The attribute of the default species for uploading attribute is labeled as effective attribute.By the way that institute will be met in the MIB of the ONT in the present embodiment
Mark AttrMask is added in the attribute for stating default upload attribute, so as to have in attribute all in the MIB of the ONT
AttrMask attribute is to need to be uploaded to OLT effective attribute.
Step 4, the quantity of effective attribute in the MIB in all properties is calculated.Statistics is obtained in the ONT in MIB
The sum of all attributes with AttrMask.
Step 5, successively in the valid data length of each effective attribute acceptance of the bid note effective attribute.In the present embodiment also
Further calculate the length of the valid data in the data of the attribute with AttrMask, and by the valid data
Length is added in the attribute as label L en, now has AttrMask marks and Len marks in effective attribute.
Thereafter through in MIB attribute find AttrMask mark come determine upload attribute, and by Len marks come
It is determined that needing to upload the length of data in the attribute uploaded.
Step 6, an effective attribute is successively read from the MIB, and based on the effective of effective attribute acceptance of the bid note
Data length, will be an OMCI messages with the data of effective attributes encapsulation of the valid data equal length, and by institute
OMCI messages are stated to send to the OLT.It is equal to the significant figure during the Len is marked in the attribute will with AttrMask marks
OMCI messages are encapsulated as according to the data of length, and are sent to the OLT.
So the attribute that need not be uploaded now is abandoned in the MIB of the ONT, and always according to the length of each attribute in MIB
Degree, regulation uploads the length of message, it is to avoid in the prior art caused by fixed length memory headroom waste.
Step 7, detect whether the quantity of the OMCI messages is equal to the quantity of effective attribute, if so, flow terminates,
Otherwise step 8 is entered.Now ONT confirm MIB in whether institute upload in need effective attribute whether all upload finish, if entirely
Portion uploads and finished, then the flow that the MIB data between the ONT and the OLT are uploaded terminates, and otherwise the ONT uploads one
OMCI messages notify the OLT without the error message for uploading the data of attribute in MIB completely to the OLT.
Step 8, the ONT sends the OMCI messages for including error message to the OLT, and flow terminates.
Second embodiment:
The difference of the MIB data uploading methods of the present embodiment and the MIB data uploading methods of first embodiment is, this reality
Apply in example further, after the request message that ONU receives OLT transmissions, generate the copy of all properties in the MIB at the moment,
The data of all properties will all it import in a caching in the MIB at the moment, even if so hereafter due to configuration or function in ONU
Change causes the change of attribute in MIB, will not also change the data for the attribute that ONU is uploaded in OLT, therefore avoid upload number
According to mistake and invalid data generation.
Therefore the MIB data uploading methods of the present embodiment are as shown in Fig. 2 comprise the following steps:
Step 11, the OLT send an OMCI request messages a to ONU.
Step 12, the ONU determines the species of default upload attribute based on the OMCI request messages.
Step 13, by the MIB current ONU caching of all properties write-in one.Now, the ONU will can appoint
All properties in the MIB at one moment are write in the caching.So as to establish in the moment the standby of data of attribute in MIB
Part or copy.In addition enough spaces can be applied in the present embodiment in memory headroom to write the current MIB's of the ONU
All properties.
Step 14, the species based on default upload attribute, will meet the default upload attribute in the caching
The attribute of species is labeled as effective attribute.
Step 15, the quantity of effective attribute in the caching in all properties is calculated.
Step 16, successively in the valid data length of each effective attribute acceptance of the bid note effective attribute.
Step 17, an effective attribute, and having based on effective attribute acceptance of the bid note are successively read from the caching
Data length is imitated, the data with effective attribute of the valid data equal length are encapsulated as an OMCI messages, and will
The OMCI messages are sent to an OLT.
Step 18, detect whether the quantity of the OMCI messages is equal to the quantity of effective attribute, if so, flow knot
Beam, otherwise into step 19.
Step 19, the ONU sends the OMCI messages for including error message to the OLT, and flow terminates.
Although the foregoing describing the embodiment of the present invention, it will be appreciated by those of skill in the art that these
It is merely illustrative of, protection scope of the present invention is defined by the appended claims.Those skilled in the art is not carrying on the back
On the premise of principle and essence from the present invention, various changes or modifications can be made to these embodiments, but these are changed
Protection scope of the present invention is each fallen within modification.
Claims (6)
1. a kind of MIB data uploading methods, it is characterised in that the MIB data uploading methods include:
S1, in an ONU or the MIB of an ONT all properties, the attribute of species that will meet default upload attribute is labeled as
Effective attribute;
S2, the valid data length for being followed successively by each effective attribute mark effective attribute;
S3, be successively read from the MIB it is unencapsulated for OMCI messages and send to effective attribute of an OLT, and based on described
The valid data length of effective attribute acceptance of the bid note, will be encapsulated with the data of effective attribute of the valid data equal length
For OMCI messages, and the OMCI messages are sent to the OLT.
2. MIB data uploading methods as claimed in claim 1, it is characterised in that further comprising the steps of in step sl:
Calculate the quantity of effective attribute in the MIB in all properties;
And also include after step S3:
Whether S4, the quantity of the detection OMCI messages are equal to the quantity of effective attribute, if so, flow terminates, otherwise to
The OLT sends the OMCI messages for including error message.
3. MIB data uploading methods as claimed in claim 1, it is characterised in that further comprising the steps of before step S1:
The OLT sends an OMCI request messages to the ONU or ONT;
The ONU or ONT determine the species of default upload attribute based on the OMCI request messages.
4. a kind of MIB data uploading methods, it is characterised in that the MIB data uploading methods include:
S1, by the caching of an ONU or the current MIB of ONT all properties write-in one;
S2, the attribute for the species that will meet default upload attribute in the caching are labeled as effective attribute;
S3, the valid data length for being followed successively by each effective attribute mark effective attribute;
S4, be successively read from the caching it is unencapsulated for OMCI messages and send to effective attribute of an OLT, and based on described
The valid data length of effective attribute acceptance of the bid note, will be encapsulated with the data of effective attribute of the valid data equal length
For OMCI messages, and the OMCI messages are sent to the OLT.
5. MIB data uploading methods as claimed in claim 4, it is characterised in that further comprising the steps of in step s 2:
Calculate the quantity of effective attribute in the caching in all properties;
And also include after step S4:
Whether S5, the quantity of the detection OMCI messages are equal to the quantity of effective attribute, if so, flow terminates, otherwise to
The OLT sends the OMCI messages for including error message.
6. MIB data uploading methods as claimed in claim 5, it is characterised in that further comprising the steps of before step S1:
The OLT sends an OMCI request messages to the ONU or ONT;
The ONU or ONT determine the species of default upload attribute based on the OMCI request messages.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210236806.1A CN103546230B (en) | 2012-07-09 | 2012-07-09 | MIB data uploading methods |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210236806.1A CN103546230B (en) | 2012-07-09 | 2012-07-09 | MIB data uploading methods |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103546230A CN103546230A (en) | 2014-01-29 |
CN103546230B true CN103546230B (en) | 2017-11-07 |
Family
ID=49969328
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210236806.1A Active CN103546230B (en) | 2012-07-09 | 2012-07-09 | MIB data uploading methods |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103546230B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104980308B (en) * | 2015-07-29 | 2018-02-13 | 上海斐讯数据通信技术有限公司 | A kind of OMCI protocol massages method for packing and device |
CN105262740B (en) * | 2015-09-25 | 2019-08-06 | 瑞斯康达科技发展股份有限公司 | A kind of big data transmission method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101170468A (en) * | 2007-11-22 | 2008-04-30 | 中国电信股份有限公司 | Acquisition method and system for optical network unit capability information |
CN101764647A (en) * | 2009-12-17 | 2010-06-30 | 浙江工业大学 | ONU (Optical Network Unit) management and control platform of GPON (Gigabit Passive Optical Network) network management system |
CN101815008A (en) * | 2010-03-25 | 2010-08-25 | 浙江工业大学 | OLT (Optical Line Terminal) agent subsystem of GPON (Gigabit-Capable Passive Optical Network) management system |
CN102006178A (en) * | 2009-09-03 | 2011-04-06 | 大唐移动通信设备有限公司 | SNMP-based network management method and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8751630B2 (en) * | 2008-10-28 | 2014-06-10 | Futurewei Technologies, Inc. | Collecting status from a partner management domain |
-
2012
- 2012-07-09 CN CN201210236806.1A patent/CN103546230B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101170468A (en) * | 2007-11-22 | 2008-04-30 | 中国电信股份有限公司 | Acquisition method and system for optical network unit capability information |
CN102006178A (en) * | 2009-09-03 | 2011-04-06 | 大唐移动通信设备有限公司 | SNMP-based network management method and system |
CN101764647A (en) * | 2009-12-17 | 2010-06-30 | 浙江工业大学 | ONU (Optical Network Unit) management and control platform of GPON (Gigabit Passive Optical Network) network management system |
CN101815008A (en) * | 2010-03-25 | 2010-08-25 | 浙江工业大学 | OLT (Optical Line Terminal) agent subsystem of GPON (Gigabit-Capable Passive Optical Network) management system |
Also Published As
Publication number | Publication date |
---|---|
CN103546230A (en) | 2014-01-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102420701B (en) | Method for extracting internet service flow characteristics | |
CN101282331B (en) | Method for recognizing P2P network flow based on transport layer characteristics | |
CN103107910B (en) | Broadband speed-measuring method, system and broadband access terminal | |
CN110493351B (en) | Video networking access method, device, equipment and storage medium | |
TWI399056B (en) | Optical fiber network system and management method thereof | |
CN109889780B (en) | Data synchronization method and device | |
CN104125104B (en) | Configuration method of business data in optical network unit | |
CN107016056A (en) | The distributed memory system and method for magnanimity heterogeneous sensor data in a kind of Internet of Things | |
CN103546230B (en) | MIB data uploading methods | |
CN101800671A (en) | Method for detecting packet loss of H.264 video file | |
CN106375118A (en) | Multi-view-angle traffic mixed playback method and device | |
CN109787873A (en) | A kind of method and apparatus of multi-to-multi incoming communication | |
CN101420344A (en) | Network performance automatic evaluation method based on Java and database | |
CN109446093A (en) | A kind of expansion platform interface test method and device | |
CN108206788A (en) | The business recognition method and relevant device of a kind of flow | |
CN109617830A (en) | A kind of method and apparatus regarding real time demonstration business in networking | |
CN110061979B (en) | Method and device for detecting business object | |
CN103731332B (en) | Master-slave communication method and OLT system | |
TW200843404A (en) | Network management system and management method thereof | |
CN103957119A (en) | Method for managing network devices through MIB file and browser | |
CN101668035A (en) | Method for recognizing various P2P-TV application video flows in real time | |
CN110351202A (en) | 5G core net traffic packet method, apparatus, equipment and computer storage medium | |
CN102215206A (en) | Method and device for identifying network protocol based on NPTA technology | |
CN103001813A (en) | Method for configuration management in network management device | |
Seijo et al. | From the Lap (top) to the Jungle: Validating the PRIME Network Simulator SimPRIME with Data from the Field |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20201118 Address after: 221700 4-1-110-shop, Nanyuan new town, Fengxian County, Xuzhou City, Jiangsu Province Patentee after: Song Yixiao Address before: Songjiang District shihudong Town Tower Road 201617 min 579 Lane Shanghai No. -26 Patentee before: Phicomm (Shanghai) Co.,Ltd. |