CN114003328B - Data sharing method and device, terminal equipment and desktop cloud system - Google Patents

Data sharing method and device, terminal equipment and desktop cloud system Download PDF

Info

Publication number
CN114003328B
CN114003328B CN202111282319.4A CN202111282319A CN114003328B CN 114003328 B CN114003328 B CN 114003328B CN 202111282319 A CN202111282319 A CN 202111282319A CN 114003328 B CN114003328 B CN 114003328B
Authority
CN
China
Prior art keywords
shared
terminal equipment
data
storage space
terminal device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111282319.4A
Other languages
Chinese (zh)
Other versions
CN114003328A (en
Inventor
张朝潞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Topsec Technology Co Ltd
Beijing Topsec Network Security Technology Co Ltd
Beijing Topsec Software Co Ltd
Original Assignee
Beijing Topsec Technology Co Ltd
Beijing Topsec Network Security Technology Co Ltd
Beijing Topsec Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Topsec Technology Co Ltd, Beijing Topsec Network Security Technology Co Ltd, Beijing Topsec Software Co Ltd filed Critical Beijing Topsec Technology Co Ltd
Priority to CN202111282319.4A priority Critical patent/CN114003328B/en
Publication of CN114003328A publication Critical patent/CN114003328A/en
Application granted granted Critical
Publication of CN114003328B publication Critical patent/CN114003328B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application provides a data sharing method, a device, a terminal device and a desktop cloud system, wherein the data sharing method can be applied to first terminal equipment and comprises the following steps: storing the shared data into a shared memory space; sending a data sharing request to a second terminal device, so that the second terminal device maps the file system of the shared storage space into the second terminal device; and sending a playing request to the second terminal equipment so as to enable the second terminal equipment to play the shared data in the shared storage space. Network resources and storage resources required for data sharing can be reduced.

Description

Data sharing method and device, terminal equipment and desktop cloud system
Technical Field
The application relates to the technical field of virtual desktop control, in particular to a data sharing method, a device, terminal equipment and a desktop cloud system.
Background
The virtual desktop is to virtualize the computer terminal device at the server side by a virtualization technology, and realize multiple virtual desktops by one physical server so as to realize centralized management of multiple terminal devices.
The existing desktop cloud cluster for realizing the virtual desktop comprises a physical server, a switch and a router, and each time data sharing is needed, the data transmission path passing through the physical server, the switch, the router and the physical server is needed, so that the bandwidth needed by each time of data sharing is very large.
Disclosure of Invention
The invention aims to provide a data sharing method, a device, a terminal device, a computer readable storage medium and a desktop cloud system, which can solve the problem of larger bandwidth required during data sharing.
In a first aspect, the present invention provides a data sharing method, applied to a first terminal device, where the data sharing method includes:
storing the shared data into a shared memory space;
sending a data sharing request to a second terminal device, so that the second terminal device maps a file system of the shared storage space into the second terminal device;
and sending a playing request to the second terminal equipment so as to enable the second terminal equipment to play the shared data in the shared storage space.
In an alternative embodiment, storing the shared data in the shared memory space includes:
creating a shared storage space from a storage resource pool, wherein the storage resource pool is constructed based on storage resources of a first server corresponding to the first terminal equipment and storage resources of a second server corresponding to the second terminal equipment;
and storing the shared data into the shared storage space.
In the above embodiment, the shared memory space may be created again when data sharing is required, so that the efficiency of using the memory space may be improved.
In an alternative embodiment, storing the shared data in the shared memory space includes:
acquiring a file system corresponding to the shared storage space;
and storing shared data into the shared storage space based on the file system.
In the embodiment, the data can be shared without transmitting the data through a network, and the bandwidth required by the desktop cloud system for realizing the data sharing is saved.
In a second aspect, the present invention provides a data sharing method, applied to a second terminal device, where the data sharing method includes:
receiving a data sharing request sent by first terminal equipment;
acquiring a file system of a slave shared storage space storing shared data;
and playing the shared data in the file system after receiving the playing request sent by the first terminal equipment.
In an alternative embodiment, the acquiring a file system of a slave shared storage space storing shared data includes:
mapping the shared storage space to a server corresponding to the second terminal equipment;
mapping the file system of the shared storage space to the local of the second terminal equipment.
In a third aspect, the present invention provides a data sharing method, including:
the first terminal equipment sends a data sharing request to one or more second terminal equipment;
the first terminal device stores the shared data into a shared storage space;
the second terminal equipment maps the file system of the shared storage space into the second terminal equipment;
the first terminal equipment sends a playing request to one or more second terminal equipment;
and the second terminal equipment plays the shared data in the file system after receiving the play request sent by the first terminal equipment.
In a fourth aspect, the present invention provides a data sharing apparatus, applied to a first terminal device, the data sharing apparatus including:
the storage module is used for storing the shared data into the shared storage space;
a first sending module, configured to send a data sharing request to a second terminal device, so that the second terminal device maps a file system of the shared storage space into the second terminal device;
and the second sending module is used for sending a playing request to the second terminal equipment so as to enable the second terminal equipment to play the shared data in the shared storage space.
In a fifth aspect, the present invention provides a data sharing apparatus, applied to a second terminal device, the data sharing apparatus including:
the first receiving module is used for receiving a data sharing request sent by the first terminal equipment;
the acquisition module is used for acquiring a file system of the slave shared storage space stored in the shared data;
and the playing module is used for playing the shared data in the file system after receiving the playing request sent by the first terminal equipment.
In a sixth aspect, the present invention provides a terminal device, including: a processor, a memory storing machine-readable instructions executable by the processor, which when executed by the processor perform the steps of the method of any of the preceding embodiments, when the electronic device is running.
In a seventh aspect, the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method according to any of the preceding embodiments.
In an eighth aspect, the present invention provides a desktop cloud system, including:
a first terminal device, configured to perform the steps in the data sharing method according to any one of the foregoing embodiments;
one or more second terminal devices, where the second terminal devices are configured to perform the steps in the data sharing method according to any one of the foregoing embodiments.
In an alternative embodiment, the method further comprises: a server cluster;
and taking part of storage resources in the server cluster as the shared storage space.
The beneficial effects of the embodiment of the application are that: with the help of the shared storage space, when the shared data is needed, the shared data can be stored in the shared storage space, so that the shared data can be shared to a plurality of terminal devices without multi-level data transmission, and the bandwidth required by the shared data is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered limiting the scope, and that other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a desktop cloud cluster in the prior art;
fig. 2 is a schematic diagram of interaction between a terminal device and a server according to an embodiment of the present application;
fig. 3 is a schematic block diagram of an electronic device according to an embodiment of the present application;
FIG. 4 is a flowchart of a data sharing method according to an embodiment of the present disclosure;
fig. 5 is a schematic functional block diagram of a data sharing device according to an embodiment of the present application;
FIG. 6 is a flowchart of another data sharing method according to an embodiment of the present disclosure;
fig. 7 is a schematic functional block diagram of another data sharing device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
As shown in fig. 1, fig. 1 shows a schematic structural diagram of a desktop cloud cluster in the prior art. Desktop cloud cluster 10 includes physical servers 110, switches 120, and routers 130. Wherein each physical server may manage multiple desktops 140.
In the prior art, if the first desktop 141 needs to initiate playing of video on other desktops, the desktop 141 is required to send video data to the other desktops. For example, taking an example that the first desktop 141 needs to transmit video data to the second desktop 142 managed by the second physical server 112, the transmission path of the video is: the first desktop 141 corresponds to the first physical server 111 transmitting video data to the first switch 121, the first switch 121 then transmits the received video data to the router 130, the router 130 then transmits the received video data to the second switch 122, and the second switch 122 then transmits the received video data to the second physical server 112.
The inventors have appreciated that, through the above-described transmission path, each desktop receives the same video data when the first desktop 141 transmits the video data to the other desktops. The amount of video data is large and the bandwidth required for transmission over the network is very large. In this context, in a video sharing playing mode, the network bandwidth occupation of one physical server is amplified by tens of times. Further, each desktop will receive the same video data and store the video data in memory, resulting in significant memory overhead.
Based on the above researches, the data sharing method, the device, the terminal equipment, the computer readable storage medium and the desktop cloud system provided by the application can reduce the bandwidth and the memory required during data sharing.
For the sake of understanding the present embodiment, an operation environment for executing a data sharing method disclosed in the embodiments of the present application will be described first.
Fig. 1 is a schematic diagram of interaction between a server and a terminal device according to an embodiment of the present application.
In this embodiment, each server 210 may manage one or more terminal devices 220. The server 210 may be a web server, database server, or the like. The terminal device may be an integrated machine, a personal computer (personal computer, PC) or the like.
The server 210 and the plurality of terminal devices 220 in the present embodiment form a desktop cloud system.
In this embodiment, the server cluster formed by the servers 210, where the storage resources of all the servers in the server cluster may form a storage resource pool, and the storage resource pool may be used as a distributed storage controlled by a distributed storage system.
Wherein the virtual hard disk of the terminal device 220 may be provided by a distributed storage system. The virtual hard disk serves as a system disk for the terminal device 220, in which both operating system data and data generated by usual use can be stored.
In this embodiment, a shared storage space 230 that is accessible to all servers 210 and all terminal devices 220 may be created in the storage resource pool described above.
The terminal device 220 in this embodiment may be operated with a desktop cloud client, and the server 210 may be operated with a desktop cloud server. The desktop cloud server is used for providing corresponding services for the desktop cloud client.
As shown in fig. 3, a block schematic diagram of the electronic device is shown. The electronic device 300 may include a memory 311, a processor 313, an input output unit 315, a display unit 317. It will be appreciated by those of ordinary skill in the art that the configuration shown in fig. 3 is merely illustrative and is not intended to limit the configuration of the electronic device 300. For example, electronic device 300 may also include more or fewer components than shown in FIG. 3, or have a different configuration than shown in FIG. 3.
The above-mentioned memory 311, processor 313, input/output unit 315 and display unit 317 are electrically connected directly or indirectly to each other to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The processor 313 is used to execute executable modules stored in the memory.
The Memory 311 may be, but is not limited to, a random access Memory (Random Access Memory, RAM), a Read Only Memory (ROM), a programmable Read Only Memory (Programmable Read-Only Memory, PROM), an erasable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), an electrically erasable Read Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc. The memory 311 is configured to store a program, and the processor 313 executes the program after receiving an execution instruction, and a method executed by the electronic device 300 defined by the process disclosed in any embodiment of the present application may be applied to the processor 313 or implemented by the processor 313.
The processor 313 may be an integrated circuit chip having signal processing capabilities. The processor 313 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (digital signal processor, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field Programmable Gate Arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input/output unit 315 is used for providing input data to a user. The input/output unit 315 may be, but is not limited to, a mouse, a keyboard, and the like.
The display unit 317 described above provides an interactive interface (e.g., a user operation interface) between the electronic device 300 and the user or is used to display image data to a user reference. In this embodiment, the display unit may be a liquid crystal display or a touch display. In the case of a touch display, the touch display may be a capacitive touch screen or a resistive touch screen, etc. supporting single-point and multi-point touch operations. Supporting single-point and multi-point touch operations means that the touch display can sense touch operations simultaneously generated from one or more positions on the touch display, and the sensed touch operations are passed to the processor for calculation and processing.
The server 210 and the terminal device 220 shown in fig. 2 may include elements in the electronic device 300 shown in fig. 3. Server 210 and terminal device 220 may also include more or fewer elements than electronic device 300 shown in fig. 3 based on different needs. For example, the server 210 may not include a display unit, and for example, the terminal device 220 may further include an acquisition unit, a positioning unit, and the like. Of course, the server 210 and the terminal device 220 may also include other elements not listed in fig. 3.
The terminal device 220 in this embodiment may be configured to perform each step in each method provided in the embodiments of the present application. The implementation of the data sharing method is described in detail below by several embodiments.
Referring to fig. 4, a flowchart of a data sharing method according to an embodiment of the present application is shown. The data sharing method in the embodiment is applied to the first terminal device. The specific flow shown in fig. 4 will be described in detail.
Step 410, storing the shared data in the shared memory space.
The shared data may be, for example, video data, image data, documents, etc.
The shared memory space may be a previously constructed memory space, or may be a memory space constructed for data sharing when data sharing is required.
The first terminal device may belong to a terminal device controlled under a desktop cloud system.
In an embodiment, when the desktop cloud system is built, the storage resources of the server may be configured, virtual storage resources may be configured for each terminal device, and a shared storage space may be configured for all terminal devices.
In another embodiment, in the use process of the desktop cloud system, virtual storage resources of the terminal devices can be adaptively adjusted according to the requirement of each terminal device on storage capacity in the use process, and the size of the shared storage space can be adaptively adjusted according to the shared requirement.
Optionally, step 410 may include: and acquiring a file system corresponding to the shared storage space, and storing shared data into the shared storage space based on the file system.
The shared data may be copied to the file system to enable the shared data to be stored in the shared storage space, for example.
Step 420, sending a data sharing request to the second terminal device.
After the second terminal equipment receives the sharing request, the second terminal equipment maps the file system of the sharing storage space into the second terminal equipment.
In this embodiment, the second terminal device may represent all terminal devices that need to obtain shared data, and the second terminal device may be one terminal device, or may be multiple terminal devices, or may be all terminal devices controlled by the desktop cloud system.
Optionally, the first terminal device may include a display interface, where a button for characterizing one or more terminal devices may be displayed, and the one or more terminal devices are selected as the second terminal device through operation of the button.
Optionally, the sharing request may be sent to the second terminal device through a desktop cloud client running in the first terminal device.
Step 430, sending a play request to the second terminal device, so that the second terminal device plays the shared data in the shared storage space.
Optionally, the play request may be sent to the second terminal device through a desktop cloud client running in the first terminal device.
In an alternative embodiment, the shared memory may be a memory constructed for data sharing when sharing of data is required, and step 410 may include steps 411 and 412.
In step 411, a shared memory space is created from the pool of memory resources.
The storage resource pool is constructed based on the storage resource of the first server corresponding to the first terminal device and the storage resource of the second server corresponding to the second terminal device.
Step 412, storing the shared data in the shared memory space.
Alternatively, when the shared data needs to be stored in the shared storage space, the shared storage space storing the shared data may be mounted in the first server corresponding to the first terminal device, and then the file system of the shared storage space is mapped into the first terminal device.
The first terminal device stores the shared data in the file system so as to realize the storage of the shared data in the shared storage space.
The shared storage space provided by the distributed storage system may be suspended in the first server, for example, by iSCSI (Internet Small Computer System Interface, small computer system interface). And then sharing the file system sharing the storage space into the first terminal equipment through the Hypervisor. Wherein the Hypervisor is also called a virtual machine monitor (virtual machine monitor, abbreviated as VMM).
In one example, hypervisor uses Intel VT-d or AMD IOMMU technology to pass through the virtual hard disk of the server to the terminal device. For the shared storage space to be shared, the file system of the shared storage space in the server is shared to the desktop for use by the file sharing technology of the Hypervisor, wherein the file sharing technology can be the VirtiofS technology of Qemu.
In one example, the shared data may share video data, and after the first terminal device completes playing the shared video data, the shared video data in the shared storage space may be deleted.
Optionally, after the first terminal device plays the sharing data, sending a request for canceling sharing to the second terminal device.
After receiving the contact sharing request, each second terminal device may release the mapping of the shared storage space.
Illustratively, each second terminal device contacts the mapping of the shared memory space after playing the shared data after receiving the contact sharing request.
By the method in the embodiment, the problems that the shared data repeated transmission occupies network bandwidth and the same shared data is stored on the desktop of each terminal device occupies memory space in the application scene of batch sharing of the same data can be solved. The occupation of network bandwidth and memory can be reduced, the blocking of the terminal equipment playing shared data is reduced, and the overall performance of the desktop cloud system is improved. Compared with the prior art that the pushing of the shared data is usually completed by using a service network, the data sharing method provided by the embodiment of the application only transmits the data through the storage system network, does not need to rely on the service network and the management network, and ensures that other services are not affected.
Based on the same application conception, the embodiment of the present application further provides a data sharing device corresponding to the data sharing method, and since the principle of the device in the embodiment of the present application for solving the problem is similar to that of the foregoing embodiment of the data sharing method, the implementation of the device in the embodiment of the present application may refer to the description in the embodiment of the foregoing method, and the repetition is omitted.
Fig. 5 is a schematic functional block diagram of a data sharing device according to an embodiment of the present application. Each module in the data sharing device in this embodiment is configured to perform each step in the above-described method embodiment. The data sharing device includes: a logging module 510, a first transmitting module 520, and a second transmitting module 530; wherein, the liquid crystal display device comprises a liquid crystal display device,
a storing module 510, configured to store the shared data into the shared memory space;
a first sending module 520, configured to send a data sharing request to a second terminal device, so that the second terminal device maps a file system of the shared storage space into the second terminal device;
and the second sending module 530 is configured to send a play request to the second terminal device, so that the second terminal device plays the shared data in the shared storage space.
In a possible implementation manner, the storing module 510 is configured to:
creating a shared storage space from a storage resource pool, wherein the storage resource pool is constructed based on storage resources of a first server corresponding to the first terminal equipment and storage resources of a second server corresponding to the second terminal equipment;
and storing the shared data into the shared storage space.
In a possible implementation manner, the storing module 510 is configured to:
acquiring a file system corresponding to the shared storage space;
and storing shared data into the shared storage space based on the file system.
Referring to fig. 6, a flowchart of a data sharing method according to an embodiment of the present application is shown. The data sharing method in this embodiment is similar to the data sharing method provided in the foregoing embodiment, and is different in that the data sharing method provided in the foregoing embodiment is applied to the first terminal device, and the data sharing method provided in this embodiment is applied to the second terminal device. The specific flow shown in fig. 6 will be described in detail.
Step 610, a data sharing request sent by a first terminal device is received.
Step 620, a file system from the shared storage space is obtained that stores the shared data.
Step 630, playing the shared data in the file system after receiving the playing request sent by the first terminal device.
For example, when the shared data is shared video data, the video player may be started to play the shared video data.
Alternatively, step 620 may include step 610 and step 620.
Step 610, mapping the shared storage space to a server corresponding to the second terminal device;
and step 620, mapping the file system of the shared storage space to the local of the second terminal equipment.
After step 630, step 640 may further include receiving a request for unshelling sent by the first terminal device;
step 650, unmapping the file system sharing the storage space.
For further details regarding this embodiment, reference may be made to the foregoing data sharing method applied to the first terminal device, which is not described herein.
Based on the same application conception, the embodiment of the present application further provides a data sharing device corresponding to the data sharing method, and since the principle of the device in the embodiment of the present application for solving the problem is similar to that of the foregoing embodiment of the data sharing method, the implementation of the device in the embodiment of the present application may refer to the description in the embodiment of the foregoing method, and the repetition is omitted.
Fig. 7 is a schematic functional block diagram of a data sharing device according to an embodiment of the present application. Each module in the data sharing device in this embodiment is configured to perform each step in the above-described method embodiment. The data sharing device includes a first receiving module 710, an obtaining module 720 and a playing module 730; wherein, the liquid crystal display device comprises a liquid crystal display device,
a first receiving module 710, configured to receive a data sharing request sent by a first terminal device;
an obtaining module 720, configured to obtain a file system of the slave shared storage space storing the shared data;
and a playing module 730, configured to play the shared data in the file system after receiving a playing request sent by the first terminal device.
In a possible implementation manner, the obtaining module 720 is configured to:
mapping the shared storage space to a server corresponding to the second terminal equipment;
mapping the file system of the shared storage space to the local of the second terminal equipment.
The embodiment of the application provides a data sharing method. The data sharing method provided in this embodiment is similar to the data sharing method provided in the foregoing embodiment, and is different in that the data sharing method in this embodiment is based on a manner in which the first terminal device and the second terminal interact, and the foregoing embodiment is based on a single-ended description data sharing method. The specific flow of the data sharing method in this embodiment will be described in detail below.
In step 810, the first terminal device sends a data sharing request to one or more second terminal devices.
Step 820, the first terminal device stores the shared data in the shared memory space.
In step 830, the second terminal device maps the file system of the shared storage space to the second terminal device.
In step 840, the first terminal device sends a play request to one or more of the second terminal devices.
Step 850, after receiving the play request sent by the first terminal device, the second terminal device plays the shared data in the file system.
For further details regarding this embodiment, reference may be made to the foregoing embodiment of the data sharing method applied to the first terminal device and the embodiment of the data sharing method applied to the second terminal device, which are not described herein again.
Furthermore, the embodiments of the present application also provide a computer readable storage medium, on which a computer program is stored, which when executed by a processor performs the steps of the data sharing method described in the above-mentioned method embodiments.
The computer program product of the data sharing method provided in the embodiments of the present application includes a computer readable storage medium storing program codes, where the instructions included in the program codes may be used to execute the steps of the data sharing method described in the method embodiments, and specifically, reference may be made to the method embodiments described above, and details thereof are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners as well. The apparatus embodiments described above are merely illustrative, for example, flow diagrams and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present application may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes. It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the same, but rather, various modifications and variations may be made by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application. It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (8)

1. A data sharing method, applied to a first terminal device, comprising:
storing the shared data in the shared memory space, comprising: creating a shared storage space from a storage resource pool, wherein the storage resource pool is constructed based on storage resources of a first server corresponding to the first terminal equipment and storage resources of a second server corresponding to the second terminal equipment; storing shared data into the shared memory space;
sending a data sharing request to a second terminal device, so that the second terminal device mounts a shared storage space to a server corresponding to the second terminal device, and maps a file system of the shared storage space to the local of the second terminal device;
and sending a playing request to the second terminal equipment so as to enable the second terminal equipment to play the shared data in the shared storage space.
2. The method of claim 1, wherein storing the shared data in the shared memory space comprises:
acquiring a file system corresponding to the shared storage space;
and storing shared data into the shared storage space based on the file system.
3. A data sharing method, applied to a second terminal device, comprising:
receiving a data sharing request sent by first terminal equipment;
a file system for obtaining slave shared storage space for storing shared data, comprising: mounting the shared storage space to a server corresponding to the second terminal equipment; mapping the file system of the shared storage space to the local of the second terminal equipment, wherein the shared storage space is created from a storage resource pool, and the storage resource pool is constructed based on the storage resources of the first server corresponding to the first terminal equipment and the storage resources of the second server corresponding to the second terminal equipment;
and playing the shared data in the file system after receiving the playing request sent by the first terminal equipment.
4. A data sharing apparatus, applied to a first terminal device, comprising:
the storage module is used for storing the shared data into the shared storage space;
the first sending module is used for sending a data sharing request to the second terminal equipment so that the second terminal equipment can mount the shared storage space to a server corresponding to the second terminal equipment, and the file system of the shared storage space is mapped to the local of the second terminal equipment;
the second sending module is used for sending a playing request to the second terminal equipment so as to enable the second terminal equipment to play the shared data in the shared storage space;
the storage module is used for creating a shared storage space from a storage resource pool, wherein the storage resource pool is constructed based on storage resources of a first server corresponding to the first terminal equipment and storage resources of a second server corresponding to the second terminal equipment; and storing the shared data into the shared storage space.
5. A data sharing apparatus, applied to a second terminal device, comprising:
the first receiving module is used for receiving a data sharing request sent by the first terminal equipment;
the system comprises an acquisition module, a storage resource pool and a storage resource management module, wherein the acquisition module is used for acquiring a file system of a slave shared storage space stored with shared data, the shared storage space is created from a storage resource pool, and the storage resource pool is constructed based on storage resources of a first server corresponding to the first terminal equipment and storage resources of a second server corresponding to the second terminal equipment;
the playing module is used for playing the shared data in the file system after receiving a playing request sent by the first terminal equipment;
the acquisition module is used for mounting the shared storage space to a server corresponding to the second terminal equipment; mapping the file system of the shared storage space to the local of the second terminal equipment.
6. A terminal device, comprising: a processor, a memory storing machine-readable instructions executable by the processor, which when executed by the processor, perform the steps of the method according to any of claims 1-3.
7. A desktop cloud system, comprising:
a first terminal device for performing the steps of the data sharing method of any of claims 1-3;
one or more second terminal devices for performing the steps of the data sharing method of any of the claims 3.
8. The system of claim 7, further comprising: a server cluster;
and taking part of storage resources in the server cluster as the shared storage space.
CN202111282319.4A 2021-11-01 2021-11-01 Data sharing method and device, terminal equipment and desktop cloud system Active CN114003328B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111282319.4A CN114003328B (en) 2021-11-01 2021-11-01 Data sharing method and device, terminal equipment and desktop cloud system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111282319.4A CN114003328B (en) 2021-11-01 2021-11-01 Data sharing method and device, terminal equipment and desktop cloud system

Publications (2)

Publication Number Publication Date
CN114003328A CN114003328A (en) 2022-02-01
CN114003328B true CN114003328B (en) 2023-07-04

Family

ID=79926062

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111282319.4A Active CN114003328B (en) 2021-11-01 2021-11-01 Data sharing method and device, terminal equipment and desktop cloud system

Country Status (1)

Country Link
CN (1) CN114003328B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105072184A (en) * 2015-08-12 2015-11-18 汕头大学 File sharing system suitable for medium-sized and small enterprises
CN106534351A (en) * 2016-12-09 2017-03-22 郑州云海信息技术有限公司 Cloud desktop system and method for supporting shared storage
WO2017161569A1 (en) * 2016-03-25 2017-09-28 深圳前海达闼云端智能科技有限公司 Access control method, apparatus and system
CN107580011A (en) * 2016-07-05 2018-01-12 华为技术有限公司 A kind of data sharing method and desktop cloud server terminal
CN109684109A (en) * 2018-12-27 2019-04-26 北京天融信网络安全技术有限公司 A kind of data-sharing systems and data sharing method
CN112052291A (en) * 2020-09-03 2020-12-08 苏宁云计算有限公司 Method and system for accessing distributed block storage system by user mode
CN112069142A (en) * 2020-08-11 2020-12-11 苏州浪潮智能科技有限公司 Distributed high-availability shared storage system and construction method thereof
CN112596825A (en) * 2020-11-26 2021-04-02 新华三大数据技术有限公司 Cloud desktop starting method and device
CN112988632A (en) * 2019-12-02 2021-06-18 英特尔公司 Shared memory space between devices

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11003477B2 (en) * 2019-02-08 2021-05-11 Intel Corporation Provision of input/output classification in a storage system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105072184A (en) * 2015-08-12 2015-11-18 汕头大学 File sharing system suitable for medium-sized and small enterprises
WO2017161569A1 (en) * 2016-03-25 2017-09-28 深圳前海达闼云端智能科技有限公司 Access control method, apparatus and system
CN107580011A (en) * 2016-07-05 2018-01-12 华为技术有限公司 A kind of data sharing method and desktop cloud server terminal
CN106534351A (en) * 2016-12-09 2017-03-22 郑州云海信息技术有限公司 Cloud desktop system and method for supporting shared storage
CN109684109A (en) * 2018-12-27 2019-04-26 北京天融信网络安全技术有限公司 A kind of data-sharing systems and data sharing method
CN112988632A (en) * 2019-12-02 2021-06-18 英特尔公司 Shared memory space between devices
CN112069142A (en) * 2020-08-11 2020-12-11 苏州浪潮智能科技有限公司 Distributed high-availability shared storage system and construction method thereof
CN112052291A (en) * 2020-09-03 2020-12-08 苏宁云计算有限公司 Method and system for accessing distributed block storage system by user mode
CN112596825A (en) * 2020-11-26 2021-04-02 新华三大数据技术有限公司 Cloud desktop starting method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
大规模对象存储资源池设计方法探讨;武振宇 等;电信工程技术与标准化;全文 *

Also Published As

Publication number Publication date
CN114003328A (en) 2022-02-01

Similar Documents

Publication Publication Date Title
JP6971341B2 (en) Allocation of compute resources Policy-based allocation
US10382257B2 (en) Microservices communication pattern for fault detection in end-to-end flows
US10169071B2 (en) Hypervisor-hosted virtual machine forensics
EP3324293B1 (en) Application managed service instances
US10310881B2 (en) Compositing data model information across a network
KR102174221B1 (en) Virtualizing graphics processing in a provider network
CN109656646B (en) Remote desktop control method, device, equipment and virtualization chip
EP3740869B1 (en) Automated distribution of models for execution on a non-edge device and an edge device
WO2022067160A1 (en) Remote network and cloud infrastructure management
US20180060443A1 (en) Providing modified protocol responses
US11722550B2 (en) Sharing an input device between remote desktops of multiple client devices
US11381665B2 (en) Tracking client sessions in publish and subscribe systems using a shared repository
CN114003328B (en) Data sharing method and device, terminal equipment and desktop cloud system
US11588721B2 (en) Measuring performance of virtual desktop event redirection
US11086874B2 (en) Management of a virtual infrastructure via an object query language
WO2021152384A1 (en) Reserving one or more security modules for secure guest
US10284621B2 (en) Session management
US11954506B2 (en) Inspection mechanism framework for visualizing application metrics
US11910412B2 (en) Media sink capabilities description
US10754815B2 (en) Processing transactions using a multi-purpose callout processor
US20210294927A1 (en) Tamper detection for hub connected internet of things devices
US20200104197A1 (en) Communicating between systems using a coupling facility list structure
CN114579308A (en) Storage resource management method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant