CN110113192B - Routing method, routing device, system, storage medium and device for virtual desktop - Google Patents

Routing method, routing device, system, storage medium and device for virtual desktop Download PDF

Info

Publication number
CN110113192B
CN110113192B CN201910337957.8A CN201910337957A CN110113192B CN 110113192 B CN110113192 B CN 110113192B CN 201910337957 A CN201910337957 A CN 201910337957A CN 110113192 B CN110113192 B CN 110113192B
Authority
CN
China
Prior art keywords
site
disaster recovery
virtual desktop
user terminal
configuration 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.)
Active
Application number
CN201910337957.8A
Other languages
Chinese (zh)
Other versions
CN110113192A (en
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.)
Sangfor Technologies Co Ltd
Original Assignee
Sangfor Technologies 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 Sangfor Technologies Co Ltd filed Critical Sangfor Technologies Co Ltd
Priority to CN201910337957.8A priority Critical patent/CN110113192B/en
Publication of CN110113192A publication Critical patent/CN110113192A/en
Application granted granted Critical
Publication of CN110113192B publication Critical patent/CN110113192B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a routing method, a routing device, a system, a storage medium and a device for a virtual desktop. In the invention, a first running state of a working station is monitored; when the first running state is an abnormal running state, obtaining disaster recovery site configuration information; changing the preset site connection information from the working site configuration information into disaster recovery site configuration information; and establishing connection between the user terminal and the disaster recovery site based on the configuration information of the disaster recovery site so as to provide the access service of the virtual desktop for the user terminal through the disaster recovery site. The invention introduces the preset site connection information, so that the content of the preset site connection information can be automatically changed after the working site is abnormal, and the user terminal can be automatically connected with the disaster recovery site. Therefore, the user terminal can stably access the virtual desktop without acquiring the configuration information of the disaster recovery site autonomously, and the technical problem that the access service of the virtual desktop cannot be stably acquired during disaster recovery switching is solved.

Description

Routing method, routing device, system, storage medium and device for virtual desktop
Technical Field
The present invention relates to the field of virtual desktop infrastructure technologies, and in particular, to a routing method, a routing device, a routing system, a storage medium, and an apparatus for a virtual desktop.
Background
A Virtual Desktop Infrastructure (VDI) belongs to one of virtualization technologies, and its core purpose is to run a Desktop operating system through a server of a data center, and connect these remote Desktop operating systems through a transmission protocol of a user terminal (for example, a personal computer, etc.) used by the user himself, so that the user can access the Desktop on the server as if accessing a traditional local Desktop.
Moreover, a virtualization platform disaster recovery technology can be additionally combined in a VDI service scene. The virtualization platform disaster recovery technology is to establish two or more sets of systems with similar functions in different places far away from each other. When a disaster event such as an earthquake occurs at the place where the working system is located, or a major fault such as power failure and network disconnection occurs, the working system can be switched to a disaster recovery system in a different place.
Particularly, the conventional virtualization platform disaster recovery technology only concerns whether the virtual machine service is successfully pulled up, and in the VDI service scenario, the virtualization platform disaster recovery technology also needs to additionally concern whether the user terminal can successfully access the remote disaster recovery system after the working system is switched.
After all, for a user terminal, the user terminal where the user is located cannot sense the specific situation of disaster recovery switching, and if the user terminal needs to stably obtain the access service of the virtual desktop at the site, after the work site crashes, the user terminal needs to autonomously connect to the disaster recovery site.
However, it takes a long time for the user terminal to autonomously connect to the disaster recovery site, for example, the user needs to contact operation and maintenance personnel for consultation, and then manually modify the configuration on the user terminal to access the disaster recovery site. As can be seen, this does not provide stable access to the access services of the virtual desktop.
Therefore, it is considered that there is a technical problem that the access service of the virtual desktop cannot be stably acquired at the time of disaster recovery switching.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a routing method, a routing device, a system, a storage medium and a device for a virtual desktop, and aims to solve the technical problem that access service of the virtual desktop cannot be stably acquired during disaster recovery switching.
In order to achieve the above object, the present invention provides a routing method for a virtual desktop, which includes the following steps:
monitoring a first running state of a work site, wherein the work site provides an access service of a virtual desktop for a user terminal;
when the first running state is an abnormal running state, obtaining disaster recovery site configuration information of the disaster recovery site;
changing the preset site connection information from the working site configuration information of the working site to the disaster recovery site configuration information;
and establishing connection between the user terminal and the disaster recovery site based on the configuration information of the disaster recovery site so as to provide access service of a virtual desktop for the user terminal through the disaster recovery site.
Preferably, after the connection between the user terminal and the disaster recovery site is established based on the disaster recovery site configuration information, so as to provide an access service of a virtual desktop for the user terminal through the disaster recovery site, the routing method of the virtual desktop further includes:
monitoring a second operating state of the work station;
when the second operation state is a normal operation state, generating a data migration instruction, and sending the data migration instruction to the disaster recovery site, so that the disaster recovery site migrates the service data at the disaster recovery site to the working site;
and changing the preset site connection information from the disaster recovery site configuration information to the working site configuration information, and reestablishing the connection between the user terminal and the working site so as to provide the access service of the virtual desktop for the user terminal through the working site.
Preferably, when the second operating state is a normal operating state, generating a data migration instruction, and sending the data migration instruction to the disaster recovery site, so that the disaster recovery site migrates the service data at the disaster recovery site back to the working site, specifically including:
when the second running state is a normal running state, generating a data migration instruction, sending the data migration instruction to the disaster recovery site, so that the disaster recovery site migrates the service data at the disaster recovery site to the working site, generating migration ending information, and feeding back the migration ending information to the routing equipment;
correspondingly, the changing the preset site connection information from the disaster recovery site configuration information to the work site configuration information, and reestablishing the connection between the user terminal and the work site to provide an access service of a virtual desktop for the user terminal through the work site specifically includes:
and when the migration ending information is received, changing the preset site connection information from the disaster recovery site configuration information to the working site configuration information, and reestablishing the connection between the user terminal and the working site so as to provide the access service of the virtual desktop for the user terminal through the working site.
Preferably, the disaster recovery site includes a virtual desktop access device and a virtualization management device, and the configuration information of the disaster recovery site includes device address information of the virtual desktop access device;
correspondingly, the establishing of the connection between the user terminal and the disaster recovery site based on the disaster recovery site configuration information to provide the access service of the virtual desktop for the user terminal through the disaster recovery site specifically includes:
establishing connection between the user terminal and the virtual desktop access equipment based on the equipment address information so as to communicate the user terminal and the virtual desktop access equipment;
when receiving a desktop access request sent by the user terminal, forwarding the desktop access request to the virtual desktop access device so that the virtual desktop access device performs validity authentication on the desktop access request, and when authentication succeeds, generating a desktop connection instruction, sending the desktop connection instruction to the virtualization management device, and providing an access service of a virtual desktop for the user terminal through the virtualization management device.
Preferably, before monitoring the first operating state of the workstation, the routing method for the virtual desktop further includes:
reading site information in a preset registration list;
and when the site information comprises the working site and the disaster recovery site, periodically monitoring the running states of the registered working site and the registered disaster recovery site.
Preferably, when the first operating state is an abnormal operating state, the acquiring the disaster recovery site configuration information of the disaster recovery site specifically includes:
monitoring a third operation state of the disaster recovery site when the first operation state is an abnormal operation state;
and when the third running state is a normal running state, obtaining disaster recovery site configuration information of the disaster recovery site.
In addition, to achieve the above object, the present invention further provides a routing device, which includes a memory, a processor, and a routing program of a virtual desktop stored in the memory and running on the processor, wherein the routing program of the virtual desktop is configured to implement the steps of the routing method of the virtual desktop as described above.
In addition, to achieve the above object, the present invention further provides a routing system for a virtual desktop, where the routing system for a virtual desktop includes: the system comprises a work station and a disaster recovery station, wherein the disaster recovery station comprises the route selection equipment.
In addition, to achieve the above object, the present invention further provides a storage medium, where the storage medium stores a routing program for a virtual desktop, and the routing program for the virtual desktop, when executed by a processor, implements the steps of the routing method for the virtual desktop as described above.
In addition, to achieve the above object, the present invention further provides a routing device for a virtual desktop, where the routing device for a virtual desktop includes:
the disaster recovery monitoring module is used for monitoring a first running state of a work site, and the work site provides access service of a virtual desktop for the user terminal;
the configuration acquisition module is used for acquiring disaster recovery site configuration information of the disaster recovery site when the first running state is an abnormal running state;
the configuration changing module is used for changing the preset site connection information from the working site configuration information of the working site into the disaster recovery site configuration information;
and the virtual desktop module is used for establishing the connection between the user terminal and the disaster tolerant site based on the disaster tolerant site configuration information so as to provide the access service of the virtual desktop for the user terminal through the disaster tolerant site.
In the invention, a first running state of a working station is monitored; when the first running state is an abnormal running state, obtaining disaster recovery site configuration information; changing the preset site connection information from the working site configuration information into disaster recovery site configuration information; and establishing connection between the user terminal and the disaster tolerant site based on the configuration information of the disaster tolerant site so as to provide the access service of the virtual desktop for the user terminal through the disaster tolerant site. Obviously, the invention introduces the preset site connection information, and the user terminal connects the site configuration information written in the preset site connection information with the site, so that the content of the preset site connection information is automatically changed after the working site is abnormal, and the user terminal can be automatically connected with the disaster recovery site. Therefore, the user terminal can stably access the virtual desktop without autonomously acquiring the configuration information of the disaster recovery site, and the technical problem that the access service of the virtual desktop cannot be stably acquired during disaster recovery switching is solved.
Drawings
FIG. 1 is a schematic diagram of a routing device structure of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a routing method for virtual desktops according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of a routing method for virtual desktops according to the present invention;
FIG. 4 is a flowchart illustrating a routing method for a virtual desktop according to a third embodiment of the present invention;
FIG. 5 is a first schematic diagram of a routing framework of a third embodiment of the routing method for virtual desktops according to the present invention;
FIG. 6 is a second schematic diagram of a routing architecture of a third embodiment of the routing method for virtual desktops according to the present invention;
FIG. 7 is a block diagram of a routing device for virtual desktops according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a routing device structure of a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the routing device may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), the optional user interface 1003 may include a standard wired interface and a wireless interface, and the wired interface for the user interface 1003 may be a Universal Serial Bus (USB) interface in the present invention. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The Memory 1005 may be a high speed Random Access Memory (RAM); or a stable Memory, such as a Non-volatile Memory (Non-volatile Memory), and may be a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001 described previously.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the routing device and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is one type of computer storage medium, may include an operating system, a network communication module, a user interface module, and a routing program for a virtual desktop.
In the routing device shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting peripheral equipment; the routing device invokes, via processor 1001, a routing program for the virtual desktop stored in memory 1005, and performs the following operations:
monitoring a first running state of a work site, wherein the work site provides access service of a virtual desktop for a user terminal;
when the first running state is an abnormal running state, obtaining disaster recovery site configuration information of the disaster recovery site;
changing the preset site connection information from the working site configuration information of the working site to the disaster recovery site configuration information;
and establishing connection between the user terminal and the disaster recovery site based on the configuration information of the disaster recovery site so as to provide access service of a virtual desktop for the user terminal through the disaster recovery site.
Further, processor 1001 may invoke a routing program for the virtual desktop stored in memory 1005, and also perform the following operations:
monitoring a second operating state of the work station;
when the second running state is a normal running state, generating a data migration instruction, and sending the data migration instruction to the disaster recovery site, so that the disaster recovery site migrates the service data at the disaster recovery site to the working site;
and changing the preset site connection information from the disaster recovery site configuration information to the working site configuration information, and reestablishing the connection between the user terminal and the working site so as to provide the access service of the virtual desktop for the user terminal through the working site.
Further, the processor 1001 may call the routing program of the virtual desktop stored in the memory 1005, and further perform the following operations:
when the second running state is a normal running state, generating a data migration instruction, sending the data migration instruction to the disaster recovery site, so that the disaster recovery site migrates the service data at the disaster recovery site to the working site, generating migration ending information, and feeding back the migration ending information to the routing equipment;
accordingly, the following operations are also performed:
and when the migration ending information is received, changing the preset site connection information from the disaster recovery site configuration information to the working site configuration information, and reestablishing the connection between the user terminal and the working site so as to provide the access service of the virtual desktop for the user terminal through the working site.
Further, processor 1001 may invoke a routing program for the virtual desktop stored in memory 1005, and also perform the following operations:
establishing connection between the user terminal and the virtual desktop access equipment based on the equipment address information so as to communicate the user terminal and the virtual desktop access equipment;
when receiving a desktop access request sent by the user terminal, forwarding the desktop access request to the virtual desktop access device so that the virtual desktop access device performs validity authentication on the desktop access request, and when authentication succeeds, generating a desktop connection instruction, sending the desktop connection instruction to the virtualization management device, and providing an access service of a virtual desktop for the user terminal through the virtualization management device.
Further, the processor 1001 may call the routing program of the virtual desktop stored in the memory 1005, and further perform the following operations:
reading site information in a preset registration list;
and when the site information comprises the working sites and the disaster recovery sites, periodically monitoring the running states of the registered working sites and disaster recovery sites.
Further, processor 1001 may invoke a routing program for the virtual desktop stored in memory 1005, and also perform the following operations:
monitoring a third operation state of the disaster recovery site when the first operation state is an abnormal operation state;
and when the third running state is a normal running state, acquiring disaster recovery site configuration information of the disaster recovery site.
In this embodiment, a first operating state of a work station is monitored; when the first running state is an abnormal running state, obtaining disaster recovery site configuration information; changing the preset site connection information from the working site configuration information into disaster recovery site configuration information; and establishing connection between the user terminal and the disaster tolerant site based on the configuration information of the disaster tolerant site so as to provide the access service of the virtual desktop for the user terminal through the disaster tolerant site. Obviously, in this embodiment, the preset site connection information is introduced, and the user terminal connects the site configuration information written in the preset site connection information with the site, so that after an abnormality occurs in the working site, the content of the preset site connection information is automatically changed, and the user terminal can be automatically connected with the disaster recovery site. Therefore, the user terminal can stably access the virtual desktop without autonomously acquiring the configuration information of the disaster recovery site, and the technical problem that the access service of the virtual desktop cannot be stably acquired during disaster recovery switching is solved.
Based on the hardware structure, the embodiment of the routing method of the virtual desktop is provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a routing method for a virtual desktop according to a first embodiment of the present invention.
In a first embodiment, the routing method of the virtual desktop includes the following steps:
step S10: monitoring a first running state of a work site, wherein the work site provides access service of a virtual desktop for a user terminal.
It can be understood that, by applying the virtualization platform disaster recovery technology in the VDI service scenario, a working system and a disaster recovery system in different places can be respectively set, and both the working system and the disaster recovery system can provide access services to the virtual desktop. As for the working system, the working system can be operated on the working site, and the disaster recovery system can be operated on the disaster recovery site. The work site can be a server or a server cluster, and the disaster recovery site can be a server or a server cluster.
It should be understood that, it is important to introduce an additional routing device in this embodiment, and by applying the routing device, the user terminal can perform the desktop access behavior uninterruptedly without sensing the actual situation of disaster recovery switching. Moreover, the routing device is an execution subject of this embodiment, and the user terminal may be a personal computer, a smart phone, an electronic device (e.g., a thin terminal) dedicated to accessing the VDI desktop, and the like.
In a specific implementation, the routing device may periodically monitor the operating states of the working site and the disaster recovery site under the VDI, and the working site and the disaster recovery site are mutually active and standby, for example, if the active and standby states of the working site are active states, the active and standby states of the disaster recovery site are standby states, and the working site provides an access service for the user terminal. Otherwise, the disaster recovery site provides access service for the user terminal.
Step S20: and when the first running state is the abnormal running state, acquiring disaster recovery site configuration information of the disaster recovery site.
In a specific implementation, if the active/standby state of the work site is the active state and the operating state is the normal operating state, the work site provides an access service of the virtual desktop for the user terminal. However, if a major fault such as power failure or network outage occurs at the location of the work site, and it is monitored that the operation state of the work site changes suddenly into an abnormal operation state, the work site cannot provide the access service of the virtual desktop for the user terminal, and the disaster recovery site in the standby state is started to provide the access service of the virtual desktop. The normal operation state refers to that the station is operated normally and can provide access service to the outside, and the abnormal operation state refers to that the station fails to stably provide the access service to the outside.
Step S30: and changing the preset site connection information from the working site configuration information of the working site to the disaster recovery site configuration information.
It can be understood that, when a work site is abnormal, the virtualization platform disaster recovery technology will automatically switch the master/standby states of the work site and the disaster recovery site, but because a user terminal needs to access a desktop operating system under the site in a VDI service scenario, the user terminal can only access the disaster recovery site if the user terminal provides an access mode of the disaster recovery site. Therefore, by additionally setting the routing device, the routing device will acquire the configuration information of the disaster recovery site, so that the user terminal can access the disaster recovery site.
In the specific implementation, the preset field is preset as the preset site connection information, and the access mode of the site to be accessed by the user terminal at the current moment is filled in the preset site connection information without concerning what kind of site the accessed site is. Since the site visited before is a working site, the preset site connection information is filled with the working site configuration information, and the configuration information is changed to disaster recovery site configuration information at this moment. As for the job site configuration information, it may be a network address pointing to the job site, and the disaster recovery site configuration information may be a network address pointing to the disaster recovery site.
Step S40: and establishing connection between the user terminal and the disaster tolerant site based on the configuration information of the disaster tolerant site so as to provide access service of a virtual desktop for the user terminal through the disaster tolerant site.
It can be understood that, since the disaster recovery site configuration information is written in the preset site connection information, the user terminal uses the disaster recovery site configuration information to connect the corresponding site, thereby acquiring the access service in the corresponding site. Obviously, the site corresponding to the preset site connection information at this time is a disaster recovery site.
In this embodiment, a first operating state of a work station connected to a user terminal is monitored; when the first running state is an abnormal running state, obtaining disaster recovery site configuration information; changing the preset site connection information from the working site configuration information to disaster recovery site configuration information; and establishing connection between the user terminal and the disaster tolerant site based on the configuration information of the disaster tolerant site so as to provide the access service of the virtual desktop for the user terminal through the disaster tolerant site. Obviously, in this embodiment, the preset site connection information is introduced, and the user terminal connects the site configuration information written in the preset site connection information with the site, so that after an abnormality occurs in the working site, the content of the preset site connection information is automatically changed, and the user terminal can be automatically connected with the disaster recovery site. Therefore, the user terminal can stably access the virtual desktop without autonomously acquiring the configuration information of the disaster recovery site, and the technical problem that the access service of the virtual desktop cannot be stably acquired during disaster recovery switching is solved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a routing method for a virtual desktop according to a second embodiment of the present invention, and the routing method for a virtual desktop according to the second embodiment of the present invention is proposed based on the first embodiment shown in fig. 2.
In the second embodiment, after the step S40, the method for routing a virtual desktop further includes:
step S50: monitoring a second operational state of the work station.
It can be understood that after the site providing the access service is changed from the working site to the disaster recovery site, the operation state of the working site will be continuously monitored, and if the operation state returns to normal, the access service will be provided by the working site.
Step S60: and when the second running state is a normal running state, generating a data migration instruction, and sending the data migration instruction to the disaster recovery site, so that the disaster recovery site migrates the service data at the disaster recovery site to the working site.
It should be understood that, if it is monitored that the operating state of the working site is changed to the normal operating state, a data migration instruction is sent to the disaster recovery site, so that the disaster recovery site performs a data migration operation.
In a specific implementation, the service data refers to a desktop operation behavior implemented by the user terminal on the disaster recovery site, and the data migration operation refers to synchronization of the service data on the disaster recovery site to the work site side.
Step S70: and changing the preset site connection information from the disaster recovery site configuration information to the working site configuration information, and reestablishing the connection between the user terminal and the working site so as to provide the access service of the virtual desktop for the user terminal through the working site.
It will be appreciated that after synchronizing the service data on the disaster recovery site to the workstation side, the workstation can provide access services consistent with the disaster recovery site.
It should be understood that the information content of the preset site connection information may be changed back to the work site configuration information so that the user terminal can be successfully connected to the work site; and then, the work station provides the access service of the virtual desktop.
Further, when the second operating state is a normal operating state, generating a data migration instruction, and sending the data migration instruction to the disaster recovery site, so that the disaster recovery site migrates the service data at the disaster recovery site to the working site, specifically including:
when the second running state is a normal running state, generating a data migration instruction, sending the data migration instruction to the disaster recovery site, so that the disaster recovery site migrates the service data at the disaster recovery site to the working site, generating migration ending information, and feeding the migration ending information back to the routing equipment;
correspondingly, the changing the preset site connection information from the disaster recovery site configuration information to the work site configuration information, and reestablishing the connection between the user terminal and the work site, so as to provide an access service of a virtual desktop for the user terminal through the work site specifically includes:
and when the migration ending information is received, changing the preset site connection information from the disaster recovery site configuration information to the working site configuration information, and reestablishing the connection between the user terminal and the working site so as to provide the virtual desktop access service for the user terminal through the working site.
It can be understood that, after the service data of the disaster recovery site is migrated back to the working site, the information content written in the preset site connection information is still the disaster recovery site configuration information, not the working site configuration information. Therefore, the access service is still stably provided by the disaster recovery site.
It should be understood that, in order to further ensure the stability of the user terminal accessing the virtual desktop, the preset site connection information is changed only after the migration is finished, so as to access the user terminal to the work site. And before the service data of the disaster tolerance site is migrated back, the route is selected to the disaster tolerance site.
In a specific implementation, after the migration is finished, migration end information is generated. And the route selection equipment changes the connection information of the preset site at the moment of acquiring the migration ending information and directs the route selection accessed by the user terminal back to the working site.
In addition, a Recovery Time Objective (RTO) may be used to measure stability of a device providing a service to the outside, and specifically, the Recovery Time Objective refers to a period from a moment when a system is down to cause a service outage to the moment when the system recovers to a state where the service can be provided to the outside after a disaster occurs, and a Time period between the two points may be referred to as a Recovery Time Objective. However, it takes a long time for the user terminal to autonomously connect to the disaster recovery site, for example, the user needs to contact operation and maintenance personnel for consultation, and then manually modify the configuration on the user terminal to access the disaster recovery site, thereby greatly increasing the RTO.
And the RTO under VDI disaster tolerance is calculated from the beginning of service paralysis to the end of the successful access of all users to the desktop operating system. The number of virtual machines of a VDI tends to be thousands or hundreds, and the RTO therefore becomes uncontrollable. In particular, the virtual desktop will face the problem once when switching from the remote disaster recovery system to the working system.
Obviously, by applying the technical solution described in this embodiment, the station configuration information in the preset station connection information can be autonomously switched, and when the disaster recovery system is switched back to the working system, data migration and change of the preset station connection information can also be autonomously performed, so that the RTO time can be effectively reduced, and even approaches to 0.
In this embodiment, after the disaster recovery is switched to the disaster recovery site, the operating state of the work site is still periodically monitored. And if the running state of the work site is recovered to be the normal running state, performing data migration operation, and finally providing the access service of the virtual desktop for the user terminal through the work site. Therefore, in the disaster recovery switching process and the recovery process of the working site, the user can not pay attention to the change of the preset site connection information, the user can not sense the disaster recovery switching, and the use experience of the user is enhanced.
Referring to fig. 4, fig. 4 is a flowchart illustrating a routing method for a virtual desktop according to a third embodiment of the present invention, and based on the first embodiment shown in fig. 2, a third embodiment of the routing method for a virtual desktop according to the present invention is provided.
In a third embodiment, the disaster recovery site includes a virtual desktop access device and a virtualization management device, and the configuration information of the disaster recovery site includes device address information of the virtual desktop access device.
It can be understood that, referring to fig. 5, both the work site and the disaster recovery site are server clusters, and both the work site and the disaster recovery site include a virtual desktop access device and a virtualization management device. The virtual desktop access equipment is used for authenticating, authorizing and managing an accessed user account or a user terminal; the virtualization management device is a platform for bearing a virtual machine, provides hardware resources for the virtual machine to run, and can be an independent server or a server cluster formed by a plurality of servers.
Correspondingly, the step S40 specifically includes:
step S401: and establishing connection between the user terminal and the virtual desktop access equipment based on the equipment address information so as to communicate the user terminal and the virtual desktop access equipment.
In a specific implementation, the device Address information of the virtual desktop access device may be expressed as an Internet Protocol Address (IP Address) of the virtual desktop access device, and the virtual desktop access device in the disaster recovery site and the user terminal may be successfully connected by configuring the IP Address of the virtual desktop access device in the route selection device.
Step S402: when receiving a desktop access request sent by the user terminal, forwarding the desktop access request to the virtual desktop access device so that the virtual desktop access device performs validity authentication on the desktop access request, and when authentication succeeds, generating a desktop connection instruction, sending the desktop connection instruction to the virtualization management device, and providing an access service of a virtual desktop for the user terminal through the virtualization management device.
In a specific implementation, when a user terminal actually uses a virtual desktop, a desktop access request is sent to a routing device; the routing equipment forwards the desktop access request to virtual desktop access equipment of the disaster tolerance site, and the virtual desktop access equipment performs validity authentication, specifically, whether a user account included in the desktop access request is a preset legal account can be identified, and if so, the authentication is successful; and when the authentication is successful, the virtual desktop access device generates a desktop connection instruction and forwards the desktop connection instruction to the virtualization management device, so that the virtualization management device can provide a virtual desktop for the user terminal to perform desktop interaction.
Further, before monitoring a first operating state of a work station connected to the user terminal at the current time, the routing method for the virtual desktop further includes:
reading site information in a preset registration list;
and when the site information comprises the working site and the disaster recovery site, periodically monitoring the running states of the registered working site and the registered disaster recovery site.
In a specific implementation, before the routing device is formally operated, the working site and the disaster recovery site may be registered on the routing device side, and the site information of the registered site is recorded in a preset registration list stored locally. When the route selection device is formally operated, the registered sites in the preset registration list are consulted, and the registered sites are periodically monitored, so that the current operating states of the working sites and the disaster recovery sites are obtained in real time.
In addition, the registered work stations and disaster recovery stations can be periodically monitored for operating states based on a preset period, wherein the preset period can be 10 seconds at intervals.
Further, when the first operating state is an abnormal operating state, acquiring the disaster recovery site configuration information of the disaster recovery site specifically includes:
monitoring a third operation state of the disaster recovery site when the first operation state is an abnormal operation state;
and when the third running state is a normal running state, obtaining disaster recovery site configuration information of the disaster recovery site.
In a specific implementation, the working station and the disaster recovery station are mutually in a master-slave state, so the master-slave state of the working station can be an active state, and the master-slave state of the disaster recovery station can be a standby state. When the operation state of the working site is in an abnormal operation state, disaster recovery switching can be performed, the active/standby state of the working site is switched to a standby state, the active/standby state of the disaster recovery site is switched to an active state, and the disaster recovery site can provide access service of the virtual desktop.
It should be noted that the active/standby state and the operating state of a station are different states, one is a role state on active/standby switching, and the other is an equipment state in actual operation.
It can be understood that, after the active/standby state of the disaster recovery site is switched to the active state, it may be further determined whether the operating state of the disaster recovery site is in the normal operating state, and then subsequent operations are performed after the operating state is determined to be the normal operating state, so as to further ensure the stability of the access service.
In the embodiment, the deployment mode of the sites is refined, and the stability of the access service is further ensured.
FIG. 6 is a second schematic diagram of a routing architecture of a third embodiment of the routing method for virtual desktops according to the present invention. As can be seen from fig. 5 and 6, the routing device can exist independently of the work site and the disaster recovery site, or can be included in the work site and the disaster recovery site.
Referring to fig. 6, the work site may also include a routing device, the disaster recovery site may include a routing device, the routing device included in the work site may be denoted as a first routing device, and the routing device included in the disaster recovery site may be denoted as a second routing device.
Since the first to third embodiments of the routing method for a virtual desktop of the present invention all discuss the working situation after the workstation falls into the abnormal operation state, if the execution main body is refined, the execution main body may be specifically the second routing device.
Further, before monitoring a first running state of a work station connected to the user terminal at the current time, the routing method for the virtual desktop further includes:
monitoring the routing running state of the first routing equipment;
and when the routing running state is an abnormal running state, changing the routing running state of the second routing equipment from a standby state to an activated state so as to monitor the first running state of a working station connected with the user terminal through the second routing equipment.
It can be understood that the first routing device and the second routing device are also mutually configured as a master device and a slave device, if the routing operation state of the first routing device is in an abnormal operation state and the routing operation and the monitoring operation of the operation state of the station cannot be implemented, the master device and the slave device can be switched, the routing operation state of the second routing device is changed from the standby state to the active state, the routing operation state of the first routing device is changed from the active state to the standby state, and the second routing device of the execution main body implements the routing operation and the monitoring operation of the operation state of the station.
Further, in order to ensure high availability of the routing device, the routing device may be deployed as a distributed cluster, so that the whole VDI cannot provide the virtual desktop service to the outside due to a single point of failure of the routing device.
Further, referring to FIG. 6, the routing device can be carried on the virtual machine in the form of virtual components, in addition to being present in the form of server hardware. Since the virtualization management device is a platform that hosts a virtual machine, the routing device can be carried on the virtual machine of the virtualization management device.
Furthermore, the route selection device can be made into a virtual machine mirror image to be deployed on the virtualization management device, and meanwhile, distributed clusters are deployed on the working system and the disaster recovery system to ensure high availability of the route selection access service.
In the embodiment, multiple deployment modes of the routing device are provided, and the deployment freedom of the routing function is improved. And the route selection equipment can be simultaneously deployed at both the working site and the disaster recovery site, and high availability of the route selection equipment is realized by mutually forming the main and standby route selection equipment.
In addition, an embodiment of the present invention further provides a routing system for a virtual desktop, where the routing system for a virtual desktop includes: the system comprises a work site and a disaster recovery site, wherein the disaster recovery site comprises the route selection equipment.
In addition, an embodiment of the present invention further provides a storage medium, where a routing program of a virtual desktop is stored in the storage medium, and when executed by a processor, the routing program of the virtual desktop implements the following operations:
monitoring a first running state of a work site, wherein the work site provides an access service of a virtual desktop for a user terminal;
when the first running state is an abnormal running state, acquiring disaster recovery site configuration information of a disaster recovery site;
changing the preset site connection information from the working site configuration information of the working site to the disaster recovery site configuration information;
and establishing connection between the user terminal and the disaster recovery site based on the configuration information of the disaster recovery site so as to provide access service of a virtual desktop for the user terminal through the disaster recovery site.
Further, the routing program of the virtual desktop, when executed by the processor, further implements the following operations:
monitoring a second operating state of the work station;
when the second running state is a normal running state, generating a data migration instruction, and sending the data migration instruction to the disaster recovery site, so that the disaster recovery site migrates the service data at the disaster recovery site to the working site;
and changing the preset site connection information from the disaster recovery site configuration information to the working site configuration information, and reestablishing the connection between the user terminal and the working site so as to provide the access service of the virtual desktop for the user terminal through the working site.
Further, the routing program of the virtual desktop, when executed by the processor, further implements the following operations:
when the second running state is a normal running state, generating a data migration instruction, sending the data migration instruction to the disaster recovery site, so that the disaster recovery site migrates the service data at the disaster recovery site to the working site, generating migration ending information, and feeding back the migration ending information to the routing equipment;
accordingly, the following operations are also implemented:
and when the migration ending information is received, changing the preset site connection information from the disaster recovery site configuration information to the working site configuration information, and reestablishing the connection between the user terminal and the working site so as to provide the virtual desktop access service for the user terminal through the working site.
Further, the routing program of the virtual desktop, when executed by the processor, further implements the following operations:
establishing connection between the user terminal and the virtual desktop access equipment based on the equipment address information so as to communicate the user terminal and the virtual desktop access equipment;
when receiving a desktop access request sent by the user terminal, forwarding the desktop access request to the virtual desktop access device so that the virtual desktop access device performs validity authentication on the desktop access request, and when authentication succeeds, generating a desktop connection instruction, sending the desktop connection instruction to the virtualization management device, and providing an access service of a virtual desktop for the user terminal through the virtualization management device.
Further, the routing program of the virtual desktop when executed by the processor further realizes the following operations:
reading site information in a preset registration list;
and when the site information comprises the working site and the disaster recovery site, periodically monitoring the running states of the registered working site and the registered disaster recovery site.
Further, the routing program of the virtual desktop, when executed by the processor, further implements the following operations:
monitoring a third operation state of the disaster recovery site when the first operation state is an abnormal operation state;
and when the third running state is a normal running state, obtaining disaster recovery site configuration information of the disaster recovery site.
In this embodiment, a first operating state of a work station is monitored; when the first running state is an abnormal running state, obtaining disaster recovery site configuration information; changing the preset site connection information from the working site configuration information to disaster recovery site configuration information; and establishing connection between the user terminal and the disaster recovery site based on the configuration information of the disaster recovery site so as to provide the access service of the virtual desktop for the user terminal through the disaster recovery site. Obviously, in this embodiment, the preset site connection information is introduced, and the user terminal connects the site configuration information written in the preset site connection information with the site, so that after the work site is abnormal, the content of the preset site connection information is automatically changed, and the user terminal can be automatically connected with the disaster recovery site. Therefore, the user terminal can stably access the virtual desktop without autonomously acquiring the configuration information of the disaster recovery site, and the technical problem that the access service of the virtual desktop cannot be stably acquired during disaster recovery switching is solved.
In addition, referring to fig. 7, an embodiment of the present invention further provides a routing device for a virtual desktop, where the routing device for a virtual desktop includes:
and the disaster tolerance monitoring module 10 is configured to monitor a first operating state of a work site, where the work site provides an access service of a virtual desktop for the user terminal.
It can be understood that, by applying the virtualization platform disaster recovery technology in the VDI service scenario, a different-location working system and a different-location disaster recovery system can be respectively configured, and both the working system and the different-location disaster recovery system can provide access services for the virtual desktop. As for the working system, the disaster recovery system can be operated on the working site. The work site can be a server or a server cluster, and the disaster recovery site can be a server or a server cluster.
It should be understood that, it is important to introduce an additional routing device for a virtual desktop in this embodiment, and by applying the routing device for the virtual desktop, the user terminal can perform the desktop access behavior uninterruptedly without sensing the actual situation of disaster recovery switching. The user terminal can be a personal computer, a smart phone, an electronic device (e.g., a thin terminal) specially used for accessing a VDI desktop, and the like.
In a specific implementation, the routing device of the virtual desktop may periodically monitor the operating states of the working site and the disaster recovery site, and the working site and the disaster recovery site are mutually configured as a master site and a slave site, for example, if the master site and the slave site of the working site are in an active state, the master site and the slave site of the disaster recovery site are in a standby state, and the working site provides an access service for the user terminal. Otherwise, the disaster recovery site provides access service for the user terminal.
A configuration obtaining module 20, configured to obtain disaster recovery site configuration information of the disaster recovery site when the first operation state is an abnormal operation state.
In a specific implementation, if the active/standby state of the work site is the active state and the operating state is the normal operating state, the work site provides an access service of the virtual desktop for the user terminal. However, if a major fault such as power failure or network outage occurs at the location of the work site, and it is monitored that the operation state of the work site changes suddenly into an abnormal operation state, the work site cannot provide the access service of the virtual desktop for the user terminal, and the disaster recovery site in the standby state is started to provide the access service of the virtual desktop. The normal operation state refers to that the station operates normally and can provide access service to the outside, and the abnormal operation state refers to that the station fails to operate and cannot stably provide the access service to the outside.
A configuration changing module 30, configured to change the preset site connection information from the working site configuration information of the working site to the disaster recovery site configuration information.
It can be understood that, when a working site is abnormal, the virtualization platform disaster tolerance technology will automatically switch the master and standby states of the working site and the disaster tolerance site, but because a user terminal needs to access a desktop operating system under the site in a VDI service scenario, the user terminal can only access the disaster tolerance site if an access mode of the disaster tolerance site is provided for the user terminal. Therefore, by additionally arranging the route selection device of the virtual desktop, the route selection device of the virtual desktop acquires the configuration information of the disaster recovery site, so that the user terminal can access the disaster recovery site.
In specific implementation, the preset field is preset site connection information, and the access mode of the site to be accessed by the user terminal at the current moment is filled in the preset site connection information without concern about which site the accessed site is. Since the site visited before is a working site, the preset site connection information is filled with the working site configuration information, and the configuration information is changed to disaster recovery site configuration information at this moment. As for the configuration information of the work site, the configuration information of the work site may be a network address pointing to the work site, and the configuration information of the disaster recovery site may be a network address pointing to the disaster recovery site.
A virtual desktop module 40, configured to establish a connection between the user terminal and the disaster recovery site based on the disaster recovery site configuration information, so as to provide an access service of a virtual desktop for the user terminal through the disaster recovery site.
It can be understood that, since the disaster recovery site configuration information is written in the preset site connection information, the user terminal uses the disaster recovery site configuration information to connect the corresponding site, thereby acquiring the access service in the corresponding site. Obviously, the site corresponding to the preset site connection information at this time is a disaster recovery site.
In this embodiment, a first operation state of a work station connected to a user terminal at a current time is monitored; when the first running state is an abnormal running state, obtaining disaster recovery site configuration information; changing the preset site connection information from the working site configuration information into disaster recovery site configuration information; and establishing connection between the user terminal and the disaster recovery site based on the configuration information of the disaster recovery site so as to provide the access service of the virtual desktop for the user terminal through the disaster recovery site. Obviously, in this embodiment, the preset site connection information is introduced, and the user terminal connects the site configuration information written in the preset site connection information with the site, so that after an abnormality occurs in the working site, the content of the preset site connection information is automatically changed, and the user terminal can be automatically connected with the disaster recovery site. Therefore, the user terminal can stably access the virtual desktop without acquiring disaster recovery site configuration information of the disaster recovery site autonomously, and the technical problem that the access service of the virtual desktop cannot be stably acquired during disaster recovery switching is solved.
In one embodiment, the routing device of the virtual desktop further comprises:
the data migration module is used for monitoring a second operation state of the work station; when the second running state is a normal running state, generating a data migration instruction, and sending the data migration instruction to the disaster recovery site, so that the disaster recovery site migrates the service data at the disaster recovery site to the working site; and changing the preset site connection information from the disaster recovery site configuration information to the working site configuration information, and reestablishing the connection between the user terminal and the working site so as to provide the access service of the virtual desktop for the user terminal through the working site.
In an embodiment, the data migration module is further configured to generate a data migration instruction when the second operating state is a normal operating state, send the data migration instruction to the disaster recovery site, so that the disaster recovery site migrates the service data at the disaster recovery site back to the working site, generate migration end information, and feed back the migration end information to the routing device;
the data migration module is further configured to, when the migration completion information is received, change the preset site connection information from the disaster recovery site configuration information to the work site configuration information, and reestablish a connection between the user terminal and the work site, so as to provide an access service of a virtual desktop for the user terminal through the work site.
In an embodiment, the virtual desktop module 40 is further configured to establish a connection between the user terminal and the virtual desktop access device based on the device address information, so as to connect the user terminal and the virtual desktop access device; when receiving a desktop access request sent by the user terminal, forwarding the desktop access request to the virtual desktop access equipment so that the virtual desktop access equipment performs validity authentication on the desktop access request, when the authentication is successful, generating a desktop connection instruction, sending the desktop connection instruction to the virtualization management equipment, and providing access service of a virtual desktop for the user terminal through the virtualization management equipment.
In one embodiment, the routing device of the virtual desktop further comprises:
the station registration module is used for reading station information in a preset registration list; and when the site information comprises the working site and the disaster recovery site, periodically monitoring the running states of the registered working site and the registered disaster recovery site.
In an embodiment, the configuration obtaining module 20 is further configured to monitor a third operating state of the disaster recovery site when the first operating state is an abnormal operating state; and when the third running state is a normal running state, acquiring disaster recovery site configuration information of the disaster recovery site.
Other embodiments or specific implementation manners of the routing device for a virtual desktop according to the present invention may refer to the above method embodiments, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of other like elements in a process, method, article, or system comprising the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering and these words may be interpreted as names.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention or portions thereof contributing to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (such as a read-only memory, a RAM, a magnetic disk, and an optical disk), and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A routing method of a virtual desktop is characterized by comprising the following steps:
monitoring a first running state of a work site, wherein the work site provides an access service of a virtual desktop for a user terminal;
when the first running state is an abnormal running state, acquiring disaster recovery site configuration information of a disaster recovery site;
changing the preset site connection information from the working site configuration information of the working site to the disaster recovery site configuration information;
establishing connection between the user terminal and the disaster recovery site based on the disaster recovery site configuration information so as to provide access service of a virtual desktop for the user terminal through the disaster recovery site;
after the connection between the user terminal and the disaster recovery site is established based on the disaster recovery site configuration information so as to provide the access service of the virtual desktop for the user terminal through the disaster recovery site, the routing method of the virtual desktop further includes:
monitoring a second operating state of the work station;
when the second running state is a normal running state, generating a data migration instruction, and sending the data migration instruction to the disaster recovery site, so that the disaster recovery site migrates the service data at the disaster recovery site to the working site;
and changing the preset site connection information from the disaster recovery site configuration information to the working site configuration information, and reestablishing the connection between the user terminal and the working site so as to provide the access service of the virtual desktop for the user terminal through the working site.
2. The routing method for the virtual desktop according to claim 1, wherein when the second operating state is a normal operating state, generating a data migration instruction, and sending the data migration instruction to the disaster recovery site, so that the disaster recovery site migrates the service data at the disaster recovery site back to the working site specifically includes:
when the second running state is a normal running state, generating a data migration instruction, sending the data migration instruction to the disaster recovery site, so that the disaster recovery site migrates the service data at the disaster recovery site to the working site, generating migration ending information, and feeding back the migration ending information to the routing equipment;
correspondingly, the changing the preset site connection information from the disaster recovery site configuration information to the work site configuration information, and reestablishing the connection between the user terminal and the work site, so as to provide an access service of a virtual desktop for the user terminal through the work site specifically includes:
and when the migration ending information is received, changing the preset site connection information from the disaster recovery site configuration information to the working site configuration information, and reestablishing the connection between the user terminal and the working site so as to provide the access service of the virtual desktop for the user terminal through the working site.
3. The routing method for the virtual desktop according to any one of claims 1 or 2, wherein the disaster-tolerant site includes a virtual desktop access device and a virtualization management device, and the disaster-tolerant site configuration information includes device address information of the virtual desktop access device;
correspondingly, the establishing of the connection between the user terminal and the disaster recovery site based on the disaster recovery site configuration information to provide the access service of the virtual desktop for the user terminal through the disaster recovery site specifically includes:
establishing connection between the user terminal and the virtual desktop access equipment based on the equipment address information so as to communicate the user terminal and the virtual desktop access equipment;
when receiving a desktop access request sent by the user terminal, forwarding the desktop access request to the virtual desktop access device so that the virtual desktop access device performs validity authentication on the desktop access request, and when authentication succeeds, generating a desktop connection instruction, sending the desktop connection instruction to the virtualization management device, and providing an access service of a virtual desktop for the user terminal through the virtualization management device.
4. The routing method for virtual desktops according to any one of claims 1 or 2, wherein the routing method for virtual desktops further comprises, prior to monitoring the first operational state of the workstation:
reading site information in a preset registration list;
and when the site information comprises the working site and the disaster recovery site, periodically monitoring the running states of the registered working site and the registered disaster recovery site.
5. The routing method for a virtual desktop according to any one of claims 1 or 2, wherein the obtaining of the disaster recovery site configuration information of the disaster recovery site when the first operating state is an abnormal operating state specifically includes:
monitoring a third operation state of the disaster recovery site when the first operation state is an abnormal operation state;
and when the third running state is a normal running state, acquiring disaster recovery site configuration information of the disaster recovery site.
6. A routing device, comprising: a memory, a processor, and a routing program stored on the memory and operable to run a virtual desktop on the processor, the routing program implementing the steps of the routing method of the virtual desktop as claimed in any one of claims 1 to 5 when executed by the processor.
7. A routing system for a virtual desktop, the routing system comprising: a work site and a disaster recovery site, wherein the disaster recovery site comprises the routing device according to claim 6.
8. A storage medium having stored thereon a routing program for a virtual desktop, the routing program for a virtual desktop when executed by a processor implementing the steps of the routing method for a virtual desktop according to any of claims 1 to 5.
9. A routing device for a virtual desktop, the routing device comprising:
the disaster recovery monitoring module is used for monitoring a first running state of a work site, and the work site provides access service of a virtual desktop for the user terminal;
the configuration acquisition module is used for acquiring disaster recovery site configuration information of the disaster recovery site when the first running state is an abnormal running state;
the configuration changing module is used for changing the preset site connection information from the working site configuration information of the working site into the disaster recovery site configuration information;
the virtual desktop module is used for establishing connection between the user terminal and the disaster recovery site based on the disaster recovery site configuration information so as to provide access service of a virtual desktop for the user terminal through the disaster recovery site;
the virtual desktop module is also used for monitoring a second running state of the work station; when the second running state is a normal running state, generating a data migration instruction, and sending the data migration instruction to the disaster recovery site, so that the disaster recovery site migrates the service data at the disaster recovery site to the working site; and changing the preset site connection information from the disaster recovery site configuration information to the working site configuration information, and reestablishing the connection between the user terminal and the working site so as to provide the access service of the virtual desktop for the user terminal through the working site.
CN201910337957.8A 2019-04-23 2019-04-23 Routing method, routing device, system, storage medium and device for virtual desktop Active CN110113192B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910337957.8A CN110113192B (en) 2019-04-23 2019-04-23 Routing method, routing device, system, storage medium and device for virtual desktop

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910337957.8A CN110113192B (en) 2019-04-23 2019-04-23 Routing method, routing device, system, storage medium and device for virtual desktop

Publications (2)

Publication Number Publication Date
CN110113192A CN110113192A (en) 2019-08-09
CN110113192B true CN110113192B (en) 2023-02-03

Family

ID=67486677

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910337957.8A Active CN110113192B (en) 2019-04-23 2019-04-23 Routing method, routing device, system, storage medium and device for virtual desktop

Country Status (1)

Country Link
CN (1) CN110113192B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110837663B (en) * 2019-11-11 2022-03-18 青岛海信移动通信技术股份有限公司 Method, terminal and computer storage medium for switching double desktops

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812191A (en) * 2016-04-28 2016-07-27 杭州华三通信技术有限公司 Disaster recovery switching method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557302A (en) * 2008-04-10 2009-10-14 中华电信股份有限公司 Network standby system and method thereof
CN104602285B (en) * 2014-12-31 2019-01-08 华为技术有限公司 A kind of disaster recovery method and equipment
CN105872020A (en) * 2016-03-23 2016-08-17 北京小米移动软件有限公司 Access method of virtual desktop and mobile terminal
CN107168830A (en) * 2017-05-18 2017-09-15 郑州云海信息技术有限公司 A kind of disaster tolerance system based on virtual platform, method
CN109407980A (en) * 2018-09-29 2019-03-01 武汉极意网络科技有限公司 Data-storage system based on Redis cluster

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812191A (en) * 2016-04-28 2016-07-27 杭州华三通信技术有限公司 Disaster recovery switching method and device

Also Published As

Publication number Publication date
CN110113192A (en) 2019-08-09

Similar Documents

Publication Publication Date Title
CN106331098B (en) Server cluster system
US9092252B2 (en) Information processing apparatus, client management system, and client management method
US9740515B2 (en) Exception handling method, apparatus, and client
EP2830287A1 (en) Method, client and cloud server for realizing complex software service
CN112448858B (en) Network communication control method and device, electronic equipment and readable storage medium
CN105579960A (en) Management of computing sessions
CN108628716B (en) Information receiving and managing system, method and device
US8880703B2 (en) Address distribution method, device and system thereof
CN108712501A (en) Sending method, device, computing device and the storage medium of information
CN111404628B (en) Time synchronization method and device
CN109254876A (en) The management method and device of database in cloud computing system
CN113347257A (en) Communication method, communication device, server and storage medium
CN113467873A (en) Virtual machine scheduling method and device, electronic equipment and storage medium
CN110895469A (en) Method and device for upgrading dual-computer hot standby system, electronic equipment and storage medium
CN110113192B (en) Routing method, routing device, system, storage medium and device for virtual desktop
CN107342972B (en) Method and device for realizing remote access
CN107306289B (en) Load balancing method and device based on cloud computing
CN114124978B (en) Video cloud service high-availability method and device based on distributed cooperation
CN113596197B (en) Address switching method and device, electronic equipment and storage medium
CN103179102A (en) Method, device and system for desktop virtualization
CN109379383B (en) Virtual private network VPN client and implementation method
CN112306762A (en) Communication processing method, device and system, and non-volatile storage medium
JP2000215177A (en) Client server system, server-client device and computer readable recording medium recording management program of server-client software
CN101005421A (en) Telnet control method for realizing multiple network system by single network port
CN115134220B (en) Master-slave server switching method and device, computing equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant