CN101321028B - Communication method and system between photo-timing transmission equipment master control board and business single plate - Google Patents

Communication method and system between photo-timing transmission equipment master control board and business single plate Download PDF

Info

Publication number
CN101321028B
CN101321028B CN2008100681962A CN200810068196A CN101321028B CN 101321028 B CN101321028 B CN 101321028B CN 2008100681962 A CN2008100681962 A CN 2008100681962A CN 200810068196 A CN200810068196 A CN 200810068196A CN 101321028 B CN101321028 B CN 101321028B
Authority
CN
China
Prior art keywords
communication modes
master control
communication
control borad
service board
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.)
Expired - Fee Related
Application number
CN2008100681962A
Other languages
Chinese (zh)
Other versions
CN101321028A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2008100681962A priority Critical patent/CN101321028B/en
Publication of CN101321028A publication Critical patent/CN101321028A/en
Application granted granted Critical
Publication of CN101321028B publication Critical patent/CN101321028B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a communication method between a master control board of a phototiming transmission device and an operation single board and a system thereof, wherein the master control board and the operation single board all support a first communication mode, and at least one of the master control board and the operation single board supports a second communication mode. The communication method comprises the following steps: A. after the master control board and the operation single board are power on and started, the communication is performed through the first communication mode; B. the master control board and the operation single board perform the communication mode negotiation, to determine whether the both support the second communication mode, if true, the master control board and the operation single board are switched to the second communication mode for communicating. The communication system includes a negotiation module in the communication mode and a switching module in the communication mode. The invention realizes the front compatible on the phototiming transmission device and the operation single board.

Description

The means of communication and system between a kind of phototiming transmission equipment master control borad and service board
Technical field
The present invention relates to the optical transmission field, relate to the means of communication and system between a kind of phototiming transmission equipment master control borad and service board specifically.
Background technology
In optical transmission device, the user manages whole network through webmaster, comprises management, disposes, safeguards the veneer that each piece is concrete.Wherein, service board can not be directly and webmaster to carry out communication mutual, but the two is communicated with by this bridge of master control borad, therefore, the communication between master control borad and the service board is very important.
At present, High-Level Data Link Control (HDLC) protocol mode has generally been adopted in the communication in the phototiming transmission equipment between master control borad and the service board.Long-term, extensive use along with Ethernet and ICP/IP protocol; And because the communication throughput of Ethernet mode is big, speed is fast, and stability is high simultaneously; The phototiming transmission equipment more and more tends to substitute HDLC with the ether net mode, realizes the communication of master control borad and service board.
But a large amount of phototiming transmission equipments that the past produces have used the HDLC protocol interface to realize the communication between master control borad and service board, and this is an accomplished fact.New master control borad and new business veneer are used instead after the ethernet communication mode, and it can only carry out communication with the veneer that uses identical communication modes, do not have to consider, also can't realize the compatibility to old veneer, thereby cause a large amount of wastes of old equipment.
Summary of the invention
Because the problems referred to above the invention provides the means of communication and system between a kind of phototiming transmission equipment master control borad and service board, the old veneer of veneer forward compatibility that can be new, thus realized device upgrade economically.
In order to solve the problems of the technologies described above, the present invention has adopted following technical scheme:
The means of communication between a kind of phototiming transmission equipment master control borad and service board, said master control borad and service board are all supported first communication modes, and at least one supports second communication modes said master control borad and service board, and the said means of communication comprise following steps:
Behind A, master control borad and the service board electrifying startup, carry out communication through first communication modes;
B, master control borad and service board carry out communication modes to be consulted, and confirms whether both sides support second communication modes, and in this way, master control borad and service board switch to second communication modes and carry out communication.
Said step B can adopt following mode to carry out:
The service board of B11, support second communication modes reports order to master control borad, and the communication modes of self supporting is described;
B12, master control borad resolve and saidly report order, if master control borad is supported second communication modes, report order to confirm that service board supports second communication modes according to said, and the informing business veneer adopts second communication modes, carries out step B13; If master control borad is not supported second communication modes, do not process;
B13, master control borad and service board switch to second communication modes and carry out communication.
Said step B also can adopt following mode to carry out:
The master control borad of B21, support second communication modes sends querying command to service board, the communication modes that the inquiry business veneer is supported;
B22, service board are resolved said querying command, if service board is supported second communication modes, the response querying command reports master control borad with the communication modes of self supporting, carries out step B23; If service board is not supported second communication modes, do not process;
B23, master control borad report according to service board, and the affirmation service board is supported second communication modes, and the informing business veneer adopts second communication modes;
B24, master control borad and service board switch to second communication modes and carry out communication.
Said first communication modes adopts the High-Level Data Link Control communication modes.
Said second communication modes adopts the ethernet communication mode.
The invention also discloses the communication system between a kind of phototiming transmission equipment master control borad and service board; Said master control borad and service board are all supported first communication modes; At least one supports second communication modes said master control borad and service board; Said communication system comprises communication modes negotiation module and communication modes handover module, and said communication modes negotiation module is used to realize the communication modes negotiation of master control borad and service board, confirms whether both sides support second communication modes; Said communication modes handover module is used for when the communication modes negotiation module confirms that both sides support second communication modes, master control borad and service board is switched to second communication modes carry out communication.
Said communication modes negotiation module can adopt the service board of supporting second communication modes to report the working method of order to master control borad.
The working method that said communication modes negotiation module also can adopt the master control borad of support second communication modes to send querying command to service board.
Said first communication modes is the High-Level Data Link Control communication modes.
Said second communication modes is the ethernet communication mode.
The present invention carries out communication through at first utilizing first communication modes; Negotiation through communication modes then; Communication modes with both when master control borad and service board are all supported second communication modes is adjusted into second communication modes; Thereby realized that the forward compatibility to the phototiming transmission equipment, economy have solved the upgrade problem of phototiming transmission equipment easily.
Description of drawings
Fig. 1 is the process chart of the service board of the specific embodiment of the invention;
Fig. 2 is the process chart of the master control borad of the specific embodiment of the invention;
Fig. 3 is the process chart of new Optical Line Board OL in the specific embodiment of the invention;
Fig. 4 is the process chart of new master control borad in the specific embodiment of the invention;
Fig. 5 is the process chart of old Optical Line Board OL in the specific embodiment of the invention;
Fig. 6 is the process chart of old master control borad in the specific embodiment of the invention.
Embodiment
Contrast accompanying drawing below and combine embodiment that the present invention is explained further details.
Main purpose of the present invention is in order to realize phototiming transmission equipment master control borad and service board when adopting new communication modes, and forward compatibility can only be used the old master control borad and the old service veneer of old communication modes.
At first the implication of the part english abbreviation that hereinafter uses is an explanation: comm_mode_old: the old communication modes between master control borad and the service board (this communication modes is that all veneers are all supported)
Comm_mode_new: the new communication modes between master control borad and the service board (this communication modes has only new veneer just to support)
Cmd_A: service board reports all communication modes orders of oneself supporting to master control borad
Cmd_B: all communication modes orders that master control borad inquiry business veneer is supported
Cmd_C: which kind of communication modes order master control borad informing business veneer finally uses
Referring to Fig. 1 to Fig. 6, main thought of the present invention is: under default situations, behind the electrifying startup, the comm_mode_old mode that master control borad and service board use both sides all to support is carried out communication.Then, both sides carry out the negotiation of communication modes, for example; When service board is supported comm_mode_new; Then service board is informed master control borad to all communication modes of oneself supporting, then, selects the final communication modes of both sides by master control borad; If the principle of selecting is---both sides support communication modes comm_mode_new, then select comm_mode_new; Otherwise, select comm_mode_old.At last, master control borad is with selection result informing business veneer, and both sides use the communication modes of final selection.Describe from service board and master control borad two aspects respectively below.
Service board aspect (see figure 1):
The first step: after the service board electrifying startup, board software control central processing unit (CPU) uses master control borad and service board all to give tacit consent to the comm_mode_old communication modes of support, initiatively sends order cmd_A to master control borad.
Second step: service board normally moves.
The 3rd step: when service board receives the order of master control borad, if judge command number---be cmd_B, loopback cmd_A then; If be cmd_C, resolve command then, the mode of using when confirming this veneer after this with the master control borad communication, and reply successfully; Otherwise, other orders of handled.Returned for second step.Master control borad aspect (see figure 2):
The first step: after the master control borad electrifying startup, board software control central processor CPU uses master control borad and service board all to give tacit consent to the comm_mode_old communication modes of support, sends order cmd_B to service board.
Second step: master control borad normally moves.
The 3rd step: when master control borad receives the order of service board; If judge command number---be cmd_A; If then first resolve command---service board is supported comm_mode_new, and then selecting the final communication modes of master control borad and service board is comm_mode_new, otherwise is comm_mode_old; Loopback cmd_C then, the communication modes that after this informing business veneer uses; Otherwise, other orders of handled.Returned for second step.
Communication with master control borad and Optical Line Board OL in the phototiming transmission equipment is that example further specifies the specific embodiment of the invention below; In this example; Comprise the communication process under new master control borad and new Optical Line Board OL, new master control borad and old Optical Line Board OL, old master control borad and new these three kinds of collocation situation of Optical Line Board OL; Wherein, back two kinds of situation have embodied forward compatibility of the present invention.
Explain: new master control borad and new Optical Line Board OL, support High-Level Data Link Control (HDLC) and two kinds of communication modes of Ethernet (ETHERNET) simultaneously, use comm_mode_hdlc and comm_mode_ethernet to represent here respectively.Old master control borad and old Optical Line Board OL are only supported the HDLC communication modes.
Collocation situation 1: the communication of new master control borad and new Optical Line Board OL
Optical Line Board OL aspect (Fig. 3):
The first step: behind the Optical Line Board OL electrifying startup; The software control central processor CPU; Use master control borad and service board all to give tacit consent to the comm_mode_hdlc communication modes of support; Initiatively send order cmd_A, inform this veneer of master control borad support comm_mode_hdl and comm_mode_ethernet communication modes to master control borad.
Second step: Optical Line Board OL normally moves.
The 3rd step: when Optical Line Board OL receives the order of master control borad, if judge command number---be cmd_B, loopback cmd_A then; If be cmd_C, then resolve command when confirming this veneer after this with the master control borad communication, is used comm_mode_hdlc or comm_mode_ethernet mode, and is replied successfully; Otherwise, other orders of handled.Returned for second step.
Master control borad aspect (Fig. 4):
The first step: behind the master control borad electrifying startup, the software control central processor CPU uses master control borad and service board all to give tacit consent to the comm_mode_hdlc communication modes of support, sends order cmd_B to Optical Line Board OL, all communication modes that the inquiry Optical Line Board OL is supported.
Second step: master control borad normally moves.
The 3rd step: when master control borad receives the order of service board; If judge command number---be cmd_A; If then first resolve command---service board is supported comm_mode_ethernet, and then selecting the final communication modes of master control borad and service board is comm_mode_ethernet, otherwise is comm_mode_hdlc; Loopback cmd_C then, the communication modes that after this informing business veneer uses; Otherwise, other orders of handled.Returned for second step.
Collocation situation 2: the communication of new master control borad and old Optical Line Board OL
Optical Line Board OL aspect (Fig. 5):
The first step: behind the Optical Line Board OL electrifying startup, order cmd_A is not sent in normal operation.
Second step: when Optical Line Board OL receives the order of master control borad, judge command number---because old Optical Line Board OL does not adopt the present technique scheme,, do not handle,, do not handle yet if be cmd_C if be cmd_B; Otherwise, other orders of handled.Return the first step.
Master control borad aspect (Fig. 4):
The first step: behind the master control borad electrifying startup, the software control central processor CPU uses master control borad and service board all to give tacit consent to the comm_mode_hdlc communication modes of support, sends order cmd_B to Optical Line Board OL, all communication modes that the inquiry Optical Line Board OL is supported.
Second step: master control borad normally moves.
The 3rd step: when master control borad receives the order of service board; If judge command number---be cmd_A, then first resolve command, loopback cmd_C then; The communication modes that after this informing business veneer uses (still; Because old Optical Line Board OL can not send cmd_A,, can not send cmd_C) so master control borad just can not received cmd_A yet; Otherwise, other orders of handled.Returned for second step.
Collocation situation 3: the communication of old master control borad and new Optical Line Board OL
Optical Line Board OL aspect (Fig. 3):
The first step: behind the Optical Line Board OL electrifying startup; The software control central processor CPU; Use master control borad and service board all to give tacit consent to the comm_mode_hdlc communication modes of support; Initiatively send order cmd_A, inform this veneer of master control borad support comm_mode_hdl and comm_mode_ethernet communication modes to master control borad.
Second step: Optical Line Board OL normally moves.
The 3rd step: when Optical Line Board OL receives the order of master control borad, if judge command number---be cmd_B, loopback cmd_A then; If be cmd_C, resolve command then, the mode of using when confirming this veneer after this with the master control borad communication; And reply successfully (still; Because old master control borad can not send cmd_B and cmd_C, so Optical Line Board OL just can not received cmd_B and cmd_C, also can loopback cmd_A); Otherwise, other orders of handled.Returned for second step.
Master control borad aspect (Fig. 6):
The first step: behind the master control borad electrifying startup, normal operation can not sent order cmd_B to Optical Line Board OL.
Second step: when master control borad receives the order of service board, if judge command number---be cmd_A, do not handle; Otherwise, other orders of handled.Returned for second step.
Can find out that from above-mentioned three kinds of situation when all being new, the two can correctly select new comm_mode_ethernet communication modes at master control borad and service board; Communication under other situation also can default use comm_mode_hdlc mode, has realized forward compatibility.
The method of the invention; Can realize between master control borad and the service board of phototiming transmission equipment when adopting new communication modes; To the original master control borad that can only use old communication modes and the forward compatibility of service board, new and old veneer can work on the same equipment.This function upgrading for old old equipment is safeguarded, on old equipment, is added up-to-date veneer, will be very useful.
The present invention also discloses the communication system between a kind of phototiming transmission equipment master control borad and service board simultaneously; Said master control borad and service board are all supported first communication modes; At least one supports second communication modes said master control borad and service board; Said communication system comprises communication modes negotiation module and communication modes handover module; Said communication modes negotiation module is used to realize the communication modes negotiation of master control borad and service board; Confirm whether both sides support second communication modes, said communication modes handover module is used for when the communication modes negotiation module confirms that both sides support second communication modes, master control borad and service board is switched to second communication modes carry out communication.Because the working method and the aforementioned means of communication of this system are similar, repeat no more at this.
Above content is to combine concrete preferred implementation to the further explain that the present invention did, and can not assert that practical implementation of the present invention is confined to these explanations.For the those of ordinary skill of technical field under the present invention, under the prerequisite that does not break away from the present invention's design, can also make some simple deduction or replace, all should be regarded as belonging to protection scope of the present invention.

Claims (8)

1. the means of communication between phototiming transmission equipment master control borad and service board; It is characterized in that; Said master control borad and service board are all supported first communication modes, and at least one supports second communication modes said master control borad and service board, and the said means of communication comprise following steps:
Behind A, master control borad and the service board electrifying startup, carry out communication through first communication modes;
B, master control borad and service board carry out communication modes to be consulted; Confirm whether both sides support second communication modes; In this way; Master control borad and service board switch to second communication modes and carry out communication, and negotiation mode comprises: adopt the service board of supporting second communication modes to report the mode of order or adopt the mode of the master control borad of support second communication modes to service board transmission querying command to master control borad.
2. the means of communication as claimed in claim 1 is characterized in that, said step B adopts following mode to carry out:
The service board of B11, support second communication modes reports order to master control borad, and the communication modes of self supporting is described;
B12, master control borad resolve and saidly report order, if master control borad is supported second communication modes, report order to confirm that service board supports second communication modes according to said, and the informing business veneer adopts second communication modes, carries out step B13; If master control borad is not supported second communication modes, do not process;
B13, master control borad and service board switch to second communication modes and carry out communication.
3. the means of communication as claimed in claim 1 is characterized in that, said step B adopts following mode to carry out:
The master control borad of B21, support second communication modes sends querying command to service board, the communication modes that the inquiry business veneer is supported;
B22, service board are resolved said querying command, if service board is supported second communication modes, the response querying command reports master control borad with the communication modes of self supporting, carries out step B23; If service board is not supported second communication modes, do not process;
B23, master control borad report according to service board, and the affirmation service board is supported second communication modes, and the informing business veneer adopts second communication modes;
B24, master control borad and service board switch to second communication modes and carry out communication.
4. like the arbitrary described means of communication of claim 1 to 3, it is characterized in that said first communication modes adopts the High-Level Data Link Control communication modes.
5. like the arbitrary described means of communication of claim 1 to 3, it is characterized in that said second communication modes adopts the ethernet communication mode.
6. the communication system between phototiming transmission equipment master control borad and service board; It is characterized in that; Said master control borad and service board are all supported first communication modes; At least one supports second communication modes said master control borad and service board; Behind said master control borad and the service board electrifying startup, carry out communication through first communication modes, said communication system comprises communication modes negotiation module and communication modes handover module; Said communication modes negotiation module is used to adopt the service board of supporting second communication modes to report the working method of order or adopt the master control borad of supporting second communication modes to consult to the working method realization master control borad of service board transmission querying command and the communication modes of service board to master control borad; Confirm whether both sides support second communication modes, said communication modes handover module is used for when the communication modes negotiation module confirms that both sides support second communication modes, master control borad and service board is switched to second communication modes carry out communication.
7. communication system as claimed in claim 6 is characterized in that, said first communication modes is the High-Level Data Link Control communication modes.
8. communication system as claimed in claim 6 is characterized in that, said second communication modes is the ethernet communication mode.
CN2008100681962A 2008-07-02 2008-07-02 Communication method and system between photo-timing transmission equipment master control board and business single plate Expired - Fee Related CN101321028B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100681962A CN101321028B (en) 2008-07-02 2008-07-02 Communication method and system between photo-timing transmission equipment master control board and business single plate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100681962A CN101321028B (en) 2008-07-02 2008-07-02 Communication method and system between photo-timing transmission equipment master control board and business single plate

Publications (2)

Publication Number Publication Date
CN101321028A CN101321028A (en) 2008-12-10
CN101321028B true CN101321028B (en) 2012-06-06

Family

ID=40180894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100681962A Expired - Fee Related CN101321028B (en) 2008-07-02 2008-07-02 Communication method and system between photo-timing transmission equipment master control board and business single plate

Country Status (1)

Country Link
CN (1) CN101321028B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102890635B (en) * 2011-07-20 2018-01-30 中兴通讯股份有限公司 The loading method and device of a kind of digital signal processor
CN103067430A (en) * 2011-10-21 2013-04-24 中兴通讯股份有限公司 Method and equipment for communication between boards

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1723635A (en) * 2002-12-10 2006-01-18 京瓷株式会社 Wireless communication terminal and handoff judgment method
CN101044775A (en) * 2004-10-26 2007-09-26 三菱电机株式会社 Wireless mobile station apparatus and communication switching deciding method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1723635A (en) * 2002-12-10 2006-01-18 京瓷株式会社 Wireless communication terminal and handoff judgment method
CN101044775A (en) * 2004-10-26 2007-09-26 三菱电机株式会社 Wireless mobile station apparatus and communication switching deciding method

Also Published As

Publication number Publication date
CN101321028A (en) 2008-12-10

Similar Documents

Publication Publication Date Title
CN101447884B (en) Method for achieving software upgrade by cooperation among network elements, equipment and system therefor
CN107508795B (en) Cross-container cluster access processing device and method
CN101946555B (en) Technique for providing network access via multiple mobile platforms
CN103095783B (en) A kind of method and device debugging Web application
EP3836486A1 (en) Service link selection control method and device
US9720678B2 (en) Network switching method, version upgrade method, and terminal device
CN101150439A (en) A method, system and device for realizing master/slave switching
CN107544841B (en) Virtual machine live migration method and system
CN103229478A (en) Method and device for virtual-machine drift determination
CN104349304A (en) Information processing method and electronic equipment
US20150049636A1 (en) Control apparatus, physical node, terminal apparatus, communication system, port status display method, and program
CN101969384A (en) Compatibility judging method, device and network equipment for switching between active and standby main control boards
RU2008138577A (en) NETWORK SYSTEM
CN103036716A (en) Method and system for link switchover
EP2320328A1 (en) Operation mode switching of data card and its control method, device and data card
CN103188098A (en) Method, system and device for disaster recovery switching
CN101808010A (en) Equipment management method and equipment management device and main control board
CN101262479B (en) A network file share method, server and network file share system
CN102316117A (en) Resource processing method and device
CN101013984A (en) Wireless controller equipment and method of realizing the same
CN101321028B (en) Communication method and system between photo-timing transmission equipment master control board and business single plate
CN106850268B (en) device and method for realizing linear protection switching
CN102025796B (en) MAC (media access control) address updating method and device
US20240022501A1 (en) Data Packet Sending Method and Device
CN101674171B (en) Port configuration management method, single board and port configuration management system

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120606

Termination date: 20190702