CN113765689A - Machine room switching method, device, equipment and storage medium - Google Patents

Machine room switching method, device, equipment and storage medium Download PDF

Info

Publication number
CN113765689A
CN113765689A CN202110004925.3A CN202110004925A CN113765689A CN 113765689 A CN113765689 A CN 113765689A CN 202110004925 A CN202110004925 A CN 202110004925A CN 113765689 A CN113765689 A CN 113765689A
Authority
CN
China
Prior art keywords
machine room
service
room
interface
information
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
Application number
CN202110004925.3A
Other languages
Chinese (zh)
Inventor
石朝阳
任银龙
李品
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202110004925.3A priority Critical patent/CN113765689A/en
Publication of CN113765689A publication Critical patent/CN113765689A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Abstract

The method comprises the steps of determining a machine room switching type through the acquired network state change of a first machine room, inquiring pre-configured machine room switching information according to an identification of a target object, determining service interface information, interface alias information and a second machine room related to the first machine room, and finally switching a target service machine room of the target object between the first machine room and the second machine room according to the machine room switching type, the service interface information and the interface alias information. According to the technical scheme, the service interface information and the interface alias information of the machine room needing to be changed can be determined according to the preset machine room switching information, so that the service machine room of the target object can be changed among different machine rooms, and the universality and the application range of the method are improved.

Description

Machine room switching method, device, equipment and storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method, an apparatus, a device, and a storage medium for switching a computer room.
Background
With the rise and the continuous development of science and technology, machine rooms for providing services for different objects such as enterprises gradually appear, and each enterprise can set the machine rooms in different places so as to provide services in different places.
At present, each enterprise has its own one-key machine room tool, and when a machine room in one place has a fault, the one-key machine room tool can be used for switching the service of the fault machine room to the machine rooms arranged in other places so as to provide normal service.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art: some enterprises may not have the one-key cutting room tool of themselves, and then need to use the one-key cutting room tool of other enterprises, but because the business processed by different enterprises is different, the underlying components depended on for developing the one-key cutting room tool are different, so when a certain enterprise wants to use the one-key cutting room tool developed by other enterprises, the one-key cutting room tool needs to be redeveloped, and the generality of the one-key cutting room tool is poor.
Disclosure of Invention
The application provides a machine room switching method, a machine room switching device, machine room switching equipment and a storage medium, which are used for solving the problem that the universality of the existing machine room cutting tool is poor.
In a first aspect, an embodiment of the present application provides a machine room switching method, including:
determining a machine room switching type according to the acquired network state change of a first machine room, wherein the first machine room is a designated service machine room of a target object;
inquiring pre-configured machine room switching information according to the identifier of the target object, and determining service interface information, interface alias information of the first machine room and a second machine room associated with the first machine room, wherein the second machine room is any one of at least one alternative service machine room of the target object;
and switching a target service machine room of the target object between the first machine room and the second machine room according to the machine room switching type, the service interface information and the interface alias information.
In a possible design of the first aspect, the switching a target service room of the target object between the first room and the second room according to the room switching type, the service interface information, and the interface alias information includes:
when the machine room switching type is to switch out the first machine room, sequentially transferring the services processed by the first machine room to the second machine room for processing according to the service interface information and the interface alias information of the first machine room;
when all the services processed by the first machine room are transferred to the second machine room for processing, the service equipment of the first machine room is offline;
and when all the service equipment of the first machine room are determined to be in an offline state, determining that the first machine room is successfully switched out.
In this possible design, the method further comprises:
if part of the services processed by the first machine room are unsuccessfully transferred to the second machine room for processing, putting all the unsuccessfully transferred services into a service cache retry queue for retry until all the services processed by the first machine room are successfully transferred to the second machine room for processing; and/or
And if part of the service equipment of the first machine room is not successfully offline, putting all the service equipment which is not successfully offline into a service cache retry queue for retry until all the service equipment of the first machine room is successfully offline.
In another possible design of the first aspect, the switching a target service room of the target object between the first room and the second room according to the room switching type, the service interface information, and the interface alias information includes:
when the machine room switching type is switched back to the first machine room, sequentially carrying out online on the service equipment of the first machine room according to the service interface information and the interface alias information of the first machine room;
when all service equipment of the first machine room are in an online state, the services processed by the first machine room mounted to the second machine room are sequentially transferred back to the first machine room for processing;
and when all the services processed by the first machine room mounted to the second machine room are determined to be transferred back to the first machine room for processing, determining that the first machine room is successfully switched back.
In this possible design, the method further comprises:
if the service equipment which is not successfully online exists in the first machine room, putting all the service equipment which is not successfully online into a service cache retry queue for retry until all the service equipment of the first machine room is successfully online; and/or
And if part of the services processed by the first machine room and the second machine room are unsuccessfully transferred back to the first machine room for processing, putting all the services unsuccessfully transferred back into a service cache retry queue for retry until all the services processed by the first machine room and the second machine room are successfully transferred back to the first machine room for processing.
In yet another possible design of the first aspect, before determining the room switching type according to the obtained network state change of the first room, the method further includes:
acquiring an externally triggered machine room configuration request, wherein the machine room configuration request comprises: the service interface information, the interface alias information and the service machine room information of the target object;
determining service interface information corresponding to each service room and interface alias information corresponding to each service room according to the service interface information, the interface alias information and the service room information;
acquiring an externally triggered gateway interface permission request, wherein the gateway interface permission request comprises: an application identification of the target object;
opening and storing a gateway interface operation authority required by the application corresponding to the application identifier according to the application identifier of the target object;
wherein the pre-configured machine room switching information includes: and the service interface information corresponding to each service room, the interface alias information corresponding to each service room and the gateway interface operation authority required by the application corresponding to the application identifier.
In yet another possible design of the first aspect, before the switching a target service room of the target object between the first room and the second room according to the room switching type, the traffic interface information, and the interface alias information, the method further includes:
determining that the target service room satisfies a hand-in condition, the hand-in condition comprising: all the service equipment of the target service machine room are in an online state, and the load capacity of the target service machine room is smaller than a load threshold value.
In another possible design of the first aspect, the determining a machine room switching type according to the obtained network state change of the first machine room includes:
when the network of the first machine room is changed from a normal state to a fault state, determining that the machine room switching type is switching out of the first machine room;
and when the network of the first machine room is recovered to a normal state from a fault state, determining that the machine room switching type is to be switched back to the first machine room.
In a second aspect, an embodiment of the present application provides a machine room switching apparatus, including: the device comprises a first determining module, a second determining module and a processing module;
the first determining module is used for determining a machine room switching type according to the acquired network state change of a first machine room, wherein the first machine room is a designated service machine room of a target object;
the second determining module is configured to query preconfigured machine room switching information according to the identifier of the target object, and determine service interface information and interface alias information of the first machine room and a second machine room associated with the first machine room, where the second machine room is any one of at least one alternative service machine room of the target object;
and the processing module is used for switching a target service machine room of the target object between the first machine room and the second machine room according to the machine room switching type, the service interface information and the interface alias information.
In a possible design of the second aspect, the processing module is specifically configured to:
when the machine room switching type is to switch out the first machine room, sequentially transferring the services processed by the first machine room to the second machine room for processing according to the service interface information and the interface alias information of the first machine room;
when all the services processed by the first machine room are transferred to the second machine room for processing, the service equipment of the first machine room is offline;
and when all the service equipment of the first machine room are determined to be in an offline state, determining that the first machine room is successfully switched out.
In this possible design, the processing module is further configured to:
when part of the services processed by the first machine room are unsuccessfully transferred to the second machine room for processing, putting all the unsuccessfully transferred services into a service cache retry queue for retry until all the services processed by the first machine room are successfully transferred to the second machine room for processing; and/or
And when part of the service equipment of the first machine room is not successfully offline, putting all the service equipment which is not successfully offline into a service cache retry queue for retry until all the service equipment of the first machine room is successfully offline.
In another possible design of the second aspect, the processing module is specifically configured to:
when the machine room switching type is switched back to the first machine room, sequentially carrying out online on the service equipment of the first machine room according to the service interface information and the interface alias information of the first machine room;
when all service equipment of the first machine room are in an online state, the services processed by the first machine room mounted to the second machine room are sequentially transferred back to the first machine room for processing;
and when all the services processed by the first machine room mounted to the second machine room are determined to be transferred back to the first machine room for processing, determining that the first machine room is successfully switched back.
In this possible design, the processing module is further configured to:
when the service equipment which is not successfully online exists in the first machine room, putting all the service equipment which is not successfully online into a service cache retry queue for retry until all the service equipment of the first machine room is successfully online; and/or
And when part of the services processed by the first machine room and the second machine room are unsuccessfully transferred back to the first machine room for processing, putting all the services unsuccessfully transferred back into a service cache retry queue for retry until all the services processed by the first machine room and the second machine room are successfully transferred back to the first machine room for processing.
In yet another possible design of the second aspect, the switching room apparatus further includes: an acquisition module;
the obtaining module is configured to obtain an externally triggered machine room configuration request before the first determining module determines the machine room switching type according to the obtained network state change of the first machine room, where the machine room configuration request includes: the service interface information, the interface alias information and the service machine room information of the target object;
the first determining module is further configured to determine, according to the service interface information, the interface alias information, and the service room information, service interface information corresponding to each service room and interface alias information corresponding to each service room;
the acquiring module is further configured to acquire an externally triggered gateway interface permission request, where the gateway interface permission request includes: an application identification of the target object;
the first determining module is further configured to open and store a gateway interface operation permission required by an application corresponding to the application identifier according to the application identifier of the target object;
wherein the pre-configured machine room switching information includes: and the service interface information corresponding to each service room, the interface alias information corresponding to each service room and the gateway interface operation authority required by the application corresponding to the application identifier.
In yet another possible design of the second aspect, the second determining module is further configured to determine that a target service room of the target object satisfies a hand-in condition before switching the target service room between the first room and the second room according to the room switching type, the service interface information, and the interface alias information, where the hand-in condition includes: all the service equipment of the target service machine room are in an online state, and the load capacity of the target service machine room is smaller than a load threshold value.
In yet another possible design of the second aspect, the first determining module is specifically configured to:
when the network of the first machine room is changed from a normal state to a fault state, determining that the machine room switching type is switching out of the first machine room;
and when the network of the first machine room is recovered to a normal state from a fault state, determining that the machine room switching type is to be switched back to the first machine room.
In a third aspect, the present application provides an electronic device, comprising: a processor, a memory, a display and a system bus;
the memory stores computer-executable instructions;
the processor, when executing the computer program instructions, implements the method provided by the first aspect and each of the possible designs.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon computer program instructions for implementing the method of the first aspect and of the various possible designs when executed by a processor.
In a fifth aspect, the present application provides a computer program product comprising: program instructions for implementing the method of the first aspect and each of the possible designs provides.
According to the machine room switching method, the machine room switching device, the machine room switching equipment and the storage medium, the machine room switching type is determined through the acquired network state change of the first machine room, the pre-configured machine room switching information is inquired according to the identification of the target object, the service interface information, the interface alias information and the second machine room related to the first machine room are determined, and finally the target service machine room of the target object is switched between the first machine room and the second machine room according to the machine room switching type, the service interface information and the interface alias information. According to the technical scheme, the service interface information and the interface alias information of the machine room needing to be changed can be determined according to the preset machine room switching information, so that the service machine room of the target object can be changed among different machine rooms, and the universality and the application range of the method are improved.
Drawings
Fig. 1 is an application schematic diagram of a machine room switching method provided in an embodiment of the present application;
fig. 2 is a flowchart of a first embodiment of a machine room switching method provided in the embodiment of the present application;
fig. 3 is a flowchart of a second embodiment of a machine room switching method provided in the embodiment of the present application;
fig. 4 is a flowchart of a third embodiment of a machine room switching method provided in the embodiment of the present application;
fig. 5 is a flowchart of a fourth embodiment of a machine room switching method provided in the embodiment of the present application;
fig. 6 is an overall flowchart of a machine room switching method provided in the embodiment of the present application;
fig. 7 is a schematic structural diagram of a machine room switching device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Before introducing the embodiments of the present application, the background of the present application will be explained first.
The disaster recovery system is at least two sets of Internet Technology (IT) systems with the same function established in different places far away from each other, health state monitoring and function switching can be performed between the at least two sets of IT systems, and when one set of IT system stops working due to an accident (such as fire, earthquake and the like), the business processed by the set of IT system can be switched to the other set of IT system, so that the business processed by the set of IT system can continue to normally run.
The switching among the IT systems is mainly realized by a disaster recovery tool, namely a one-key cutting room tool, different objects such as a plurality of companies or enterprises and the like have similar tools at present, but because the service types processed by the companies or the enterprises are different, the one-key cutting room tool designed for each object is also various and has no universality. If one object wants to use a one-key cutting machine room tool designed by another object, a great deal of code rewriting work is bound to be done, and smooth migration cannot be achieved.
In addition, because the underlying components depended on by different one-key cutting machine room tools are different, the one-key cutting machine room tool that a certain object wants to adopt other objects is bound to face the problems of transplanting, deploying, using and the like of the underlying components, and is very inconvenient. Therefore, there is a need for a universal specification to guide the design work of the one-key cutting machine room tool, and a switching interface is reserved for the use of different objects, so that different objects can use the same one-key cutting machine room tool.
Further, most current one-key cutting room tools only support one-key cut-away traffic (traffic handled by the room) or one-key cut-back traffic, and generally cannot support both one-key cut-away traffic and one-key cut-back traffic.
On the basis of the problems in the prior art, the technical conception process of the technical scheme of the application is as follows: the inventor finds that when a target object needs to use the one-key room cutting tool, the machine room configuration information of the target object can be stored in a registry of the one-key room cutting tool, the machine room configuration information can comprise service interface information, interface alias information and service machine room information, and a gateway interface is applied for the use of each machine room.
Based on the technical concept, the application provides a method for switching machine rooms, the machine room switching type is determined according to the obtained network state change of a first machine room, the first machine room is an appointed service machine room of a target object, pre-configured machine room switching information is inquired according to the identification of the target object, service interface information, interface alias information of the first machine room and a second machine room related to the first machine room are determined, the second machine room is any one of at least one alternative service machine room of the target object, and finally the target service machine room of the target object is switched between the first machine room and the second machine room according to the machine room switching type, the service interface information and the interface alias information. According to the technical scheme, the service interface information and the interface alias information of the machine room needing to be changed can be determined according to the preset machine room switching information, so that the service machine room of the target object can be changed among different machine rooms, and the method is high in universality and wide in application range.
Exemplarily, fig. 1 is an application schematic diagram of a machine room switching method provided in an embodiment of the present application. The application schematic diagram explains the machine room switching information displayed on the interactive interface of the electronic equipment.
In practical applications, as shown in fig. 1, the machine room switching information of the target object may include: "select application", "select room", "retry cache".
If the user clicks the "select application", the state information of the multiple machine rooms is displayed on the interactive interface, for example, "1 # machine room" and "2 # machine room" are displayed on the interactive interface, and the number of the machine rooms is not limited here.
In an implementation scheme, when a network problem occurs in the "1 # machine room", in order not to affect the service that the "1 # machine room" can provide, at this time, a service processed by the "1 # machine room" needs to be switched to any one of the alternative service machine rooms for processing, for example, the service may be switched to the "2 # machine room" that displays an online status on an interactive interface.
Optionally, the buttons on the right sides of the "1 # machine room" and the "2 # machine room" may be switching buttons, if the right button of the "1 # machine room" is clicked, the service provided by the "1 # machine room" is automatically switched to the "2 # machine room", if the switching is successful, a popup window may appear on the interactive interface to prompt the user that the machine room providing the service is successfully switched, and if an unexpected situation occurs in the switching process, the service failed in switching may be placed in a "retry cache" queue for retry.
Optionally, if the "1 # machine room" is successfully switched to the "2 # machine room", the right button of the "1 # machine room" displays the offline state.
In another implementation, when the network problem of the "1 # machine room" is solved, the service of mounting the "1 # machine room" to the "2 # machine room" needs to be switched back to the "1 # machine room".
Optionally, a right button of the "1 # machine room" is clicked, the service mounted in the "2 # machine room" can be switched back to the "1 # machine room", if the "1 # machine room" is switched back successfully, a popup window appears on the interactive interface to prompt a user that the switching back is successful, and if an accident occurs in the switching process, the service which fails to be switched is placed in a "retry buffer" queue for retry.
Optionally, if the "2 # machine room" is successfully switched to the "1 # machine room", the right button of the "1 # machine room" will display the online status.
It is understood that "select application", "select room", "retry buffer", etc. presented in fig. 1 may be set according to practical situations, and are only examples, and do not limit the display content.
The technical solution of the present application is described in detail by specific embodiments with an application schematic diagram shown in fig. 1. It should be noted that the following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 2 is a flowchart of a first embodiment of a machine room switching method provided in the embodiment of the present application. As shown in fig. 2, the method may include the steps of:
and step 21, determining the machine room switching type according to the acquired network state change of the first machine room.
In this step, the change of the network state of the first computer room refers to a change from a normal state to a fault state or a return from the fault state to the normal state.
The first machine room may be a designated service room of a target object, and the target object may be an IT system of a third party team.
In practical application, the network state change can be detected by the detection module, and when the network state change of the first machine room is detected, the machine room switching type can be determined according to the network state change direction. Optionally, when the network state change of the first machine room changes from a normal state to a fault state, it is determined that the machine room switching type is switching out of the first machine room.
In one specific implementation, when the network state change of the first machine room which is providing service for the target object changes from a normal state to a fault state, the first machine room providing service needs to be switched to other machine rooms which can be used for providing the service to ensure that the IT system of the third party team can normally operate, and at this time, the switching type is called switching out of the first machine room.
Optionally, when the network state change of the first machine room is recovered from the fault state to the normal state, it is determined that the machine room switching type is to be switched back to the first machine room.
In another specific implementation, when a service which needs to be processed by the first machine room is switched to another machine room, and the other machine room replaces the first machine room to provide service for an IT system of a third party team, at a certain possible moment, if the network state change of the first machine room changes from a fault state to a normal state, the service which is mounted to the other machine room needs to be switched back to the first machine room to ensure that the IT system can normally operate, and at this moment, the switching type is called switching back to the first machine room.
And step 22, inquiring pre-configured machine room switching information according to the identification of the target object, and determining the service interface information, the interface alias information and a second machine room associated with the first machine room.
In this step, the identifier of the target object may be identifier identification information preset in another team to which the target object needs to be switched, and is used for querying preconfigured machine room switching information.
The pre-configured machine room switching information comprises: the service interface information corresponding to each service room, the interface alias information corresponding to each service room, the gateway interface operation authority required by the application of the service processed by each service room, and the like. The embodiment of the application does not limit the specific content of the machine room switching information, and the specific content can be determined according to an actual scene.
Optionally, based on the identifier of the target object, machine room switching information corresponding to the identifier may be obtained, and according to the identifier of the first machine room, service interface information and interface alias information of the first machine room, and a second machine room associated with the first machine room are determined in the machine room switching information. It is understood that the second machine room associated with the first machine room may be a machine room that can provide services in place of the first machine room in the event of a network failure of the first machine room, or may be a machine room that is currently providing services in place of the first machine room.
The service interface information can be gateway state interface authority of the first machine room and gateway up-down line interface authority; interface alias information may refer to alias information for interfaces involved in providing services to the first machine room. In practical application, when a service processed by a first machine room needs to be switched to a second machine room, the alias of the first machine room needs to be hung to the second machine room, so that the second machine room replaces the first machine room to provide corresponding service; the second machine room may be any one of at least one alternative service machine room that the target object has, that is, the second machine room may be any one of alternative service machine rooms that provide corresponding services for the first machine room.
And step 23, switching a target service machine room of the target object between the first machine room and the second machine room according to the machine room switching type, the service interface information and the interface alias information.
In the step, firstly, the machine room switching type is determined, namely, the machine room is switched out of a first machine room or is switched back to the first machine room; and secondly, according to the service interface information and the interface alias information, switching the service provided by the first machine room into the second machine room, or switching the service originally mounted in the second machine room to be processed back to the first machine room for processing.
Optionally, before this step, it is further required to determine whether the target service room meets a hand-in condition, where the hand-in condition includes: all the service equipment of the target service machine room are in an online state, and the load capacity of the target service machine room is smaller than a load threshold value.
Specifically, when the service provided by the first machine room needs to be switched into the second machine room, it needs to be determined that all devices of the second machine room are in an online state, and the load capacity of all devices of the second machine room is smaller than a load threshold value, so that when the service processed by the first machine room is switched into the second machine room, the second machine room can provide the same service as the first machine room, and meanwhile, the service originally provided by the second machine room is not affected; similarly, when the service processed by the second machine room instead of the first machine room needs to be switched back to the first machine room, all the devices in the first machine room should be in an online state, which is not described herein again.
In the method for switching a machine room provided in this embodiment, a machine room switching type is determined according to an obtained network state change of a first machine room, preconfigured machine room switching information is queried according to an identifier of a target object, service interface information, interface alias information of the first machine room and a second machine room associated with the first machine room are determined, and finally a target service machine room of the target object is switched between the first machine room and the second machine room according to the machine room switching type, the service interface information and the interface alias information. In the technical scheme, the service interface information and the interface alias information of the machine room needing to be changed are determined through the preset machine room switching information, so that the service machine room of the target object can be changed among different machine rooms, and the universality and the application range of the method are improved.
On the basis of the foregoing embodiment, fig. 3 is a flowchart of a second embodiment of a machine room switching method provided in the embodiment of the present application. As shown in fig. 3, if the network of the first equipment room changes from a normal state to a fault state, step 23 may be implemented by:
and step 31, when the machine room switching type is to switch out the first machine room, sequentially transferring the services processed by the first machine room to the second machine room for processing according to the service interface information and the interface alias information of the first machine room.
In this step, when the service provided by the first machine room is switched to the second machine room, the services processed by the first machine room need to be sequentially transferred to the second machine room, so that the second machine room can implement all the services provided by the first machine room.
Optionally, before the services processed by the first machine room are sequentially transferred to the second machine room, the alias of the first machine room is firstly hung to the second machine room, and then the services processed by the first machine room are sequentially transferred to the second machine room for processing based on the service interface information and the interface alias information of the first machine room.
Optionally, if part of the services processed by the first machine room are not successfully transferred to the second machine room for processing, all the services which are not successfully transferred are put into the service cache retry queue for retry until all the services processed by the first machine room are successfully transferred to the second machine room for processing.
And step 32, when all the services processed by the first machine room are transferred to the second machine room for processing, the service equipment of the first machine room is offline.
In this step, when the service machine room of the service processed by the first machine room is switched, the transfer status of each service may be detected, and the online and offline status of the service device of the first machine room may be determined according to the transfer status.
Optionally, when all the services processed by the first machine room are transferred to the second machine room for processing, the service device of the first machine room is offline at this time, so as to facilitate subsequent network maintenance of the first machine room. If part of the service equipment in the first machine room is not successfully offline, putting all the service equipment which is not successfully offline into a service cache retry queue for retry until all the service equipment in the first machine room is successfully offline.
And step 33, determining that the first machine room is successfully cut out when all the service devices of the first machine room are determined to be in the offline state.
In this step, all the service devices in the first machine room are successfully offline, and at this time, all the service devices in the first machine room are in an offline state, which indicates that all the services processed by the first machine room are transferred to the second machine room for processing, so that the service devices in the second machine room replace the service devices in the first machine room to provide services, and at this time, the first machine room is successfully switched out.
In the method for switching machine rooms provided in this embodiment, when a machine room switching type is to switch out a first machine room, services processed by the first machine room are sequentially transferred to a second machine room for processing according to service interface information and interface alias information of the first machine room, when all services processed by the first machine room are transferred to the second machine room for processing, a service device of the first machine room is offline, and when it is determined that all service devices of the first machine room are in an offline state, it is determined that switching out the first machine room is successful. According to the technical scheme, all services processed by the first machine room are transferred to the second machine room for processing based on the service interface information and the interface alias information of the first machine room, so that a target object can switch a failed machine room to other machine rooms by using the method, the services processed by the failed machine room can be normally executed, and user experience is improved.
On the basis of the foregoing embodiment, fig. 4 is a flowchart of a third embodiment of a machine room switching method provided in the embodiment of the present application. As shown in fig. 4, if the network of the first equipment room changes from the fault state to the normal state, step 23 may be implemented by:
and step 41, when the machine room switching type is to be switched back to the first machine room, sequentially bringing the service equipment of the first machine room on line according to the service interface information and the interface alias information of the first machine room.
In this step, when the network state of the first machine room is recovered from the failure, the service processed by the second machine room may be switched back to the second machine room, that is, the service processed by the second machine room is sequentially transferred to the first machine room, so as to implement that the first machine room provides a service for the target object again.
Optionally, before transferring the services processed by the second machine room to the first machine room in sequence, the service device in the offline state of the first machine room needs to be brought online in sequence based on the service interface information and the interface alias information of the first machine room, so that the services processed by the second machine room can be transferred back to the first machine room for processing.
Optionally, if a service device that is not successfully online exists in the first machine room, putting all the service devices that are not successfully online into the service cache retry queue for retry until all the service devices in the first machine room are successfully online.
And 42, when all the service devices of the first machine room are in the online state, sequentially returning the services processed by the first machine room mounted to the second machine room to the first machine room for processing.
In this step, in the process of bringing on-line the service equipment in the first machine room, the on-line condition of all the service equipment in the first machine room can be detected, and when all the service equipment have been brought on-line, the service mounted to the second machine room is sequentially returned to the first machine room and processed by the corresponding service equipment in the first machine room.
Optionally, if part of the services that are mounted to the second machine room by the first machine room and processed by the second machine room are not successfully transferred back to the first machine room for processing, all the services that are not successfully transferred back are put into a service cache retry queue for retry until all the services that are mounted to the second machine room and processed by the second machine room are successfully transferred back to the first machine room for processing.
And 43, when all the services processed by the first machine room mounted to the second machine room are determined to be transferred back to the first machine room for processing, determining that the first machine room is switched back successfully.
In this step, all the services processed from the first machine room to the second machine room are transferred back to the first machine room, which indicates that the service equipment in the first machine room can provide services for the target object again, and at this time, the first machine room is successfully switched back.
According to the machine room switching method provided by the embodiment, when the machine room switching type is to be switched back to the first machine room, the service devices of the first machine room are sequentially brought online according to the service interface information and the interface alias information of the first machine room, when all the service devices of the first machine room are in an online state, the services processed by the first machine room mounted to the second machine room are sequentially switched back to the first machine room to be processed, and when all the services processed by the first machine room mounted to the second machine room are determined to be switched back to the first machine room to be processed, the first machine room is determined to be successfully switched back. In the technical scheme, all services processed by the second machine room are transferred back to the first machine room for processing based on the service interface information and the interface alias information of the first machine room, the switching convenience is high, and meanwhile, the utilization efficiency of the designated service machine room of the target object is improved.
Fig. 5 is a flowchart of a fourth embodiment of a machine room switching method provided in the embodiment of the present application. As shown in fig. 5, before step 21, the method further comprises the steps of:
and step 51, acquiring a machine room configuration request triggered by the outside.
In this step, the machine room configuration request includes: the service interface information, the interface alias information and the service room information of the target object.
Optionally, if switching of a machine room for providing services for the target object is to be implemented, a machine room configuration request of the target object is first obtained, that is, service interface information, interface alias information, and service machine room information related to the service of the target object are entered.
Optionally, a plug interface may be reserved on the electronic device executing the method, so as to enter service interface information, interface alias information, and service room information related to the target object service.
And step 52, determining the service interface information corresponding to each service room and the interface alias information corresponding to each service room according to the service interface information, the interface alias information and the service room information.
In this step, each machine room has its own corresponding service interface information and interface alias information, for example, the interface alias of the first machine room may be hung in another machine room, so that the other machine room may process the service processed by the first machine room.
And step 53, acquiring a gateway interface authority request triggered by the outside.
In this step, a gateway interface permission request of the target object is obtained, where the gateway interface permission request includes: the application identification of the target object, i.e. the mark that the target object needs to identify the container management center.
Optionally, the gateway interface permission may be a Remote Procedure Call (Remote Procedure Call, rpc) gateway interface operation permission, including: and acquiring the interface authority and the on-line and off-line interface authority by the state.
And step 54, opening and storing the gateway interface operation authority required by the application corresponding to the application identifier according to the application identifier of the target object.
In this step, the gateway interface operation authority includes: gateway state interface authority, gateway up-down interface authority. And opening and storing the gateway interface operation authority required by the application corresponding to the mark to the container management center by identifying the mark of the container management center.
According to the machine room switching method provided by the embodiment, according to a machine room configuration request triggered by the outside, according to service interface information, interface alias information and service machine room information, service interface information corresponding to each service machine room and interface alias information corresponding to each service machine room are determined, a gateway interface permission request triggered by the outside is obtained, and finally, according to an application identifier of a target object, gateway interface operation permissions required by applications corresponding to the application identifier are opened and stored. In the technical scheme, a basis is provided for realizing mutual switching among different machine rooms by acquiring the machine room configuration request and based on the service interface information, the interface alias information and the service machine room information.
On the basis of the foregoing embodiments, fig. 6 is an overall flowchart of a machine room switching method provided in the embodiments of the present application. As shown in fig. 6, the method includes the steps of:
s601, obtaining an externally triggered machine room configuration request, wherein the machine room configuration request comprises: the service interface information, the interface alias information and the service machine room information of the target object;
s602, inputting the service interface information, the interface alias information and the service machine room information of the target object into a database;
s603, acquiring an externally triggered gateway interface permission request, wherein the gateway interface permission request comprises: an application identification of the target object;
s604, opening and storing a gateway interface operation authority required by the application corresponding to the application identifier according to the application identifier of the target object, and registering in a container management center;
s605, judging whether the access work is finished; if yes, executing subsequent operation according to the network state of the first machine room of the target object, and if not, returning to execute S602.
In one possible design, upon determining that the network of the first machine room is down, the following steps are performed:
s606, determining that the network of the first machine room has a fault;
s607, judging whether the second machine room associated with the first machine room meets the cut-in condition; if yes, executing S608, otherwise, executing S614 (failure of first machine room switching) and S624 (informing user);
s608, detecting service interface information and interface alias information of the first machine room, and mounting a standby alias of the first machine room to the second machine room;
s609, judging whether the standby alias of the first machine room is mounted in the second machine room; if yes, executing S610, otherwise, after executing S612, returning to execute S608;
s610, off-line service equipment of the first machine room;
s611, judging whether the service equipment of the first machine room is offline; if yes, go to step S613, otherwise, go to step S612, and then go back to step S608;
s612, putting the data into a service buffer retry queue for retry;
s613, determining that the first machine room is successfully switched out;
in another possible implementation, upon determining that the network of the first machine room is restored to normal, the following steps are performed:
s615, determining that the network of the first machine room is recovered to be normal;
s616, judging whether all the service equipment of the first machine room is on-line; if yes, executing S617, otherwise, executing S623 (failure of first machine room switch back), and then executing S624 (notifying user);
s617, detecting service interface information and interface alias information of the first machine room, and enabling all service devices of the first machine room to be on-line;
s618, judging whether all the service devices of the first machine room are on line; if yes, executing S619, otherwise, after executing S621, returning to execute S617;
s619, removing the standby alias of the first machine room from the second machine room;
s620, judging whether the standby alias of the first machine room in the second machine room is removed completely; if yes, go to S622, if no, go to S621, then return to go to S617;
s621, putting the data into a service buffer retry queue for retry;
and S622, determining that the service processed by the first machine room is switched back successfully.
The implementation principle and technical effect of the machine room switching method provided by this embodiment are similar to those of the above embodiments, and are not described herein again.
Fig. 7 is a schematic structural diagram of a machine room switching device according to an embodiment of the present application. As shown in fig. 7, the apparatus includes: a first determining module 71, a second determining module 72 and a processing module 73.
The first determining module 71 is configured to determine a machine room switching type according to the obtained network state change of the first machine room, where the first machine room is a designated service machine room of a target object;
a second determining module 72, configured to query preconfigured machine room switching information according to the identifier of the target object, and determine service interface information and interface alias information of the first machine room and a second machine room associated with the first machine room, where the second machine room is any one of at least one alternative service machine room that the target object has;
and the processing module 73 is configured to switch a target service room of a target object between the first room and the second room according to the room switching type, the service interface information, and the interface alias information.
In one possible design of the embodiment of the present application, the processing module 73 is specifically configured to:
when the machine room switching type is to switch out a first machine room, sequentially transferring the services processed by the first machine room to a second machine room for processing according to the service interface information and the interface alias information of the first machine room;
when all the services processed by the first machine room are transferred to the second machine room for processing, the service equipment of the first machine room is offline;
and when all the service equipment of the first machine room are determined to be in the offline state, determining that the first machine room is successfully cut out.
In this possible design, the processing module 73 is further configured to:
when part of services processed by the first machine room are unsuccessfully transferred to the second machine room for processing, putting all the unsuccessfully transferred services into a service cache retry queue for retry until all the services processed by the first machine room are successfully transferred to the second machine room for processing; and/or
And when part of the service equipment of the first machine room is not successfully offline, putting all the service equipment which is not successfully offline into a service cache retry queue for retry until all the service equipment of the first machine room is successfully offline.
In another possible design of the embodiment of the present application, the processing module 73 is specifically configured to:
when the machine room switching type is to be switched back to the first machine room, sequentially carrying out online on the service equipment of the first machine room according to the service interface information and the interface alias information of the first machine room;
when all service equipment of the first machine room are in an online state, transferring the services processed by the first machine room mounted to the second machine room back to the first machine room in sequence for processing;
and when all the services processed by the first machine room mounted to the second machine room are determined to be transferred back to the first machine room for processing, determining that the first machine room is switched back successfully.
In this possible design, the processing module 73 is further configured to:
when the service equipment which is not successfully online exists in the first machine room, putting all the service equipment which is not successfully online into a service cache retry queue for retry until all the service equipment in the first machine room is successfully online; and/or
When part of the services which are mounted to the second machine room by the first machine room and processed by the second machine room are unsuccessfully transferred back to the first machine room for processing, all the services which are unsuccessfully transferred back are put into a service cache retry queue for retry until all the services which are mounted to the second machine room and processed by the second machine room are successfully transferred back to the first machine room for processing.
In another possible design of the embodiment of the present application, the apparatus for switching a machine room further includes: an acquisition module 74;
an obtaining module 74, configured to obtain an externally triggered machine room configuration request before the first determining module 71 determines the machine room switching type according to the obtained network state change of the first machine room, where the machine room configuration request includes: the service interface information, the interface alias information and the service machine room information of the target object;
the first determining module 71 is further configured to determine, according to the service interface information, the interface alias information, and the service room information, service interface information corresponding to each service room and interface alias information corresponding to each service room;
the obtaining module 74 is further configured to obtain an externally triggered gateway interface permission request, where the gateway interface permission request includes: an application identification of the target object;
the first determining module 71 is further configured to open and store a gateway interface operation permission required by the application corresponding to the application identifier according to the application identifier of the target object;
the pre-configured machine room switching information comprises: and the service interface information corresponding to each service room, the interface alias information corresponding to each service room and the gateway interface operation authority required by the application corresponding to the application identifier.
In another possible design of the embodiment of the present application, the second determining module 72 is further configured to determine, according to the equipment room switching type, the service interface information, and the interface alias information, that the target service equipment room satisfies a cut-in condition before switching the target service equipment room of the target object between the first equipment room and the second equipment room, where the cut-in condition includes: all the service equipment of the target service machine room are in an online state, and the load capacity of the target service machine room is smaller than a load threshold value.
In another possible design of the embodiment of the present application, the first determining module 71 is specifically configured to:
when the network of the first machine room is changed from a normal state to a fault state, determining that the machine room switching type is to switch out the first machine room;
and when the network of the first machine room is recovered to the normal state from the fault state, determining that the machine room switching type is to be switched back to the first machine room.
The machine room switching device provided in this embodiment can be used to implement the schemes in the above embodiments, and the implementation principle and technical effect are similar, which are not described herein again.
It should be noted that the division of the modules of the above apparatus is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity, or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the determining module may be a processing element separately set up, or may be implemented by being integrated in a chip of the apparatus, or may be stored in a memory of the apparatus in the form of program code, and the function of the determining module is called and executed by a processing element of the apparatus. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element here may be an integrated circuit with signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 8, the apparatus may include: a processor 81, a memory 82, a system bus 83, a transceiver 84, and a display 85.
The processor 81 executes computer-executable instructions stored in the memory, so that the processor 81 executes the scheme in the above-described embodiment. The processor 81 may be a general-purpose processor including a central processing unit CPU, a Network Processor (NP), and the like; but also a digital signal processor DSP, an application specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic device, discrete gate or transistor logic, discrete hardware components.
The memory 82 and the transceiver 84 are coupled to and communicate with the processor 81 via a system bus 83, and the memory 82 is used to store computer program instructions.
The system bus 83 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus. The transceiver is used to enable communication between the database access device and other devices (e.g., clients, read-write libraries, and read-only libraries). The memory may comprise Random Access Memory (RAM) and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The transceiver 84 is used for communication with other devices. Optionally, in terms of hardware implementation, the obtaining module 74 in the embodiment shown in fig. 7 corresponds to the transceiver 84 in this embodiment, and the transceiver 84 forms a communication interface.
The display 85 may be a user interface. The user interface may include graphics, text, icons, video, and any combination thereof. When the display 85 is a touch screen display, the transceiver 84 also has the ability to collect touch signals on or over a surface. At this point, the display 85 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 85 may be a front panel of the electronic device; in other embodiments, the display 85 may be a flexible display screen disposed on a curved surface or a folded surface of the electronic device. Even more, the display 85 may be configured as a non-rectangular irregular pattern display screen, i.e., a shaped screen. The Display 85 may be made of Liquid Crystal Display (LCD), Organic Light-Emitting Diode (OLED), or the like.
The electronic device provided by the embodiment of the application can be used for executing the scheme in the embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
The embodiment of the application also provides a chip for running the instructions, and the chip is used for executing the scheme in the embodiment.
The embodiment of the present application further provides a computer-readable storage medium, in which computer instructions are stored, and when the computer instructions are run on a computer, the computer is caused to execute the scheme of the foregoing embodiment.
An embodiment of the present application further provides a computer program product, where the computer program product includes: program instructions stored in a computer-readable storage medium, which can be read by at least one processor from the computer-readable storage medium, the program instructions, when executed by the at least one processor, implement the aspects of the embodiments described above.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (12)

1. A machine room switching method, comprising:
determining a machine room switching type according to the acquired network state change of a first machine room, wherein the first machine room is a designated service machine room of a target object;
inquiring pre-configured machine room switching information according to the identifier of the target object, and determining service interface information, interface alias information of the first machine room and a second machine room associated with the first machine room, wherein the second machine room is any one of at least one alternative service machine room of the target object;
and switching a target service machine room of the target object between the first machine room and the second machine room according to the machine room switching type, the service interface information and the interface alias information.
2. The method of claim 1, wherein switching a target service room of the target object between the first room and the second room according to the room switching type, the traffic interface information, and the interface alias information comprises:
when the machine room switching type is to switch out the first machine room, sequentially transferring the services processed by the first machine room to the second machine room for processing according to the service interface information and the interface alias information of the first machine room;
when all the services processed by the first machine room are transferred to the second machine room for processing, the service equipment of the first machine room is offline;
and when all the service equipment of the first machine room are determined to be in an offline state, determining that the first machine room is successfully switched out.
3. The method of claim 2, further comprising:
if part of the services processed by the first machine room are unsuccessfully transferred to the second machine room for processing, putting all the unsuccessfully transferred services into a service cache retry queue for retry until all the services processed by the first machine room are successfully transferred to the second machine room for processing; and/or
And if part of the service equipment of the first machine room is not successfully offline, putting all the service equipment which is not successfully offline into a service cache retry queue for retry until all the service equipment of the first machine room is successfully offline.
4. The method of claim 1, wherein switching a target service room of the target object between the first room and the second room according to the room switching type, the traffic interface information, and the interface alias information comprises:
when the machine room switching type is switched back to the first machine room, sequentially carrying out online on the service equipment of the first machine room according to the service interface information and the interface alias information of the first machine room;
when all service equipment of the first machine room are in an online state, the services processed by the first machine room mounted to the second machine room are sequentially transferred back to the first machine room for processing;
and when all the services processed by the first machine room mounted to the second machine room are determined to be transferred back to the first machine room for processing, determining that the first machine room is successfully switched back.
5. The method of claim 4, further comprising:
if the service equipment which is not successfully online exists in the first machine room, putting all the service equipment which is not successfully online into a service cache retry queue for retry until all the service equipment of the first machine room is successfully online; and/or
And if part of the services processed by the first machine room and the second machine room are unsuccessfully transferred back to the first machine room for processing, putting all the services unsuccessfully transferred back into a service cache retry queue for retry until all the services processed by the first machine room and the second machine room are successfully transferred back to the first machine room for processing.
6. The method according to any one of claims 1 to 5, wherein before determining the room switching type according to the obtained network state change of the first room, the method further includes:
acquiring an externally triggered machine room configuration request, wherein the machine room configuration request comprises: the service interface information, the interface alias information and the service machine room information of the target object;
determining service interface information corresponding to each service room and interface alias information corresponding to each service room according to the service interface information, the interface alias information and the service room information;
acquiring an externally triggered gateway interface permission request, wherein the gateway interface permission request comprises: an application identification of the target object;
opening and storing a gateway interface operation authority required by the application corresponding to the application identifier according to the application identifier of the target object;
wherein the pre-configured machine room switching information includes: and the service interface information corresponding to each service room, the interface alias information corresponding to each service room and the gateway interface operation authority required by the application corresponding to the application identifier.
7. The method according to any of claims 1-5, wherein before the switching the target service room of the target object between the first room and the second room according to the room switching type, the service interface information, and the interface alias information, the method further comprises:
determining that the target service room satisfies a hand-in condition, the hand-in condition comprising: all the service equipment of the target service machine room are in an online state, and the load capacity of the target service machine room is smaller than a load threshold value.
8. The method according to any one of claims 1 to 5, wherein the determining the machine room switching type according to the obtained network state change of the first machine room comprises:
when the network of the first machine room is changed from a normal state to a fault state, determining that the machine room switching type is switching out of the first machine room;
and when the network of the first machine room is recovered to a normal state from a fault state, determining that the machine room switching type is to be switched back to the first machine room.
9. A machine room switching apparatus, comprising: the device comprises a first determining module, a second determining module and a processing module;
the first determining module is used for determining a machine room switching type according to the acquired network state change of a first machine room, wherein the first machine room is a designated service machine room of a target object;
the second determining module is configured to query preconfigured machine room switching information according to the identifier of the target object, and determine service interface information and interface alias information of the first machine room and a second machine room associated with the first machine room, where the second machine room is any one of at least one alternative service machine room of the target object;
and the processing module is used for switching a target service machine room of the target object between the first machine room and the second machine room according to the machine room switching type, the service interface information and the interface alias information.
10. An electronic device comprising a processor, a memory, a display and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of claims 1-8 when executing the program.
11. A computer-readable storage medium having computer-executable instructions stored thereon, which when executed by a processor, perform the method of any one of claims 1-8.
12. A computer program product, comprising: program instructions for implementing a method according to any one of claims 1 to 8.
CN202110004925.3A 2021-01-04 2021-01-04 Machine room switching method, device, equipment and storage medium Pending CN113765689A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110004925.3A CN113765689A (en) 2021-01-04 2021-01-04 Machine room switching method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110004925.3A CN113765689A (en) 2021-01-04 2021-01-04 Machine room switching method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113765689A true CN113765689A (en) 2021-12-07

Family

ID=78786327

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110004925.3A Pending CN113765689A (en) 2021-01-04 2021-01-04 Machine room switching method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113765689A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468150A (en) * 2013-09-12 2015-03-25 阿里巴巴集团控股有限公司 Method for realizing fault migration through virtual host and virtual host service device
CN106686155A (en) * 2016-12-09 2017-05-17 北京奇虎科技有限公司 DNS (domain name resolution) disaster-tolerant method and device
CN109726046A (en) * 2018-11-23 2019-05-07 网联清算有限公司 Computer room switching method and switching device
US20190278626A1 (en) * 2018-03-06 2019-09-12 Fujitsu Limited Migration control apparatus and migration control method
CN110334077A (en) * 2019-06-11 2019-10-15 无线生活(杭州)信息科技有限公司 The method and device of database cross computer room migration

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468150A (en) * 2013-09-12 2015-03-25 阿里巴巴集团控股有限公司 Method for realizing fault migration through virtual host and virtual host service device
CN106686155A (en) * 2016-12-09 2017-05-17 北京奇虎科技有限公司 DNS (domain name resolution) disaster-tolerant method and device
US20190278626A1 (en) * 2018-03-06 2019-09-12 Fujitsu Limited Migration control apparatus and migration control method
CN109726046A (en) * 2018-11-23 2019-05-07 网联清算有限公司 Computer room switching method and switching device
CN110334077A (en) * 2019-06-11 2019-10-15 无线生活(杭州)信息科技有限公司 The method and device of database cross computer room migration

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
肖志思;: "计算机技术在机房管理中的应用研究", 信息与电脑(理论版), no. 10, 23 May 2016 (2016-05-23) *
金安;: "一种同城双活容灾系统设计与实现", 软件导刊, no. 08, 15 August 2018 (2018-08-15) *

Similar Documents

Publication Publication Date Title
EP2871553B1 (en) Systems and methods for protecting virtualized assets
CN108900353B (en) Fault warning method and terminal equipment
EP3541098A1 (en) Processing method for communication identifier binding and terminal
CN109308239B (en) Method and apparatus for outputting information
US20150089308A1 (en) Keyboard, video and mouse switch identifying and displaying nodes experiencing a problem
CN105117272A (en) Operating system manager, virtual machine and switching method between operating systems
CN110881224B (en) Network long connection method, device, equipment and storage medium
CN109639755B (en) Associated system server decoupling method, device, medium and electronic equipment
CN108664343B (en) State calling method and device for micro-service
EP3699731B1 (en) Method and device for calling input method, and server and terminal
US10303160B2 (en) Numerical control system and numerical controller having display switching function
EP3974989A1 (en) Link state setting method and device for virtual network interface card, and storage medium
CN111756618B (en) Group chat processing method and device, electronic equipment and readable storage medium
CN111597032B (en) Task scheduling management method and device and electronic equipment
CN113765689A (en) Machine room switching method, device, equipment and storage medium
CN114449040B (en) Configuration issuing method and device based on cloud platform
CN115543393A (en) Upgrading method, electronic device and storage medium
CN107766232B (en) Plug-in management method and device
CN111858079B (en) Distributed lock migration method and device, electronic equipment and storage medium
CN110971697B (en) Redis single instance protection processing method and device, computer equipment and storage medium
CN112231290A (en) Method, device and equipment for processing local log and storage medium
JP6694788B2 (en) VM environment command execution management program, VM environment command execution management method, VM environment command execution management device, and VM environment command execution management system
WO2024066638A1 (en) Remote assistance method and apparatus, electronic device, cloud desktop server, and medium
TWI698101B (en) Server management method and server management device
KR20080030909A (en) Method for monitoring software module and system restoring method after software module execution

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