Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of method and OLT that optimizes optical network system and restart the time of recovery, while being used for solving prior art optical network system power-off restarting, OLT can spend the plenty of time and issue ONU and be configured to ONU, thereby reduces the problem of running efficiency of system.
For achieving the above object and other relevant objects, the invention provides a kind of optical network system and restart restoration methods, be applied in the optical network system of the multiple ONU that managed by least one OLT, described OLT comprises multiple PON chips and issues the ONU configuration module of ONU task to each this PON chip, said method comprising the steps of: while carrying out system initialization under the pattern of restarting at system power failure, make the static establishment of described ONU configuration module one ONU allocation list initialization; Obtain the configuration information of ONU according to the type of authorizing ONU, and be recorded in described ONU allocation list, the configuration information of each described ONU is shown as an ONU configuration item in described ONU allocation list; Each respective flag position that will be issued to the ONU configuration item of ONU in described ONU allocation list is labeled as to the first state; Start described ONU configuration module and issue an ONU task to each described PON chip respectively; Wherein, described ONU task is that the described ONU under all PON mouths of the described PON chip corresponding according to described ONU configuration item searching loop authorizes and online described ONU to hunt out, and in the time that the flag bit of described ONU configuration item that described mandate and online ONU detected is the first state, issue corresponding described ONU configuration information to this ONU, and flag bit corresponding its ONU configuration item is made as to the second state.
Preferably, described in initialization when ONU allocation list, give standard initial value according to the CTC of China Telecom standard by the described ONU configuration item in described ONU allocation list.
Preferably, described ONU configuration information comprises port classification and the quantity that described ONU supports; The described port classification that described ONU supports is Ethernet interface or VOIP.
Preferably, the first state of described flag bit is that flag bit is 1, and the second state of described flag bit is that flag bit is 0.
The present invention also provides a kind of OLT, and for multiple ONU of managing network system, described OLT comprises: multiple PON chips, and respectively this PON chip configuration has multiple PON mouths, and each PON mouth at least connects a described ONU; ONU configuration module, when carrying out system initialization under the pattern of restarting at system power failure, ONU allocation list described in static establishment one ONU allocation list initialization, and obtain the configuration information of ONU according to the type of authorizing ONU, and be recorded in described ONU allocation list, the configuration information of each described ONU is shown as an ONU configuration item in described ONU allocation list; Mark module, for by described ONU allocation list, each respective flag position that will be issued to the described ONU configuration item of described ONU is labeled as the first state; And authorize and issue corresponding described ONU configuration information to this ONU when the flag bit of the described ONU configuration item of online described ONU is the first state detecting, and flag bit corresponding its ONU configuration item is made as to the second state; Described ONU configuration module is also in order to issue an ONU task to each described PON chip respectively; To be ONU under all PON mouths of the PON chip corresponding according to described ONU configuration item searching loop authorize and online ONU offers described mark module to hunt out described ONU task.
Preferably, described in the initialization of described ONU configuration module when ONU allocation list, give standard initial value according to the CTC of China Telecom standard by the described ONU configuration item in described ONU allocation list.
Preferably, described ONU configuration information comprises port classification and the quantity that described ONU supports, the described port classification that described ONU supports is Ethernet interface or VOIP.
Preferably, the first state of described flag bit is that flag bit is 1, and the second state of described flag bit is for being masked as 0.
As mentioned above, a kind of optical network system provided by the invention is restarted restoration methods and OLT, by the static ONU allocation list that creates when the system initialization, avoid dynamic creation ONU allocation list in the time that each ONU authorizes, and after authorizing, delete the time waste that ONU allocation list produces, and the PON chip in OLT issues parallel ONU task, further improves running efficiency of system.
Embodiment
By particular specific embodiment explanation embodiments of the present invention, person skilled in the art scholar can understand other advantages of the present invention and effect easily by the disclosed content of this specification below.
Refer to Fig. 1 to Fig. 5.Notice, appended graphic the illustrated structure of this specification, ratio, size etc., all contents in order to coordinate specification to disclose only, understand and read for person skilled in the art scholar, not in order to limit the enforceable qualifications of the present invention, therefore the not technical essential meaning of tool, the adjustment of the modification of any structure, the change of proportionate relationship or size, not affecting under effect that the present invention can produce and the object that can reach, all should still drop on disclosed technology contents and obtain in the scope that can contain.Simultaneously, in this specification, quote as " on ", the term of D score, " left side ", " right side ", " centre " and " " etc., also only for ease of understanding of narrating, but not in order to limit the enforceable scope of the present invention, the change of its relativeness or adjustment, changing under technology contents, when being also considered as the enforceable category of the present invention without essence.
In network transmission process, it is very extensive that optical network system is applied, and optical network system at least comprises that optical line terminal is OLT (Optical Line Terminal), for connecting the terminal equipment of fiber optic backbone; Optical network unit is ONU (Optical Network Unit).The pass of OLT and ONU is master-slave communication relation, and an OLT can manage multiple ONU, and sends Ethernet data with broadcast mode to ONU, and OLT can be issued to ONU by ONU configuration information.In the time of optical network system power-off restarting, OLT has a large amount of ONU configuration information recoveries and ONU configuration information is issued to ONU, and there is larger impact the time of this process on entire system operational efficiency.
Refer to Fig. 1, be shown as ONU configuration information in prior art and issue the flow chart of ONU allocation list, refer to Fig. 2, be shown as in prior art ONU configuration information in ONU allocation list and be issued to the flow chart of ONU, when the optical network system power-off restarting of the prior art showing in Fig. 1 and Fig. 2, first recover the authorization message of described ONU, dynamic creation ONU allocation list in the time that described ONU authorizes, and after mandate, this ONU allocation list is deleted, issue corresponding ONU task to described ONU, and the described ONU task issuing to described ONU is serial operation, travel through ONU configuration item, all mandates and online ONU below circulation searching PON mouth, in the time detecting that in ONU allocation list, ONU mark position is 1, issue ONU configuration information to described ONU, a rear configuration item need to wait for that 8 tick just can issue, under distribute all configurations that issue again ONU described in another described in first after all configurations of ONU, and under distribute after the configuration information of all described ONU under a PON mouth, issue the described ONU configuration information under next described PON mouth, described ONU task serial operation.So prior art exists a large amount of described ONU configuration restores and configuration distributing to arrive the time of described ONU in the time of described OLT power-off restarting, this can reduce the efficiency in system running greatly, in order to address this problem, to the present invention proposes a kind of optical network system and restart restoration methods and described OLT.
Refer to Fig. 3, be shown as a kind of optical network system of the present invention and restart restoration methods flow chart in a preferred embodiment.Be applied in the optical network system of the multiple ONU that managed by least one OLT, described optical network system is passive optical network or active optical network system, described OLT comprises multiple PON chips and issues the ONU configuration module of ONU task to each this PON chip, specifically comprises the following steps:
S31: while carrying out system initialization under the pattern of restarting at system power failure, make the static establishment of described ONU configuration module one ONU allocation list initialization;
In concrete enforcement, for example, give standard initial value according to the CTC of China Telecom standard by the described ONU configuration item in described ONU allocation list.In the time that each optical network system power-down rebooting need to recover the configuration information in described ONU, only need ONU allocation list described in initialization, need to be in the time that described ONU authorize dynamic creation ONU allocation list and after mandate, this ONU allocation list being deleted, can save a large amount of time, the operational efficiency of optimization system.
S32: obtain the configuration information of ONU according to the type of authorizing ONU, and be recorded in described ONU allocation list, the configuration information of each described ONU is shown as an ONU configuration item in described ONU allocation list;
In concrete enforcement, described ONU configuration information comprises port classification and the quantity etc. that described ONU supports, the described port classification that described ONU supports is Ethernet interface or VOIP etc.VOIP (Voice over Internet Protocol, voice-over-net telephone service) can, by analog signal (Voice) digitlization, in IP network (IP Network), do real-time transmission with the form of data packet (Data Packet).The advantage of VOIP maximum is the environment that can adopt widely Internet and global ip interconnection, and, better service more than traditional business is provided.VOIP can be cheap in IP network the business such as transmission voice, fax, video and data, as storage forwarding of unified message business, virtual telephony, virtual speech/fax mailbox, directory enquiry service, Internet call center, Internet call manager, phone video conference, ecommerce, fax storage forwarding and various information etc.
S33: each respective flag position that will be issued to the described ONU configuration item of described ONU in described ONU allocation list is labeled as to the first state;
In concrete enforcement, for example, when the described ONU configuration item in definite described ONU allocation list will be issued to ONU, putting the flag bit that described ONU configuration item is corresponding is described the first state, and it is 1 that described flag bit under described the first state is set.
S34: start described ONU configuration module and issue an ONU task to each described PON chip respectively; Wherein, described ONU task is that the described ONU under all PON mouths of the described PON chip corresponding according to described ONU configuration item searching loop authorizes and online described ONU to hunt out, and in the time that the flag bit of described ONU configuration item that described mandate and online ONU detected is the first state, issue corresponding described ONU configuration information to this ONU, and flag bit corresponding its ONU configuration item is made as to the second state.
In concrete enforcement, the ONU task that described ONU configuration module issues to each described PON chip is parallel running, and the quantity of the described ONU task issuing is identical with the quantity of the described PON chip comprising in described OLT, in the time that the quantity of described PON chip is 4, described ONU configuration module issues 4 described ONU tasks, and the described ONU that described ONU task is specially under all described PON mouth of the described PON chip corresponding according to described ONU configuration item searching loop authorizes and online described ONU to hunt out, and in the time that the flag bit of described ONU configuration item that described mandate and online ONU detected is the first state, it is for example 1 o'clock, issue corresponding described ONU configuration information to this ONU, after described ONU configuration information has issued, flag bit corresponding its ONU configuration item is made as to the second state, be for example 0.
Refer to Fig. 4, be shown as a kind of OLT of the present invention module diagram in a preferred embodiment.Described OLT1, for multiple ONU2 of managing network system, at least comprises: multiple PON chips 13, ONU configuration module 12 and mark module 11.The quantity of described PON chip adopts 2 or 4 mostly, in the present embodiment, and 4 of described PON chip selections.
Each this PON chip 13 disposes multiple PON mouths, and described in each, PON mouth at least connects a described ONU2.
Described ONU configuration module 12 is when carrying out system initialization under the pattern of restarting at system power failure, ONU allocation list described in static establishment one ONU allocation list initialization, and obtain the configuration information of described ONU2 according to the type of authorizing ONU2, and be recorded in described ONU allocation list, the configuration information of each described ONU is shown as an ONU configuration item in described ONU allocation list.
In concrete enforcement, described in static state creates described ONU allocation list initialization when ONU allocation list, described ONU configuration module 12 is for example given standard initial value according to the CTC of China Telecom standard by the described ONU configuration item in described ONU allocation list; Described ONU configuration information comprises port classification and the quantity etc. that described ONU supports, the described port classification that described ONU supports is Ethernet interface or VOIP etc.VOIP can, by analog signal (Voice) digitlization, do real-time transmission with the form of data packet (Data Packet) in IP network (IP Network).The advantage of VoIP maximum is the environment that can adopt widely Internet and global ip interconnection, and, better service more than traditional business is provided.VoIP can be cheap in IP network the business such as transmission voice, fax, video and data, as storage forwarding of unified message business, virtual telephony, virtual speech/fax mailbox, directory enquiry service, Internet call center, Internet call manager, phone video conference, ecommerce, fax storage forwarding and various information etc.
Described mark module 11 is for by described ONU allocation list, each respective flag position that will be issued to the described ONU configuration item of described ONU is labeled as the first state; In concrete enforcement, for example, when the described ONU configuration item in definite described ONU allocation list will be issued to ONU, putting the flag bit that described ONU configuration item is corresponding is described the first state, and it is 1 that described flag bit under described the first state is set.
Described ONU configuration module 12 is also in order to issue an ONU task to each described PON chip respectively; Wherein, described ONU task is that described ONU configuration module 12 is authorized and online described ONU to hunt out according to the described ONU under all PON mouths of described PON chip 13 corresponding to described ONU configuration item searching loop, and in the time that the flag bit of described ONU configuration item that described mandate and online ONU detected is the first state, issue corresponding described ONU configuration information to this ONU, and flag bit corresponding its ONU configuration item is made as to the second state.
In concrete enforcement, the ONU task that described ONU configuration module 12 issues to each described PON chip is parallel running, and the quantity of the described ONU task issuing is identical with the quantity of the described PON chip 13 comprising in described OLT, in the time that the quantity of PON chip 13 is 4, described ONU configuration module 12 issues 4 ONU tasks, and the described ONU that described ONU task is specially under all PON mouths of the described PON chip 13 corresponding according to described ONU configuration item searching loop authorizes and online described ONU to hunt out, and in the time that the flag bit of described ONU configuration item that described mandate and online ONU detected is the first state, it is for example 1 o'clock, issue corresponding described ONU configuration information to this ONU, after described ONU configuration information has issued, flag bit corresponding its ONU configuration item is made as the second state by described mark module 11, be for example 0.
Refer to Fig. 5, be shown as application a kind of optical network system of the present invention and restart the passive optical network of restoration methods and OLT mono-preferred embodiment.Passive optical network A is a kind of prefect dielectric network, avoid electromagnetic interference and the effects of lightning of external equipment and reduced the failure rate of circuit and external equipment, in various broadband access technologys, the advantages such as passive optical network A is large with its capacity, transmission range length, lower cost, full-service support become hot technology.
In described passive optical network A, topmost three parts comprise at the OLT1 of local side, at the ONU2 of user terminal and (the Optical Distribution Network of the ODN between described OLT1 and described ONU2, Optical Distribution Network) 3, described ODN3 is for providing transmission line between described OLT1 and described ONU2.Because described ODN3 is all made up of passive devices such as optical branching devices, do not contain any electronic device and power supply, so claim that the optical network system of its composition is EPON.
Described OLT1 comprises described mark module 11 as shown in Figure 4, described ONU configuration module 12, and 4 described PON chips 13, each this PON chip 13 disposes multiple PON mouths, described in each, PON mouth at least connects a described ONU2, in the time of described EPON power-down rebooting, the configuration information of all ONU can again recover and re-issue to described ONU2, be specially carry out system initialization under the pattern of described optical network system A power-down rebooting time, described ONU2 configuration module 12 is static to be created ONU allocation list described in ONU allocation list described in one initialization and obtains the configuration information of described ONU2 according to the type of authorizing ONU2, and be recorded in described ONU allocation list, the configuration information of each described ONU is shown as an ONU configuration item in described ONU allocation list.In the present embodiment, described in static state creates described ONU allocation list initialization when ONU allocation list, described ONU configuration module 12 is for example given standard initial value according to the CTC of China Telecom standard by the described ONU configuration item in described ONU allocation list; Described ONU configuration information comprises port classification and the quantity etc. that described ONU supports, the described port classification that described ONU supports is Ethernet interface or VOIP etc.VOIP is voice-over-net telephone service, can, by analog signal (Voice) digitlization, do real-time transmission with the form of data packet (Data Packet) in IP network (IP Network).The advantage of VoIP maximum is the environment that can adopt widely Internet and global ip interconnection, and, better service more than traditional business is provided.VoIP can be cheap in IP network the business such as transmission voice, fax, video and data, as storage forwarding of unified message business, virtual telephony, virtual speech/fax mailbox, directory enquiry service, Internet call center, Internet call manager, phone video conference, ecommerce, fax storage forwarding and various information etc.Mark module 11 is for by described ONU allocation list, each respective flag position that will be issued to the described ONU configuration item of described ONU2 is labeled as 1; For example, when the ONU configuration item in definite described ONU allocation list will be issued to described ONU2, putting the flag bit that described ONU configuration item is corresponding is 1.Described ONU configuration module 12 is also in order to issue an ONU task to each described PON chip respectively; Wherein, described ONU task is that described ONU configuration module 12 is authorized and online described ONU2 to hunt out according to the described ONU2 under all described PON mouth of described PON chip 13 corresponding to described ONU configuration item searching loop, and be 1 at the flag bit of the described ONU configuration item that described mandate and online ONU2 detected, issue corresponding described ONU configuration information to this ONU, and flag bit corresponding its ONU configuration item is made as to 0.The ONU task that described ONU configuration module 12 issues to each described PON chip is parallel running, and the quantity of the described ONU task issuing is identical with the quantity of the described PON chip 13 comprising in described OLT, in the time that the quantity of described PON chip 13 is 4, described ONU configuration module 12 issues 4 described ONU tasks, and the described ONU2 that described ONU task is specially under all PON mouths of the described PON chip 13 corresponding according to described ONU configuration item searching loop authorizes and online described ONU2 to hunt out, and it is 1 o'clock at the flag bit of the described ONU configuration item that described mandate and online ONU2 detected, issue corresponding described ONU configuration information to this ONU, after described ONU configuration information has issued, described mark module 11 is made as 0 by flag bit corresponding its ONU configuration item.
In sum, a kind of optical network system provided by the invention is restarted restoration methods and OLT, by the static ONU allocation list that creates when the system initialization, avoid dynamic creation ONU allocation list in the time that each ONU authorizes, and after authorizing, delete the time waste that ONU allocation list produces, and the PON chip in OLT issues parallel ONU task, further improves running efficiency of system.So the present invention has effectively overcome various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all can, under spirit of the present invention and category, modify or change above-described embodiment.Therefore, such as in affiliated technical field, have and conventionally know that the knowledgeable, not departing from all equivalence modifications that complete under disclosed spirit and technological thought or changing, must be contained by claim of the present invention.