CN103517164B - A kind of optical network unit data configuration control method - Google Patents

A kind of optical network unit data configuration control method Download PDF

Info

Publication number
CN103517164B
CN103517164B CN201310510190.7A CN201310510190A CN103517164B CN 103517164 B CN103517164 B CN 103517164B CN 201310510190 A CN201310510190 A CN 201310510190A CN 103517164 B CN103517164 B CN 103517164B
Authority
CN
China
Prior art keywords
configuration
optical network
network unit
data
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.)
Active
Application number
CN201310510190.7A
Other languages
Chinese (zh)
Other versions
CN103517164A (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.)
Chongqing aoputai Communication Technology Co.,Ltd.
Original Assignee
HEJI AOPUTAI 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 HEJI AOPUTAI COMMUNICATION TECHNOLOGY Co Ltd filed Critical HEJI AOPUTAI COMMUNICATION TECHNOLOGY Co Ltd
Priority to CN201310510190.7A priority Critical patent/CN103517164B/en
Publication of CN103517164A publication Critical patent/CN103517164A/en
Application granted granted Critical
Publication of CN103517164B publication Critical patent/CN103517164B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Optical Communication System (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides a kind of optical network unit data configuration control method, by a memory cell of optical line terminal and four mission threads, Each performs its own functions, just the data configuration operation of each optical network unit in network can be processed concurrently, significantly decrease because of mission thread quantity too much taking OLT system task resource, and when optical network unit communicates unobstructed with optical line terminal, each optical network unit can receive an OAM configuration data message at interval of a polling cycle T0, achieve the parallel deployment process to multiple optical network unit, the long problem overall consuming time that the optical network unit avoided because registering in network simultaneously too much causes optical network unit data configuration to be downloaded, also ensure that data configuration reliability by retransmission mechanism, and can compatible " China Telecom's EPON equipment technical requirement " expansion OAM configuration mode of defining, ensure that higher optical network unit data configuration execution efficiency.

Description

A kind of optical network unit data configuration control method
Technical field
The present invention relates to technical field of optical fiber communication, refer more particularly to passive optical-fiber network communication technical field, be specifically related to a kind of optical network unit data configuration control method.
Background technology
Passive optical-fiber network (PassiveOpticalNetwork, referred to as PON) refer to ODN(OpticalDistributionNetwork, optical distribution) in not containing any electronic device and electronic power supply, the fiber optic network that ODN is all made up of passive devices such as optical branching devices (Splitter).An EPON is primarily of the optical line terminal (OpticalLineTerminal being installed on console for centralized control, referred to as OLT), comprise the optical distribution (ODN) of optical fiber and passive optical splitters or coupler and a collection of supporting optical network unit (OpticalNetworkUnit, referred to as ONU) being installed on customer site composition.At down direction, the multiple business such as IP data, voice, video, by the OLT being positioned at console for centralized control, are adopted broadcast mode, are assigned to all ONU unit in passive optical-fiber network by the 1:N passive optical splitter in ODN.At up direction, the multiple business information from each ONU is coupled to same optical fiber by the 1:N passive light mixer in ODN without interfering with each other, finally delivers to and is positioned at local side OLT receiving terminal, be similar to the structure of point-to-point.The outstanding advantages of PON is a cancellation outdoor active equipment, and all signal processing functions all complete at switch and station equipment.And the up-front investment of this access way is little, most of fund will be postponed till when user really accesses and just drop into.Short than Active Optical Fiber connecting system of its transmission range, the scope of covering is less, but its cost is low, separately need not establish machine room, safeguards easily.Therefore this network configuration can economically for house user provides data service service.
In PON, PON FPDP generally accessible 64 ONU of an OLT, an OLT with 16 PON FPDP can be accessed by 1024 ONU, and the ONU therefore in a passive optical-fiber network may One's name is legion.And the configuration data of integrated form ONU is placed on OLT, therefore when ONU registration is come in, need all configuration datas ONU being downloaded to this ONU.After OLT powers on or restarts, all ONU need re-register, and download so OLT now needs to be configured data to ONU all in system simultaneously.In prior art, the following several method of general employing realizes OLT and controls the data configuration of each ONU in network:
Method one: serial data configuration control methods; That is, after certain ONU registers, OLT just starts to be configured data to this ONU and downloads, and only have when this ONU configuration data has been downloaded, OLT carries out database configuration to the ONU that registration is come in addition again.The shortcoming of serial data configuration control methods is apparent, and the data configuration process holding time stopping over ONU is exactly long, and in a network in a fairly large number of situation of ONU, complete the consuming time very long of whole network ONU data configuration, treatment effeciency is low.
Method two: Multitask Data configuration control methods; That is, OLT starts an independently configuration data downloading control thread to the ONU that each registration is come in, and the mode performed by multiple downloading control thread parallel, carries out data configuration process concurrently to multiple ONU respectively.Although this method achieves parallel processing, but in a network when ONU One's name is legion, it is also very huge that OLT needs to start downloading control number of threads, the system task resource that OLT is very many can be taken, and number of threads is too much, and between multithreading task, frequent switching significantly can reduce handling property and the operational efficiency of OLT device on the contrary; In addition, due to the task restricted number of embedded OS run, a lot of OLT device at most only can support 256 tasks (i.e. maximum parallel running 256 threads), in a network in a fairly large number of situation of ONU, still can not meet the requirement that an ONU distributes a downloading control thread.
Method three: FTP(FTPFileTransferProtocol, file transfer protocol (FTP)) transmit data configuration control methods; Namely OLT generates a TCP(TransmissionControlProtocol respectively to the ONU that each registration is come in, transmission control protocol) interface channel, then configuration data corresponding for each ONU is transferred to corresponding ONU as a file bag by its corresponding TCP interface channel packing.Although this packing transmission means efficiency of transmission is higher, the expansion OAM configuration mode that can not define with " China Telecom's EPON equipment technical requirement " is mutually compatible.According to the definition of " China Telecom's EPON equipment technical requirement ", the configuration data corresponding to each ONU is split as several OAM configuration data message (OAM, i.e. abbreviations of OperationAdministrationandMaintenance; According to the actual needs of telecommunications network operator, usually the management work of network is divided into 3 large classes: operate (Operation), management (Administration) and safeguard (Maintenance), referred to as OAM), and in sequence these several OAM configuration data messages are once sent to corresponding ONU, ONU carries out data configuration successively according to connecing each OAM configuration data message successively received again, completes data configuration process.And FTP transmission data configuration control methods the configuration data entirety corresponding to ONU is packaged as a file bag transmit, therefore the requirement of OAM configuration mode cannot be met, can not be mutually compatible with OAM configuration mode, during concrete enforcement, just need to receive processing procedure to the configuration data of optical network units all in EPON to transform, to realize the data configuration task based on FTP transmission, this just considerably increases quantities and the cost of the system reform.
Because the OLT in passive optical-fiber network needs to manage a large amount of ONU, therefore, how OLT carries out data configuration control to ONU, has become one of key issue in passive optical-fiber network technology, and the quality of ONU data configuration control method has directly had influence on the availability of OLT system.
Summary of the invention
For the above-mentioned deficiency of prior art, the object of the present invention is to provide one can compatible " China Telecom's EPON equipment technical requirement " optical network unit data configuration control method of expansion OAM configuration mode of defining, make optical line terminal in EPON when taking less system resource, realize higher optical network unit data configuration execution efficiency, with solve in prior art to ONU numerous in passive optical-fiber network carry out data configuration exist length consuming time, treatment effeciency low, take the too much problem of system task resource.
For solving the problems of the technologies described above, realize goal of the invention, the technical solution used in the present invention is as follows:
Optical network unit data configuration control method, for carrying out data configuration control to the optical network unit in EPON, perform control by the optical line terminal being provided with database storage unit, registration management thread, database download thread, data transmission line journey and data receiver thread; Wherein:
Database storage unit is used for the configuration data that in storage networking, each optical network unit is corresponding, and records the configuration data performance of each optical network unit in network; The configuration data that each optical network unit is corresponding comprises several OAM configuration data messages;
Registration management thread real-time reception, from the registration request of optical network unit, completes the register and authentication process to optical network unit, by the optical network unit message notice of successful registration to database download thread;
Database download thread is whenever receiving the optical network unit message notice of successful registration, each OAM configuration data message comprised from the configuration data that the optical network unit of this successful registration of database storage unit inquiry acquisition is corresponding, each OAM configuration data message and transmission state that the optical network unit that a newly-increased configuration record item records this successful registration in wait configured list is corresponding; And database download thread travels through each the configuration record item recorded in poll wait configured list at interval of presetting polling cycle T0, wherein, the step of each configuration record item being carried out to a poll process is as follows:
A1) transmission state of each OAM configuration data message corresponding to the optical network unit of successful registration in this configuration record item is inquired about; If the transmission state of each OAM configuration data message current is and does not transmit in this configuration record item, then directly perform step a4; Otherwise, perform step a2;
A2) judge to show whether the message reception response that the OAM configuration data message of last transmission before this in this configuration record item has been successfully received receives; If receive, then perform step a3; If do not receive, perform step a5;
A3) judge that current in this configuration record item whether also to there is transmission state be the OAM configuration data message do not transmitted; If exist, then perform step a4; If do not exist, then judge that the optical network unit configuration data recorded in this configuration record item completes, and report to data storage cell and carry out record, then perform step a8;
A4) from this configuration record item, extract the OAM configuration data message that in the current OAM configuration data message do not transmitted, configuration sequence is the most forward, sending object is specified to be the optical network unit recorded in this configuration record item, be encapsulated as a configuration data and send order, transfer to data transmission to line up, record the transmission time that this configuration data sends order, and in this configuration record item, the current transmission state of OAM configuration data message sending command transfer by configuration data is updated to and transmits, so far this time poll process of this configuration record item is terminated;
A5) the stand-by period whether time-out message corresponding to the OAM configuration data message of last transmission before this in this configuration record item being received to response is judged; If time-out, then the wait timeout number of times record of replying is received to the message in this configuration record item before this corresponding to last OAM configuration data message transmitted and add 1, then perform step a6; If not time-out, then so far this time poll process of this configuration record item is terminated;
A6) judge whether the wait timeout number of times message corresponding to the OAM configuration data message of last transmission before this in this configuration record item being received to response has reached presetting expired times upper limit K0; If reach, then the optical network unit configuration data failure judging to record in this configuration record item, and report to data storage cell and carry out record, then perform step a8; If do not reach, then perform step a7;
A7) from this configuration record item, again extract the OAM configuration data message of last transmission before this, sending object is specified to be the optical network unit recorded in this configuration record item, be encapsulated as a configuration data and send order, transfer to data transmission to line up, record the transmission time that this configuration data sends order, and the wait timeout number of times message corresponding to the OAM configuration data message to last transmission before this in this configuration record item being received response adds 1, so far terminates this time poll process of this configuration record item;
A8) this configuration record item is deleted from wait configured list, so far this time poll process of this configuration record item is terminated;
Data transmission line journey reading data in real-time sends the configuration data in lining up and sends order, parsing obtains the OAM configuration data message comprised in configuration data transmission order and is also sent to its appointment sending object in real time, sends reception corresponding to corresponding OAM configuration data message simultaneously reply receipt request to described appointment sending object;
Data receiver thread real-time reception Optical Network Terminal receipt in order to show that the message that OAM configuration data message has been successfully received receives response, and in real time the message received is received response and is back to database download thread.
In above-mentioned optical network unit data configuration control method, as further improvement project, described registration management thread also real-time reception, from the de-registration request of optical network unit, completes the cancellation process to optical network unit, by the optical network unit message notice of cancellation to database download thread; Configuration record item corresponding for the optical network unit of cancellation, whenever receiving the optical network unit message notice of cancellation, is deleted by described database download thread from wait configured list.
In above-mentioned optical network unit data configuration control method, as further improvement project, described database download thread is traveling through in the process of poll wait configured list at interval of presetting polling cycle T0, if continuous N time poll finds to wait in configured list do not record configuration record item, then stop reciprocity list poll to be configured, until when again receiving the optical network unit message notice of successful registration, again start and travel through at interval of presetting polling cycle T0 the operation that poll waits for configured list.
In above-mentioned optical network unit data configuration control method, as a kind of preferred version, the span of the judgment standard of described time-out is 1 ~ 10s.
In above-mentioned optical network unit data configuration control method, as a kind of preferred version, the span of described presetting expired times upper limit K0 is 1 ~ 5 time.
Compared to prior art, the present invention has following advantage:
1, optical network unit data configuration control method of the present invention, by a memory cell of optical line terminal and four mission threads, Each performs its own functions, just the data configuration operation of each optical network unit in network can be processed concurrently, and do not need to set up a configuration data download thread for optical network unit each in network, significantly decrease because of mission thread quantity too much taking OLT system task resource, ensure that the system handling property of optical line terminal equipment.
2, utilize optical network unit data configuration control method of the present invention, for the optical network unit of each successful registration in network, as long as it is unobstructed to communicate with optical line terminal, the OAM configuration data message from data transmission line journey can be received smoothly, and returned packet receives response smoothly, then all can receive an OAM configuration data message at interval of a polling cycle T0, therefore the optical network unit of each successful registration, its optical network unit quantity do not lain in network totally consuming time of carrying out data configuration download is relevant, and it is only relevant with the OAM configuration data message amount comprised in configuration data corresponding to optical network unit, achieve the parallel deployment process to multiple optical network unit, and because each optical network unit corresponding OAM configuration data message amount is fixing, thus the long problem overall consuming time that the optical network unit avoided because registering in network simultaneously too much causes optical network unit data configuration to be downloaded, ensure that higher optical network unit data configuration execution efficiency.
3, optical network unit data configuration control method of the present invention can compatible " China Telecom's EPON equipment technical requirement " expansion OAM configuration mode of defining, therefore when practicing, configuration data without the need to changing the optical network unit in EPON again receives processing procedure, avoids the quantities because the system reform on a large scale causes and cost increase.
4, optical network unit data configuration control method of the present invention additionally uses retransmission mechanism, better ensure that the data configuration reliability of each optical line terminal in network on the one hand, the Optical Network Terminal that it also avoid configuration failure on the other hand takies the data configuration process resource of optical line terminal for a long time, make optical line terminal equipment better can carry out reasonable distribution to its system processing resources, ensure optical network unit data configuration execution efficiency.
5, optical network unit data configuration control method of the present invention can also realize the cancellation controlling functions to optical network unit data configuration, make occur data configuration make mistakes or other fortuitous event time, optical network unit can stop data configuration procedure by de-registration request, after fortuitous event is got rid of, then restart data configuration process by registration request.
6, optical network unit data configuration control method of the present invention can also when not having optical network unit to need to carry out data configuration, the database download thread of optical line terminal is allowed to enter resting state, stop reciprocity list poll to be configured, further reduce the consumption to optical line terminal equipment system processing resources.
Accompanying drawing explanation
Fig. 1 is the architecture block diagram of optical line terminal in optical network unit data configuration control method of the present invention.
Fig. 2 is in optical network unit data configuration control method of the present invention, the database download thread of optical line terminal travels through poll at interval of presetting polling cycle T0 and waits in the process of each the configuration record item recorded in configured list, specifically each configuration record item is carried out to the flow chart of a poll process.
Embodiment
Below in conjunction with drawings and Examples, technical scheme of the present invention is further illustrated.
The invention provides a kind of optical network unit data configuration control method, for carrying out data configuration control to the optical network unit (ONU) in EPON, this control is still performed by the optical line terminal (OLT) in EPON.But it is different from general ONU data configuration control mode used in the prior art, in optical network unit data configuration control method of the present invention, optical line terminal only needs to arrange a memory cell and four mission threads, as shown in Figure 1, database storage unit, registration management thread, database download thread, data transmission line journey and data receiver thread is respectively.Wherein, database storage unit is used for the configuration data that in storage networking, each optical network unit is corresponding, and records the configuration data performance of each optical network unit in network; The configuration data that each optical network unit is corresponding comprises several OAM configuration data messages.Registration management thread real-time reception, from the registration request of optical network unit, completes the register and authentication process to optical network unit, by the optical network unit message notice of successful registration to database download thread.Database download thread is whenever receiving the optical network unit message notice of successful registration, each OAM configuration data message comprised from the configuration data that the optical network unit of this successful registration of database storage unit inquiry acquisition is corresponding, each OAM configuration data message and transmission state that the optical network unit that a newly-increased configuration record item records this successful registration in wait configured list is corresponding; And database download thread travels through each the configuration record item recorded in poll wait configured list at interval of presetting polling cycle T0.Data transmission line journey reading data in real-time sends the configuration data in lining up and sends order, parsing obtains the OAM configuration data message comprised in configuration data transmission order and is also sent to its appointment sending object in real time, sends reception corresponding to corresponding OAM configuration data message simultaneously reply receipt request to described appointment sending object.Data receiver thread real-time reception Optical Network Terminal receipt in order to show that the message that OAM configuration data message has been successfully received receives response, and in real time the message received is received response and is back to database download thread.Wherein, database download thread travels through poll at interval of presetting polling cycle T0 and waits in the process of each the configuration record item recorded in configured list, specifically carry out the flow process of a poll process as shown in Figure 2 to each configuration record item, step is as follows:
A1) transmission state of each OAM configuration data message corresponding to the optical network unit of successful registration in this configuration record item is inquired about; If the transmission state of each OAM configuration data message current is and does not transmit in this configuration record item, then directly perform step a4; Otherwise, perform step a2;
A2) judge to show whether the message reception response that the OAM configuration data message of last transmission before this in this configuration record item has been successfully received receives; If receive, then perform step a3; If do not receive, perform step a5;
A3) judge that current in this configuration record item whether also to there is transmission state be the OAM configuration data message do not transmitted; If exist, then perform step a4; If do not exist, then judge that the optical network unit configuration data recorded in this configuration record item completes, and report to data storage cell and carry out record, then perform step a8;
A4) from this configuration record item, extract the OAM configuration data message that in the current OAM configuration data message do not transmitted, configuration sequence is the most forward, sending object is specified to be the optical network unit recorded in this configuration record item, be encapsulated as a configuration data and send order, transfer to data transmission to line up, record the transmission time that this configuration data sends order, and in this configuration record item, the current transmission state of OAM configuration data message sending command transfer by configuration data is updated to and transmits, so far this time poll process of this configuration record item is terminated;
A5) the stand-by period whether time-out message corresponding to the OAM configuration data message of last transmission before this in this configuration record item being received to response is judged; If time-out, then the wait timeout number of times record of replying is received to the message in this configuration record item before this corresponding to last OAM configuration data message transmitted and add 1, then perform step a6; If not time-out, then so far this time poll process of this configuration record item is terminated;
A6) judge whether the wait timeout number of times message corresponding to the OAM configuration data message of last transmission before this in this configuration record item being received to response has reached presetting expired times upper limit K0; If reach, then the optical network unit configuration data failure judging to record in this configuration record item, and report to data storage cell and carry out record, then perform step a8; If do not reach, then perform step a7;
A7) from this configuration record item, again extract the OAM configuration data message of last transmission before this, sending object is specified to be the optical network unit recorded in this configuration record item, be encapsulated as a configuration data and send order, transfer to data transmission to line up, record the transmission time that this configuration data sends order, and the wait timeout number of times message corresponding to the OAM configuration data message to last transmission before this in this configuration record item being received response adds 1, so far terminates this time poll process of this configuration record item;
A8) this configuration record item is deleted from wait configured list, so far this time poll process of this configuration record item is terminated.
By above-mentioned handling process, can see, in optical network unit data configuration control method of the present invention, optical line terminal utilizes database storage unit for configuration data corresponding to each optical network unit in storage networking, when there being optical network unit to be registered by registration request, the registration management thread of optical line terminal carries out register and authentication process to it, and once there be the optical network unit of successful registration, the database download thread of optical line terminal just obtains the related configuration data of this optical network unit from database storage unit inquiry, and waiting for that in configured list, a newly-increased configuration record item records related configuration data and the transmission state situation of this optical network unit, meanwhile, database download thread travels through poll at interval of presetting polling cycle T0 and waits for each the configuration record item recorded in configured list, judged by the corresponding configuration data transmission scenarios of poll to the optical network unit being documented in each successful registration waited in configured list, each poll, capital each optical network unit to satisfied transmission Rule of judgment sends the OAM configuration data message that meets the sequence of respective data configuration respectively, and is sent to transmission is lined up by the form that configuration data sends order, and on the other hand, the data transmission line journey of optical line terminal sends the transmission of the configuration data in lining up order in real-time reading data and carries out parsing transmission, the data receiver thread of optical line terminal also receives response in real-time reception from the message that Optical Network Terminal returns and is back to database download thread, judges for the corresponding configuration data transmission scenarios of database download thread to the optical network unit of each successful registration.
Thus, Each performs its own functions for a memory cell of optical line terminal and four mission threads, just the data configuration operation of each optical network unit in network can be processed concurrently, and do not need to set up a configuration data download thread for optical network unit each in network, significantly decrease because of mission thread quantity too much taking OLT system task resource, ensure that the system handling property of optical line terminal equipment.On the other hand, for the optical network unit of each successful registration in network, as long as it is unobstructed to communicate with optical line terminal, the OAM configuration data message from data transmission line journey can be received smoothly, and returned packet receives response smoothly, then all can receive an OAM configuration data message at interval of a polling cycle T0, therefore the optical network unit of each successful registration, its optical network unit quantity do not lain in network totally consuming time of carrying out data configuration download is relevant, and it is only relevant with the OAM configuration data message amount comprised in configuration data corresponding to optical network unit, achieve the parallel deployment process to multiple optical network unit, and because each optical network unit corresponding OAM configuration data message amount is fixing, thus the long problem overall consuming time that the optical network unit avoided because registering in network simultaneously too much causes optical network unit data configuration to be downloaded, ensure that higher optical network unit data configuration execution efficiency.Also can see simultaneously, the configuration data control procedure of optical network unit data configuration control method of the present invention to each optical network unit have employed the configuration mode that OAM configuration data message successively sends, can be good at the expansion OAM configuration mode that compatibility " China Telecom's EPON equipment technical requirement " defines, therefore when practicing, configuration data without the need to changing the optical network unit in EPON again receives processing procedure, avoids the quantities because the system reform on a large scale causes and cost increase.
In addition, can also see, in optical network unit data configuration control method of the present invention, the database download thread of optical line terminal is traveling through in the process of poll wait configured list at interval of presetting polling cycle T0, the situation that corresponding message receives response is not yet received for having sent OAM configuration data message before this, database download thread can judge whether the corresponding message of wait-receiving mode receives response corresponding overtime further, and judge the expired times upper limit K0 whether expired times have reached presetting, when time-out but when not reaching expired times upper limit K0, database download thread can start retransmission mechanism, again OAM configuration data message of last transmission before this being encapsulated as again a new configuration data sends a command to during data send and line up, again resolved by data transmission line journey and send to corresponding Optical Network Terminal, until after retransmitting K0 time (namely the corresponding message of wait-receiving mode receives the wait timeout number of times of replying and reaches expired times upper limit K0 time), then judge the optical network unit configuration data failure of recording in this configuration record item, report to data storage cell and carry out record, and this configuration record item is deleted from wait configured list, avoid unrestrictedly repeatedly sending configuration data to the Optical Network Terminal of configuration failure.Optical network unit data configuration control method of the present invention is by such retransmission mechanism, better ensure that the data configuration reliability of each optical line terminal in network on the one hand, the Optical Network Terminal that it also avoid configuration failure on the other hand takies the data configuration process resource of optical line terminal for a long time, make optical line terminal equipment better can carry out reasonable distribution to its system processing resources, ensure optical network unit data configuration execution efficiency.
In embody rule implementation process, the real data allocative abilities of optical network unit data configuration control method of the present invention, determined by presetting polling cycle T0, the duration of polling cycle T0 is shorter, then database download thread periodically traversal poll wait for that the frequency of configured list is higher, thus it is higher to carry out the process frequency of data configuration to the optical network unit of each successful registration; Polling cycle T0 is preferably set to 100ms, because in the expansion OAM configuration mode that " China Telecom's EPON equipment technical requirement " defines, use slow protocol mode, according to this required standard, slow agreement allows at most transmission 10 Ethernet messages each second, in order to avoid impact normal Ethernet service, therefore polling cycle T0 is set to 100ms is the setting means that poll periodic quantity is minimum, data configuration is most effective under the prerequisite of satisfied " China Telecom's EPON equipment technical requirement " standard; Certainly, during according to application implementation, also according to practical situations, polling cycle T0 can be set to the value larger than 100ms, although data configuration efficiency can be relatively low, as long as meet the demand to optical network unit data configuration ability in actual EPON.And for retransmission mechanism, in order to ensure to retransmit effect preferably, the Optical Network Terminal of configuration failure is avoided again to take time of the data configuration process resource of optical line terminal oversize, according to the disposal ability of optical network unit, the judgment standard of time-out can be set between 1 ~ 10s, and expired times upper limit K0 can be set as 1 ~ 5 time.
Present invention also offers the improvement project to optical network unit data configuration control method.
As improvement project on the one hand, optical line terminal is except performing above-mentioned data configuration control treatment, the registration management thread of optical line terminal also real-time reception from the de-registration request of optical network unit, complete the cancellation process to optical network unit, by the optical network unit message notice of cancellation to database download thread; Meanwhile, the database download thread of optical line terminal is whenever receiving the optical network unit message notice of cancellation, then the configuration record item that the optical network unit nullified is corresponding is deleted from wait configured list.Like this, make optical line terminal also possess cancellation controlling functions to optical network unit data configuration simultaneously, make occur data configuration make mistakes or other fortuitous event time, optical network unit can stop data configuration procedure by de-registration request, after fortuitous event is got rid of, then restart data configuration process by registration request.
As improvement project on the other hand, in optical network unit data configuration control method of the present invention, the database download thread of optical line terminal is traveling through in the process of poll wait configured list at interval of presetting polling cycle T0, if continuous N time poll finds to wait in configured list do not record configuration record item, then stop reciprocity list poll to be configured, until when again receiving the optical network unit message notice of successful registration, again start and travel through at interval of presetting polling cycle T0 the operation that poll waits for configured list.Like this, when each optical network unit of successful registration all completes data configuration, or network is except the optical network unit being successfully completed data configuration, when the equal configuration failure of other optical network unit or cancellation, optical network unit is not now had to need to carry out data configuration, wait in configured list and do not record any configuration record item, then the database download thread of optical line terminal is after continuous N time poll finds do not have optical network unit to need to carry out data configuration, just resting state is entered, stop reciprocity list poll to be configured, reduce the consumption to optical line terminal equipment system processing resources, when having again new Optical Network Terminal by application for registration request log-on data configuration process, when making database download thread again receive the optical network unit message notice of successful registration, just again start and travel through at interval of presetting polling cycle T0 the operation that poll waits for configured list, recover normal data configuration control treatment.
What finally illustrate is, above embodiment is only in order to illustrate technical scheme of the present invention and unrestricted, although with reference to preferred embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that, can modify to technical scheme of the present invention or equivalent replacement, and not departing from aim and the scope of technical solution of the present invention, it all should be encompassed in the middle of right of the present invention.

Claims (6)

1. an optical network unit data configuration control method, for carrying out data configuration control to the optical network unit in EPON, it is characterized in that, perform control by the optical line terminal being provided with database storage unit, registration management thread, database download thread, data transmission line journey and data receiver thread; Wherein:
Database storage unit is used for the configuration data that in storage networking, each optical network unit is corresponding, and records the configuration data performance of each optical network unit in network; The configuration data that each optical network unit is corresponding comprises several OAM configuration data messages;
Registration management thread real-time reception, from the registration request of optical network unit, completes the register and authentication process to optical network unit, by the optical network unit message notice of successful registration to database download thread;
Database download thread is whenever receiving the optical network unit message notice of successful registration, each OAM configuration data message comprised from the configuration data that the optical network unit of this successful registration of database storage unit inquiry acquisition is corresponding, each OAM configuration data message and transmission state that the optical network unit that a newly-increased configuration record item records this successful registration in wait configured list is corresponding; And database download thread travels through each the configuration record item recorded in poll wait configured list at interval of presetting polling cycle T0, wherein, the step of each configuration record item being carried out to a poll process is as follows:
A1) transmission state of each OAM configuration data message corresponding to the optical network unit of successful registration in this configuration record item is inquired about; If the transmission state of each OAM configuration data message current is and does not transmit in this configuration record item, then directly perform step a4; Otherwise, perform step a2;
A2) judge to show whether the message reception response that the OAM configuration data message of last transmission before this in this configuration record item has been successfully received receives; If receive, then perform step a3; If do not receive, perform step a5;
A3) judge that current in this configuration record item whether also to there is transmission state be the OAM configuration data message do not transmitted; If exist, then perform step a4; If do not exist, then judge that the optical network unit configuration data recorded in this configuration record item completes, and report to data storage cell and carry out record, then perform step a8;
A4) from this configuration record item, extract the OAM configuration data message that in the current OAM configuration data message do not transmitted, configuration sequence is the most forward, sending object is specified to be the optical network unit recorded in this configuration record item, be encapsulated as a configuration data and send order, transfer to data transmission to line up, record the transmission time that this configuration data sends order, and in this configuration record item, the current transmission state of OAM configuration data message sending command transfer by configuration data is updated to and transmits, so far this time poll process of this configuration record item is terminated;
A5) the stand-by period whether time-out message corresponding to the OAM configuration data message of last transmission before this in this configuration record item being received to response is judged; If time-out, then the wait timeout number of times record of replying is received to the message in this configuration record item before this corresponding to last OAM configuration data message transmitted and add 1, then perform step a6; If not time-out, then so far this time poll process of this configuration record item is terminated;
A6) judge whether the wait timeout number of times message corresponding to the OAM configuration data message of last transmission before this in this configuration record item being received to response has reached presetting expired times upper limit K0; If reach, then the optical network unit configuration data failure judging to record in this configuration record item, and report to data storage cell and carry out record, then perform step a8; If do not reach, then perform step a7;
A7) from this configuration record item, again extract the OAM configuration data message of last transmission before this, sending object is specified to be the optical network unit recorded in this configuration record item, be encapsulated as a configuration data and send order, transfer to data transmission to line up, record the transmission time that this configuration data sends order, and the wait timeout number of times message corresponding to the OAM configuration data message to last transmission before this in this configuration record item being received response adds 1, so far terminates this time poll process of this configuration record item;
A8) this configuration record item is deleted from wait configured list, so far this time poll process of this configuration record item is terminated;
Data transmission line journey reading data in real-time sends the configuration data in lining up and sends order, parsing obtains the OAM configuration data message comprised in configuration data transmission order and is also sent to its appointment sending object in real time, sends reception corresponding to corresponding OAM configuration data message simultaneously reply receipt request to described appointment sending object;
Data receiver thread real-time reception Optical Network Terminal receipt in order to show that the message that OAM configuration data message has been successfully received receives response, and in real time the message received is received response and is back to database download thread.
2. optical network unit data configuration control method according to claim 1, it is characterized in that, described registration management thread also real-time reception from the de-registration request of optical network unit, complete the cancellation process to optical network unit, by the optical network unit message notice of cancellation to database download thread;
Configuration record item corresponding for the optical network unit of cancellation, whenever receiving the optical network unit message notice of cancellation, is deleted by described database download thread from wait configured list.
3. optical network unit data configuration control method according to claim 1, it is characterized in that, described database download thread is traveling through in the process of poll wait configured list at interval of presetting polling cycle T0, if continuous N time poll finds to wait in configured list do not record configuration record item, then stop reciprocity list poll to be configured, until when again receiving the optical network unit message notice of successful registration, again start and travel through at interval of presetting polling cycle T0 the operation that poll waits for configured list.
4. optical network unit data configuration control method according to claim 1, is characterized in that, described presetting polling cycle T0 is 100ms.
5. optical network unit data configuration control method according to claim 1, is characterized in that, the span of the judgment standard of described time-out is 1 ~ 10s.
6. optical network unit data configuration control method according to claim 1 or 5, it is characterized in that, the span of described presetting expired times upper limit K0 is 1 ~ 5 time.
CN201310510190.7A 2013-10-25 2013-10-25 A kind of optical network unit data configuration control method Active CN103517164B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310510190.7A CN103517164B (en) 2013-10-25 2013-10-25 A kind of optical network unit data configuration control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310510190.7A CN103517164B (en) 2013-10-25 2013-10-25 A kind of optical network unit data configuration control method

Publications (2)

Publication Number Publication Date
CN103517164A CN103517164A (en) 2014-01-15
CN103517164B true CN103517164B (en) 2016-03-09

Family

ID=49899064

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310510190.7A Active CN103517164B (en) 2013-10-25 2013-10-25 A kind of optical network unit data configuration control method

Country Status (1)

Country Link
CN (1) CN103517164B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104010235B (en) * 2014-06-17 2018-01-05 成都广达新网科技股份有限公司 A kind of OAM clients control information exchange method
CN104363125A (en) * 2014-11-27 2015-02-18 上海斐讯数据通信技术有限公司 Method and device for configuring optical network system and optical network system
CN105610601B (en) * 2015-09-24 2018-10-09 烽火通信科技股份有限公司 The configuring management method and system of parallel OAM in a kind of EPON system
CN105162634B (en) * 2015-09-24 2018-05-15 成都广达新网科技股份有限公司 The processing method of OAM protocol packages is received and dispatched in same thread
CN105915596A (en) * 2016-04-12 2016-08-31 上海斐讯数据通信技术有限公司 Optical network unit information acquiring method and optical network unit information acquiring system
CN114509986B (en) * 2022-01-20 2024-04-05 武汉朗宇智能科技有限公司 Cross-platform HMI configuration system and method based on xml file

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857838A (en) * 2012-06-29 2013-01-02 广东东研网络科技有限公司 Reconfiguration processing method for OLT (optical line terminal) end to ONU (optical network unit) end parameter configuration failure
CN102970071A (en) * 2012-12-14 2013-03-13 武汉烽火网络有限责任公司 Method and system for quickly recovering service after poweroff restart of 10G Ethernet passive optical network (EPON) system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009194524A (en) * 2008-02-13 2009-08-27 Oki Electric Ind Co Ltd Passive optical network communicating system
US8326152B2 (en) * 2010-04-15 2012-12-04 Alcatel Lucent System and method for scheduling timeslots for transmission by optical nodes in an optical network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857838A (en) * 2012-06-29 2013-01-02 广东东研网络科技有限公司 Reconfiguration processing method for OLT (optical line terminal) end to ONU (optical network unit) end parameter configuration failure
CN102970071A (en) * 2012-12-14 2013-03-13 武汉烽火网络有限责任公司 Method and system for quickly recovering service after poweroff restart of 10G Ethernet passive optical network (EPON) system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"EPON系统中ONU的自动加入";左晓波,陈雪,邓羽,等;《光通信研究》;20031231;全文 *
"基于NGPON系统的ONU配置管理技术";肖青,黄婷熙;《电视技术》;20121231;全文 *

Also Published As

Publication number Publication date
CN103517164A (en) 2014-01-15

Similar Documents

Publication Publication Date Title
CN103517164B (en) A kind of optical network unit data configuration control method
CN100471135C (en) Device, system and method for realizing business distribution and synchronization
CN101656668B (en) Method and device for using core based nodes for state transfer
CN102870393B (en) Communications method for optical communications system, optical communications system, secondary station device, control device and program
CN104679528B (en) The newer method and apparatus of application program remote
CN110086652B (en) Management system and method for service network element in 5G core network
JP2011530909A (en) Method and system for physically multiple use of a single identifier code shared by a group of terminals in a mobile communication network
CN101729948A (en) Remote upgrading method and system
CN102088326B (en) Time sharing multiplex method and device
JP4534708B2 (en) Dynamic logical link establishment method and user-side optical termination device in PON system
KR20120090456A (en) System and method for providing profile of terminal in communication system
CN103108262A (en) Method for upgrading configuration file of optical network unit in GPON system
CN102883234B (en) A kind of optical network unit (ONU) registration method in Ethernet passive optical network and device
WO2012111200A1 (en) Optical line terminal, control method, and method for controlling pon system
CN101127598A (en) A method and system for 802.1x authentication in passive optical network
CN103812707B (en) A kind of method for processing forwarding of line identification message
CN110213359A (en) A kind of car networking networking data delivery system and method based on D2D
CN100446490C (en) Method and apparatus for enabling access in a wlan environment
JP2010252176A (en) Communication system, communication method, and communication device
CN106412834A (en) Television white-spectrum wideband communication system based on WiFi chip, and communication method thereof
CN102946559B (en) The upgrade method of a kind of digital TV terminal, terminal, server and system thereof
CN105282235B (en) A method of solution RPC upgrades unstable in double-PON port ONU
CN102044912B (en) Method for concurrently surveying terminal time in batch
CN109479023A (en) Link control circuitry
JP7449521B2 (en) Wireless device communication method, wireless device and computer readable storage medium

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
CP03 Change of name, title or address

Address after: 401120 No.1, 6th floor, building 7, No.106, west section of Jinkai Avenue, Yubei District, Chongqing

Patentee after: Chongqing aoputai Communication Technology Co.,Ltd.

Address before: 401121 2 / F, building A3, development area, No. 18, Qingfeng North Road, new North District, Chongqing (2 / F, Fenghuang a)

Patentee before: HUTCHISON OPTEL TELECOM TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address