CN101083559A - Method and system for switching master control module and slave control module - Google Patents
Method and system for switching master control module and slave control module Download PDFInfo
- Publication number
- CN101083559A CN101083559A CN 200710117777 CN200710117777A CN101083559A CN 101083559 A CN101083559 A CN 101083559A CN 200710117777 CN200710117777 CN 200710117777 CN 200710117777 A CN200710117777 A CN 200710117777A CN 101083559 A CN101083559 A CN 101083559A
- Authority
- CN
- China
- Prior art keywords
- control module
- master control
- communication interface
- uplink communication
- module
- 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.)
- Pending
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a method for switching master control module and slave module, comprising: when switching, uplink communication interface of master control module is connected with both communication link and uplink communication interface of slave module. And the invention discloses a system for switching master control module and slave module, and as compared with the existing techniques, it has the following advantages of: (1) higher switching reliability; (2) reducing device switching time; (3) effectively solving uplink communication networking problem of master control module and slave module.
Description
Technical field
The present invention relates to a kind of handoff technique, relate to a kind of master control module especially and, belong to circuit control field in the electronic technology from the changing method and the system of control module.
Background technology
In various communication apparatus, for the long-time reliability service of assurance equipment, usually the control module of equipment adopts the mode of dual master control, it is master control module (Master Control Module) and from control module (Slave Control Module), in the master control module with generally all be provided with the uplink communication interface of one or more network on the control module, be used for the uplink communication of system data.
When networking, the uplink communication Interface and Communication link of normally master control module connects, and is in idle condition from the uplink communication interface of control module and is used for backup.When the master control module produces fault, communication link is switched, it is connected with uplink communication interface from control module.And in the prior art, above-mentioned master control module with rely on the technical staff mostly from the switching of control module, when the technical staff judges that according to information such as network management alarms the master control module breaks down, switch to from the uplink communication interface of control module to the uplink communication interface of device context, thereby guaranteed the normal use of equipment uplink communication the chain route master control module of uplink communication.
Though above-mentioned manually-operated method can be carried out the master control module and from the switching between the control module, but when breaking down owing to the master control module, the technical staff is not often in device context, need the master control module of carrying out thus and can not in time realize from the switching between the control module, the uplink communication of middle equipment will interrupt during this period of time, that is: before technical staff's no show device context, system's operation can not recover the recovery time of the fault that extended thus.
Summary of the invention
Technical problem to be solved by this invention provides a kind of master control module and the method for switching from control module, make the master control module with can reliably switch from control module, and need not the technical staff and intervene.
In order to solve the problems of the technologies described above, the invention provides a kind of master control module and the method for switching from control module, comprising:
When the master control module with when control module is switched, the uplink communication Interface and Communication link of master control module and all connect from the uplink communication interface of control module.
Further, described master control module and switch from control module and to be to initiate according to predetermined strategy, described predetermined policy comprises: described master control module breaks down.
Further, described master control module uplink communication interface with described be connected to be to trigger automatically from control module uplink communication interface realize.
Further, described master control module uplink communication interface triggers realization with described the connection by following step from control module uplink communication interface:
A. described master control module sends a warning message to outside webmaster when breaking down;
B. after described webmaster receives the warning information of described master control module, send switching command from control module to described;
C. described receive switching command from control module after, its uplink communication interface is connected with described master control module uplink communication interface.
The present invention also provides a kind of master control module and the system of switching from control module, comprising: master control module, from control module, and handover module, wherein:
Handover module is used at the primary importance state uplink communication Interface and Communication link of master control module being connected, and makes the uplink communication Interface and Communication link of master control module and all connects from the uplink communication interface of control module at second place state; Described handover module is switched to second place state by the primary importance state after knowing that the master control module breaks down.
Further, described handover module is obstructed according to the networking transmitting uplink data and knows that directly the master control module breaks down.
Further, described handover module is known that the master control module breaks down and is achieved in that
A1. described master control module sends a warning message to outside webmaster when breaking down;
B1. after described webmaster receives the warning information of described master control module, send switching command from control module to described;
C1. described receive switching command from control module after, send to described handover module and to connect life;
D1. described handover module knows that the master control module breaks down after receiving and connecting order.
Further, described handover module comprises the CPLD circuit.
Compared with prior art, master control module provided by the invention and have following beneficial effect from the changing method and the system of control module:
(1) be the circuit path of physics owing to what switch, so master control module and higher from the reliability of control module switching;
(2) the present invention need not the technical staff to the on-the-spot switching that just can finish link, has shortened the equipment switching time that causes because of the control module fault thus;
(3) use that the present invention can also solve the master control module effectively and from the networking problem of the uplink communication link of control module.
Description of drawings
Fig. 1 is the structural representation of the control module of specific embodiments of the invention;
Fig. 2 is the structural representation of the control module of certain communication equipment of specific embodiments of the invention.
Embodiment
Below in conjunction with the drawings and specific embodiments the present invention is done to introduce further, but not as a limitation of the invention.
In communication equipment, control module comprises the master control module and from control module, when the master control module was working properly, the uplink communication Interface and Communication link of master control module connected, and was used for standby and be in idle condition from each uplink communication interface of control module; When the master control module breaks down, directly automatically the uplink communication interface of master control module is connected with uplink communication interface from control module, realize the master control module thus and from the switching between the control module.At this moment.Master control module uplink communication interface not only is connected with communication link, also with from control module uplink communication interface is connected, and makes the upstream data reality of network by exporting from control module uplink communication interface.
Certainly, when the master control module broke down, it also can be to initiate through webmaster to the switching from control module, at this moment, carries out following step successively:
A. the master control module sends a warning message to outside webmaster;
B. after webmaster receives the warning information of master control module, to sending switching command from control module;
C. after receiving switching command from control module, its uplink communication interface is connected with described master control module uplink communication interface.
Accordingly, as shown in Figure 1, also propose a kind of master control module in the embodiments of the invention and from the switched system of control module, this system can realize the master control module and from the reliable switching of control module.In the system except the master control module with from control module, also increase a handover module is set, described handover module is used at the primary importance state uplink communication Interface and Communication link of master control module being connected, make from the uplink communication interface of control module at second place state and to be connected with the uplink communication interface of master control module, it switches to second place state with location status from the primary importance state after knowing that the master control module breaks down.
Illustrate a bit: in above-mentioned handover module, it knows that it can be to be obstructed by the networking transmitting uplink data directly to judge that the master control module breaks down, can also be by the master control module, realize alternately, be specially from the signal between control module, handover module and the outside webmaster:
Handover module receives after the connection signal of control module in this system, and location status is switched to second place state from the primary importance state;
At this moment, described master control module is used for when breaking down, and sends a warning message to outside webmaster;
Described from control module, after being used to receive switching command, send the connection order to handover module; Wherein said switching command is after outside webmaster receives the warning information of master control module, to what send from control module.
From said method and system, as can be seen, when the master control module breaks down, it is with when control module switches, link to each other with the uplink communication interface of master control module from the uplink communication interface of control module, the upstream data of network is actual in exporting from control module, and still the physics output interface of network uplink data remains the master control module at this moment, this has just kept the data link of uplink network interface not change, thereby has guaranteed the reliability service of system.
Further, with reference to master control module in certain communication equipment control module shown in Figure 2 with from the embodiment more specifically of system that control module is switched, control module adopts the mode of 1+1 master-slave back-up in this communication equipment, at this moment, adopt the line switching of a plurality of high speeds in the handover module, (Complex Programmable Logic Device, CPLD) realize according to its control signal that receives by circuit by programmable logic device for each above-mentioned high-speed line on off state.Data link is connected to the uplink communication interface of master control module in actual networking, when the master control module is normally moved, each high-speed line switch is connected the uplink communication interface and the uplink communication link of master control module, when the master control module breaks down, master control module and switch from control module, by the CPLD circuit high-speed line position of the switch state is changed, to be connected to from the uplink communication interface of control module on the physical channel of uplink network interface of master control module, do not having under technical staff's situation at the scene like this, also need not change networking, just can realize the master control module and, avoid the communicating interrupt of uplink network interface from the switching of control module.
From the foregoing description as can be seen, master control module proposed by the invention and when between control module, switching, what switch is the physical link of uplink communication interface, the data path that does not relate to the uplink communication interface, and the master control module can not have influence on the physical link of uplink communication interface owing to fault crashes, thereby switches the reliability height; On the other hand, the switching that handover module proposed by the invention carries out between primary importance state and the second place state is to realize according to its control signal that receives, do not need technical staff's execute-in-place, shortened the equipment switching time that causes because of the control module fault.
In addition, also carry out following supplementary notes for the foregoing description: (1) is though just carry out the master control module when master control module breaks down in the foregoing description and from the switching between the control module, but in other embodiments, above-mentioned switching also can be with other incidents as trigger condition; (2) proposing handover module in the foregoing description can be realized by CPLD, also can adopt application-specific integrated circuit (ASIC) (Application Specific Integrated Circuit in other embodiments, ASIC) or programmable gate array (FieldProgrammable Gate Array, FPGA) etc. method realizes.
Should be understood that; concerning the those of ordinary skill in field, the technology of the present invention place; can be equal to accordingly according to technical scheme of the present invention and design thereof and change or replace, and all these changes or replacement, all should belong to the protection range of claims of the present invention.
Claims (8)
1. master control module and the method for switching from control module is characterized in that, comprising:
When the master control module with when control module is switched, the uplink communication Interface and Communication link of master control module and all connect from the uplink communication interface of control module.
2. the method for claim 1 is characterized in that, described master control module and switch from control module and to be to initiate according to predetermined strategy, and described predetermined policy comprises: described master control module breaks down.
3. method as claimed in claim 2 is characterized in that, described master control module uplink communication interface with described be connected to be to trigger automatically from control module uplink communication interface realize.
4. method as claimed in claim 2 is characterized in that, described master control module uplink communication interface triggers realization with described the connection by following step from control module uplink communication interface:
A. described master control module sends a warning message to outside webmaster when breaking down;
B. after described webmaster receives the warning information of described master control module, send switching command from control module to described;
C. described receive switching command from control module after, its uplink communication interface is connected with described master control module uplink communication interface.
5. master control module and the system of switching from control module comprise: master control module, from control module is characterized in that this system also comprises:
Handover module is used at the primary importance state uplink communication Interface and Communication link of master control module being connected, and makes the uplink communication Interface and Communication link of master control module and all connects from the uplink communication interface of control module at second place state; Described handover module is switched to second place state by the primary importance state after knowing that the master control module breaks down.
6. system as claimed in claim 5 is characterized in that, described handover module is obstructed according to the networking transmitting uplink data and knows that directly the master control module breaks down.
7. system as claimed in claim 5 is characterized in that, described handover module is known that the master control module breaks down and is achieved in that
A1. described master control module sends a warning message to outside webmaster when breaking down;
B1. after described webmaster receives the warning information of described master control module, send switching command from control module to described;
C1. described receive switching command from control module after, send to described handover module and to connect life;
D1. described handover module knows that the master control module breaks down after receiving and connecting order.
8. method as claimed in claim 5 is characterized in that described handover module comprises the CPLD circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200710117777 CN101083559A (en) | 2007-06-22 | 2007-06-22 | Method and system for switching master control module and slave control module |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200710117777 CN101083559A (en) | 2007-06-22 | 2007-06-22 | Method and system for switching master control module and slave control module |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101083559A true CN101083559A (en) | 2007-12-05 |
Family
ID=38912852
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200710117777 Pending CN101083559A (en) | 2007-06-22 | 2007-06-22 | Method and system for switching master control module and slave control module |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101083559A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102063351A (en) * | 2009-11-13 | 2011-05-18 | 佳能株式会社 | Electronic device |
CN103605346A (en) * | 2013-11-22 | 2014-02-26 | 曙光信息产业(北京)有限公司 | Master-slave management module failure automatic switching system and realization method thereof |
CN104753703A (en) * | 2013-12-27 | 2015-07-01 | 中兴通讯股份有限公司 | Method and system for controlling network topology |
CN105759691A (en) * | 2016-04-18 | 2016-07-13 | 广东芬尼克兹节能设备有限公司 | Master-slave switching communication method and system implemented through 485 port |
CN108829547A (en) * | 2018-05-15 | 2018-11-16 | 中国船舶重工集团公司第七〇九研究所 | A kind of computer control and its implementation of ocean platform |
CN109814477A (en) * | 2018-12-19 | 2019-05-28 | 江苏亨通高压海缆有限公司 | Double-switching system |
CN109991945A (en) * | 2019-04-04 | 2019-07-09 | 三一汽车制造有限公司 | Mixing plant and concrete pump combined control system |
CN113037561A (en) * | 2021-03-24 | 2021-06-25 | 深圳市乙辰科技股份有限公司 | Networking equipment mode switching method and device based on distributed networking system |
CN113896300A (en) * | 2021-10-26 | 2022-01-07 | 中国农业科学院北京畜牧兽医研究所 | Three-phase electrochemical water treatment equipment for electrochemical-ozone coupling oxidation |
CN114544219A (en) * | 2022-01-27 | 2022-05-27 | 河北地质大学 | Sampling device is smashed with rock to prospecting |
CN115664541A (en) * | 2022-11-14 | 2023-01-31 | 大洋智能科技(常州)有限公司 | Underwater wireless communication system and control method |
-
2007
- 2007-06-22 CN CN 200710117777 patent/CN101083559A/en active Pending
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102063351B (en) * | 2009-11-13 | 2015-01-07 | 佳能株式会社 | Electronic device |
CN102063351A (en) * | 2009-11-13 | 2011-05-18 | 佳能株式会社 | Electronic device |
CN103605346A (en) * | 2013-11-22 | 2014-02-26 | 曙光信息产业(北京)有限公司 | Master-slave management module failure automatic switching system and realization method thereof |
CN104753703A (en) * | 2013-12-27 | 2015-07-01 | 中兴通讯股份有限公司 | Method and system for controlling network topology |
CN105759691A (en) * | 2016-04-18 | 2016-07-13 | 广东芬尼克兹节能设备有限公司 | Master-slave switching communication method and system implemented through 485 port |
CN105759691B (en) * | 2016-04-18 | 2018-11-20 | 广东芬尼克兹节能设备有限公司 | A kind of the master-slave swap communication means and system existing by 485 causes for gossip |
CN108829547B (en) * | 2018-05-15 | 2021-11-16 | 中国船舶重工集团公司第七一九研究所 | Computer controller of ocean platform and implementation method thereof |
CN108829547A (en) * | 2018-05-15 | 2018-11-16 | 中国船舶重工集团公司第七〇九研究所 | A kind of computer control and its implementation of ocean platform |
CN109814477A (en) * | 2018-12-19 | 2019-05-28 | 江苏亨通高压海缆有限公司 | Double-switching system |
CN109991945A (en) * | 2019-04-04 | 2019-07-09 | 三一汽车制造有限公司 | Mixing plant and concrete pump combined control system |
CN109991945B (en) * | 2019-04-04 | 2023-02-24 | 三一汽车制造有限公司 | Mixing plant and concrete pump combined control system |
CN113037561A (en) * | 2021-03-24 | 2021-06-25 | 深圳市乙辰科技股份有限公司 | Networking equipment mode switching method and device based on distributed networking system |
CN113896300A (en) * | 2021-10-26 | 2022-01-07 | 中国农业科学院北京畜牧兽医研究所 | Three-phase electrochemical water treatment equipment for electrochemical-ozone coupling oxidation |
CN114544219A (en) * | 2022-01-27 | 2022-05-27 | 河北地质大学 | Sampling device is smashed with rock to prospecting |
CN115664541A (en) * | 2022-11-14 | 2023-01-31 | 大洋智能科技(常州)有限公司 | Underwater wireless communication system and control method |
CN115664541B (en) * | 2022-11-14 | 2023-04-07 | 大洋智能科技(常州)有限公司 | Underwater wireless communication system and control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101083559A (en) | Method and system for switching master control module and slave control module | |
CN101753397B (en) | System, method and device for rapidly self-healing Ethernet ring | |
CN100596357C (en) | Data translation device and system based on ethernet and serial communication technology | |
CN102006222B (en) | Service link switching method and service link switching device | |
CN102710466B (en) | Standby usage board switches protection system and two-way converting detects seamless switching method and apparatus | |
CN102638735B (en) | Optical node device and business switching method thereof | |
CN105407027A (en) | Train network control system | |
CN101378359A (en) | Method and apparatus for switching of primary and secondary compulsion links | |
CN101197634B (en) | Method, system and single board device for implementing automatic protection rearrangement of main and standby plate | |
CN203968139U (en) | Train network control system | |
CN101141333A (en) | Ethernet system host node slave port fault processing method | |
CN101610143B (en) | Protection method, system and device of link data | |
CN101790110B (en) | Device and method for coordinating and recovering automatic protection switching operation | |
CN101262406A (en) | Two-way loop network system and its control method | |
CN102407868B (en) | Hot-standby dual-connection method suitable for communication protocol of modern monitoring system of rail transit | |
CN101764714A (en) | Channel failure reversing method, node and signal transmission system | |
CN102916864A (en) | Ethernet bridge and intelligent link method thereof | |
CN101867495A (en) | Ethernet automatic protection link failure quick switching method | |
CN101621347B (en) | Reverse treatment method and device | |
CN101883008A (en) | Subnet protection method for transport multi-protocol label switching network and device thereof | |
CN101895360B (en) | Structured circuit simulation system, selection method and device of clock reference thereof | |
CN101860888A (en) | Method, system and equipment for transmitting data by wireless link | |
CN101527598A (en) | Transmission method based on optical transmission equipment failure or power failure | |
CN101616067A (en) | Link switch-over method and device | |
CN208385326U (en) | Extend the control circuit of signal output loop |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20071205 |