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 SiteServer LBS based on optical-fiber network and method, for solving in prior art under same Optical Network Terminal, and the problem of optical network unit assignment of traffic.
For achieving the above object and other relevant objects, the invention provides a kind of SiteServer LBS based on optical-fiber network, be applicable to manage optical network unit, described SiteServer LBS comprises: Optical Network Terminal, described optical network unit information is preserved for registering, monitor the flow information of described optical network unit and analyze, sending the control command to described optical network unit according to analysis result; Optical fiber transponder, is connected to described Optical Network Terminal and described optical network unit, for receiving the described control command that described Optical Network Terminal sends, and carries out management and control according to described control command to described optical network unit.
In one embodiment of the invention, described Optical Network Terminal comprises: PON mouth, communicates for described Optical Network Terminal being connected with described optical fiber transponder; Registering modules, is connected to PON mouth, for registering the described optical network unit being connected to described PON mouth by described optical fiber transponder, and preserves the optical network unit information of described optical network unit; Information collection module, is connected to described PON mouth, for monitoring and obtaining the flow information flowing through described PON mouth; Processing module, be connected to described information collection module and described Registering modules, the described optical network unit information of preserving for the described flow information that obtained by described information collection module and described Registering modules is analyzed, and sends control command according to analysis result; Optical fiber control module, is connected to described processing module, is sent to described optical fiber transponder for converting the described control command received to control command.
In one embodiment of the invention, described Optical Network Terminal at least comprises two PON mouths.
In one embodiment of the invention, described processing module comprises: process flow block, for judging when described in one of them, the flow of PON mouth is greater than the flow of PON mouth described in other, and the flow of described PON mouth is greater than preset flow, then sends and control described optical network unit that the equilibrium of described optical fiber transponder is registered in described large discharge PON mouth to other PON mouths and re-start the described control command that registration preserves; Log-on message processing unit, for judging when the described optical network unit number of PON mouth registration described in one of them is greater than the described optical network unit number of PON mouth registration described in other, then send the described optical network unit controlling the many described PON mouths of the balanced number-of-registration of described optical fiber transponder and carry out to the described PON mouth that number-of-registration is few the described control command re-registering preservation; The result that described processing module preferentially judges according to process flow block sends the control command to optical fiber transponder.
In one embodiment of the invention, described optical fiber transponder comprises: receiver module, and the described control command for described Optical Network Terminal being sent carries out resolving to administration order information; Redirect Registering modules, is connected to described receiver module, for carrying out registration preservation according to described administration order information by needing balanced described optical network unit to reconnect to new described PON mouth module.
Present invention also offers a kind of load-balancing method based on optical-fiber network, comprising: step S1, reception preserve the optical network unit information of to be carried out the optical network unit registered by PON mouth; Step S2, monitoring obtain the flow information of described PON mouth; Step S3, the described optical network unit information of the described flow information of described PON mouth and the correspondence of preservation is analyzed and sent control command; Step S4, re-register preservation according to described control command to needing to carry out balanced described optical network unit.
In one embodiment of the invention, the described optical network unit information of described step S3 to the described flow information of described PON mouth and the correspondence of preservation is analyzed and sends control command, comprise: whether S311, comparative analysis exist the described PON mouth that flow is greater than the flow of PON mouth described in other, are perform step S312; S312, judge whether the flow of described PON mouth is greater than preset flow, is perform step S313; S313, transmission control command carry out management and control to optical network unit.
In one embodiment of the invention, the described optical network unit information of described step S3 to the described flow information of described PON mouth and the correspondence of preservation is analyzed and sends control command, comprise: the optical network unit number whether S321, comparative analysis exist registration is greater than the described PON mouth of the optical network unit number of PON mouth registration described in other, is perform step S322; S322, transmission control command control optical network unit.
In one embodiment of the invention, described control command is: control the equilibrium of described optical fiber transponder and be registered in the described optical network unit of described large discharge PON mouth to other PON mouths, and re-start registration preservation.
In one embodiment of the invention, described control command is: the described optical network unit controlling the many described PON mouths of the balanced number-of-registration of described optical fiber transponder carries out re-registering preservation to the described PON mouth that number-of-registration is few.
As mentioned above, the SiteServer LBS based on optical-fiber network that the application of the invention provides and method, can by judging flow, also can by judging the optical network unit number being registered in PON mouth, optical network unit is realized to be registered in the PON mouth of Optical Network Terminal flexibly, thus make the PON mouth of Optical Network Terminal in optical network environment reach load balancing, meanwhile, the useful life indirectly extending Optical Network Terminal product improves the Experience Degree of user.
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this specification can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this specification also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.It should be noted that, when not conflicting, the feature in following examples and embodiment can combine mutually.
It should be noted that, the diagram provided in following examples only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
Under the prior art, Optical Network Terminal (OLT) is all that reserved 255 optical network units (ONU) register number below same pon mouth, when optical network unit (ONU) is reached the standard grade, can only register under a pon mouth, the optical network unit (ONU) under the pon mouth had will be caused so many, under some pon mouths, optical network unit (ONU) is few, downlink traffic due to a pon mouth is limited, thus also cause under consolidated network environment, there is assignment problem to a certain extent in the flow between the different optical network units (ONU) under different PON mouth.The invention provides a kind of SiteServer LBS based on optical-fiber network and method, for solving in prior art under same Optical Network Terminal, the problem of optical network unit assignment of traffic.
Referring to Fig. 1, for the invention provides a kind of SiteServer LBS based on optical-fiber network, for carrying out management and control to optical network unit, comprising:
Optical Network Terminal 1, optical fiber transponder 2 and optical network unit cluster 3, wherein, Optical Network Terminal 1 is connected with optical network unit cluster 3 by optical fiber transponder 2.
Described Optical Network Terminal 1 preserves described optical network unit 3 information by registration, monitors and analyze the flow information of described optical network unit, sends control command to optical fiber transponder 2 according to analysis result; Optical fiber transponder 2, after the described control command receiving the transmission of described Optical Network Terminal 1, carries out management and control according to described control command to described optical network unit.
Wherein, described Optical Network Terminal 1 comprises, PON mouth A11, PON mouth B12, Registering modules 13, information collection module 14, processing module 15 and optical fiber control module 16, wherein PON mouth A11 is connected with Registering modules 13, information collection module 14 respectively with PON mouth B12, and processing module 15 is connected with information collection module 14, Registering modules 13 and optical fiber control module 1116 respectively.Optical Network Terminal 1 to be connected with optical fiber transponder 2 by PON mouth A11 and PON mouth B12 carries out communication, and Registering modules 13 is registered the optical network unit cluster 3 be connected with PON mouth A11, PON mouth B12 by optical fiber transponder 2 and preserves the optical network unit information of this optical network unit cluster 3; The optical network unit information of the flow information of the PON mouth A11 that processing module 15 is monitored according to information collection module 14 and PON mouth B12 and this PON mouth B12 of being registered in Registering modules 13 is analyzed, send the control command road optical fiber control module 16 managed optical network unit according to analysis result, control command is converted to control command and is sent to optical fiber transponder 2 by optical fiber control module 16.
Wherein, in the embodiment of the present invention, this Optical Network Terminal comprises PON mouth A11 and PON mouth B12, in the embodiment of the present invention, the process flow block that processing module 15 comprises is analyzed according to the flow information of PON mouth A11 and PON mouth B12, such as when the flow of PON mouth A11 is greater than the flow of PON mouth B12, then send control optical fiber transponder 2 and the part optical network unit being registered in PON mouth A11 is re-started the control command being registered to PON mouth B12.In doing in inventive embodiment, the log-on message processing unit that processing module 15 comprises, be analyzed with the optical network unit number being registered in PON mouth B12 according to the optical network unit number being registered in PON mouth A11 that Registering modules is preserved, such as when the optical network unit number of PON mouth B12 is greater than the optical network unit number of PON mouth A11, then send and control the control command that the part optical network unit being registered in PON mouth 12B is re-registered PON mouth A11 by optical fiber transponder 2, when two kinds of result of determination are inconsistent, then the preferential result judged according to process flow block sends the control command controlling optical fiber transponder 2, the control command of reception is forwarded into control command and is sent to optical fiber transponder 2 by optical fiber control module 16.
Wherein, optical fiber transponder 2 comprises, receiver module 21, with redirect Registering modules 22, the control command of reception is carried out parsing and generate management command information, according to administration order information, the optical network unit that needs re-register is carried out reconnecting to new PON mouth and carry out registration preservation optical network unit information.In embodiments of the invention, such as, by the parsing to control command, find when reception control command is the control command of the PON mouth B12 optical network unit ONU 1 in PON mouth A11 and ONU2 are registered to, then by the disconnecting of optical network unit ONU 1 and ONU2 and PON mouth A11, and reconnect to PON mouth B12 and register, when the control command being analyzed rear transmission by flow with by register number be analyzed the control command of rear transmission contrary time, then preferential according to the control command by sending after flow analysis contrast.
Consult the schematic flow sheet of the load-balancing method based on optical-fiber network that Figure 2 shows that the embodiment of the present invention, as shown in the figure, based on the load-balancing method of optical-fiber network, comprising:
Step S1, reception preserve the optical network unit information of to be carried out the optical network unit registered by PON mouth.
Step S2, monitoring obtain the flow information of described PON mouth.
Step S3, the described optical network unit information of the described flow information of described PON mouth and the correspondence of preservation is analyzed and sent control command;
Step S4, re-register preservation according to described control command to needing to carry out balanced described optical network unit.
In the embodiment of the present invention, the optical network unit ONU be connected with PON mouth by optical fiber transponder is registered by Optical Network Terminal, and preserve the optical network unit information being registered to corresponding PON mouth, wherein Optical Network Terminal comprises multiple PON mouth, and a PON mouth can register at most 255 optical network unit ONU.Because the optical network unit number of each PON mouth registration is different, thus also can be inconsistent at the network traffic information of this PON mouth, Optical Network Terminal collects the flow information of each PON mouth by information collection module monitoring, the optical network unit information of number of the flow information of each PON mouth collected and the registration of each PON mouth is analysed and compared, finally send the control command to optical network unit according to the result of analysing and comparing, optical fiber transponder carries out the management to optical network unit after receiving control command.
In one embodiment of the invention, analyze in the described optical network unit information of execution step S3 to the described flow information of described PON mouth and the correspondence of preservation and send control command, as shown in Figure 3, comprising:
Whether S311, comparative analysis exist the described PON mouth that flow is greater than the flow of PON mouth described in other, are perform step S312;
S312, judge whether the flow of described PON mouth is greater than preset flow, is perform step S313;
S313, transmission control command carry out management and control to optical network unit.
Wherein, flow information according to each PON mouth collected is analyzed, such as when finding that the network traffics of PON mouth A are greater than the network traffics of PON mouth B, then the processing module sending controling instruction of Optical Network Terminal is had to be registered in PON mouth B to go the optical network unit being registered in PON mouth A being carried out equilibrium.
In one embodiment of the invention, analyze in the described optical network unit information of execution step S3 to the described flow information of described PON mouth and the correspondence of preservation and send control command, as shown in Figure 4, comprising:
The optical network unit number whether S321, comparative analysis exist registration is greater than the described PON mouth of the optical network unit number of PON mouth registration described in other, is perform step S322;
S322, transmission control command control optical network unit.
Wherein, optical network unit number according to being registered in each PON mouth is analyzed, such as, when that finds that the optical network unit number being registered in PON mouth A is greater than the optical network unit number being registered in PON mouth B, then the optical network unit being registered in PON mouth A is carried out equilibrium and is assigned to PON mouth B and carries out registration preservation by sending controling instruction.
A when embodiment, when the control command being analyzed rear transmission by flow with by register number be analyzed the control command of rear transmission contrary time, then preferential according to the control command by sending after flow analysis contrast.
In sum, the SiteServer LBS based on optical-fiber network that the application of the invention provides and method, can by judging flow, also can by judging the optical network unit number being registered in PON mouth, realize optical network unit to be registered to flexibly in the PON mouth of Optical Network Terminal, thus make the PON mouth of Optical Network Terminal in optical network environment reach load balancing.So the present invention effectively overcomes 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 without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.