Online editing method and device based on virtual desktop architecture, equipment and medium
By using an online editing method with a virtual desktop architecture, the issues of data security and high computer environment requirements for online editing of 3D modeling files are resolved. This enables efficient cross-platform file management and editing, reducing users' computer configuration and storage costs.
Patent Information
- Application Number
- CN202311435853.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-31
- Publication Date
- 2025-11-14
AI Technical Summary
Existing technologies for online editing of 3D modeling files in remote collaborative work present challenges such as data security issues, large computer storage space requirements, demanding computer software environment requirements, cumbersome operation, and susceptibility to errors, lacking effective solutions.
By using an online editing method based on a virtual desktop architecture, a temporary disk is mounted in the virtual desktop architecture in response to user requests, the target file is obtained, and the target application is loaded for editing, thus realizing online file management and editing.
It does not rely on computer configuration and applications, saving on computer configuration and storage costs, reducing the need for data transfer, and allowing users to manage and edit files from anywhere via a browser, thus improving the user experience.
Smart Images

Figure CN120950460A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of this disclosure relate to the field of computer technology, and more specifically to an online editing method, apparatus, electronic device, and computer-readable medium based on a virtual desktop architecture. Background Technology
[0002] With the increasing development of the internet, the demand for remote collaboration in the workplace is growing. In recent years, collaborative office systems have proliferated, with tools such as online spreadsheets, online documents, and video conferencing greatly facilitating remote collaboration. However, current tools and environments mostly only support online collaboration and editing capabilities for OA (Office Automation) software. They lack effective solutions for other software and work files, such as model files generated by 3D modeling software. Currently, there is no complete solution to this problem. Existing solutions either ignore the specific need or, in a SaaS environment, require users to manually download the model file, launch and open the 3D modeling software on their local computer, load the model file, edit it, and then upload the file back to the SaaS system.
[0003] While this solution achieves some of the goals indirectly, it presents several problems: 1. Users need to download model files locally, raising data security concerns and consuming significant computer storage space; 2. The variety of model file types necessitates the installation of various corresponding 3D modeling software on the user's computer. These software programs are numerous and generally have high hardware requirements, placing stringent demands on the user's computer software environment. Most 3D modeling software licenses are highly dependent on computer equipment; if a user changes devices, they need to transfer large amounts of model file data and repeatedly purchase and install the corresponding software; 3. The user operation is cumbersome, the process is lengthy and error-prone, resulting in a poor user experience. Summary of the Invention
[0004] The summary portion of this disclosure is intended to provide a brief overview of the concepts, which will be described in detail in the detailed description portion. This summary portion is not intended to identify key or essential features of the claimed technical solutions, nor is it intended to limit the scope of the claimed technical solutions.
[0005] Some embodiments of this disclosure provide an online editing method, apparatus, electronic device, and computer-readable medium based on a virtual desktop architecture to address the technical problems mentioned in the background section above.
[0006] In a first aspect, some embodiments of this disclosure provide an online editing method based on a virtual desktop architecture. The method includes: in response to detecting a user's selection request for a target file in the virtual desktop architecture, mounting a temporary disk in the virtual desktop architecture; obtaining the target file from a target database according to the selection request, and placing the target file into the temporary disk; determining a target application from the virtual desktop architecture based on the target file, and loading the target file in the virtual desktop architecture through the target application.
[0007] Secondly, some embodiments of this disclosure provide an online editing device based on a virtual desktop architecture. The device includes: a mounting unit configured to mount a temporary disk in the virtual desktop architecture in response to detecting a user's selection request for a target file in the virtual desktop architecture; an acquisition unit configured to acquire the target file from a target database according to the selection request and place the target file into the temporary disk; and a determination unit configured to determine a target application based on the target file and load the target file through the target application.
[0008] Thirdly, embodiments of this application provide an electronic device, the network device comprising: one or more processors; a storage device for storing one or more programs; and, when the one or more programs are executed by the one or more processors, causing the one or more processors to implement the method described in any implementation of the first aspect.
[0009] Fourthly, embodiments of this application provide a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the method as described in any of the implementations of the first aspect.
[0010] One embodiment of the above-described embodiments of this disclosure has the following beneficial effects: it solves the problem that users cannot or are inconvenient to edit files on the Web. This method can be used in any business system without relying on computer configuration and computer applications. It only requires virtual software in a virtual desktop architecture to edit various files, thereby saving users' computer configuration and storage costs. In addition, users do not need to rely on mobile storage devices for data transfer, nor do they need to purchase various software. As long as users have network access, they can manage, create, edit, delete, etc., files through a browser anywhere, greatly reducing the software environment requirements of users' local computers. Attached Figure Description
[0011] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and elements are not necessarily drawn to scale.
[0012] Figure 1 This is a flowchart of some embodiments of the online editing method based on a virtual desktop architecture according to the present disclosure;
[0013] Figure 2 These are schematic diagrams illustrating the structure of some embodiments of the online editing device based on a virtual desktop architecture according to the present disclosure;
[0014] Figure 3 This is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. Detailed Implementation
[0015] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0016] It should also be noted that, for ease of description, only the parts relevant to the invention are shown in the accompanying drawings. Unless otherwise specified, the embodiments and features described in this disclosure can be combined with each other.
[0017] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0018] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0019] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0020] This disclosure will now be described in detail with reference to the accompanying drawings and embodiments.
[0021] refer to Figure 1The diagram illustrates a flow 100 of some embodiments of an online editing method based on a virtual desktop architecture according to the present disclosure. This online editing method based on a virtual desktop architecture includes the following steps:
[0022] Step 101: In response to detecting a user's request to select a target file in the virtual desktop architecture, mount a temporary disk in the virtual desktop architecture.
[0023] In some embodiments, in response to detecting a user's selection request for a target file in a virtual desktop architecture, the execution entity (e.g., a server) of the online editing method based on the virtual desktop architecture can mount a temporary disk in the virtual desktop architecture.
[0024] It is understood that online editing methods based on virtual desktop architecture can be executed by terminal devices or by servers. The executing entity of these methods can also include devices formed by integrating the terminal devices and servers via a network, or various software programs. Terminal devices can be various electronic devices with information processing capabilities, including but not limited to smartphones, tablets, e-book readers, laptops, and desktop computers. The executing entity can also be a server or software. When the executing entity is software, it can be installed on the aforementioned electronic devices. It can be implemented as multiple software programs or software modules to provide distributed services, or as a single software program or software module; no specific limitations are made here.
[0025] Specifically, the aforementioned virtual desktop architecture typically refers to Virtual Desktop Infrastructure. The target files mentioned above are usually used to represent the files selected by the user.
[0026] In some alternative implementations of some embodiments, in response to detecting a user's selection request for a target file in the virtual desktop architecture, the user is authenticated based on the selection request; in response to determining that the user has been authenticated, a temporary disk is mounted in the virtual desktop architecture.
[0027] As an example, the aforementioned execution entity can mount a temporary disk using the SMB protocol.
[0028] Step 102: Obtain the target file from the target database according to the above selection request, and put the target file into the temporary disk.
[0029] In some embodiments, the target file is obtained from the target database according to the selection request and placed in the temporary disk.
[0030] In some optional implementations of certain embodiments, based on the selection request described above, it is detected whether a temporary file identical to the target file exists on the temporary disk; in response to detecting a temporary file on the temporary disk, the target file version information of the target file and the temporary file version information of the temporary file in the target database are determined; in response to determining that the target file version information and the temporary file version information are inconsistent, the target file is obtained from the target database to replace the temporary file. Specifically, the target database typically refers to a Distributed File System (DFS).
[0031] Step 103: Determine the target application from the virtual desktop architecture based on the target file, and load the target file through the target application in the virtual desktop architecture.
[0032] In some embodiments, a target application is determined from the virtual desktop architecture based on the target file, and the target file is loaded in the virtual desktop architecture via the target application.
[0033] Specifically, the aforementioned target application typically refers to a virtual application pre-configured within the aforementioned virtual desktop architecture. This target application corresponds to an application capable of loading or opening the aforementioned target file.
[0034] In some optional implementations of some embodiments, in response to detecting a user closing the target application in the virtual desktop architecture, the target file in the temporary disk is detected; in response to detecting that the target file is inconsistent with the target file in the target database, the target file in the temporary disk is used as a modified file; a version log of the target file is generated and the target file in the target database is updated using the modified file.
[0035] Specifically, the version log typically includes a record of version changes for the target file, including: modification time, the user who performed the modification, and the file version history. As an example, the file version history could be a historical modified file of the target file (the historical modified file is used to replace the target file). As yet another example, the file version history could also be a thumbnail of a historical modified file.
[0036] In some optional implementations of some embodiments, in response to determining that the target file is placed in the temporary disk, the target file in the target database is locked; in response to detecting a selection request for the target file by another user in the virtual desktop architecture, a lock prompt interface is displayed.
[0037] Specifically, the aforementioned lock prompt interface includes a lock prompt and an unlock control. In response to other users' unlocking operations on the unlock control in the aforementioned lock prompt interface, the aforementioned execution entity can also close and save the temporary files of the aforementioned users in the target application; update the target file using the temporary files; and load the aforementioned target file for other users in the aforementioned virtual desktop architecture through the target application corresponding to the aforementioned target file.
[0038] One embodiment of the above-described embodiments of this disclosure has the following beneficial effects: it solves the problem that users cannot or are inconvenient to edit files on the Web. This method can be used in any business system without relying on computer configuration and computer applications. It only requires virtual software in a virtual desktop architecture to edit various files, thereby saving users' computer configuration and storage costs. In addition, users do not need to rely on mobile storage devices for data transfer, nor do they need to purchase various software. As long as users have network access, they can manage, create, edit, delete, etc., files through a browser anywhere, greatly reducing the software environment requirements of users' local computers.
[0039] It should be noted that the above embodiments are all implemented within the aforementioned virtual desktop architecture.
[0040] One embodiment of the above-described embodiments of this disclosure has the following beneficial effects: it solves the problem that users cannot or are inconvenient to edit files on the Web. This method can be used in any business system without relying on computer configuration and computer applications. It only requires virtual software in a virtual desktop architecture to edit various files, thereby saving users' computer configuration and storage costs. In addition, users do not need to rely on mobile storage devices for data transfer, nor do they need to purchase various software. As long as users have network access, they can manage, create, edit, delete, etc., files through a browser anywhere, greatly reducing the software environment requirements of users' local computers.
[0041] Further reference Figure 2 As an implementation of the methods shown in the above figures, this disclosure provides some embodiments of an online editing device based on a virtual desktop architecture. These device embodiments are similar to... Figure 1 Corresponding to the method embodiments shown, the device can be specifically applied to various electronic devices.
[0042] like Figure 2As shown, an online editing device 200 based on a virtual desktop architecture in some embodiments includes: a mounting unit 201, an acquisition unit 202, and a determination unit 203. The mounting unit 201 is configured to mount a temporary disk in the virtual desktop architecture in response to detecting a user's selection request for a target file in the virtual desktop architecture; the acquisition unit 202 is configured to acquire the target file from a target database according to the selection request and place the target file into the temporary disk; the determination unit 203 is configured to determine a target application based on the target file and load the target file through the target application.
[0043] In some optional implementations of the embodiments, the apparatus further includes an update unit configured to: detect a target file in the temporary disk in response to detecting a user closing the target application in the virtual desktop architecture; treat the target file in the temporary disk as a modified file in response to detecting that the target file is inconsistent with the target file in the target database; generate a version log of the target file and update the target file in the target database using the modified file.
[0044] In some optional implementations of embodiments, the mounting unit is further configured to: in response to detecting a user's selection request for a target file in the virtual desktop architecture, authenticate the user according to the selection request; and in response to determining that the user has been authenticated, mount a temporary disk in the virtual desktop architecture.
[0045] In some optional implementations of embodiments, the acquisition unit is further configured to: detect whether there is a temporary file identical to the target file on the temporary disk according to the selection request; in response to detecting a temporary file on the temporary disk, determine the target file version information of the target file and the temporary file version information of the temporary file in the target database; and in response to determining that the target file version information and the temporary file version information are inconsistent, acquire the target file from the target database to replace the temporary file.
[0046] In some optional implementations of the embodiments, the above apparatus further includes a locking unit configured to: lock the target file in the target database in response to determining that the target file has been placed in the temporary disk; and display a locking prompt interface in response to detecting a selection request for the target file by another user in the virtual desktop architecture.
[0047] It is understandable that the units described in the device 200 are related to the reference. Figure 1The steps in the described method correspond to each other. Therefore, the operations, features, and beneficial effects described above for the method also apply to the device 200 and the units contained therein, and will not be repeated here.
[0048] One embodiment of the above-described embodiments of this disclosure has the following beneficial effects: it solves the problem that users cannot or are inconvenient to edit files on the Web. This method can be used in any business system without relying on computer configuration and computer applications. It only requires virtual software in a virtual desktop architecture to edit various files, thereby saving users' computer configuration and storage costs. In addition, users do not need to rely on mobile storage devices for data transfer, nor do they need to purchase various software. As long as users have network access, they can manage, create, edit, delete, etc., files through a browser anywhere, greatly reducing the software environment requirements of users' local computers.
[0049] The following is for reference. Figure 3 It shows a schematic diagram of the structure of an electronic device (e.g., a server) 300 suitable for implementing some embodiments of the present disclosure. Figure 3 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments of this disclosure.
[0050] like Figure 3 As shown, the electronic device 300 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage device 308 into a random access memory (RAM) 303. The RAM 303 also stores various programs and data required for the operation of the electronic device 300. The processing unit 301, ROM 302, and RAM 303 are interconnected via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0051] Typically, the following devices can be connected to I / O interface 305: input devices 306 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 307 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 308 including, for example, magnetic tapes, hard disks, etc.; and communication devices 309. Communication device 309 allows electronic device 300 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 3 An electronic device 300 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively. Figure 3Each box shown can represent a device or multiple devices as needed.
[0052] In particular, according to some embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, some embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 309, or installed from storage device 308, or installed from ROM 302. When the computer program is executed by processing device 301, it performs the functions defined in the methods of some embodiments of this disclosure.
[0053] It should be noted that, in some embodiments of this disclosure, the computer-readable medium described above may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In some embodiments of this disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In some embodiments of this disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0054] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.
[0055] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device. The aforementioned computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to: mount a temporary disk in the virtual desktop architecture in response to detecting a user's selection request for a target file in the virtual desktop architecture; retrieve the target file from a target database according to the selection request and place the target file into the temporary disk; determine a target application from the virtual desktop architecture based on the target file, and load the target file in the virtual desktop architecture using the target application.
[0056] Computer program code for performing operations of some embodiments of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0057] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0058] The units described in some embodiments of this disclosure can be implemented in software or hardware. The described units can also be housed in a processor; for example, a processor may be described as including a mounting unit, an acquisition unit, and a determination unit. The names of these units do not necessarily limit the unit itself; for example, a mounting unit may also be described as "mounting a temporary disk in the virtual desktop architecture in response to detecting a user's selection request for a target file in the virtual desktop architecture."
[0059] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0060] The above description is merely a selection of preferred embodiments of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of the invention involved in the embodiments of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described inventive concept. For example, technical solutions formed by substituting the above-described features with (but not limited to) technical features with similar functions disclosed in the embodiments of this disclosure.
Claims
1. An online editing method based on a virtual desktop architecture, comprising: In response to detecting a user's request to select a target file within a virtual desktop architecture, a temporary disk is mounted within the virtual desktop architecture; The target file is retrieved from the target database according to the selection request, and the target file is placed in the temporary disk; The target application is determined from the virtual desktop architecture based on the target file, and the target file is loaded in the virtual desktop architecture through the target application.
2. The method according to claim 1, wherein, The method further includes: In response to detecting a user closing the target application in the virtual desktop architecture, the target file in the temporary disk is detected; In response to the detection that the target file is inconsistent with the target file in the target database, the target file in the temporary disk is used as the modified file; Generate a version log for the target file and update the target files in the target database using the modified file.
3. The method according to claim 1, wherein, The step of mounting a temporary disk in the virtual desktop architecture in response to detecting a user's selection request for a target file includes: In response to detecting a user's selection request for a target file in a virtual desktop architecture, the user is authenticated based on the selection request; In response to determining that the user is authenticated, a temporary disk is mounted in the virtual desktop architecture.
4. The method according to claim 1, wherein, The step of retrieving the target file from the target database according to the selection request and placing the target file into the temporary disk includes: Based on the selection request, it is detected whether the temporary disk contains a temporary file identical to the target file; In response to the detection of a temporary file in the temporary disk, the target file version information of the target file and the temporary file version information of the temporary file are determined in the target database; In response to the determination that the target file version information and the temporary file version information are inconsistent, the target file is obtained from the target database to replace the temporary file.
5. The method according to claim 1, wherein, The method further includes: In response to determining that the target file has been placed in the temporary disk, the target file in the target database is locked; In response to the detection of another user's selection request for the target file in the virtual desktop architecture, a lock prompt interface is displayed.
6. An online editing device based on a virtual desktop architecture, comprising: The mounting unit is configured to mount a temporary disk in the virtual desktop architecture in response to detecting a user's selection request for a target file in the virtual desktop architecture; The acquisition unit is configured to acquire the target file from the target database according to the selection request, and to place the target file into the temporary disk; The determining unit is configured to determine a target application based on the target file and to load the target file through the target application.
7. An electronic device, comprising: One or more processors; Storage device, on which one or more programs are stored, When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-5.
8. A computer-readable medium having a computer program stored thereon, wherein, When the program is executed by the processor, it implements the method as described in any one of claims 1-5.