CN102355371A - Implementation method for dual hot redundancy of splicing wall control system - Google Patents
Implementation method for dual hot redundancy of splicing wall control system Download PDFInfo
- Publication number
- CN102355371A CN102355371A CN2011103049393A CN201110304939A CN102355371A CN 102355371 A CN102355371 A CN 102355371A CN 2011103049393 A CN2011103049393 A CN 2011103049393A CN 201110304939 A CN201110304939 A CN 201110304939A CN 102355371 A CN102355371 A CN 102355371A
- Authority
- CN
- China
- Prior art keywords
- server
- address
- master server
- client
- virtual
- 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
- Hardware Redundancy (AREA)
Abstract
The invention discloses an implementation method for dual hot redundancy of a splicing wall control system. The method comprises the following steps that: a main server communicates with a client through a virtual IP (Internet Protocol) address; a slave server is connected with the main server through a real IP address and monitors the main server; both the slave server and the main server are connected with a splicing wall through the real IP address and receive state data of the splicing wall; the main server records the state data of the splicing wall and transmits the state data to the slave server; when the main server is crashed, the slave server automatically loads the virtual IP address and communicates with the client to start related logic service and keep splicing wall state maintained by the slave server consistent with the real splicing wall state through background mode data initialization; and when connection of the client and the main server through the virtual IP address is interrupted, the original connection is closed and then connection with the virtual IP address is established, so that communication connection with the slave server is established. By adopting the method, seamless switching between the main server and the slave server and between the server and the client is implemented.
Description
Technical field
The present invention relates to the combination technical field, the implementation method that particularly a kind of combination control system dual-locomotive heat is redundant.
Background technology
The combination Control Software often all is the C/S framework that adopts as the software of combination management, service end Server be responsible for combination in relevant device be connected with alternately, and it is carried out required control; Client Client provides operation interface to realize the management control of user to combination.Because will realize complicated control logic and support the operation of a plurality of clients simultaneously, the stability of service end Server is very important.In the combination application system; In order to guarantee the operation stability of service end Server; Implementation method commonly used at present is the mode that adopts dual-locomotive heat redundant; It realizes that principle is following: master server Master-Server and connect with combination simultaneously from server S lave-Server; When client Client starts; The user selects to sign in to master server; Occur behind machine in main service; It is unusual that client Client will point out the operation of user's master server to occur; And require the user to login to from server, and then realize combination is continued operation.
Though above-mentioned implementation method is simple; And can satisfy user's demand; But it has following shortcoming: first; Have no mutual between principal and subordinate's server; Make and to know that from server master server works as the state of combination before the machine; Like the window opened on the wall and window layout etc., so client Client can't continue operation on original combination state basis; The second, master server is when machine, and client need just can be signed in to from server by user's manual intervention, can't realize automatically switching to from server.
Summary of the invention
In order to overcome above-mentioned owing to have no between principal and subordinate's server and cause client Client can't on original combination state basis, continue to operate alternately; And at master server during when machine; Client need just can be signed in to from server by user's manual intervention; Can't realize automatically switching to the shortcoming from the server, the invention provides the redundant implementation method of a kind of combination control system dual-locomotive heat.
Technical scheme of the present invention is: the implementation method that a kind of combination control system dual-locomotive heat is redundant may further comprise the steps: step 1, master server load a virtual ip address automatically when starting, and mutual through this virtual ip address and client communication; Step 2 is set up heartbeat with master server through real IP address from server and is connected after startup, and monitors the running status of master server through heartbeat packet; Step 3 is set up data with master server through real IP address from server and is connected after startup, and receives the combination status data that master server sends over through this connection; Step 4; Master server is set up the data object of a background mode; The status data that is used for the record concatenation wall; When the operation of client causes that the state of combination changes; The content of background mode will be done corresponding renewal, and master server is through being sent to the background mode content from server with being connected from the data between the server; Step 5; From server when monitoring master server when machine; The virtual ip address that loads when automatically above-mentioned master server being started loads; And it is mutual to carry out communication with this virtual ip address and client; From server after loading virtual ip address; Start relevant logical services immediately, and work as machine background mode data before with received master server and carry out initialization, the feasible combination state of safeguarding from server and real combination state consistency; Step 6; Client owing to master server when machine causes when interrupting with being connected of virtual ip address and then causing the client transmitting order to lower levels or receive the response failure; Close original connection and connecting with this virtual ip address once more, thus with set up communication from server and be connected.
Wherein, the described method for supervising of step 2 is to connect regularly through this heartbeat from server to send the heartbeat packet data to master server, if send the affirmation response of all not receiving master server for several times continuously, thinks that then master server worked as machine.
Compared with prior art, the invention has the beneficial effects as follows: realize carrying out seamless switching between principal and subordinate's server and between server and the client.
Description of drawings
Fig. 1 implements sketch map for the present invention.
Embodiment
Below in conjunction with accompanying drawing the present invention is further specified.
Shown in accompanying drawing 1, master server 1, real IP address is 192.168.1.2; During startup, load a virtual ip address 192.168.110 automatically, so master server 1 has two IP addresses at this moment; One is real IP address 192.168.1.2, and one is virtual IP address 192.168.1.10.Wherein real IP address is used for and carries out communication from server 2, and virtual IP address is used for and client 31, client 32, client 33 communications.From server 2, the IP address is 192.168.1.3, after the startup, sets up heartbeat through real IP address 192.168.1.2 with master server 1 and is connected, and monitors the running status of master server 1 through heartbeat packet.Regularly send heartbeat packet from server 2,, think that then master server 1 worked as machine if send the affirmation response of all not receiving master server 1 for several times continuously to master server 1.Confirming that from server 2 master server 1 is behind machine; Load the virtual ip address 192.168.110 that above-mentioned master server 1 is loaded immediately; Had two IP addresses from server 2 this moment; One is real IP address 192.168.1.3; One is virtual IP address 192.168.1.10; Because master server 1 has been worked as machine; So can not cause the conflict of principal and subordinate's server ip address because of virtual ip address 192.168.1.10; This virtual ip address is the same during with master server 1 operate as normal, is used for and client 31, client 32, client 33 communications.Because principal and subordinate's server is virtual ip address 192.168.1.10 to the IP address that client provides during with the client communication; Therefore for client; No longer include the branch of principal and subordinate's server; Client 31, client 32, client 33 only need rebulid connection and get final product when detecting original connection and break off.In addition,, after startup,, also set up data with master server 1 and be connected from server 2 through real IP address 192.168.1.2 except that setting up heartbeat is connected with master server 1.Master server 1 is when operate as normal; Respectively client 31, client 32, client 33 each operating results of carrying out are connected through the data between principal and subordinate's server and send to from server 2; Assurance can be known the state of combination in real time from server 2; Make that at master server 1 client 31, client 32, client 33 can continue to operate on the original basis through after IP address 192.168.1.10 is reconnected during when machine.For operating personnel, server has only one, and its address is 192.168.110, and server is in normal operating conditions always.
Claims (2)
1. the implementation method that combination control system dual-locomotive heat is redundant is characterized in that, may further comprise the steps:
Step 1, master server load a virtual ip address automatically when starting, and mutual through this virtual ip address and client communication;
Step 2 is set up heartbeat with master server through real IP address from server and is connected after startup, and monitors the running status of master server through heartbeat packet;
Step 3 is set up data with master server through real IP address from server and is connected after startup, and receives the combination status data that master server sends over through this connection;
Step 4; Master server is set up the data object of a background mode; The status data that is used for the record concatenation wall; When the operation of client causes that the state of combination changes; The content of background mode will be done corresponding renewal, and master server is through being sent to the background mode content from server with being connected from the data between the server;
Step 5; From server when monitoring master server when machine; The virtual ip address that loads when automatically above-mentioned master server being started loads; And it is mutual to carry out communication with this virtual ip address and client; From server after loading virtual ip address; Start relevant logical services immediately, and work as machine background mode data before with received master server and carry out initialization, the feasible combination state of safeguarding from server and real combination state consistency;
Step 6; Client owing to master server when machine causes when interrupting with being connected of virtual ip address and then causing the client transmitting order to lower levels or receive the response failure; Close original connection and connecting with this virtual ip address once more, thus with set up communication from server and be connected.
2. the implementation method that combination control system dual-locomotive heat according to claim 1 is redundant; It is characterized in that: the described method for supervising of step 2 is to connect regularly through this heartbeat from server to send the heartbeat packet data to master server; If send continuously the affirmation response of all not receiving master server for several times, think that then master server worked as machine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103049393A CN102355371A (en) | 2011-10-08 | 2011-10-08 | Implementation method for dual hot redundancy of splicing wall control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103049393A CN102355371A (en) | 2011-10-08 | 2011-10-08 | Implementation method for dual hot redundancy of splicing wall control system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102355371A true CN102355371A (en) | 2012-02-15 |
Family
ID=45578868
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011103049393A Pending CN102355371A (en) | 2011-10-08 | 2011-10-08 | Implementation method for dual hot redundancy of splicing wall control system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102355371A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103677719A (en) * | 2013-12-24 | 2014-03-26 | 广东威创视讯科技股份有限公司 | Spliced wall display method |
CN107426021A (en) * | 2017-07-19 | 2017-12-01 | 北京锐安科技有限公司 | Construction method, device and the redundant system of redundant system |
CN110474797A (en) * | 2019-07-25 | 2019-11-19 | 北京旷视科技有限公司 | API operation system, the method and device of active-standby switch |
CN110955210A (en) * | 2019-11-29 | 2020-04-03 | 广东嘉腾机器人自动化有限公司 | AGV scheduling method, device and system |
CN112506457A (en) * | 2020-12-03 | 2021-03-16 | 威创集团股份有限公司 | Seamless realization method and system for LED spliced wall system, storage medium and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1466322A (en) * | 2002-06-23 | 2004-01-07 | ��Ϊ��������˾ | Method for realfizing router interface backup utilizing virtual router redundancy procotol |
CN101262479A (en) * | 2008-04-25 | 2008-09-10 | 华为技术有限公司 | A network file share method, server and network file share system |
CN101483673A (en) * | 2009-02-20 | 2009-07-15 | 杭州华三通信技术有限公司 | Implementation method and system for heat backup at different sites |
CN102065152A (en) * | 2010-11-05 | 2011-05-18 | 广东威创视讯科技股份有限公司 | Joined screen system and communication device thereof |
-
2011
- 2011-10-08 CN CN2011103049393A patent/CN102355371A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1466322A (en) * | 2002-06-23 | 2004-01-07 | ��Ϊ��������˾ | Method for realfizing router interface backup utilizing virtual router redundancy procotol |
CN101262479A (en) * | 2008-04-25 | 2008-09-10 | 华为技术有限公司 | A network file share method, server and network file share system |
CN101483673A (en) * | 2009-02-20 | 2009-07-15 | 杭州华三通信技术有限公司 | Implementation method and system for heat backup at different sites |
CN102065152A (en) * | 2010-11-05 | 2011-05-18 | 广东威创视讯科技股份有限公司 | Joined screen system and communication device thereof |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103677719A (en) * | 2013-12-24 | 2014-03-26 | 广东威创视讯科技股份有限公司 | Spliced wall display method |
CN103677719B (en) * | 2013-12-24 | 2016-08-17 | 广东威创视讯科技股份有限公司 | A kind of combination display packing |
CN107426021A (en) * | 2017-07-19 | 2017-12-01 | 北京锐安科技有限公司 | Construction method, device and the redundant system of redundant system |
CN110474797A (en) * | 2019-07-25 | 2019-11-19 | 北京旷视科技有限公司 | API operation system, the method and device of active-standby switch |
CN110955210A (en) * | 2019-11-29 | 2020-04-03 | 广东嘉腾机器人自动化有限公司 | AGV scheduling method, device and system |
CN110955210B (en) * | 2019-11-29 | 2021-10-19 | 广东嘉腾机器人自动化有限公司 | AGV scheduling method, device and system |
CN112506457A (en) * | 2020-12-03 | 2021-03-16 | 威创集团股份有限公司 | Seamless realization method and system for LED spliced wall system, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018036148A1 (en) | Server cluster system | |
WO2019094522A1 (en) | Method and system of a high availability enhancements to a computer network | |
US10664417B2 (en) | Systems and methods for exchanging USB information with selected remote devices | |
CN103530176A (en) | Migrating virtual machines between computing devices | |
CN102355371A (en) | Implementation method for dual hot redundancy of splicing wall control system | |
CN110324375B (en) | Information backup method and related equipment | |
CN102769627A (en) | Configuration file synchronizing method and device | |
CN103188308A (en) | Remote diagnosis method and system | |
CN103297279B (en) | The active and standby single-deck reverse method of software control in a kind of many software process system | |
CN103312558B (en) | In computer clients server system, network is connected with validity monitoring method and system | |
CN101145972B (en) | A disaster tolerance network management system and login method of network management clients | |
CN103685398A (en) | Communication connection establishment method and communication system | |
US20160285673A1 (en) | Client side host machine backup system and its implementing method | |
CN108667640B (en) | Communication method and device, and network access system | |
CN105554150A (en) | Network logging-in method and apparatus | |
CN104378449A (en) | Virtual IP realization method | |
CN101621526A (en) | iSCSI method and apparatus for preventing useless connection from occupying system resources | |
CN105337781A (en) | Network management system and method and network system | |
CN110661651A (en) | SDN controller data management method, system, device and readable storage medium | |
CN102118327A (en) | Multi-host gateway | |
CN105391565A (en) | Method for achieving synchronization of backup business configuration | |
WO2015035800A1 (en) | Port status synchronization method, and related device and system | |
CN105281944A (en) | Method for setting network protocol address and service management system | |
KR101586151B1 (en) | Method for reconnection between controllers and network apparatus | |
US10536875B2 (en) | System and method for seamless TCP connection handoff |
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 |
Application publication date: 20120215 |