A kind of professional mutual aid method of classification communication system
Affiliated technical field:
The present invention relates to the method that a kind of business is helped each other in a kind of professional mutual aid method, especially the classification communication system in the communication field.
Background technology:
The carrier-class communication apparatus requires equipment to have very high reliability usually, and redundancy is to improve a kind of basic skills of reliability.Communication apparatus is made up of miscellaneous service veneer and the control board that is in core status usually.In order to improve the reliability of equipment, a kind of general implementation is that control board is adopted primary, spare implementation, in case when the master who is working broke down with control board, standby control board can the main status that becomes main usefulness with the work of control board of very fast adapter.In order to realize seamlessly transitting of customer service, not switching of primary, spare control board can be impacted the normal service operation of equipment, common way is the data sync that realizes between the primary, spare control board, to guarantee the data consistency between the primary, spare control board, application number is 6,188,695 United States Patent (USP) " System and method for multi-node data synchronization " has proposed the solution of data sync between a kind of multinode.The shortcoming of this implementation is because user's business datum is kept on the control board, in case the master changes with the business datum on the control board, must be synchronized in real time on the standby control board, and this need expend more system resources.And, control board is adopted the working method of this active and standby usefulness, main usually heavier when equipment normally moves with the control board load, and the load of standby control board is very light.
Summary of the invention:
The technical problem that the present invention solves is the communication system at classification, a kind of professional mutual aid method has been proposed, user's business datum is put in the communication apparatus of upper level, because in the communication system of classification, if the communication apparatus work of upper level is undesired, then whole system can not operate as normal, user's business datum is put in the higher communication apparatus of the reliability of upper level, can save and carry out data sync between two control boards in real time, thereby avoid a large amount of system resource of real time data synchronous consumption; Communication apparatus by a kind of control board and upper level carries out mutual control method simultaneously, and the decision control board is the only control customer service of administration to one's name, and still needing simultaneously helps each other belongs to the customer service that another piece control board is administered.
The professional mutual aid method of a kind of classification communication system of the present invention, its step comprises:
1) when the control board electrifying startup, and other control board is not on the throne or work when undesired, earlier to the request of upper level communication apparatus and finish initialization, the upper level communication apparatus sends to this electrifying startup control board with business datum then, the continue single board service of other control board of this control board; Concrete bag
Draw together following treatment step:
A. control board electrifying startup sends initialization request message to the communication apparatus of upper level;
B. after the communication apparatus of upper level receives the initialization request of control board transmission, revise the state on the throne of data-base recording control board, and respond initialization request and reply;
C. control board receives after initialization request that the upper level communication apparatus sends replys, this control board of beginning initialization;
D. the upper level communication apparatus sends the business recovery order to the control board that has just powered on;
E. after the control board that has just powered on receives this order, take the bus of control service board, and the successful message of response bus control;
F. after the upper level communication apparatus receives the successful response of the bus control of control board, send the business datum of being correlated with to control board;
G. control board is according to continue the again single board service of this plate control of the business datum that receives.
2) when the control board electrifying startup, and during other control board operate as normal, to the request of upper level communication apparatus and finish initialization, the control board of upper level communication apparatus and operate as normal makes this electrifying startup control board continue to help each other the single board service of control alternately then, the upper level communication apparatus sends to the described control board that has just powered on relevant business datum again, and this control board continues by the help each other single board service of control of other control board; Specifically comprise following treatment step:
H. control board electrifying startup sends initialization request message to the communication apparatus of upper level;
I. after the communication apparatus of upper level receives the initialization request of control board transmission, revise the state on the throne of data-base recording control board, and respond initialization request and reply;
J. control board receives after initialization request that the upper level communication apparatus sends replys, this control board of beginning initialization;
K. the communication apparatus of upper level discharges the bus of control service board and the business of correlation mutual aiding veneer by other control board simultaneously, sends the business recovery order to the control board that has just powered on then;
L. after the described control board that has just powered on receives this order, take the bus of control service board, and the successful message of response bus control;
M. after the upper level communication apparatus receives the successful response of the bus control of control board, send the business datum of being correlated with to control board;
N. control board continues by the help each other single board service of control of other control board according to the business datum that receives.
3) when the single board service of other control board control of finding in the control board normal course of operation to help each other, the control board of described normal operation is helped each other to the request of upper level communication apparatus, the upper level communication apparatus sends to the control board of described normal operation with relevant business datum then, this control board single board service of other control board control of continuing of helping each other.Specifically comprise following treatment step:
O. control board is to upper level communication apparatus request other control board of helping each other, and reports reason;
P. after the upper level communication apparatus receives the request message of helping each other, revise other control board of data-base recording not on the throne or work undesired, to the order of helping each other of the control board transmission business of normal operation;
Q. after the control board business of receiving is helped each other order, take the bus of controlling the service board of helping each other; Send the successfully message of the bus of control control service board to the upper level communication apparatus;
R. after the upper level communication apparatus receives this message, send the related service data of the service board of helping each other to control board;
S. the control board single board service that continues again and help each other according to the business datum that receives.The professional mutual aid method of a kind of classification communication system of the present invention has been realized under the equipment normal operation, two professional relative equilibriums that control board is handled; And be put into by business datum in the communication apparatus of upper level the user, avoided carrying out real-time data sync between two control boards, only need when detecting another piece control board and break down, control board obtain the business datum of another piece control board management to the communication apparatus of upper level; And control board when recovering normal operation the communication apparatus to upper level obtain the single board service data of being helped each other by another piece control board.
Description of drawings:
Fig. 1 is the structural representation of present access net system;
Fig. 2 is the installation drawing of the optical network unit ONU in the access net system;
Fig. 3 is the process chart of ONU control board electrifying startup of the present invention;
Fig. 4 is the process chart of OLT of the present invention to ONU control board electrifying startup;
Fig. 5 is of the present invention when ONU control board electrifying startup is about to recover normal operation, is in the process chart of another piece ONU control board of normal operating condition;
Fig. 6 is the process chart when needing to help each other the ONU control board that another piece breaks down in the ONU control board normal course of operation of the present invention;
Fig. 7 be of the present invention when the ONU control panel that another piece breaks down is helped each other in the request of ONU control board the process chart of OLT;
Embodiment:
Below in conjunction with accompanying drawing with the access net system be example the present invention is described in further detail, for other classification communication system, for example far module in the program controlled switching system and remote subscriber units, it realizes that principle is similar:
Fig. 1 is the structural representation of present access net system.Access net system is a typical classification communication system, is made up of optical line terminal OLT and optical network unit ONU.The access that optical network unit ONU provides business interface to realize various customer services, and optical line terminal OLT realizes that the signaling conversion is by V5 interface access switch.In access net system, OLT is the upper level communication apparatus of ONU, and it can be connected with a plurality of ONU.
Fig. 2 is the installation drawing of the optical network unit ONU in the access net system.Optical network unit ONU mainly is made up of control board and all kinds of service board.Control board is mainly realized carrying out communication and the professional access of control with optical line terminal OLT, and service board mainly provides line circuit interface.In ONU, control board is in core status, in case control board breaks down, also can't provide customer service even service board is working properly.Therefore, the ONU control board need adopt redundancy backup usually.The relative equilibrium of managing business when realizing two control board operate as normal, the present invention adopts the implementation method of helping each other to two ONU control boards, if i.e. two equal operate as normal of control board, the Business Processing of then managing half frame veneer respectively; When wherein a control board broke down, the control board that another piece control board can be helped each other rapidly and break down was realized the Business Processing to whole ONU machine frame veneer.
Fig. 3 is the process chart of ONU control board electrifying startup of the present invention.Behind the ONU control board electrifying startup, at first execution in step 301 sends initialization request message to OLT, and the initialization request of execution in step 302 reception OLT transmissions is replied then.After the initialization request that receives the OLT transmission is replied, execution in step 303 these control boards of initialization, and execution in step 304 receives the business recovery order that OLT send.Receive the business recovery order of OLT transmission when the ONU control board after, execution in step 305 takies the bus of control service board, and execution in step 306 sends the successful message of bus control to OLT, and execution in step 307 receives the related service data of the service board that relevant plate that OLT send control then.After receiving the business datum that OLT sends, execution in step 308 is according to the business datum that the receives single board service that continues again.
Fig. 4 is the process chart of OLT of the present invention to ONU control board electrifying startup.OLT at first execution in step 401 receives the initialization request that the ONU control board sends.After receiving the initialization request of ONU control board transmission, it is on the throne that execution in step 402 is revised data-base recording ONU control boards, and execution in step 403 is replied to ONU control board transmission initialization request.Execution in step 404 is inquired about the state of another piece ONU control boards then, if another piece ONU control board is on the throne and working properly, then execution in step 405 sends the business recovery order to another piece ONU control board, the message of the bus success of service board is controlled in the release of execution in step 406 another piece of reception ONU control board responses again, after receiving this message, the related service data demand of the service board of helping each other that OLT execution in step 407 was controlled before another piece ONU control board sends this plate is torn continuous these business open; If another piece ONU control board not on the throne or work undesired, execution in step 405,406,407 not then.OLT execution in step 408 sends the business recovery order to the ONU of firm electrifying startup control board then, and execution in step 409 receives the successful message of bus control of ONU control board response again.After receiving the bus control success message of ONU control board transmission, execution in step 410 is revised databases, and record ONU control board is working properly, and execution in step 411 sends the related service data of the service board of this plate control to the ONU control board then.
Fig. 5 is of the present invention when ONU control board electrifying startup is about to recover normal operation, is in the process chart of another piece ONU control board of normal operating condition.The ONU control board of normal operation can execution in step 501 receive the business recovery order that OLT sends, after receiving this order, execution in step 502 discharges the bus of controlling the service board of helping each other, execution in step 503 sends the message that discharges the service bus success of helping each other to OLT again, execution in step 504 receives the related service data of the former service board of controlling of helping each other of this plate of release of OLT transmission then, after receiving the business datum of OLT transmission, execution in step 505 is torn continuous this plate single board service of helping each other of control in the past open according to business datum.
Fig. 6 is the process chart when needing to help each other the ONU control board that another piece breaks down in the ONU control board normal course of operation of the present invention.In the ONU control board normal course of operation, can be continuous execution in step 601 another piece of monitoring ONU control boards whether not on the throne or work undesiredly, if it is on the throne and working properly to monitor another piece ONU control board, then be left intact, this time detect and finish.If it is on the throne or work undesiredly to monitor another piece ONU control board, then execution in step 602 sends the message that request is helped each other to OLT, and the report reason, and execution in step 603 receives the order of helping each other of business that OLT send then.Receiving business that OLT sends helps each other after the order, execution in step 604 takies the bus of controlling the service board of helping each other, and execution in step 605 sends the successfully message of the bus of control control service board to OLT, execution in step 606 receives the related service data of the relevant service board of helping each other of OLT transmission then, after receiving business datum, execution in step 607 is according to the business datum single board service of helping each other that continues again.
Fig. 7 be of the present invention when the ONU control board that another piece breaks down is helped each other in the request of ONU control board the process chart of OLT.OLT at first execution in step 701 receives the message that request that the ONU control boards send is helped each other, after receiving this message, execution in step 702 is revised database according to the reason that reports, write down another piece ONU control board not on the throne or work undesired, execution in step 703 is to the order of helping each other of ONU control board transmission business again, and execution in step 704 receives the message that the bus of service board is controlled in successful control that the ONU control boards send then.Receive after successful control that the ONU control board sends controls the message of bus of service board, execution in step 705 is to the help each other related service data of service board of ONU control board transmission.