CN116643825A - Virtual desktop configuration method, device, equipment and storage medium - Google Patents

Virtual desktop configuration method, device, equipment and storage medium Download PDF

Info

Publication number
CN116643825A
CN116643825A CN202310610552.3A CN202310610552A CN116643825A CN 116643825 A CN116643825 A CN 116643825A CN 202310610552 A CN202310610552 A CN 202310610552A CN 116643825 A CN116643825 A CN 116643825A
Authority
CN
China
Prior art keywords
virtual desktop
target
configuration
configuration information
personalized
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
CN202310610552.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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202310610552.3A priority Critical patent/CN116643825A/en
Publication of CN116643825A publication Critical patent/CN116643825A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a configuration method, device and equipment of a virtual desktop and a storage medium, which can be used in the field of cloud computing. The method comprises the following steps: the electronic equipment acquires a virtual desktop establishment request sent by the terminal equipment, and determines corresponding target configuration information according to the role of the target member; then configuring the initial virtual desktop according to the target configuration information to generate a configured virtual desktop; and then configuring a corresponding storage space for the configured virtual desktop, generating a target virtual desktop, and sending the target virtual desktop to the terminal equipment. Further, the electronic device obtains a personalized configuration request sent by the terminal device, configures the target virtual desktop according to the personalized configuration request, obtains a target virtual desktop after personalized configuration, and finally sends the target virtual desktop after personalized configuration to the terminal device. The method saves labor cost and improves configuration efficiency and use feeling of users.

Description

Virtual desktop configuration method, device, equipment and storage medium
Technical Field
The present application relates to the field of cloud computing, and in particular, to a method, an apparatus, a device, and a storage medium for configuring a virtual desktop.
Background
With the development of internet technology, more and more large software development projects are implemented, and more software is developed for users to use. The user can realize own demands such as shopping, social contact, learning and the like through the software, so that the efficiency and convenience for realizing the demands of the user are effectively improved.
At present, in the implementation process of a large software development project, due to the fact that related departments are numerous, such as a development department, a test department, a maintenance department, a management department and the like, the number of staff in each department is also large, and frequent staff leaving and entering situations often occur. After the employee leaves, in order to enable the hardware resources to be recycled, the employee managing the computer needs to format the computer used by the leaving employee, and when a new employee arrives, the formatted computer is configured according to the department of the arrival of the new employee, so that the configured computer can meet the work requirements of the new employee.
However, the labor cost of the prior art is high, and the configuration efficiency of the computer is low.
Disclosure of Invention
The application provides a configuration method, device, equipment and storage medium of a virtual desktop, which are used for solving the problems of higher labor cost and lower configuration efficiency of a computer in the prior art.
In a first aspect, the present application provides a method for configuring a virtual desktop, including:
acquiring a virtual desktop establishment request sent by a terminal device, wherein the virtual desktop establishment request is used for indicating a target member role of a user in a project;
determining corresponding target configuration information according to the target member roles, wherein the target configuration information is determined in advance according to requirements of the target member roles for implementing the project;
configuring the initial virtual desktop according to the target configuration information to generate a configured virtual desktop;
configuring a corresponding storage space for the configured virtual desktop to generate a target virtual desktop, wherein the storage space is used for storing the target configuration information and data generated in the running process of the target virtual desktop;
the target virtual desktop is sent to the terminal equipment;
acquiring a personalized configuration request sent by the terminal equipment, wherein the personalized configuration request is determined according to the use requirement of the user on the target virtual desktop;
configuring the target virtual desktop according to the personalized configuration request to obtain a target virtual desktop after personalized configuration;
And sending the target virtual desktop after personalized configuration to the terminal equipment.
In a second aspect, the present application provides a configuration apparatus for a virtual desktop, including:
the acquisition module is used for acquiring a virtual desktop establishment request sent by the terminal equipment, wherein the virtual desktop establishment request is used for indicating a target member role of a user in a project;
the processing module is used for determining corresponding target configuration information according to the target member roles, wherein the target configuration information is determined in advance according to the requirements of the target member roles for implementing the project;
the configuration module is used for configuring the initial virtual desktop according to the target configuration information and generating a configured virtual desktop;
the configuration module is further used for configuring a corresponding storage space for the configured virtual desktop to generate a target virtual desktop, and the storage space is used for storing the target configuration information and data generated in the running process of the target virtual desktop;
the sending module is used for sending the target virtual desktop to the terminal equipment;
the acquisition module is further configured to acquire a personalized configuration request sent by the terminal device, where the personalized configuration request is determined according to a use requirement of the user on the target virtual desktop;
The configuration module is further configured to configure the target virtual desktop according to the personalized configuration request, and obtain a target virtual desktop after personalized configuration;
the sending module is further configured to send the target virtual desktop after personalized configuration to the terminal device.
In a third aspect, the present application provides an electronic device comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method provided by the first aspect and each possible design.
In a fourth aspect, the application provides a computer-readable storage medium having stored therein computer-executable instructions which, when executed by a processor, are adapted to carry out the method provided by the first aspect and each possible design.
In a fifth aspect, the application provides a computer program product comprising a computer program for implementing the method of the first aspect and each possible design provision when executed by a processor.
According to the configuration method, the device, the equipment and the storage medium of the virtual desktop, the electronic equipment acquires the virtual desktop establishment request sent by the terminal equipment, and corresponding target configuration information is determined according to the role of the target member; then configuring the initial virtual desktop according to the target configuration information to generate a configured virtual desktop; and then configuring a corresponding storage space for the configured virtual desktop, generating a target virtual desktop, and sending the target virtual desktop to the terminal equipment. Further, the electronic device obtains a personalized configuration request sent by the terminal device, configures the target virtual desktop according to the personalized configuration request, obtains a target virtual desktop after personalized configuration, and finally sends the target virtual desktop after personalized configuration to the terminal device. In the technical scheme, a plurality of member roles are preset for a project in the electronic equipment, configuration information corresponding to each member role is obtained, after a new employee arrives, the electronic equipment receives a virtual desktop establishment request sent by the terminal equipment, and corresponding configuration information is determined according to a target member role carried in the virtual desktop establishment request, so that the virtual desktop is configured. Furthermore, the personalized configuration of the virtual desktop can be continued according to the personalized requirements of the user, so that the use experience of the user is improved. Meanwhile, the enterprise does not need to set a special personnel management computer, new staff can configure the virtual desktop meeting the work demands of the enterprise, labor cost is saved, and configuration efficiency is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a flowchart of a first embodiment of a method for configuring a virtual desktop according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a second embodiment of a virtual desktop configuration method according to an embodiment of the present application;
fig. 3 is a schematic flow chart of a third embodiment of a virtual desktop configuration method according to an embodiment of the present application;
fig. 4 is a flowchart illustrating a fourth embodiment of a method for configuring a virtual desktop according to an embodiment of the present application;
fig. 5 is a schematic flow chart of a fifth embodiment of a virtual desktop configuration method according to the embodiment of the present application;
fig. 6 is a schematic structural diagram of a configuration device of a virtual desktop according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an embodiment of an electronic device according to an embodiment of the present application.
Specific embodiments of the present application have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or fully authorized by each party, and the collection, use and processing of the related data need to comply with related laws and regulations and standards, and provide corresponding operation entries for the user to select authorization or rejection.
It should be noted that the configuration method, device, equipment and storage medium of the virtual desktop of the present application may be used in the cloud computing field, and may also be used in any field other than the cloud computing field.
First, a specific application scenario of the present application will be described.
In the implementation process of large software development projects, due to the fact that staff are numerous, staff leave and enter the staff frequently, and stability of the staff is poor. In order to enable recycling of hardware resources such as computers, it is often necessary to orchestrate such hardware resources in a manner that is managed by a dedicated person. Whenever an employee leaves, the employee managing the computer needs to format the computer used by the employee who leaves, and when a new employee arrives, the formatted computer is configured according to the department that the new employee arrives, so that the configured computer can meet the working requirements of the new employee.
However, when the personnel scale of the project team reaches a certain level, the lower personnel stability can result in the cost of manually managing the computer being extremely high. Moreover, a great deal of time is needed for manually configuring the computer, the configuration efficiency of the computer is low, and the computer can be used after a new employee is taken in for a long time, so that the normal work of the new employee is influenced.
The application provides a configuration method of a virtual desktop, which aims to solve the technical problems in the prior art. The method and the device set a plurality of member roles for the project in the electronic equipment in advance and acquire configuration information corresponding to each member role. After new staff is taken in, a target member role of the user in the project can be selected in a graphical user interface displayed by the terminal equipment, the terminal equipment responds to the operation of the user to send a virtual desktop establishment request to the electronic equipment, the electronic equipment receives the virtual desktop establishment request, corresponding configuration information is determined according to the target member role carried in the virtual desktop establishment request, the initial virtual desktop is configured according to the configuration information and a storage space with a preset size, and the target virtual desktop is generated and sent to the electronic equipment. Meanwhile, in the process that the user uses the target virtual desktop, personalized setting can be carried out on the target virtual desktop according to own using habit, the terminal equipment responds to the operation of the user to send a personalized configuration request to the electronic equipment, the server receives the personalized configuration request, configures the target virtual desktop according to the personalized configuration request, and generates and sends the target virtual desktop after personalized configuration to the electronic equipment. In the application, the enterprise can configure the virtual desktop meeting the working requirement of the enterprise without setting a special personnel management computer, thereby saving the labor cost and improving the configuration efficiency.
The following describes the technical scheme of the present application and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following 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. 1 is a flowchart of a first embodiment of a virtual desktop configuration method according to an embodiment of the present application. As shown in fig. 1, the configuration method of the virtual desktop is applied to an electronic device, and the electronic device may be a terminal device or a server. The configuration method of the virtual desktop can comprise the following steps:
s101, acquiring a virtual desktop establishment request sent by a terminal device.
In this step, the terminal device is a device used by a user when working, and the electronic device and the terminal device are connected in a wired manner or a wireless manner. After a new employee arrives, when the terminal device needs to be used for working, the terminal device can display a graphical user interface for a user, and the graphical user interface is used for creating a virtual desktop of the new employee. The graphical user interface displays a plurality of member role icons for users to click. The user can click the corresponding member role icon in the graphical user interface according to the member roles in the project. Correspondingly, the terminal equipment responds to clicking operation of a user, acquires a target member role input by the user, and sends a virtual desktop establishment request to the electronic equipment, wherein the virtual desktop establishment request is used for indicating the target member role of the user in the project.
Optionally, the member roles may include at least one of: developer, tester, maintainer, manager, etc. It should be understood that the roles of the members may be preset according to the actual situation of the project, and the present application does not limit the roles of the members included in the project.
S102, corresponding target configuration information is determined according to the role of the target member.
In this step, the electronic device is pre-deployed with configuration information corresponding to each member role, and after obtaining the virtual desktop establishment request sent by the terminal device, the corresponding target configuration information can be determined according to the target member role carried by the virtual desktop establishment request. The configuration information corresponding to each member role is determined in advance according to the requirement of the member role for implementing the project, that is, the target configuration information is determined in advance according to the requirement of the target member role for implementing the project.
In one possible implementation manner, the electronic device generates target configuration information corresponding to the target member role according to the target member role and a mapping relationship, where the mapping relationship includes a correspondence between the member role and the configuration information. In the implementation manner, the electronic equipment can quickly position corresponding configuration information according to the target member roles carried by the virtual desktop establishment request after acquiring the virtual desktop establishment request through deploying the mapping relation in advance, so that the processing efficiency is improved.
The above-described mapping relationship can be represented by table 1, for example.
TABLE 1
As shown in table 1, assuming that the target member role is a developer, determining configuration information corresponding to the target member role as configuration information 1 according to the target member role and the mapping relationship; and assuming that the target member role is a maintainer, determining that the configuration information corresponding to the target member role is configuration information 3 according to the target member role and the mapping relation.
It should be understood that other contents or other expressions may be included in table 1, and may be defined according to practical situations, which is not particularly limited in the embodiment of the present application.
Optionally, the target configuration information includes database links and/or applications that are needed to be used to implement the project.
By way of example, where the member role is developer, the corresponding configuration information may include various types of software required for development, e.g., eclipse, IDEA, git, etc. Also, development library links or product library links, as well as other database connections that may be used in the development process, may also be included. Optionally, the configuration information may further include other configuration content necessary for performing a software development work, which may be limited according to practical situations, and the embodiment of the present application is not limited in particular.
For example, when the member role is a tester, the corresponding configuration information may include various types of software required for testing, and may also include a test library link or a problem library link, and other database connections that may be used in the testing process. Optionally, the configuration information may further include other configuration content necessary for performing software testing, which may be limited according to practical situations, and the embodiment of the present application is not limited in particular.
It should be understood that the configuration information of other member roles may refer to the configuration information corresponding to the developer and the tester, which is not described herein.
S103, configuring the initial virtual desktop according to the target configuration information, and generating a configured virtual desktop.
In this step, after the target configuration information is determined, the initial virtual desktop needs to be configured according to the target configuration information, so that the generated configured virtual desktop can meet the working requirement of the user.
The initial virtual desktop is pre-established and is used for realizing the function of common requirements among different virtual desktop member roles, so that the special requirements of the target member roles in operation are only required to be configured on the basis of the initial virtual desktop according to the target configuration information. For example, it is assumed that office software, intercom software and image editing software are required to be used for different virtual desktop roles, and when an initial virtual desktop is created, the office software, intercom software and image editing software are installed for the initial virtual desktop, so that the initial virtual desktop with the office software, intercom software and image editing software created is obtained.
In one possible implementation, when the target configuration information includes an application program, the electronic device downloads the application program in the initial virtual desktop according to the target configuration information; when the target configuration information comprises a database link required to be used for implementing the project, the electronic device adds the database link to the initial virtual desktop according to the target configuration information so as to generate a configured virtual desktop.
In the implementation manner, the application programs required by the work are downloaded for the user and/or database links required by the implementation project are added in the initial virtual desktop according to the target configuration information, so that the configured virtual desktop can meet the basic work requirements of the user, and the user is assisted to develop corresponding work instantly.
S104, configuring a corresponding storage space for the configured virtual desktop, and generating a target virtual desktop.
In this step, after the electronic device obtains the configured virtual desktop, a storage space is further configured for the electronic device to store the target configuration information and data generated in the running process of the target virtual desktop.
Alternatively, the size of the storage space may be preset, for example, the size may be 20G, 25G, 30G. It should be understood that the size of the storage space may be set according to practical situations, and the embodiment of the present application does not specifically limit the size of the storage space.
S105, the target virtual desktop is sent to the terminal equipment.
Correspondingly, the terminal equipment receives the target virtual desktop sent by the electronic equipment.
It should be understood that, at this time, the target virtual desktop can meet the normal working requirement of the user, and after the terminal device receives the target virtual desktop, the target virtual desktop is operated, so that the user can directly perform related work through the target virtual desktop.
S106, acquiring a personalized configuration request sent by the terminal equipment.
In this step, after the terminal device obtains the target virtual desktop, the terminal device may run the target virtual desktop, so that the user performs related work through the target virtual desktop. However, in the use process, the user can also perform personalized configuration on the target virtual desktop in consideration of work content, work habit or attractive appearance. Specifically, the user can modify the information in the target virtual desktop according to the use requirement of the user on the target virtual desktop. Correspondingly, the terminal equipment responds to the operation of the user and sends a personalized configuration request to the electronic equipment, so that the electronic equipment can configure the target virtual desktop according to the personalized requirements of the user.
The personalized configuration request is determined according to the use requirement of a user on the target virtual desktop.
For example, the personalized configuration request may be used to instruct downloading software, adding database links, modifying desktop background or theme. It should be understood that the personalized configuration request may further include other contents for modifying the function or appearance of the target virtual desktop, which may be defined according to practical situations, and the embodiment of the present application is not limited in particular.
S107, configuring the target virtual desktop according to the personalized configuration request, and obtaining the target virtual desktop after personalized configuration.
In this step, after the personalized configuration request is obtained, the electronic device needs to configure the target virtual desktop according to the personalized configuration request, download new software, add a new database link, replace the desktop background, and so on, thereby obtaining the target virtual desktop after personalized configuration.
S108, the target virtual desktop after personalized configuration is sent to the terminal equipment.
Correspondingly, the terminal equipment receives the target virtual desktop after personalized configuration sent by the electronic equipment.
It should be understood that, on the basis of the target virtual desktop after personalized configuration, the terminal device may further continue to send a personalized configuration request to the personalized configuration request, where the electronic device receives the personalized configuration request, and updates the current target virtual desktop after personalized configuration according to the personalized configuration request.
Optionally, in the process that the user uses the target virtual desktop, the electronic device may acquire and store the personalized configuration request sent by the user each time, analyze the personalized tendency of the user according to the personalized configuration information carried by the user in a machine learning manner, so as to update the target virtual desktop after the current personalized configuration according to the personalized tendency.
For example, assuming that the personalized configuration request 1 sent by the terminal device is used for indicating that the desktop background of the target virtual desktop is changed into a pink image, the personalized configuration request 2 is used for indicating that the software background is changed into a pink image, the personalized configuration request 3 is used for indicating that the skin of the input method is changed into a pink image, machine learning is performed according to the personalized configuration request 1, the personalized configuration request 2 and the personalized configuration request 3, and it is analyzed that the user likes the pink image, and then the part, which relates to the color, in the target virtual desktop after the current personalized configuration is changed into the pink image, for example, the skin of each software, the style of a cursor, the theme of the desktop and the like.
According to the configuration method of the virtual desktop, the electronic equipment acquires the virtual desktop establishment request sent by the terminal equipment, and corresponding target configuration information is determined according to the role of the target member; then configuring the initial virtual desktop according to the target configuration information to generate a configured virtual desktop; and then configuring a corresponding storage space for the configured virtual desktop, generating a target virtual desktop, and sending the target virtual desktop to the terminal equipment. Further, the electronic device obtains a personalized configuration request sent by the terminal device, configures the target virtual desktop according to the personalized configuration request, obtains a target virtual desktop after personalized configuration, and finally sends the target virtual desktop after personalized configuration to the terminal device. In the technical scheme, a plurality of member roles are preset for a project in the electronic equipment, configuration information corresponding to each member role is obtained, after a new employee arrives, the electronic equipment receives a virtual desktop establishment request sent by the terminal equipment, and corresponding configuration information is determined according to a target member role carried in the virtual desktop establishment request, so that the virtual desktop is configured. Furthermore, the personalized configuration of the virtual desktop can be continued according to the personalized requirements of the user, and the target virtual desktop after the personalized configuration can be automatically sent to the terminal equipment when the user logs in later, so that the user can keep the operation habit, avoid repeated configuration, and improve the working efficiency and the use experience of the user. Meanwhile, the enterprise does not need to set a special personnel management computer, new staff can configure the virtual desktop meeting the work demands of the enterprise, labor cost is saved, and configuration efficiency is improved.
Based on the embodiment shown in fig. 1, after the target virtual desktop after the personalized configuration is generated, the target virtual desktop after the personalized configuration may be stored. When the user using the target virtual desktop after personalized configuration is a normal member of the project, the user needs to use the target virtual desktop after personalized configuration for office work in daily work, the target virtual desktop after personalized configuration can be stored in a first database, and the first database is used for storing virtual desktops used by normal staff in an enterprise. When the user using the target virtual desktop after personalized configuration needs to leave the project for a period of time due to temporary work mobilization and returns later, the target virtual desktop after personalized configuration can be stored in a second database, and the second database is used for storing virtual desktops which are temporarily unused by the user and can be used in the future. Along with the expansion of enterprise scale and personnel scale, the number of users using virtual desktops is increased, and the virtual desktops of the temporary-away staff cannot be reused in a short time, so that the virtual desktops of the temporary-away staff and the virtual desktops of the normal staff are stored separately, storage resources of the virtual desktops of the normal staff can be effectively saved, and the problems of slow virtual desktop reaction, clamping and the like caused by shortage of the storage resources are avoided.
Next, a description will be given separately of a virtual desktop used by a storage normal employee and a virtual desktop used by a storage temporary employee.
Normal staff
In some embodiments, the electronic device performs compressed encryption processing on the target virtual desktop after personalized configuration, and stores the target virtual desktop in the second database. The second database is used for storing virtual desktops which are reused in a preset time from the current moment.
The preset duration may be 1 month, 2 months, 3 months, etc., and may be set according to practical situations, which is not particularly limited in the embodiment of the present application.
In the embodiment, the target virtual desktop after personalized configuration is stored in a compressed encryption storage mode, so that storage resources can be effectively saved, and the safety of the target virtual desktop after personalized configuration is ensured.
Temporary departure staff
Fig. 2 is a flowchart illustrating a second embodiment of a virtual desktop configuration method according to an embodiment of the present application. As shown in fig. 2, the method for configuring a virtual desktop may further include the following steps:
s201, receiving a temporary storage request sent by the terminal equipment.
In this step, the target virtual desktop after personalized configuration may have a temporary storage control, and when the user is temporarily mobilized and needs to temporarily leave the project group, the temporary storage control in the target virtual desktop after personalized configuration displayed by the terminal device may be clicked, and the terminal device responds to the clicking operation of the user and sends a temporary storage request to the electronic device, where the temporary storage request is used to indicate that the target virtual desktop after personalized configuration will not be used in a preset time from the current moment.
S202, storing the target virtual desktop subjected to personalized configuration into a first database according to the temporary storage request.
In this step, the electronic device may determine, according to the temporary storage request, a corresponding target virtual desktop after personalized configuration, and store the target virtual desktop after personalized configuration in the first database after compressed and encrypted.
The first database is used for storing virtual desktops which are not reused in a preset time from the current moment.
In the above embodiment, the virtual desktop temporarily away from the employee is stored in the first database, so that the virtual desktop is reused later when the employee returns, and a new virtual desktop does not need to be built again.
Compared with the existing user login framework of the Windows system, the user configuration of the Windows system exists in the local of the terminal equipment, and the terminal equipment needs to be reconfigured when the user is replaced, but the embodiment of the application stores the virtual desktop in the corresponding database, and the user can log in the virtual desktop of the user in any terminal equipment without depending on a specific terminal equipment.
Based on the above embodiment, after the electronic device generates and stores the virtual desktop, the user may also log in the virtual desktop through the terminal device.
Fig. 3 is a flowchart illustrating a third embodiment of a virtual desktop configuration method according to an embodiment of the present application. As shown in fig. 3, the method for configuring a virtual desktop may further include the following steps:
s301, acquiring a login request sent by the terminal equipment.
In this step, the virtual desktop is provided with a user name and a user password, and it is necessary to log in before the virtual desktop is required to be used.
Wherein the login request includes a user name and a user password.
Optionally, the login request may further include other information for verifying identity, for example, fingerprint data, a user face image, user biological information, etc., which may be determined according to practical situations, which is not particularly limited in the embodiment of the present application.
S302, carrying out identity authentication on the user name and the user password through the pre-stored user name and the corresponding target password.
In this step, the electronic device stores the user name and the target password corresponding to each virtual desktop in advance, and the corresponding pre-stored target password can be determined according to the user name carried by the login request, and the target password is compared with the user password of the login request. If the identity authentication passes, otherwise, the identity authentication does not pass.
And S303, if the identity authentication is passed, the virtual desktop corresponding to the login request stored in the first database or the second database is sent to the terminal equipment.
In the step, when the identity authentication is passed, the electronic device acquires a virtual desktop corresponding to the login request from the first database or the second database, and sends the virtual desktop corresponding to the login request to the terminal device.
Optionally, if the virtual desktop is stored in the first database, the virtual desktop is moved from the first database to the second database.
In the embodiment, the electronic device performs identity verification on the login request sent by the terminal device, so that the information security is improved.
Optionally, in some embodiments, if the user leaves the project group, the terminal device may further send a deletion request to the electronic device in response to the operation of the user, where the deletion request includes the user account. Correspondingly, the electronic equipment receives a deletion request sent by the terminal equipment, and performs physical permanent deletion on the virtual desktop of the user account, so that the virtual desktop is released to be configured as a storage space, and the resource utilization rate of the electronic equipment is improved.
Optionally, in some embodiments, if the user changes from the member role 1 to the member role 2 in the project, the virtual desktop corresponding to the member role 2 needs to be re-established. Meanwhile, the electronic equipment can also acquire the personalized configuration request stored when the virtual desktop corresponding to the member role 1 is created, and the virtual desktop corresponding to the member role 2 is personalized configured according to the personalized configuration information carried by the personalized configuration request, so that the personalized configuration of the virtual desktop is not required to be carried out again, and the configuration efficiency is further improved.
The configuration method of the virtual desktop based on the above embodiment is exemplified by two specific examples.
Example one, virtual desktop establishment procedure
Fig. 4 is a flowchart illustrating a fourth embodiment of a virtual desktop configuration method according to an embodiment of the present application. As shown in fig. 4, the configuration method of the virtual desktop includes the following steps:
s401, the terminal equipment sends a virtual desktop establishment request to the server.
Correspondingly, the server receives a virtual desktop establishment request sent by the terminal equipment.
S402, the server configures an initial virtual desktop according to the virtual desktop establishment request to generate a target virtual desktop
S403, the server sends the target virtual desktop to the terminal equipment.
Correspondingly, the terminal equipment receives the target virtual desktop sent by the server.
S404, the terminal equipment sends a personalized configuration request to the server.
Correspondingly, the server receives the personalized configuration request sent by the terminal equipment.
S405, the server configures the target virtual desktop according to the personalized configuration request, and generates the target virtual desktop after personalized configuration.
S406, the server sends the target virtual desktop after personalized configuration to the terminal equipment.
Correspondingly, the terminal equipment receives the target virtual desktop after personalized configuration sent by the server.
S407, the server stores the target virtual desktop after personalized configuration.
Example two, user temporarily leaves the project group or leaves the job
Fig. 5 is a flowchart illustrating a fifth embodiment of a virtual desktop configuration method according to an embodiment of the present application. As shown in fig. 5, the configuration method of the virtual desktop includes the following steps:
s501, the terminal equipment sends a temporary storage request to the server.
Correspondingly, the server receives a temporary storage request sent by the terminal equipment.
S502, the server stores the first memory according to the target virtual desktop after personalized configuration.
S503, the terminal equipment sends a login request to the server.
Correspondingly, the server receives a login request sent by the terminal equipment.
S504, the server sends the target virtual desktop after personalized configuration corresponding to the login request to the terminal equipment.
Wherein S501 to S504 are scenes in which the user leaves the item group temporarily.
S505, the terminal equipment sends a deletion request to the server.
Correspondingly, the server receives a deletion request sent by the terminal equipment.
S506, deleting the target virtual desktop after personalized configuration by the server.
Wherein S505 to S506 are scenes in which the user leaves.
It should be understood that when the electronic device receives the request sent by the terminal device, identity verification needs to be performed on the electronic device so as to ensure information security.
The following are examples of the apparatus of the present application that may be used to perform the method embodiments of the present application. For details not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the method of the present application.
Fig. 6 is a schematic structural diagram of a configuration device of a virtual desktop according to an embodiment of the present application. As shown in fig. 6, the configuration apparatus 600 of the virtual desktop includes:
the obtaining module 601 is configured to obtain a virtual desktop establishment request sent by a terminal device, where the virtual desktop establishment request is used to indicate a target member role where a user is located in an item.
The processing module 602 is configured to determine corresponding target configuration information according to the target member roles, where the target configuration information is determined according to requirements of the target member roles for implementing the project.
The configuration module 603 is configured to configure the initial virtual desktop according to the target configuration information, and generate a configured virtual desktop.
The configuration module 603 is further configured to configure a corresponding storage space for the configured virtual desktop, and generate a target virtual desktop, where the storage space is used to store target configuration information and data generated in the running process of the target virtual desktop.
And the sending module 604 is used for sending the target virtual desktop to the terminal equipment.
The obtaining module 601 is further configured to obtain a personalized configuration request sent by the terminal device, where the personalized configuration request is determined according to a user's use requirement on the target virtual desktop.
The configuration module 603 is further configured to configure the target virtual desktop according to the personalized configuration request, and obtain the target virtual desktop after personalized configuration.
The sending module 604 is further configured to send the target virtual desktop after personalized configuration to a terminal device.
In one possible design of the embodiment of the present application, the processing module 602 is specifically configured to:
And generating target configuration information corresponding to the target member roles according to the target member roles and the mapping relation, wherein the mapping relation comprises the corresponding relation between the member roles and the configuration information.
In another possible design of an embodiment of the application, the target configuration information includes database links and/or applications that are needed to be used to implement the project.
Optionally, the configuration module 603 is specifically configured to:
and downloading the application program in the initial virtual desktop according to the target configuration information.
And/or the number of the groups of groups,
and adding the database link to the initial virtual desktop according to the target configuration information to generate a configured virtual desktop.
In still another possible design of the embodiment of the present application, the configuration apparatus 600 of a virtual desktop further includes:
the receiving module is also used for receiving a temporary storage request sent by the terminal equipment, wherein the temporary storage request is used for explaining that the target virtual desktop after personalized configuration is not used in the preset time from the current moment of the user.
The storage module is used for storing the target virtual desktop subjected to personalized configuration into a first database according to the temporary storage request, and the first database is used for storing the virtual desktop which is not reused within a preset time from the current moment.
Optionally, the storage module is further configured to perform compression encryption processing on the target virtual desktop after personalized configuration, and store the target virtual desktop in a second database, where the second database is used to store virtual desktops that are reused within a preset time from the current time.
Optionally, the obtaining module 601 is further configured to obtain a login request sent by the terminal device, where the login request includes a user name and a user password.
The processing module 602 is further configured to perform identity authentication on the user name and the user password through a pre-stored user name and a corresponding target password.
The sending module 604 is further configured to send, if the identity authentication is passed, a virtual desktop corresponding to the login request stored in the first database or the second database to the terminal device.
The device for virtual desktop provided by the embodiment of the present application can be used for executing the configuration method for virtual desktop in any of the above embodiments, and its implementation principle and technical effects are similar, and are not described herein again.
It should be noted that, it should be understood that the division of the modules of the above apparatus is merely a division of a logic function, and may be fully or partially integrated into a physical entity or may be physically separated. And these modules may all be implemented in the form of software calls through the processing elements. Or may be implemented entirely in hardware. The method can also be realized in a form of calling software by a processing element, and the method can be realized in a form of hardware by a part of modules. In addition, all or part of the modules may be integrated together or may be implemented independently. 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 a software form.
Fig. 7 is a schematic structural diagram of an embodiment of an electronic device according to an embodiment of the present application. As shown in fig. 7, the electronic device 700 includes:
a processor 701, a memory 702, and a communication interface 703.
The memory 702 is used to store executable instructions for the processor 701.
Wherein the processor 701 is configured to perform the technical solution of any of the method embodiments described above via execution of executable instructions.
Alternatively, the memory 702 may be separate or integrated with the processor 701.
Optionally, when the memory 702 is a device separate from the processor 701, the electronic device 700 may further include:
bus 704, memory 702, and communication interface 703 are coupled to processor 701 via bus 704 and communicate with each other, and communication interface 703 is used to communicate with other devices.
Optionally, the communication interface 703 may be implemented in particular by a transceiver. The communication interface is used to enable communication between the database access apparatus and other devices (e.g., clients, read-write libraries, and read-only libraries). The memory may comprise random access memory (random access memory, RAM) and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
Bus 704 may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The processor may be a general-purpose processor including a central processing unit CPU, a network processor (network processor, NP), and the like. But may also be a digital signal processor DSP, an application specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component.
The electronic device provided by the embodiment of the application can be used for executing the configuration method of the virtual desktop provided by any of the method embodiments, and the implementation principle and the technical effect are similar, and are not repeated here.
The embodiment of the application provides a computer readable storage medium, wherein computer execution instructions are stored in the computer readable storage medium, and when the computer execution instructions run on a computer, the computer is caused to execute the configuration method of the virtual desktop.
The computer readable storage medium described above may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as static random access memory, electrically erasable programmable read-only memory, magnetic memory, flash memory, magnetic disk or optical disk. A readable storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.
In the alternative, a readable storage medium is coupled to the processor such that the processor can read information from, and write information to, the readable storage medium. In the alternative, the readable storage medium may be integral to the processor. The processor and the readable storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuits, ASIC). The processor and the readable storage medium may reside as discrete components in a device.
Embodiments of the present application also provide a computer program product, where the computer program product includes a computer program, where the computer program is stored in a computer readable storage medium, and at least one processor may read the computer program from the computer readable storage medium, and when the at least one processor executes the computer program, the method for configuring a virtual desktop may be implemented.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. The configuration method of the virtual desktop is characterized by comprising the following steps:
acquiring a virtual desktop establishment request sent by a terminal device, wherein the virtual desktop establishment request is used for indicating a target member role of a user in a project;
determining corresponding target configuration information according to the target member roles, wherein the target configuration information is determined in advance according to requirements of the target member roles for implementing the project;
Configuring the initial virtual desktop according to the target configuration information to generate a configured virtual desktop;
configuring a corresponding storage space for the configured virtual desktop to generate a target virtual desktop, wherein the storage space is used for storing the target configuration information and data generated in the running process of the target virtual desktop;
the target virtual desktop is sent to the terminal equipment;
acquiring a personalized configuration request sent by the terminal equipment, wherein the personalized configuration request is determined according to the use requirement of the user on the target virtual desktop;
configuring the target virtual desktop according to the personalized configuration request to obtain a target virtual desktop after personalized configuration;
and sending the target virtual desktop after personalized configuration to the terminal equipment.
2. The method of claim 1, wherein determining corresponding target configuration information based on the target member roles comprises:
and generating target configuration information corresponding to the target member roles according to the target member roles and the mapping relation, wherein the mapping relation comprises the corresponding relation between the member roles and the configuration information.
3. A method according to claim 1 or 2, characterized in that the target configuration information comprises database links and/or applications that are needed for implementing the project.
4. The method of claim 3, wherein configuring the initial virtual desktop according to the target configuration information, and generating the configured virtual desktop comprises:
downloading the application program in the initial virtual desktop according to the target configuration information;
and/or the number of the groups of groups,
and adding the database link to the initial virtual desktop according to the target configuration information to generate the configured virtual desktop.
5. The method according to claim 1 or 2, characterized in that the method further comprises:
receiving a temporary storage request sent by the terminal equipment, wherein the temporary storage request is used for explaining that the target virtual desktop after personalized configuration is not used in a preset time from the current moment of the user;
and according to the temporary storage request, storing the target virtual desktop subjected to personalized configuration into a first database, wherein the first database is used for storing virtual desktops which are not reused within a preset time from the current moment.
6. The method of claim 5, wherein the method further comprises:
and carrying out compression encryption processing on the target virtual desktop after personalized configuration, and storing the target virtual desktop into a second database, wherein the second database is used for storing virtual desktops which can be reused within the preset time from the current moment.
7. The method of claim 6, wherein the method further comprises:
obtaining a login request sent by the terminal equipment, wherein the login request comprises a user name and a user password;
identity authentication is carried out on the user name and the user password through a pre-stored user name and a corresponding target password;
and if the identity authentication is passed, transmitting the virtual desktop corresponding to the login request stored in the first database or the second database to the terminal equipment.
8. A virtual desktop configuration apparatus, comprising:
the acquisition module is used for acquiring a virtual desktop establishment request sent by the terminal equipment, wherein the virtual desktop establishment request is used for indicating a target member role of a user in a project;
The processing module is used for determining corresponding target configuration information according to the target member roles, wherein the target configuration information is determined in advance according to the requirements of the target member roles for implementing the project;
the configuration module is used for configuring the initial virtual desktop according to the target configuration information and generating a configured virtual desktop;
the configuration module is further used for configuring a corresponding storage space for the configured virtual desktop to generate a target virtual desktop, and the storage space is used for storing the target configuration information and data generated in the running process of the target virtual desktop;
the sending module is used for sending the target virtual desktop to the terminal equipment;
the acquisition module is further configured to acquire a personalized configuration request sent by the terminal device, where the personalized configuration request is determined according to a use requirement of the user on the target virtual desktop;
the configuration module is further configured to configure the target virtual desktop according to the personalized configuration request, and obtain a target virtual desktop after personalized configuration;
the sending module is further configured to send the target virtual desktop after personalized configuration to the terminal device.
9. An electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 1 to 7.
10. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of any one of claims 1 to 7.
CN202310610552.3A 2023-05-26 2023-05-26 Virtual desktop configuration method, device, equipment and storage medium Pending CN116643825A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310610552.3A CN116643825A (en) 2023-05-26 2023-05-26 Virtual desktop configuration method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310610552.3A CN116643825A (en) 2023-05-26 2023-05-26 Virtual desktop configuration method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116643825A true CN116643825A (en) 2023-08-25

Family

ID=87622442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310610552.3A Pending CN116643825A (en) 2023-05-26 2023-05-26 Virtual desktop configuration method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116643825A (en)

Similar Documents

Publication Publication Date Title
US10705942B1 (en) Simulated testing of API
US11979452B1 (en) Demo recording utility
US9563613B1 (en) System and method for dynamic portable document file generation
US11635974B2 (en) Providing a different configuration of added functionality for each of the stages of predeployment, deployment, and post deployment using a layer of abstraction
US20180101371A1 (en) Deployment manager
CN110109670B (en) Method and device for processing view list data, electronic equipment and storage medium
CN105814539A (en) Method and apparatus for code virtualization and remote process call generation
US11640351B2 (en) System and method for automated application testing
CN108509207A (en) The cross-system of WEB application program is installed
US11474842B2 (en) Integration application creator design
CN108763311B (en) Interface display method and device, intelligent interactive panel and storage medium
US10841342B2 (en) Data driven user interfaces for device management
CN111752587A (en) Batch processing method and device of small programs, electronic equipment and readable storage medium
US20210109841A1 (en) Application containerization based on trace information
US20210360038A1 (en) Machine policy configuration for managed devices
CN108984158A (en) Computing device and the method executed in the computing device
US20190215380A1 (en) Data driven user interfaces for device management
CN112650689A (en) Test method, test device, electronic equipment and storage medium
US11757976B2 (en) Unified application management for heterogeneous application delivery
CN116643825A (en) Virtual desktop configuration method, device, equipment and storage medium
CN113495498B (en) Simulation method, simulator, device and medium for hardware device
KR20180060360A (en) Method and Apparatus of providing user-defined UI in administrative management program provided in cloud computing
CA3077762C (en) System and method for automated application testing
US9342215B2 (en) Automatic environment restoration for a particular artwork
US20230198991A1 (en) File-based configuration of access management

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