Remote office method, device and equipment and storage medium
Automatically allocate virtual desktops through VPN connections and user categories, solving the security and permission management problems of accessing intranet resources under external network environments, realizing dynamic resource access and an efficient remote office environment.
Patent Information
- Application Number
- CN202411089124.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2024-12-03
AI Technical Summary
The prior art is difficult to securely access intranet resources in an external network environment, and the allocation of virtual desktop permissions requires manual management by the administrator, which cannot meet the dynamic access needs of different secret-level resources.
Connect to the internal network through a VPN, obtain user categories based on user login information and the preset database, generate target cloud desktop, and stop external network connections when the cloud desktop is started, and access intranet resources through the internal network. User categories automatically assign virtual desktops, dynamically adjust cloud desktop configurations according to business scenarios and needs to ensure security of data transmission.
The security and efficiency of remote office are improved. Through automated virtual desktop allocation and data isolation transmission, the protection of intranet resources is enhanced, and the function of secure access to intranet resources from external networks is realized.
Smart Images

Figure CN119071290A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet technology, and in particular to a remote office method, device, equipment and storage medium. Background Art
[0002] Through VPN technology, remote access to intranet resources is achieved. Users establish an encrypted private network connection through the public network. A "tunnel" is established between the two endpoints, and all IP-based application data can be transmitted through this tunnel through encrypted communication, identity authentication, key exchange and other steps. This method mixes the local network and the internal network into one, and users can access both the Internet and the intranet, which reduces office efficiency and poses network security risks.
[0003] Through cloud desktop technology, access to internal resources is achieved. Users can only access higher-level resources by entering the virtual desktop in the intranet environment. The configuration of the virtual desktop needs to be pre-set by the administrator. One is a shared desktop, which is based on the virtual desktop and shared by multiple users; the other is an exclusive desktop, where each user has his or her own virtual desktop. This method ensures the security of access, but it can only achieve access to resources of different levels of confidentiality in the intranet environment, and cannot solve the need to access intranet resources from an external network environment. The administrator needs to manually assign virtual desktop permissions each time. Summary of the invention
[0004] The present invention provides a remote office method, device, equipment and storage medium.
[0005] In a first aspect, the present invention provides a remote office method, which is applied to a remote terminal, and the method comprises:
[0006] Confirm that you are connected to the internal network via VPN;
[0007] When it is detected that the login information matches the corresponding key in the preset database, the user category is obtained;
[0008] Generate a target cloud desktop based on the user category;
[0009] When it is detected that the target cloud desktop is in the startup state, the external network connection is stopped, and the intranet resources are accessed through the internal network.
[0010] Optionally, the remote terminal includes a local and a target cloud desktop, and after the step of stopping the external network connection and accessing the intranet resources through the internal network when detecting that the target cloud desktop is in the startup state, the method includes:
[0011] Copying the target data file locally to the security isolation area so that the security isolation area performs file detection on the target data file;
[0012] When it is detected that the target data file is in a safe state, the target data file is obtained from the safe isolation area through the cloud desktop.
[0013] Optionally, when it is detected that the login information matches a corresponding key in a preset database, obtaining the user category includes:
[0014] In response to a user inputting login information on a preset interface, acquiring login information;
[0015] Perform key matching in a preset database according to the login information;
[0016] If the login information input matches the corresponding key in the preset database, the login success status is confirmed and the user category is obtained.
[0017] Optionally, the confirming that the connection to the internal network is made through the VPN comprises:
[0018] Access internal resources under the internal network through VPN
[0019] Connect from the external network to the internal network.
[0020] Optionally, after the step of confirming a successful login status and obtaining a user category if the login information input matches a corresponding key in a preset database, the method includes:
[0021] A virtual desktop is automatically allocated based on the user category, and the virtual desktop is determined based on a business scenario corresponding to the user category.
[0022] Optionally, generating a target cloud desktop based on the user category includes:
[0023] Presetting a cloud desktop template based on the user category, the cloud desktop template including a target cloud desktop;
[0024] The target cloud desktop is determined in the cloud desktop template based on the user category.
[0025] Optionally, the user category includes at least one of an office user, an operation and maintenance user, a scientific research user, and a test user; and the presetting of the cloud desktop template based on the user category includes:
[0026] When it is detected that the user category is the office user, setting a first cloud desktop template according to the business system environment;
[0027] When it is detected that the user category is the operation and maintenance user, setting a second cloud desktop template according to the first cloud desktop template and a preset operation and maintenance tool;
[0028] In the case where it is detected that the user category is the scientific research user, dynamically adjusting the virtual configuration according to the acquired user demand configuration, applying for scientific research computing software from the template virtual machine, and setting a third cloud desktop template according to the virtual configuration and the scientific research computing software;
[0029] When it is detected that the user category is the test user, a fourth cloud desktop template is temporarily set according to the acquired user demand allocation, a real-time task status is acquired, and the fourth cloud desktop template is controlled to start or shut down according to the real-time task status.
[0030] In a second aspect, the present invention provides a remote office device, applied to a remote terminal, the device comprising:
[0031] A confirmation module, used to confirm the connection to the internal network through VPN;
[0032] An acquisition module, used to acquire the user category when it is detected that the login information matches the corresponding key in the preset database;
[0033] A generating module, used for generating a target cloud desktop based on the user category;
[0034] The startup module is used to stop the external network connection and access the intranet resources through the internal network when detecting that the target cloud desktop is in the startup state.
[0035] Optionally, the remote terminal includes a local and a target cloud desktop, and the device further includes:
[0036] The first module is used to copy the target data file locally to the security isolation area so that the security isolation area performs file detection on the target data file;
[0037] The second module is used to obtain the target data file from the security isolation area through the cloud desktop when it is detected that the target data file is in a safe state.
[0038] Optionally, the acquisition module includes:
[0039] A first acquisition submodule, configured to acquire login information in response to a user inputting login information on a preset interface;
[0040] A second acquisition submodule, used to match a key in a preset database according to the login information;
[0041] The third acquisition submodule is used to confirm the successful login status and obtain the user category if the login information input matches the corresponding key in the preset database.
[0042] Optionally, the confirmation module includes:
[0043] The confirmation submodule is used to connect to the internal network from the external network through VPN, and access the internal resources under the internal network through the internal network.
[0044] Optionally, the device further comprises:
[0045] The third module is used to automatically allocate a virtual desktop based on the user category, where the virtual desktop is determined based on a business scenario corresponding to the user category.
[0046] Optionally, the generating module includes:
[0047] A first generating submodule, configured to pre-set a cloud desktop template based on the user category, wherein the cloud desktop template includes a target cloud desktop;
[0048] The second generating submodule is used to determine the target cloud desktop in the cloud desktop template based on the user category.
[0049] Optionally, the user category includes at least one of an office user, an operation and maintenance user, a scientific research user, and a test user; and the first generating submodule includes:
[0050] A first generating unit is used to set a first cloud desktop template according to a business system environment when detecting that the user category is the office user;
[0051] A second generating unit is used to set a second cloud desktop template according to the first cloud desktop template and a preset operation and maintenance tool when detecting that the user category is the operation and maintenance user;
[0052] A third generating unit is used to dynamically adjust the virtual configuration according to the acquired user demand configuration when detecting that the user category is the scientific research user, and apply for scientific research computing software from the template virtual machine, and set a third cloud desktop template according to the virtual configuration and the scientific research computing software;
[0053] The fourth generating unit is used to temporarily set the fourth cloud desktop template according to the acquired user demand allocation when detecting that the user category is the test user, obtain the real-time task status, and control the startup or shutdown of the fourth cloud desktop template according to the real-time task status.
[0054] In a third aspect of implementation, the present invention provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the remote office method as described above is implemented.
[0055] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the remote office methods described above.
[0056] In an embodiment of the present invention, a remote office method is disclosed, which confirms that the connection to the internal network is made through a VPN; when it is detected that the login information matches the corresponding key in the preset database, the user category is obtained; a target cloud desktop is generated based on the user category; when it is detected that the target cloud desktop is in the startup state, the external network connection is stopped, and the internal network resources are accessed through the internal network. In an embodiment of the present invention, the login authority is determined by the key information corresponding to the login account, thereby improving the security of access; a customized cloud desktop is automatically allocated according to the user category, so as to provide a customized working environment according to the user's job responsibilities and needs, thereby improving work efficiency; and the access rights to the internal network resources are determined according to the startup state of the cloud desktop, thereby enhancing the protection of the internal network. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.
[0058] Figure 1 The steps of the remote office method provided in the embodiment of the present invention are as follows: Figure 1 ;
[0059] Figure 2 The steps of the remote office method provided in the embodiment of the present invention are as follows: Figure 2 ;
[0060] Figure 3 A device block diagram of a remote office device provided in an embodiment of the present invention;
[0061] Figure 4 A schematic diagram of the structure of a communication device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0062] To make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present invention, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can be implemented. The division of the following embodiments is for the convenience of description, and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined and referenced with each other without contradiction.
[0063] Reference Figure 1 , showing the steps of the remote office method provided by the embodiment of the present invention Figure 1 , the method may include:
[0064] Step 101, confirming connection to the internal network via VPN;
[0065] Further, the confirming of connecting to the internal network via VPN includes:
[0066] Connect to the internal network from the external network through VPN, and access internal resources under the internal network through the internal network.
[0067] It should be noted that in the embodiments of the present application, the present invention combines VPN, cloud desktop, and access permission control technology to enable users to securely access intranet resources from the Internet and realize the functions of daily office or professional work.
[0068] VPN access to intranet resources, through VPN encrypted channel technology, allows remote users to securely connect to the internal network from the external network and access internal resources.
[0069] Step 102, when it is detected that the login information matches the corresponding key in the preset database, obtaining the user category;
[0070] Further, when it is detected that the login information matches the corresponding key in the preset database, obtaining the user category includes:
[0071] In response to a user inputting login information on a preset interface, acquiring login information;
[0072] Perform key matching in a preset database according to the login information;
[0073] If the login information input matches the corresponding key in the preset database, the login success status is confirmed and the user category is obtained.
[0074] It should be noted that in the embodiment of the present application, a search will be performed in the database based on the login account provided by the user. The database may contain enterprise system account information, which may be automatically created or manually added.
[0075] The user's login status is confirmed by matching the key (usually a password) provided by the user with the record in the database. If the login fails, that is, the identity authentication fails, the system will further check whether there is a record of the user in the account database. If the account does not exist but the user data still exists, the system will determine that the user is a "left" user, and release its account resources accordingly, and clean up the specified data to prevent resources from being invalidly occupied. For other login failures, the system will prompt the user to log in again so that the identity authentication can be tried again. Once the login is successful, that is, the identity authentication is successful, the system will determine that the user is an "in-service" user, and identify its category based on the user data, such as office user, operation and maintenance user, etc., and then select a suitable virtual desktop for it. If the user data does not exist, the system will create a virtual desktop for the user in the default mode to ensure that the user can successfully access his work environment. This process not only ensures the security of the system, but also optimizes resource allocation and improves the overall efficiency of the enterprise information system.
[0076] Confirming the user's login status by matching the key usually involves the following steps:
[0077] Generate a key: When a user registers or logs in for the first time, the system generates a unique key (usually an encrypted string) and stores it in the database in association with the user's account information.
[0078] User login request: When a user attempts to log in, they are required to provide their account number and password. The system uses this information to verify the user's identity.
[0079] Further, after the step of confirming the successful login status and obtaining the user category if the login information input matches the corresponding key in the preset database, the method includes:
[0080] A virtual desktop is automatically allocated based on the user category, and the virtual desktop is determined based on a business scenario corresponding to the user category.
[0081] It should be noted that in the embodiment of the present application, virtual desktops are automatically allocated. Virtual desktops for different business scenarios are provided according to user categories. User categories can be divided into four types: office users, operation and maintenance users, scientific research users, and test users. The default user category is office users. When the user category is operation and maintenance or dedicated, the office user will be overwritten, providing both office user functions and operation and maintenance user or dedicated user functions.
[0082] Step 103, generating a target cloud desktop based on the user category;
[0083] Further, generating a target cloud desktop based on the user category includes:
[0084] Presetting a cloud desktop template based on the user category, the cloud desktop template including a target cloud desktop;
[0085] The target cloud desktop is determined in the cloud desktop template based on the user category.
[0086] Furthermore, the user category includes at least one of an office user, an operation and maintenance user, a scientific research user, and a test user; and the presetting of the cloud desktop template based on the user category includes:
[0087] When it is detected that the user category is the office user, setting a first cloud desktop template according to the business system environment;
[0088] When it is detected that the user category is the operation and maintenance user, setting a second cloud desktop template according to the first cloud desktop template and a preset operation and maintenance tool;
[0089] In the case where it is detected that the user category is the scientific research user, dynamically adjusting the virtual configuration according to the acquired user demand configuration, applying for scientific research computing software from the template virtual machine, and setting a third cloud desktop template according to the virtual configuration and the scientific research computing software;
[0090] When it is detected that the user category is the test user, a fourth cloud desktop template is temporarily set according to the acquired user demand allocation, a real-time task status is acquired, and the fourth cloud desktop template is controlled to start or shut down according to the real-time task status.
[0091] It should be noted that in the embodiment of the present application, user categories can be divided into four types: office users, operation and maintenance users, scientific research users and testing users.
[0092] For office users, a commonly used business system environment is provided to complete daily office work.
[0093] For operation and maintenance users, on the basis of office users, a daily operation and maintenance environment is provided, including multiple browsers, operation and maintenance bastion machines, XSHELL and other common operation and maintenance tools derived from template virtual machines.
[0094] For scientific research users, based on the configuration of office users, the virtual configuration is dynamically adjusted according to user needs, and the applied scientific research computing software is derived from the template virtual machine.
[0095] It should be noted that in the embodiment of the present application, the above three types of desktops are based on user usage. When the user closes the cloud desktop, the data is saved in the user account location, the virtual desktop is destroyed, and the resources are released.
[0096] For test users, a temporary virtual desktop is allocated for testing according to user needs. This type of desktop is based on the progress of the task. It exists as long as the task is not completed. It is automatically destroyed after the task is completed to release resources. It can be used concurrently with any of the three types of desktops except this one.
[0097] Step 104, when it is detected that the target cloud desktop is in the startup state, the external network connection is stopped, and the intranet resources are accessed through the internal network.
[0098] It should be noted that in the embodiments of this application, the principle is to work without surfing the Internet, and surfing without working. When the cloud desktop is not started, the user can browse the Internet, but cannot access intranet resources. After starting the cloud desktop, cut off the external network connection, limit or prohibit the communication between the cloud desktop and the external network, and only access the intranet resources at this time
[0099] In an embodiment of the present invention, a remote office method is disclosed, which confirms that the connection to the internal network is made through a VPN; when it is detected that the login information matches the corresponding key in the preset database, the user category is obtained; a target cloud desktop is generated based on the user category; when it is detected that the target cloud desktop is in the startup state, the external network connection is stopped, and the internal network resources are accessed through the internal network. In an embodiment of the present invention, the login authority is determined by the key information corresponding to the login account, thereby improving the security of access; a customized cloud desktop is automatically allocated according to the user category, so as to provide a customized working environment according to the user's job responsibilities and needs, thereby improving work efficiency; and the access rights to the internal network resources are determined according to the startup state of the cloud desktop, thereby enhancing the protection of the internal network.
[0100] Reference Figure 2 , showing the steps of the remote office method provided by the embodiment of the present invention Figure 2 ,
[0101] Step 201, confirming connection to the internal network via VPN;
[0102] Step 202, when it is detected that the login information matches the corresponding key in the preset database, obtaining the user category;
[0103] Step 203, generating a target cloud desktop based on the user category;
[0104] Step 204, when it is detected that the target cloud desktop is in the startup state, stop the external network connection and access the intranet resources through the internal network;
[0105] It should be noted that, in the embodiment of the present application, the above steps 201-204 refer to the previous discussion and will not be repeated here.
[0106] Step 205, copying the target data file locally to the security isolation area, so that the security isolation area performs file detection on the target data file;
[0107] Step 206: When it is detected that the target data file is in a safe state, the target data file is obtained from the security isolation area through the cloud desktop.
[0108] It should be noted that in the embodiment of the present application, data transmission between the local and the cloud desktop is completed through the secure isolation area. The data files are copied from the local to the secure isolation area, and security checks are completed in the isolation area, such as data confidentiality level detection, file virus detection and other functions. After ensuring that the data is normal, it is copied from the secure isolation area to the cloud desktop, and vice versa.
[0109] In an embodiment of the present invention, a remote office method is disclosed, which confirms that the connection to the internal network is made through a VPN; when it is detected that the login information matches the corresponding key in the preset database, the user category is obtained; a target cloud desktop is generated based on the user category; when it is detected that the target cloud desktop is in the startup state, the external network connection is stopped, and the internal network resources are accessed through the internal network. In an embodiment of the present invention, the login authority is determined by the key information corresponding to the login account, thereby improving the security of access; a customized cloud desktop is automatically allocated according to the user category, so as to provide a customized working environment according to the user's job responsibilities and needs, thereby improving work efficiency; and the access rights to the internal network resources are determined according to the startup state of the cloud desktop, thereby enhancing the protection of the internal network.
[0110] In addition, in the embodiment of the present invention, data transmission is completed between the local and cloud desktops through a secure isolation zone to avoid data leakage.
[0111] Reference Figure 3 , Figure 3 A device block diagram of a remote office device is provided, wherein the device is applied to a remote terminal, and the device comprises:
[0112] Confirmation module 301, used to confirm the connection to the internal network through VPN;
[0113] An acquisition module 302 is used to acquire a user category when it is detected that the login information matches a corresponding key in a preset database;
[0114] A generating module 303, configured to generate a target cloud desktop based on the user category;
[0115] The startup module 304 is used to stop the external network connection and access the intranet resources through the internal network when detecting that the target cloud desktop is in the startup state.
[0116] Optionally, the remote terminal includes a local and a target cloud desktop, and the device further includes:
[0117] The first module is used to copy the target data file locally to the security isolation area so that the security isolation area performs file detection on the target data file;
[0118] The second module is used to obtain the target data file from the security isolation area through the cloud desktop when it is detected that the target data file is in a safe state.
[0119] Optionally, the acquisition module includes:
[0120] A first acquisition submodule, configured to acquire login information in response to a user inputting login information on a preset interface;
[0121] A second acquisition submodule, used to match a key in a preset database according to the login information;
[0122] The third acquisition submodule is used to confirm the successful login status and obtain the user category if the login information input matches the corresponding key in the preset database.
[0123] Optionally, the confirmation module includes:
[0124] The confirmation submodule is used to connect to the internal network from the external network through VPN, and access the internal resources under the internal network through the internal network.
[0125] Optionally, the device further comprises:
[0126] The third module is used to automatically allocate a virtual desktop based on the user category, where the virtual desktop is determined based on a business scenario corresponding to the user category.
[0127] Optionally, the generating module includes:
[0128] A first generating submodule, configured to pre-set a cloud desktop template based on the user category, wherein the cloud desktop template includes a target cloud desktop;
[0129] The second generating submodule is used to determine the target cloud desktop in the cloud desktop template based on the user category.
[0130] Optionally, the user category includes at least one of an office user, an operation and maintenance user, a scientific research user, and a test user; and the first generating submodule includes:
[0131] A first generating unit is used to set a first cloud desktop template according to a business system environment when detecting that the user category is the office user;
[0132] A second generating unit is used to set a second cloud desktop template according to the first cloud desktop template and a preset operation and maintenance tool when detecting that the user category is the operation and maintenance user;
[0133] A third generating unit is used to dynamically adjust the virtual configuration according to the acquired user demand configuration when detecting that the user category is the scientific research user, and apply for scientific research computing software from the template virtual machine, and set a third cloud desktop template according to the virtual configuration and the scientific research computing software;
[0134] The fourth generating unit is used to temporarily set the fourth cloud desktop template according to the acquired user demand allocation when detecting that the user category is the test user, obtain the real-time task status, and control the startup or shutdown of the fourth cloud desktop template according to the real-time task status.
[0135] In an embodiment of the present invention, a remote office device is disclosed, which confirms that the connection to the internal network is made through VPN; when it is detected that the login information matches the corresponding key in the preset database, the user category is obtained; a target cloud desktop is generated based on the user category; when it is detected that the target cloud desktop is in the startup state, the external network connection is stopped, and the internal network resources are accessed through the internal network. In an embodiment of the present invention, the login authority is determined by the key information corresponding to the login account, thereby improving the security of access; a customized cloud desktop is automatically allocated according to the user category, so as to provide a customized working environment according to the user's job responsibilities and needs, thereby improving work efficiency; and the access rights to the internal network resources are determined according to the startup state of the cloud desktop, thereby enhancing the protection of the internal network.
[0136] The embodiment of the present invention also provides a communication device, such as Figure 4 As shown, it includes a processor 401, a communication interface 402, a memory 403 and a communication bus 404, wherein the processor 401, the communication interface 402, and the memory 703 communicate with each other through the communication bus 404.
[0137] Memory 403, used for storing computer programs;
[0138] The processor 401, when used to execute the program stored in the memory 403, can implement the following steps:
[0139] Confirm that you are connected to the internal network via VPN;
[0140] When it is detected that the login information matches the corresponding key in the preset database, the user category is obtained;
[0141] Generate a target cloud desktop based on the user category;
[0142] When it is detected that the target cloud desktop is in the startup state, the external network connection is stopped, and the intranet resources are accessed through the internal network.
[0143] Among them, the memory and the processor are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors and memories together. The bus can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits together, which are all well known in the art, so this article will not further describe them. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor can be transmitted on a wired medium or on a wireless medium through an antenna. Further, the antenna also receives data and transmits the data to the processor. The processor is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. The memory can be used to store data used by the processor when performing operations.
[0144] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0145] The communication interface is used for communication between the above terminal and other devices.
[0146] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0147] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0148] In another embodiment provided by the present invention, a computer-readable storage medium is provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the data downloading method described in any one of the above embodiments.
[0149] In another embodiment of the present invention, a computer program product including instructions is provided. When the computer program product is run on a computer, the computer executes the data downloading method described in any one of the above embodiments.
[0150] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk SolidState Disk (SSD)), etc.
[0151] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0152] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0153] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims
1. A remote working method, characterized in that: Applied to a remote terminal, the method comprises: Confirm that you are connected to the internal network via VPN; When it is detected that the login information matches the corresponding key in the preset database, the user category is obtained; Generate a target cloud desktop based on the user category; When it is detected that the target cloud desktop is in the startup state, the external network connection is stopped, and the intranet resources are accessed through the internal network.
2. The method according to claim 1, characterized in that The remote terminal includes a local and a target cloud desktop. After the step of stopping the external network connection and accessing the intranet resources through the internal network when detecting that the target cloud desktop is in the startup state, the method includes: Copying the target data file locally to the security isolation area so that the security isolation area performs file detection on the target data file; When it is detected that the target data file is in a safe state, the target data file is obtained from the safe isolation area through the cloud desktop.
3. The method according to claim 1, characterized in that When it is detected that the login information matches the corresponding key in the preset database, obtaining the user category includes: In response to a user inputting login information on a preset interface, acquiring login information; Perform key matching in a preset database according to the login information; If the login information input matches the corresponding key in the preset database, the login success status is confirmed and the user category is obtained.
4. The method according to claim 1, characterized in that: The confirmation of connecting to the internal network via VPN includes: Connect to the internal network from the external network through VPN, and access internal resources under the internal network through the internal network.
5. The method according to claim 1, characterized in that After the step of confirming the successful login status and obtaining the user category if the login information input matches the corresponding key in the preset database, the method includes: A virtual desktop is automatically allocated based on the user category, and the virtual desktop is determined based on a business scenario corresponding to the user category.
6. The method according to claim 1, characterized in that Generating a target cloud desktop based on the user category includes: Presetting a cloud desktop template based on the user category, the cloud desktop template including a target cloud desktop; The target cloud desktop is determined in the cloud desktop template based on the user category.
7. The method according to claim 6, characterized in that The user category includes at least one of an office user, an operation and maintenance user, a scientific research user, and a test user; and the pre-setting of a cloud desktop template based on the user category includes: When it is detected that the user category is the office user, setting a first cloud desktop template according to the business system environment; When it is detected that the user category is the operation and maintenance user, setting a second cloud desktop template according to the first cloud desktop template and a preset operation and maintenance tool; In the case where it is detected that the user category is the scientific research user, dynamically adjusting the virtual configuration according to the acquired user demand configuration, applying for scientific research computing software from the template virtual machine, and setting a third cloud desktop template according to the virtual configuration and the scientific research computing software; When it is detected that the user category is the test user, a fourth cloud desktop template is temporarily set according to the acquired user demand allocation, a real-time task status is acquired, and the fourth cloud desktop template is controlled to start or shut down according to the real-time task status.
8. A remote office device, characterized in that: Applied to a remote terminal, the device comprises: A confirmation module, used to confirm the connection to the internal network through VPN; An acquisition module, used to acquire the user category when it is detected that the login information matches the corresponding key in the preset database; A generating module, used for generating a target cloud desktop based on the user category; The startup module is used to stop the external network connection and access the intranet resources through the internal network when detecting that the target cloud desktop is in the startup state.
9. The device according to claim 8, characterized in that The remote terminal includes a local and a target cloud desktop, and the device also includes: The first module is used to copy the target data file locally to the security isolation area so that the security isolation area performs file detection on the target data file; The second module is used to obtain the target data file from the security isolation area through the cloud desktop when it is detected that the target data file is in a safe state.
10. The device according to claim 8, characterized in that The acquisition module comprises: A first acquisition submodule, configured to acquire login information in response to a user inputting login information on a preset interface; A second acquisition submodule, used to match a key in a preset database according to the login information; The third acquisition submodule is used to confirm the successful login status and obtain the user category if the login information input matches the corresponding key in the preset database.
11. The device according to claim 8, characterized in that The confirmation module comprises: The confirmation submodule is used to connect to the internal network from the external network through VPN, and access the internal resources under the internal network through the internal network.
12. The device according to claim 8, characterized in that The device also includes: The third module is used to automatically allocate a virtual desktop based on the user category, where the virtual desktop is determined based on a business scenario corresponding to the user category.
13. The device according to claim 8, characterized in that The generation module comprises: A first generating submodule, configured to pre-set a cloud desktop template based on the user category, wherein the cloud desktop template includes a target cloud desktop; The second generating submodule is used to determine the target cloud desktop in the cloud desktop template based on the user category.
14. The device according to claim 13, characterized in that The user category includes at least one of office users, operation and maintenance users, scientific research users and test users; the first generation submodule includes: A first generating unit is used to set a first cloud desktop template according to a business system environment when detecting that the user category is the office user; A second generating unit is used to set a second cloud desktop template according to the first cloud desktop template and a preset operation and maintenance tool when detecting that the user category is the operation and maintenance user; A third generating unit is used to dynamically adjust the virtual configuration according to the acquired user demand configuration when detecting that the user category is the scientific research user, and apply for scientific research computing software from the template virtual machine, and set a third cloud desktop template according to the virtual configuration and the scientific research computing software; The fourth generating unit is used to temporarily set the fourth cloud desktop template according to the acquired user demand allocation when detecting that the user category is the test user, obtain the real-time task status, and control the startup or shutdown of the fourth cloud desktop template according to the real-time task status.
15. A communication device, characterized in that: include: A transceiver, a memory, a processor, and a program stored on the memory and executable on the processor; The processor is used to read the program in the memory to implement the remote office method as described in any one of claims 1-7.
16. A readable storage medium for storing a program, characterized in that: When the program is executed by a processor, the remote office method according to any one of claims 1 to 7 is implemented.
