CN110347536A - A kind of 485 bus system of double hosts and working host fault redundance guard method - Google Patents
A kind of 485 bus system of double hosts and working host fault redundance guard method Download PDFInfo
- Publication number
- CN110347536A CN110347536A CN201910751962.3A CN201910751962A CN110347536A CN 110347536 A CN110347536 A CN 110347536A CN 201910751962 A CN201910751962 A CN 201910751962A CN 110347536 A CN110347536 A CN 110347536A
- Authority
- CN
- China
- Prior art keywords
- host
- working
- hosts
- bus
- work
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
- G06F11/202—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
- G06F11/2023—Failover techniques
- G06F11/2033—Failover techniques switching over of hardware resources
Abstract
The invention discloses a kind of double 485 bus systems of host and working host fault redundance guard method, system is made of 2 485 hosts and the networking of several 485 slave devices.Fault redundance protects implementation method: step 1, unique bus ID number is respectively set in 485 hosts, and one of ID number is defaulted to the host that works on power, another ID number defaults to backup host;Step 2, working host periodically sends heartbeat signal toward backup host, and it is work that Status Flag, which is arranged,;Backup host persistently monitors heartbeat signal in bus, and it is spare that Status Flag, which is arranged,;Step 3, if backup host is monitored in setting threshold time less than working host heartbeat signal, change oneself state mark is work automatically immediately, while to former working host periodicity sending heartbeat signal, completing fault redundance protection switching.The present invention solves single host system because working host failure leads to the serious problems of systemic breakdown.
Description
Technical field
The present invention relates to intelligent lighting controls fields, and in particular to a kind of double 485 bus systems of host and working host therefore
Hinder redundancy protected method.
Background technique
To meet more power saving, energy conservation, modern intelligent lighting demand easy to use, more and more office buildings, industry park,
Station, square, hospital, school, hotel use 485 bus architecture intelligent illuminating system solutions.Such scheme is wanted
It asks and sets up 485 bus system of master-slave mode, existing scheme is usually by 1 485 host and several 485 slave devices networking group jointly
At 485 bus system of single host, intelligent illuminating system wireline solutions are realized.
Entire 485 will lead to once 485 hosts break down for above-mentioned this 485 host intelligent illuminating system of list
Systemic breakdown strike, and then normal production and life are influenced, lead to extremely serious consequence.
Therefore, a kind of 485 bus system schemes with hostdown function of redundancy protection are found, it is ensured that intelligent lighting system
The operation of system relevant device long time stability, becomes those skilled in the art's one of the technical problems that are urgent to solve.
Summary of the invention
The technical problem to be solved in the invention is: proposing that a kind of 485 bus system of double hosts and working host failure are superfluous
Remaining guard method, 485 system of single host in prior art that solves are not sufficiently stable reliable technical problem.
The present invention solve above-mentioned technical problem the technical solution adopted is that:
Step 1,2 485 host As, B are respectively set unique 485 bus ID number, and by one of bus ID number default definition
For 485 hosts that work on power, another bus ID number default definition is spare 485 host;
Step 2,485 host As of work periodically send heartbeat signal toward spare 485 host B, and it is work that oneself state mark, which is arranged,
Make;Spare 485 host B persistently receives the heartbeat signal of 485 host A of work, and it is spare that oneself state mark, which is arranged,;
Step 3, if 485 host As of work are offline or failure, spare 485 host B will can not receive the heartbeat signal of A, if
Duration is more than the threshold value of setting, then spare 485 host B changes oneself state mark immediately as work, while the period
Property to host A send heartbeat signal, be automatically performed from fault redundance from stand-by state to working condition protection switching, it is ensured that
485 bus systems can continue to operate normally.
So far, this with fault redundance protection by disposing in the intelligent illuminating system application of high reliability demand
485 bus system of double hosts of function can solve to lead to seriously asking for 485 total systems paralysis because of working host failure at all
Topic.
The invention has the benefit that the present invention innovatively proposes a kind of 485 bus system of double hosts and working host
So that 485 bus system stability and reliability greatly improve, and host equipment failure is greatly reduced in fault redundance guard method
Influence to daily production and life.
Detailed description of the invention
Fig. 1 is double 485 hostdown redundancy protecting flow diagrams.
Fig. 2 is a kind of embodiment of the invention with reference to figure.
Specific embodiment
A kind of double 485 bus systems of host of the present invention and working host fault redundance are protected with reference to the accompanying drawings of the specification
Method carries out detailed explanation and illustration.
As shown in attached drawing 1,2, the invention particularly discloses a kind of double 485 bus systems of host and working host fault redundances
Guard method, the system are applicable to using applications such as the intelligent illuminating systems of 485 bus group-network constructions.The system is specific
Including realizing step as follows.
Step 1, unique 485 bus ID number is respectively set in 2 485 host As, B, the ID number of host A is 0, the ID of host B
Number it is 64, and collectively constitutes twin-engined 485 bus system with the slave equipment of ID1 ~ ID63, ID number is 0 by default software
Host definition be to work on power 485 hosts, be spare 485 host by the host definition that ID number is 64;
Step 2,485 host A softwares of work are per second sends heartbeat signal 0x55AA to spare 485 host B by 485 buses, and
Setting oneself state mark is work (corresponding software code WorkFlag=0x1);Spare 485 host B software continuous receives work
The heartbeat signal 0x55AA of 485 host As, and it is spare (corresponding software code WorkFlag=0x0) that oneself state mark, which is arranged,;
Step 3, if 485 host As of work are offline or failure, spare 485 host B will can not receive heartbeat signal 0x55AA,
If the duration has been more than 5 seconds threshold values, it is work that spare 485 host B changes oneself state mark immediately
(WorkFlag=0x1), and it is per second send heartbeat signal 0x55AA to 485 host As, be automatically performed from stand-by state to work
The fault redundance of state protects switching, it is ensured that 485 bus systems can continue to operate normally.
So far, that is, 485 bus system of double hosts with working host fault redundance defencive function is realized, is effectively solved
The problem of single host 485 bus system causes total system to be paralysed because of hostdown, greatly improve the reliable of 485 bus systems
Property.
Claims (7)
1. a kind of 485 bus system of double hosts and working host fault redundance guard method, it is characterised in that: the system includes such as
Lower realization step,
Step 1,2 485 host As, B are respectively set unique 485 bus ID number, and by one of bus ID number default definition
For 485 hosts that work on power, another bus ID number default definition is spare 485 host;
Step 2,485 host As of work periodically send heartbeat signal toward spare 485 host B, and it is work that oneself state mark, which is arranged,
Make;Spare 485 host B persistently receives the heartbeat signal of 485 host A of work, and it is spare that oneself state mark, which is arranged,;
Step 3, if 485 host As of work are offline or failure, spare 485 host B will can not receive the heartbeat signal of A, if
Duration is more than the threshold value of setting, then spare 485 host B changes oneself state mark immediately as work, while the period
Property to host A send heartbeat signal, be automatically performed from fault redundance from stand-by state to working condition protection switching, it is ensured that
485 bus systems can continue to operate normally.
2. 485 bus system of double hosts according to claim 1 and working host fault redundance guard method, feature exist
2 are shared in: 485 hosts described in step 1, and with several 485 from equipment networking group 485 bus system of host in pairs.
3. 485 bus system of double hosts according to claim 1 or 2 and working host fault redundance guard method, special
Sign is: one of them 485 host possesses management 485 buses read-write from the permission of equipment, and in running order, another 485
Host does not read and write the permission from equipment, the stand-by state in protection working host.
4. double 485 bus systems of host and working host fault redundance guard method, feature described according to claim 1 ~ 3
Be: unique bus ID number is respectively set in 2 485 hosts, and the one of ID number of default definition is 485 host of work, another
A ID number is spare 485 host.
5. 485 bus system of double hosts according to claim 1 and working host fault redundance guard method, feature exist
In: 485 hosts that work in step 2 periodically send heartbeat signal toward spare 485 host, and spare 485 host is believed according to the heartbeat
Offline or failure whether number identification working host, and adjudicated triggering redundancy protecting with this and switched.
6. 485 bus system of double hosts according to claim 1 and working host fault redundance guard method, feature exist
Unlike signal is arranged according to itself working condition in: 485 hosts described in step 2, the mark can be software inhouse identifier,
The set of hardware LED status etc..
7. 485 bus system of double hosts according to claim 1 and working host fault redundance guard method, feature exist
It is offline or while breaking down can carry out protection switching in working host in: backup host described in step 3, it is changed to work automatically
Host simultaneously possesses permission of 485 buses of the management read-write from equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910751962.3A CN110347536A (en) | 2019-08-15 | 2019-08-15 | A kind of 485 bus system of double hosts and working host fault redundance guard method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910751962.3A CN110347536A (en) | 2019-08-15 | 2019-08-15 | A kind of 485 bus system of double hosts and working host fault redundance guard method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110347536A true CN110347536A (en) | 2019-10-18 |
Family
ID=68185152
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910751962.3A Pending CN110347536A (en) | 2019-08-15 | 2019-08-15 | A kind of 485 bus system of double hosts and working host fault redundance guard method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110347536A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111064618A (en) * | 2019-12-20 | 2020-04-24 | 北京华胜天成科技股份有限公司 | Method, device, equipment and storage medium for realizing high availability of server |
CN111817939A (en) * | 2020-07-22 | 2020-10-23 | 浙江中控技术股份有限公司 | Master station redundancy implementation system and method based on industrial Ethernet protocol |
CN114172824A (en) * | 2021-12-15 | 2022-03-11 | 国家石油天然气管网集团有限公司 | Redundancy switching method and device for oil-gas pipeline high-speed bus and controller |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110282495A1 (en) * | 2010-05-14 | 2011-11-17 | Brian Fischer | Modular seat actuation control system and communication method |
CN103199972A (en) * | 2013-03-25 | 2013-07-10 | 成都瑞科电气有限公司 | Double machine warm backup switching method and warm backup system achieved based on SOA and RS485 bus |
CN103955188A (en) * | 2014-04-24 | 2014-07-30 | 清华大学 | Control system and method supporting redundancy switching function |
CN104901858A (en) * | 2015-05-21 | 2015-09-09 | 艾德克斯电子(南京)有限公司 | System communication method based on CAN bus |
CN109799797A (en) * | 2019-01-10 | 2019-05-24 | 国网陕西省电力公司 | The method of plant stand electric energy acquisition terminal two-node cluster hot backup |
-
2019
- 2019-08-15 CN CN201910751962.3A patent/CN110347536A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110282495A1 (en) * | 2010-05-14 | 2011-11-17 | Brian Fischer | Modular seat actuation control system and communication method |
CN103199972A (en) * | 2013-03-25 | 2013-07-10 | 成都瑞科电气有限公司 | Double machine warm backup switching method and warm backup system achieved based on SOA and RS485 bus |
CN103955188A (en) * | 2014-04-24 | 2014-07-30 | 清华大学 | Control system and method supporting redundancy switching function |
CN104901858A (en) * | 2015-05-21 | 2015-09-09 | 艾德克斯电子(南京)有限公司 | System communication method based on CAN bus |
CN109799797A (en) * | 2019-01-10 | 2019-05-24 | 国网陕西省电力公司 | The method of plant stand electric energy acquisition terminal two-node cluster hot backup |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111064618A (en) * | 2019-12-20 | 2020-04-24 | 北京华胜天成科技股份有限公司 | Method, device, equipment and storage medium for realizing high availability of server |
CN111817939A (en) * | 2020-07-22 | 2020-10-23 | 浙江中控技术股份有限公司 | Master station redundancy implementation system and method based on industrial Ethernet protocol |
CN114172824A (en) * | 2021-12-15 | 2022-03-11 | 国家石油天然气管网集团有限公司 | Redundancy switching method and device for oil-gas pipeline high-speed bus and controller |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110347536A (en) | A kind of 485 bus system of double hosts and working host fault redundance guard method | |
CN103473166B (en) | A kind of small embedded-type system board card supervisory system | |
CN100484051C (en) | System, device, equipment and method for monitoring management | |
CN103955188A (en) | Control system and method supporting redundancy switching function | |
CN106740999A (en) | All-electronin computer interlock system based on performing module redundancy | |
CN103354503A (en) | Cloud storage system capable of automatically detecting and replacing failure nodes and method thereof | |
CN201838298U (en) | Two-backup circuit and two-backup system of LED display screen power supply | |
CN105204952B (en) | A kind of multi-core operation System Fault Tolerance management method | |
CN108319258B (en) | Hot backup method for main controller of DC-DC module power supply | |
CN102522809A (en) | System and method for achieving power redundancy | |
CN101867221A (en) | Single board and method for power monitoring in board | |
CN101964724A (en) | Energy conservation method of communication single plate and communication single plate | |
CN104424680A (en) | Entrance guard redundancy control system | |
CN108833189A (en) | A kind of memory node management system and method | |
CN201163348Y (en) | Application control apparatus used for redundant system | |
CN103840956A (en) | Backup method for gateway device of Internet of Things | |
CN207164185U (en) | Carry Profibus agreements integrated terminal row | |
CN107623330A (en) | A kind of control method of valve base control system | |
JP2011077713A (en) | Device management system | |
CN105278651A (en) | Redundancy control system | |
CN101651580B (en) | Method and device for triggering double-machine switching | |
CN105824332B (en) | Intelligent monitoring method and system | |
CN210667178U (en) | Centralized coordinated control signal machine based on hot backup | |
CN220455916U (en) | Dual-power dual-CPU controlled fire alarm controller | |
CN111858443A (en) | Switch I2C communication system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20191018 |
|
WD01 | Invention patent application deemed withdrawn after publication |