WO2016107438A1 - 自动切换方法及系统 - Google Patents
自动切换方法及系统 Download PDFInfo
- Publication number
- WO2016107438A1 WO2016107438A1 PCT/CN2015/098079 CN2015098079W WO2016107438A1 WO 2016107438 A1 WO2016107438 A1 WO 2016107438A1 CN 2015098079 W CN2015098079 W CN 2015098079W WO 2016107438 A1 WO2016107438 A1 WO 2016107438A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- client
- application server
- configuration option
- server
- automatic switching
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0876—Aspects of the degree of configuration automation
- H04L41/0883—Semiautomatic configuration, e.g. proposals from system
-
- 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/2053—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 persistent mass storage functionality or persistent mass storage control functionality is redundant
- G06F11/2089—Redundant storage control functionality
- G06F11/2092—Techniques of failing over between control units
-
- 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/2028—Failover techniques eliminating a faulty processor or activating a spare
-
- 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
-
- 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/2038—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 with a single idle spare processing component
-
- 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/2048—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 where the redundant components share neither address space nor persistent storage
-
- 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/2053—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 persistent mass storage functionality or persistent mass storage control functionality is redundant
- G06F11/2094—Redundant storage or storage space
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0668—Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0866—Checking the configuration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0876—Aspects of the degree of configuration automation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0817—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1034—Reaction to server failures by a load balancer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/40—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
Definitions
- the present invention relates to the field of distributed systems, and more particularly to an automatic switching method and system applied to a standby server.
- the security inspection system includes security inspection equipment installed at the security inspection station.
- the security inspection equipment is used to scan the human body or the carried items, and the scan results are sent to the security management system for protection against the risks caused by the contraband.
- the security management system includes security inspection. Distribution management system or security centralized management system. In the normal mode, the security distribution management system generally has two sets of redundant servers, core switches and some non-universal clients. One set is used in the application environment and the other is used as a backup environment. The standby environment needs to be isolated from the application environment. When the application environment server fails, the client is connected to the standby environment server system by changing the physical link of the corresponding client.
- FIG. 1 is a switching method and a distributed system of an application server and a standby server in the prior art.
- an existing application service is isolated from a standby server.
- a client In a normal state, a client is connected to an application server network when needed.
- the existing switching method and distributed system of the application server and the backup server cause complicated system structure and high cost due to the need to add additional network devices and non-universal clients, and further, switching is required due to manual manual switching.
- the steps are complicated and require a long switching time.
- the present invention provides an automatic switching method and system, which can be automatically completed, and the switching process is efficient and safe, and the working efficiency is improved.
- the present invention provides an automatic switching method, including:
- the automatic switching device monitors the service status of the application server in real time
- the automatic switching device monitors that the application server stops providing services for the client, the automatic switching device sends a switching instruction for switching the current configuration option to the application server, and sends a notification message for switching the current configuration option to the standby server. ;
- the standby server switches the current configuration option to a preset first configuration option according to the notification message, and provides a service for the client;
- the first configuration option is a configuration option of the application server when providing service to the client.
- the method further includes: the application server switching the current configuration option to the preset second configuration option according to the switching instruction, and sending the feedback information to the automatic switching device.
- the method further includes: when the automatic switching device monitors that the application server stops providing services for the client, sending, by the client, a handover prompt message for switching the application server, and reminding the The application server that provides service to the client of the client is switching.
- the client that receives the service provided by the application server comprises: a universal client and a first non-universal client;
- the client receiving the service provided by the standby server includes: the universal client and the second non-generic client;
- the second non-universal client corresponds to the first non-universal client
- a handover prompt message for switching the application server including:
- the application server and the standby server are capable of simultaneously communicating with the client.
- the standby server switches the current configuration option to a preset first configuration option, and provides services for the client.
- the method further includes:
- the network device connected to the application server switches the current configuration option to a preset third configuration option to enable the standby server to communicate with the client and provide services to the client.
- the network device connected to the application server switches the current configuration option to a preset third configuration option, including:
- the automatic switching device monitors, when the application server stops providing services for the client, sends a notification message to the network device to enable the standby server to provide services for the client;
- the network device switches the current configuration option to a preset third configuration option according to the notification message.
- the application server and the standby server cannot simultaneously communicate with the client.
- the present invention provides an automatic switching method, including:
- the automatic switching device monitors the service status of the application server in real time
- the automatic switching device monitors that the application server stops providing services to the client, the automatic switching device sends a switching instruction for switching the current configuration option to the network device connected to the application server;
- the network device switches the current configuration option to a preset third configuration option according to the switching instruction, so that the standby server performs data communication with the client to provide services for the client;
- the third configuration option of the network device is a configuration option that enables the standby server to provide services for the client.
- the method further includes: when the automatic switching device monitors that the application server stops providing services for the client, sending, by the client, a handover prompt message for switching the application server, and reminding the The application server that provides service to the client of the client is switching.
- the application server and the standby server cannot simultaneously communicate with the client.
- the present invention provides an automatic switching system, including:
- An automatic switching device at least one client, an application server serving the at least one client, and a standby server providing a service to the client when the application server stops providing a service to the client; the application The server is physically connected to the standby server; when the automatic switching device monitors that the application server stops providing services for the client, sends a switching instruction message to the application server to switch the current configuration option, and sends a switch to the standby server.
- a notification message of the current configuration option to cause the alternate server to switch the current configuration option to a configuration option that can serve the client.
- the system further includes: a network device, wherein the client communicates with the application server by using the network device;
- the automatic switching device monitors, when the application server stops providing services for the client, notifying the network device to switch the current configuration option to a configuration option capable of communicating with the standby server, so that the standby server is Said at least one client provides services.
- the automatic switching method and system of the present invention when the application server stops providing services to the client, the automatic switching device sends a switching instruction for switching the current configuration option to the application server, and sends a switch to the standby server to switch the current configuration option.
- FIG. 1 is a schematic structural diagram of a distributed system in the prior art
- FIG. 2 is a schematic flowchart of an automatic switching method according to an embodiment of the present invention.
- FIG. 3 is a partial flow chart of an automatic switching method according to an embodiment of the present invention.
- FIG. 4 is a schematic flowchart of an automatic switching method according to an embodiment of the present invention.
- FIG. 5 is a schematic flowchart diagram of an automatic switching method according to another embodiment of the present invention.
- FIG. 6 is a schematic flowchart diagram of an automatic switching method according to another embodiment of the present invention.
- FIG. 7 is a schematic block diagram of an automatic switching system according to an embodiment of the present invention.
- FIG. 8 is a schematic structural diagram of an automatic switching system according to an embodiment of the present invention.
- FIG. 9 is a schematic block diagram of an automatic switching system according to another embodiment of the present invention.
- FIG. 10 is a schematic structural diagram of an automatic switching system according to another embodiment of the present invention.
- the embodiments of the present invention are mainly applied to security inspection systems, for example, airport security inspection systems, ship clearance security inspection systems, security inspection systems for important places such as subways and stations.
- the following client may be a security device and a first PC (Personal Computer) machine that receives scan data sent by the security device
- the application server may be a second PC configured to communicate with the first PC in the equipment room.
- the second PC can determine whether the item is dangerous according to the data sent by the first PC
- the standby server can be a third PC that communicates with the security device in the case of a second PC failure
- the automatic switching device can be a monitoring security check.
- the device, the first PC, the second PC, another PC of the third PC working state, or may be a driver agent software that is set to monitor and switch in the security device and all the PCs.
- FIG. 2 is a schematic flowchart of an automatic switching method according to an embodiment of the present invention. As shown in FIG. 2, the automatic switching method provided in this embodiment is as follows.
- the automatic switching device monitors the service status of the application server in real time.
- the client sends security check information to the application server, and the application server performs a corresponding security check operation, records the security check result, and feeds back the security check result to the client.
- the automatic switching device monitors that the application server stops providing services for the client, the automatic switching device sends a switching instruction for switching the current configuration option to the application server, and sends a notification message for switching the current configuration option to the standby server.
- the configuration option may be an Internet Protocol (IP) address, a mounted resource, a service that is started, or the like, which is not specifically limited in this embodiment.
- IP Internet Protocol
- the standby server switches the current configuration option to a preset first configuration option according to the notification message, and provides a service for the client.
- the first configuration option is a configuration option when the application server provides services for the client.
- the application server switches the current configuration option to the preset second configuration option
- the application enters a waiting state
- the standby server switches the current configuration option to the preset first configuration option, and then enters the service state.
- the first configuration option matches the current configuration option of the application server, such as configuring a specific IP address, mounting a corresponding resource, and starting a corresponding service.
- step 201 the automatic switching device monitors the service status of the application server in real time.
- the client accesses the application server.
- the application server sends an alarm to the alarm system, and the application server
- the application server stops providing the service. The client cannot access the application server.
- the automatic switching device includes a drive proxy device disposed in the application server and the standby server.
- step 202 when the automatic switching device monitors that the application server stops providing services to the client, the automatic switching device sends a notification message for switching the current configuration option to the driving proxy device set inside the standby server, and the driving proxy device receives the notification message.
- the standby server is triggered, and the current configuration option is switched according to the notification message.
- the client that receives the service provided by the application server includes: a universal client and a first non-universal client
- the client that receives the service provided by the backup server includes: the universal client and the second non-universal client.
- the second non-generic client corresponds to the first non-universal client.
- the automatic switching device triggers the second non-generic client to start when monitoring that the application server stops providing services to the client.
- the application server and the standby server can communicate with the client at the same time, and the current configuration options of the application server and the standby server are different.
- the client accesses the application server, and when the application server fails, the application server stops providing the service.
- the automatic switching device sends a switching instruction for switching the current configuration option to the application server, and switches the current configuration option of the application server to the preset second configuration option, and sends a notification message for switching the current configuration option to the standby server, so that the standby server will
- the configuration option switches to the preset first configuration option and provides services to the client instead of the application server.
- the client After the security check, the client synchronizes the latest security results to the database connected to the standby server.
- the communication process between the client and the standby server is automatically implemented through the network mechanism.
- the switching of configuration options includes the switching of the IP address.
- the data packet sent by the client is automatically sent to the standby. server.
- the standby server when the standby server provides a service for the client, the prompt information of the completion of the handover is sent to the client, and when the client receives the prompt information of the completion of the handover, the handover is completed.
- an application server and multiple standby servers can be configured.
- the standby application server can share tasks and realize load redistribution.
- step 202 the above method may further include step 202a not shown in the following figure.
- the automatic switching device monitors, when the application server stops providing services for the client, sends a handover prompt message for switching the application server to the client, and the application server that reminds the user of the client to provide the service is switching. At this time, after the client obtains the handover indication message, if the current detection information needs to be backed up, the client can back it up.
- the handover prompt information sent to the client for switching the server may be various instruction information indicating the operation of the client, such as an alert message prompting the application server to be faulty, an instruction to remind the client to store the data, and a reaction application server.
- the state information of the working state, etc., the switching prompt information may be displayed by the information indicating device connected to the security device, and the switching prompt information may be set according to different application scenarios, which is not specifically limited in this embodiment.
- the automatic switching device sends a handover prompt message for switching the application server to the universal client in the client, and the client performs corresponding operations or prompts according to specific instructions in the handover prompt message, such as saving data. Or the invalidation of the current operation.
- step 203 the above method may further include step 203a, which is not shown in the following figure.
- the network device connected to the application server switches the current configuration option to a preset third configuration option, so that the standby server provides services for the client.
- the application server and the standby server have physical link connections with the network device. Due to the configuration of the network device, the standby server cannot communicate with the client through the network device before switching the network device.
- the network device can be a router, a network switch, or the like.
- the configuration option of the network device may be a configuration option for a virtual local area network (VLAN).
- VLAN virtual local area network
- the application server stops providing the service, and the application server switches the current configuration option to the preset second configuration option, and the standby server switches the current configuration option to the preset first configuration option.
- the client automatically communicates with the standby server through the network mechanism, thereby eliminating the need for manual switching and improving work efficiency.
- FIG. 3 is a partial flow chart of an automatic switching method according to an embodiment of the present invention. Specifically, FIG. 3 is a schematic flowchart of the foregoing sub-step 203a. As shown in FIG. 3, the foregoing step 203a specifically includes:
- the automatic switching device monitors, when the application server stops providing services to the client, sends a notification message to the network device to enable the standby server to provide services for the client.
- the automatic switching device monitors that the application server stops providing services to the client, it sends a notification message for switching the configuration option to the driving proxy device set inside the network device, and the driving proxy device triggers the network after receiving the notification message.
- the network device switches the current configuration option according to the notification message.
- the network device switches the current configuration option to a preset third configuration option according to the notification message.
- the application server stops providing the service
- the configuration option of the switching network device is the third preset configuration option
- the client and the standby server are assigned to the same VLAN, so that the standby server provides services for the client.
- the client automatically communicates with the standby server through the network mechanism, thereby eliminating the need for manual switching and improving work efficiency.
- FIG. 4 is a schematic diagram of a specific process of an automatic switching method according to an embodiment of the present invention. As shown in FIG. 4, the automatic switching method in this embodiment specifically includes:
- the automatic switching device monitors whether the application server stops providing services.
- the automatic switching device monitors that the application server has stopped providing the service, it sends a switching instruction to switch the current configuration option to the application server; otherwise, returns a prompt message to the automatic switching device.
- the application server switches configuration options and enters a waiting state.
- the current configuration option is switched to the preset second configuration. Set the option to enter the wait state.
- the automatic switching device receives a feedback message that the configuration option of the application server is switched to the waiting state, and determines whether the application server enters the waiting state according to the feedback message. If the application server fails to enter the waiting state, the prompt message is returned to the automatic switching. Device.
- the non-universal client in the backup environment is enabled.
- the feedback information is sent to the automatic switching device.
- the standby server switches configuration options and enters the service state.
- the standby server switches the current configuration option to the preset first configuration option according to the notification message sent by the automatic switching device, and enters the service state.
- the automatic switching device After the application server switching configuration enters the waiting state, the automatic switching device sends a corresponding notification message to the standby server, and the standby server switches the current configuration option to the preset first configuration option according to the notification message.
- the standby server switches the current configuration option to the preset first configuration option, the service state is entered, and the security data sent by the client can be received and stored to provide services for the client, and the client automatically communicates with the network mechanism.
- the standby server communicates, if the standby server fails to switch and does not enter the service state, a prompt message is returned to the automatic switching device.
- the client in this embodiment automatically communicates with the standby server through the network mechanism, thereby eliminating manual switching work and saving switching time.
- FIG. 5 is a schematic flowchart of an automatic switching method according to another embodiment of the present invention. As shown in FIG. 5, the automatic switching method provided in this embodiment is as follows.
- the automatic switching device monitors the service status of the application server in real time.
- the automatic switching device monitors that the application server stops providing services to the client, the automatic switching device sends a notification message for switching the current configuration option to the network device connected to the application server, so that the network device switches the current according to the notification message.
- Configuration options are provided.
- a network device refers to a router, switch, or other network device.
- the network device switches the current configuration option to a preset third configuration option according to the notification message, so that the standby server communicates with the client to provide services for the client.
- the application server and the standby server cannot communicate with the client at the same time, and the configuration options of the application server and the backup server are the same, but belong to different VLANs.
- the third configuration option of the network device is a configuration option that enables the standby server to provide services for the client, such as configuring a specific IP address, mounting a corresponding resource, starting a corresponding service, and the like.
- the configuration option of the network device may be a configuration option for VLAN division, and the network device is currently After the configuration option is switched, the standby server and the client are in the same VLAN, and the application server is in other VLANs. Through the network mechanism, the packets sent by the client are automatically sent to the standby server.
- step 502 the above method may further include step 504, which is not shown in the following figures.
- the automatic switching device sends a handover prompt message for switching the application server to the client when monitoring that the application server stops providing services for the client, and the application server that reminds the user of the client to provide the service is switching.
- the handover prompt information sent to the client for switching the server may be various instruction information indicating the operation of the client, such as an alert message prompting the application server to be faulty or an instruction to remind the client to store the data, etc.
- the handover The prompt information may be set according to different application scenarios, and is not specifically limited in this embodiment.
- the automatic switching device after receiving the prompt information required to switch the server, the automatic switching device can control the application server to be disconnected, so that the client is protected from interference during the process of connecting with the standby server, thereby improving the stability of the connection process. Sex.
- the application server stops working, and the standby server starts to provide a service, and switches the current configuration option of the network device to a preset third configuration option, and the client
- the standby server accesses the same VLAN and switches the application server to another VLAN. The switchover is complete.
- the switching operation can be completed by switching the configuration options of the network device, the switching work time is reduced, the system complexity is reduced, and the switching work efficiency is greatly improved.
- FIG. 6 is a schematic flowchart of a method for automatically switching according to an embodiment of the present invention. As shown in FIG. 6, the method specifically includes:
- the automatic switching device monitors whether the application server stops providing services.
- the standby server starts the service.
- the standby server is started.
- the non-universal client in the backup environment is enabled. After the non-universal client is successfully enabled, the standby server enters the service state. Otherwise, the prompt message is returned to the automatic switching device.
- the configuration option of the network device may be a configuration option regarding VLAN division, and the automatic switching device sends a corresponding instruction to the network device, so that the network device switches the current configuration option to a preset third configuration option.
- the standby server and the client are in the same VLAN, and the data packet sent by the client is automatically sent to the standby server through the network mechanism.
- the handover operation is completed, and otherwise, the prompt message is returned to the automatic switching device.
- the switching operation can be completed by switching the configuration options of the network device, reducing the switching work time and reducing the system complexity.
- FIG. 7 is a schematic block diagram of an automatic switching system according to an embodiment of the present invention
- FIG. 8 is a schematic structural diagram of the automatic switching system shown in FIG. 7. As shown in FIG. 7 and FIG. 8, the automatic embodiment of the present embodiment is shown in FIG.
- the switching system includes: an automatic switching device 71, at least one client 72, an application server 73 that provides service for at least one client, and a standby server 74 that provides services to the client when the application server 73 stops providing services to the client; the application server 73 is physically connected to the standby server 74; when the automatic switching device 71 monitors that the application server 73 stops providing service to the client 72, it sends a switching instruction to switch the current configuration option to the application server 73, and sends a notification to the standby server 74 to switch the current configuration option.
- the automatic switching device 71 switches the current configuration option of the application server 73 to the preset second configuration option, and the current configuration option of the standby server 74. Switching to the preset first configuration option provides service to client 72.
- the automatic switching system of this embodiment further includes a network device 75;
- the client 72 is connected to the application server 73 through the network device 75;
- the automatic switching device 71 monitors that the application server 73 stops providing service to the client 72, it notifies the network device 75 to switch the current configuration option to a configuration option capable of communicating with the standby server 74, so that the standby server 74 is at least one client 72. Provide services.
- the network device 75 is configured to switch the current configuration option to a preset third configuration option to cause the alternate server 74 to serve the client 72.
- the automatic switching system of this embodiment can execute the foregoing process in the method embodiment shown in FIG. 2 to FIG. 4, and the embodiment is not described in detail herein.
- the application server and the backup server have different configuration options.
- the application server stops providing the service, and switches the configuration option to enter the ready state.
- the standby server switches configuration options and replaces the application server like a client to provide services, eliminating the need to go to the equipment placement site, reducing coordination and preparation.
- FIG. 9 is a schematic block diagram of an automatic switching system according to another embodiment of the present invention
- FIG. 10 is a schematic structural diagram of the automatic switching system of FIG.
- the automatic switching system of this embodiment includes: an automatic switching device 91, at least one client 92, an application server 93 serving at least one client 92, and stopping at the application server 93 to the client.
- 92 provides a backup server 94 that provides services to the client 92 when the service is provided; a network device 95 that is connected to the application server 93;
- the automatic switching device 91 causes the standby server 94 to serve the client 92 by switching the current configuration option of the network device 95 to the third configuration option.
- the automatic switching system of this embodiment can perform the processes in the foregoing method embodiments shown in FIG. 5 and FIG. 6, and the embodiment is not described in detail herein.
- the automatic switching system of this embodiment no longer needs to establish a separate standby server network and prepare a non-universal client device, by switching the current configuration option of the network device to a preset third configuration option.
- the client and the standby server are connected to the same VLAN, and the application server is switched to another VLAN, and the switching work is automatically completed, which reduces system equipment, reduces system complexity, and reduces costs.
- the standby server is independent of the application server. In a normal state, the client accesses the application server. When the application server fails, the client accesses the standby server through the switch routing setting.
- the backup server is isolated from the application server at the network level to ensure that the entire security system can still run when the application server experiences an unpredictable failure.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Computer Security & Cryptography (AREA)
- Automation & Control Theory (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
- Hardware Redundancy (AREA)
Abstract
Description
Claims (13)
- 一种自动切换方法,其特征在于,包括:自动切换装置实时监控应用服务器的服务状态;当所述自动切换装置监控到所述应用服务器停止为客户端提供服务时,所述自动切换装置向所述应用服务器发送切换当前配置选项的切换指令,向备用服务器发送切换当前配置选项的通知消息;所述备用服务器根据所述通知消息将当前的配置选项切换为预设的第一配置选项,并为所述客户端提供服务;其中,所述第一配置选项为所述应用服务器在为所述客户端提供服务时的配置选项。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:所述应用服务器根据所述切换指令将当前的配置选项切换为预设的第二配置选项,向所述自动切换装置发送反馈信息。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:所述自动切换装置监控到所述应用服务器停止为所述客户端提供服务时,向所述客户端发送用于切换所述应用服务器的切换提示消息,提醒所述客户端的使用者提供服务的应用服务器正在切换。
- 根据权利要求3所述的方法,其特征在于,接收所述应用服务器提供的服务的客户端包括:通用客户端和第一非通用客户端;接收所述备用服务器提供的服务的客户端包括:所述通用客户端和第二非通用客户端;所述第二非通用客户端与所述第一非通用客户端相应;所述自动切换装置监控到所述应用服务器停止为所述客户端提供服务时,触发所述第二非通用客户端启动;和/或,相应地,所述向客户端发送用于切换所述应用服务器的切换提示消息,包括:向所述客户端中的通用客户端发送用于切换应用服务器的切换提示消息,提醒所述客户端的使用者提供服务的应用服务器正在切换。
- 根据权利要求1至4任一所述的方法,其特征在于,所述应用服务器和所述备用服务器能够同时与所述客户端通信。
- 根据权利要求1所述的方法,其特征在于,所述备用服务器将当前的配置选项切换为预设的第一配置选项,为所述客户端提供服务,之前或之后,所述方法还包括:与所述应用服务器连接的网络设备将当前的配置选项切换为预设的第三配置选项,以使所述备用服务器与所述客户端进行数据通信,并为所述客户端提供服务。
- 根据权利要求6所述的方法,其特征在于,所述与所述应用服务器连接的网络设备将当前的配置选项切换为预设的第三配置选项,包括:所述自动切换装置监控到所述应用服务器停止为所述客户端提供服务时,向所述网络设备发送使备用服务器为所述客户端提供服务的通知消息;所述网络设备根据所述通知消息将当前的配置选项切换为预设的第三配置选项。
- 根据权利要求6或7所述的方法,其特征在于,所述应用服务器和所述备用服务器不能同时与所述客户端通信。
- 一种自动切换方法,其特征在于,包括:自动切换装置实时监控应用服务器的服务状态;当所述自动切换装置监控到所述应用服务器停止为客户端提供服务时,所述自动切换装置向与所述应用服务器连接的网络设备发送用于切换当前配置选项的切换指令;所述网络设备根据所述切换指令将当前的配置选项切换为预设的第三配置选项,以使备用服务器与所述客户端进行数据通信,为所述客户端提供服务;其中,所述网络设备的第三配置选项为能够使所述备用服务器为所述客户端提供服务的配置选项。
- 根据权利要求9所述的方法,其特征在于,所述方法还包括:所述自动切换装置监控到所述应用服务器停止为所述客户端提供服务时,向所述客户端发送用于切换所述应用服务器的切换提示消息,提醒所述客户端的使用者提供服务的应用服务器正在切换。
- 根据权利要求9或10所述的方法,其特征在于,所述应用服务器和所述备用服务器不能同时与所述客户端通信。
- 一种自动切换系统,其特征在于,包括:自动切换装置、至少一个客户端、为所述至少一个客户端提供服务的应用服务器、在所述应用服务器停止向所述客户端提供服务时向所述客户端提供服务的备用服务器;所述应用服务器与所述备用服务器物理连接;所述自动切换装置监控到所述应用服务器停止为所述客户端提供服务时,向所述应用服务器发送切换当前配置选项的切换指令消息,向备用服务器发送切换当前配置选项的通知消息,以使所述备用服务器将当前的配置选项切换为能够为所述客户端提供服务的配置选项。
- 根据权利要求12所述的系统,其特征在于,所述系统还包括:网络设备,所述客户端通过所述网络设备与所述应用服务器通信;所述自动切换装置监控到所述应用服务器停止为所述客户端提供服务时,通知所述网络设备将当前的配置选项切换为能够与备用服务器通信的配置选项,以使所述备用服务器为所述至少一个客户端提供服务。
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP15875116.4A EP3242212B1 (en) | 2014-12-29 | 2015-12-21 | Automatic switching method and system |
KR1020167026395A KR20160146674A (ko) | 2014-12-29 | 2015-12-21 | 자동 절환 방법 및 시스템 |
US15/129,978 US10379976B2 (en) | 2014-12-29 | 2015-12-21 | Automatic switching method and automatic switching system |
ES15875116T ES2879959T3 (es) | 2014-12-29 | 2015-12-21 | Método y sistema de conmutación automática |
JP2016558570A JP2017513119A (ja) | 2014-12-29 | 2015-12-21 | 自動切替方法およびシステム |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410838463.5 | 2014-12-29 | ||
CN201410838463.5A CN104468242A (zh) | 2014-12-29 | 2014-12-29 | 自动切换方法及系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016107438A1 true WO2016107438A1 (zh) | 2016-07-07 |
Family
ID=52913651
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/098079 WO2016107438A1 (zh) | 2014-12-29 | 2015-12-21 | 自动切换方法及系统 |
Country Status (8)
Country | Link |
---|---|
US (1) | US10379976B2 (zh) |
EP (1) | EP3242212B1 (zh) |
JP (1) | JP2017513119A (zh) |
KR (1) | KR20160146674A (zh) |
CN (1) | CN104468242A (zh) |
ES (1) | ES2879959T3 (zh) |
MY (1) | MY175916A (zh) |
WO (1) | WO2016107438A1 (zh) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104468242A (zh) | 2014-12-29 | 2015-03-25 | 同方威视技术股份有限公司 | 自动切换方法及系统 |
CN104852837B (zh) * | 2015-04-29 | 2020-12-22 | 海尔优家智能科技(北京)有限公司 | 一种家庭网络中多控制中心切换的方法、装置及控制中心 |
US10616335B2 (en) * | 2016-08-17 | 2020-04-07 | Cisco Technology, Inc. | Controller-based configuration proxy |
CN110177125B (zh) * | 2018-05-15 | 2021-08-31 | 广东电网有限责任公司 | 一种中间件平台迁移方法 |
CN108880884A (zh) * | 2018-06-15 | 2018-11-23 | 京信通信系统(中国)有限公司 | 运维告警上报方法、装置、计算机设备和存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090138753A1 (en) * | 2007-11-22 | 2009-05-28 | Takashi Tameshige | Server switching method and server system equipped therewith |
CN102231681A (zh) * | 2011-06-27 | 2011-11-02 | 中国建设银行股份有限公司 | 一种高可用集群计算机系统及其故障处理方法 |
CN102970160A (zh) * | 2012-11-08 | 2013-03-13 | 浙江宇视科技有限公司 | 一种辅助监控终端和备用服务器快速通信的方法和装置 |
CN104468242A (zh) * | 2014-12-29 | 2015-03-25 | 同方威视技术股份有限公司 | 自动切换方法及系统 |
CN204272157U (zh) * | 2014-12-29 | 2015-04-15 | 同方威视技术股份有限公司 | 切换系统 |
Family Cites Families (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08235132A (ja) | 1995-02-22 | 1996-09-13 | Hitachi Ltd | マルチサーバシステムのホットスタンバイ制御方法 |
JP2000122982A (ja) | 1998-10-14 | 2000-04-28 | Mitsubishi Electric Corp | 多階層クライアントサーバシステム |
US6702316B2 (en) * | 2001-10-18 | 2004-03-09 | Ben M. Hsia | Stroller with car seat fastening arrangement |
JP2003228527A (ja) | 2002-02-01 | 2003-08-15 | Oki Electric Ind Co Ltd | 冗長機能付きサーバシステムおよびそのサーバシステムの運用制御方法 |
JP2004032103A (ja) * | 2002-06-21 | 2004-01-29 | Ntt Docomo Tokai Inc | ネットワークシステム及びサーバ切り替え方法 |
US7206964B2 (en) * | 2002-08-30 | 2007-04-17 | Availigent, Inc. | Consistent asynchronous checkpointing of multithreaded application programs based on semi-active or passive replication |
JP2006048122A (ja) * | 2004-07-30 | 2006-02-16 | Ntt Docomo Inc | 通信システム |
CN100362482C (zh) * | 2005-07-21 | 2008-01-16 | 上海华为技术有限公司 | 一种双机备份实现方法及系统 |
JP4920391B2 (ja) | 2006-01-06 | 2012-04-18 | 株式会社日立製作所 | 計算機システムの管理方法、管理サーバ、計算機システム及びプログラム |
JP2007233586A (ja) | 2006-02-28 | 2007-09-13 | Matsushita Electric Ind Co Ltd | 二重化制御装置及び二重化制御方法 |
US10198709B2 (en) * | 2006-03-27 | 2019-02-05 | Hewlett Packard Enterprise Development Lp | Managing assets using at least one policy and asset locations |
US8688838B2 (en) * | 2009-12-14 | 2014-04-01 | Hewlett-Packard Development Company, L.P. | Profile management systems |
CN103262046A (zh) * | 2010-12-10 | 2013-08-21 | 日本电气株式会社 | 服务器管理装置、服务器管理方法和程序 |
CN102957551B (zh) * | 2011-08-23 | 2015-08-05 | 华为终端有限公司 | 一种批量管理设备的方法和系统 |
JP5316616B2 (ja) * | 2011-09-16 | 2013-10-16 | 株式会社日立製作所 | 業務引き継ぎ方法、計算機システム、及び管理サーバ |
CN103795553B (zh) * | 2012-10-29 | 2017-06-06 | 中国银联股份有限公司 | 基于监控的主、备服务器切换 |
CN103944746B (zh) | 2013-01-23 | 2018-10-09 | 新华三技术有限公司 | 一种双机热备的方法及装置 |
JP5744259B2 (ja) | 2014-02-20 | 2015-07-08 | 株式会社日立製作所 | サーバ切り替え方法、サーバシステム、及び管理計算機 |
-
2014
- 2014-12-29 CN CN201410838463.5A patent/CN104468242A/zh active Pending
-
2015
- 2015-12-21 KR KR1020167026395A patent/KR20160146674A/ko not_active Application Discontinuation
- 2015-12-21 MY MYPI2016703583A patent/MY175916A/en unknown
- 2015-12-21 ES ES15875116T patent/ES2879959T3/es active Active
- 2015-12-21 US US15/129,978 patent/US10379976B2/en active Active
- 2015-12-21 JP JP2016558570A patent/JP2017513119A/ja active Pending
- 2015-12-21 WO PCT/CN2015/098079 patent/WO2016107438A1/zh active Application Filing
- 2015-12-21 EP EP15875116.4A patent/EP3242212B1/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090138753A1 (en) * | 2007-11-22 | 2009-05-28 | Takashi Tameshige | Server switching method and server system equipped therewith |
CN102231681A (zh) * | 2011-06-27 | 2011-11-02 | 中国建设银行股份有限公司 | 一种高可用集群计算机系统及其故障处理方法 |
CN102970160A (zh) * | 2012-11-08 | 2013-03-13 | 浙江宇视科技有限公司 | 一种辅助监控终端和备用服务器快速通信的方法和装置 |
CN104468242A (zh) * | 2014-12-29 | 2015-03-25 | 同方威视技术股份有限公司 | 自动切换方法及系统 |
CN204272157U (zh) * | 2014-12-29 | 2015-04-15 | 同方威视技术股份有限公司 | 切换系统 |
Non-Patent Citations (2)
Title |
---|
MO, WEI.: "A Hot Standby Scheme of Office Server Dual Server Based on Pure Soft by the Shandong Branch of Air Traffic Control Office", NETWORK SECURITY TECHNOLOGY & APPLICATION, 31 October 2013 (2013-10-31), pages 124, XP008182983, ISSN: 1009-6833 * |
ZHAO, YUFENG ET AL.: "Design of Hot-Standby Embedded Computer System", FOREIGN ELECTRONIC MEASUREMENT TECHNOLOGY, vol. 32, no. 5, 31 May 2013 (2013-05-31), pages 76, XP008183138, ISSN: 1002-8978 * |
Also Published As
Publication number | Publication date |
---|---|
MY175916A (en) | 2020-07-15 |
US20170288891A1 (en) | 2017-10-05 |
EP3242212B1 (en) | 2021-04-14 |
CN104468242A (zh) | 2015-03-25 |
JP2017513119A (ja) | 2017-05-25 |
EP3242212A4 (en) | 2018-07-04 |
US10379976B2 (en) | 2019-08-13 |
KR20160146674A (ko) | 2016-12-21 |
EP3242212A1 (en) | 2017-11-08 |
ES2879959T3 (es) | 2021-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016107438A1 (zh) | 自动切换方法及系统 | |
US20230362051A1 (en) | Control Plane Device Switching Method and Apparatus, and Forwarding-Control Separation System | |
US20140095925A1 (en) | Client for controlling automatic failover from a primary to a standby server | |
CN103944814B (zh) | 一种数据交换方法和系统及一种网关服务器 | |
CN103812675A (zh) | 一种实现业务交付平台异地容灾切换的方法和系统 | |
CN104486128B (zh) | 一种实现双控制器节点间冗余心跳的系统及方法 | |
WO2012174893A1 (zh) | 一种iptv系统中基于双中心容灾的切换方法及装置 | |
CN103825777A (zh) | 一种dmz服务器切换方法和装置 | |
CN105577444B (zh) | 一种无线控制器管理方法及无线控制器 | |
WO2014036724A1 (zh) | 一种操作维护通道的故障恢复方法和网络管理终端 | |
CN104079442A (zh) | 基于实时以太网的冗余控制装置、设备冗余系统和方法 | |
WO2016165157A1 (zh) | 家庭服务系统的故障处理方法及家电设备、服务器 | |
CN104301407A (zh) | 分布式监护系统中备份数据的方法和装置 | |
JP2004171370A (ja) | 冗長構成におけるクライアント/サーバ間のアドレス制御方式および方法 | |
CN113315665A (zh) | 一种双网卡终端设备的报文发送方法、装置、设备及介质 | |
JP2011188072A (ja) | 障害検知復旧システム、障害検知復旧方法、及びその復旧用プログラム | |
CN204272157U (zh) | 切换系统 | |
US8965993B2 (en) | Entrusted management method for a plurality of rack systems | |
US11093014B2 (en) | Method for monitoring, control and graceful shutdown of control and/or computer units | |
CN102638369B (zh) | 一种主备倒换的仲裁方法、装置和系统 | |
US20200296607A1 (en) | Channel establishment method and base station | |
US20120230207A1 (en) | Early detection of loss of continuity in a maintenance association | |
CN109510725B (zh) | 通信设备故障检测系统及方法 | |
US10491544B2 (en) | Consistency control of a logical path passing through a relay device | |
JP6945416B2 (ja) | 電源制御装置、制御方法、制御プログラム、および制御システム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15875116 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 20167026395 Country of ref document: KR Kind code of ref document: A Ref document number: 2016558570 Country of ref document: JP Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: 15129978 Country of ref document: US |
|
REEP | Request for entry into the european phase |
Ref document number: 2015875116 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2015875116 Country of ref document: EP |
|
NENP | Non-entry into the national phase |
Ref country code: DE |