CN107967120A - 一种桌面云并发读写云盘内容的方法 - Google Patents
一种桌面云并发读写云盘内容的方法 Download PDFInfo
- Publication number
- CN107967120A CN107967120A CN201710879418.8A CN201710879418A CN107967120A CN 107967120 A CN107967120 A CN 107967120A CN 201710879418 A CN201710879418 A CN 201710879418A CN 107967120 A CN107967120 A CN 107967120A
- Authority
- CN
- China
- Prior art keywords
- cloud
- desktop
- disk
- writing
- file
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/0643—Management of files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/067—Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明涉及云平台自动部署技术领域,特别是一种桌面云并发读写云盘内容的方法。本发明所述方法是创建可并发读写的云盘,然后挂载给云桌面;用户在云桌面和Web方式并发读写云盘的内容;当关闭Web方式读写后,用户仍可通过云桌面读写云盘。本发明解决了桌面云云盘无法并发访问的问题、需要二次挂载、操作云盘工作繁琐等问题;可应用于云平台环境自动部署。
Description
技术领域
本发明涉及云平台自动部署技术领域,特别是一种桌面云并发读写云盘内容的方法。
背景技术
一般的新搭建教育云平台上,老师上课的时候使用云桌面需要把教学资料存放在云桌面的云盘上。而在非工作时间,老师们都希望能够通过Web的方式读写云盘的资料;方便下一次教学需要,这样就存在以下隐患:
一是常规方法,云桌面和Web方式并发读写会导致磁盘损坏,并且无法恢复数据。
二是通过Web的方式访问前,需要从云桌面上卸载,才能通过Web方式正常读写云盘上资料;Web访问完毕后,云桌面用户需要重新挂载一次云盘才能正常使用,这样工作十分繁琐。
发明内容
本发明解决的技术问题在于提供一种桌面云并发读写云盘内容的方法,解决桌面云云盘无法并发访问的问题、需要二次挂载、操作云盘工作繁琐等问题。
本发明解决上述技术问题的技术方案是,
所述方法是创建可并发读写的云盘,然后挂载给云桌面;用户在云桌面和Web方式并发读写云盘的内容;当关闭Web方式读写后,用户仍可通过云桌面读写云盘。
所述的云盘,是指一种虚拟硬盘,挂载到云桌面后,使用方法跟普通硬盘一致,可以存放多个文件夹和文件;
所述的云桌面,是指一种把计算、存储和网络都放在服务器上运行的虚拟桌面,其操作***跟普通办公桌面一致,云桌面终端只负责连接云桌面以及显示桌面的作用;
所述的云桌面终端,是指一种使用专业小型处理器、小型本地闪存、精简版操作***的基于PC工业标准设计的小型行业专用商用PC。
通过虚拟机技术将云盘挂载到云桌面上。
所述的并发读写是云桌面和Web方式可并发访问云盘里同一个文件或者文件夹。
所述的用户仍可通过云桌面读写云盘,是指用户在云桌面上继续读写云盘里的文件夹或者文件,不需要重新挂载云盘。
本发明的有益效果如下:
1、本发明方法提供一种桌面云并发读写云盘内容的方法,解决了桌面云云盘无法并发访问的问题、需要二次挂载、操作云盘工作繁琐等问题,由桌面云平台自动完成,区别于一般手工的方法。
2、本发明方法提供并发读写云盘内容的方法适用于桌面云,区别于一般的其他领域的方法;本发明方法提供的并发读写云盘是一种硬盘级别的读写操作,区别于一般只能并发读写文件夹的方法;本发明方法提供并发读写云盘的方法适用于多个点并发读写,区别于一般只能单点读写的方法。
附图说明
下面结合附图对本发明进一步说明:
图1为本发明流程图;
图2为本发明逻辑结构图。
具体实施方式
本发明的实施方式有多种,这里以教育云平台为例,以源代码结合命令行方式说明其中一种实现方法,流程图如图1所示,具体实施过程如下:
1、创建可并发读写的云盘,命令行如下:
#echo>>/etc/exports″/opt/volume/user03
192.168.17.0/24(rw,no_root_squash,no_all_squash,sync,anonuid=501,anongid=501)″
其中/opt/volume/user03为该云盘存放在宿主机的目录;192.168.17.0/24为允许访问的IP地址段;
2、挂载给云桌面,指通过虚拟机技术将云盘挂载到云桌面上,云桌面操作***多了一个新的虚拟硬盘并可以使用;源代码如下:
virsh qemu-agent-command虚拟机ID′{″execute″:″guest-exec″,″arguments″:
{“path”:”cmd.exe”,”arg”:[挂载命令]}}′
挂载命令例子:mount192.168.17.11:/opt/test/user01x:
192.168.17.11为云盘所在的宿主机IP地址;/opt/volume/user03为该云盘存放在宿主机的目录;x表示操作***盘符为X
3、用户在云桌面上正常读写云盘的文件,是指用户在云桌面上读写云盘的文件或者文件夹;
4、通过Web方式并发读写云盘的内容,是指用户通过Web方式浏览同一块云盘的文件夹或者文件,并且读写云盘里面的文件夹或者文件,此时云桌面和Web方式可并发访问云盘里同一个文件或者文件夹;其中开启Web访问源代码如下:
5、关闭Web读写,是指关闭云盘基于Web方式的访问,不能通过Web方式访问云盘里面的内容;源代码如下:
6、用户仍能正常读写云盘内容;是指用户在云桌面上继续读写云盘里的文件夹或者文件,不需要重新挂载云盘;
整个流程结束。
本发明所述的云盘,是指一种虚拟硬盘,挂载到云桌面后,使用方法跟普通硬盘一致,可以存放多个文件夹和文件;所述的云桌面,是指一种把计算、存储和网络都放在服务器上运行的虚拟桌面,其操作***跟普通办公桌面一致,云桌面终端只负责连接云桌面以及显示桌面的作用;所述的云桌面终端,是指一种使用专业小型处理器、小型本地闪存、精简版操作***的基于PC工业标准设计的小型行业专用商用PC。
Claims (7)
1.一种桌面云并发读写云盘内容的方法,其特征在于:所述方法是创建可并发读写的云盘,然后挂载给云桌面;用户在云桌面和Web方式并发读写云盘的内容;当关闭Web方式读写后,用户仍可通过云桌面读写云盘。
2.根据权利要求1所述的方法,其特征在于:
所述的云盘,是指一种虚拟硬盘,挂载到云桌面后,使用方法跟普通硬盘一致,可以存放多个文件夹和文件;
所述的云桌面,是指一种把计算、存储和网络都放在服务器上运行的虚拟桌面,其操作***跟普通办公桌面一致,云桌面终端只负责连接云桌面以及显示桌面的作用;
所述的云桌面终端,是指一种使用专业小型处理器、小型本地闪存、精简版操作***的基于PC工业标准设计的小型行业专用商用PC。
3.根据权利要求1所述的方法,其特征在于,通过虚拟机技术将云盘挂载到云桌面上。
4.根据权利要求2所述的方法,其特征在于,通过虚拟机技术将云盘挂载到云桌面上。
5.根据权利要求1至4任一项所述的方法,其特征在于,所述的并发读写是云桌面和Web方式可并发访问云盘里同一个文件或者文件夹。
6.根据权利要求1至4任一项所述的方法,其特征在于,所述的用户仍可通过云桌面读写云盘,是指用户在云桌面上继续读写云盘里的文件夹或者文件,不需要重新挂载云盘。
7.根据权利要求5所述的方法,其特征在于,所述的用户仍可通过云桌面读写云盘,是指用户在云桌面上继续读写云盘里的文件夹或者文件,不需要重新挂载云盘。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710879418.8A CN107967120A (zh) | 2017-09-26 | 2017-09-26 | 一种桌面云并发读写云盘内容的方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710879418.8A CN107967120A (zh) | 2017-09-26 | 2017-09-26 | 一种桌面云并发读写云盘内容的方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107967120A true CN107967120A (zh) | 2018-04-27 |
Family
ID=61996679
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710879418.8A Withdrawn CN107967120A (zh) | 2017-09-26 | 2017-09-26 | 一种桌面云并发读写云盘内容的方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107967120A (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112328363A (zh) * | 2020-11-05 | 2021-02-05 | 北京金山云网络技术有限公司 | 一种云硬盘挂载方法及其装置 |
CN114153533A (zh) * | 2021-10-20 | 2022-03-08 | 福建升腾资讯有限公司 | 一种池桌面自动加入Windows AD域的方法、装置、设备和介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130091188A1 (en) * | 2011-09-26 | 2013-04-11 | Gladinet, Inc. | System and method for providing access to a file in real time during a cloud storage upload process |
US20150188990A1 (en) * | 2013-12-31 | 2015-07-02 | Google Inc. | Associating network-hosted files with network-hosted applications |
CN104980494A (zh) * | 2015-05-14 | 2015-10-14 | 大连理工大学 | 一种具有本地缓存的云存储下载共享平台及方法 |
CN105450754A (zh) * | 2015-11-30 | 2016-03-30 | 国云科技股份有限公司 | 一种物理机和虚拟机相互共享云盘的方法 |
CN105872078A (zh) * | 2016-05-12 | 2016-08-17 | 中国电子科技网络信息安全有限公司 | 混合云桌面***和管理方法 |
CN106095337A (zh) * | 2016-06-07 | 2016-11-09 | 国云科技股份有限公司 | 一种基于san网络存储的云盘快速共享方法 |
-
2017
- 2017-09-26 CN CN201710879418.8A patent/CN107967120A/zh not_active Withdrawn
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130091188A1 (en) * | 2011-09-26 | 2013-04-11 | Gladinet, Inc. | System and method for providing access to a file in real time during a cloud storage upload process |
US20150188990A1 (en) * | 2013-12-31 | 2015-07-02 | Google Inc. | Associating network-hosted files with network-hosted applications |
CN104980494A (zh) * | 2015-05-14 | 2015-10-14 | 大连理工大学 | 一种具有本地缓存的云存储下载共享平台及方法 |
CN105450754A (zh) * | 2015-11-30 | 2016-03-30 | 国云科技股份有限公司 | 一种物理机和虚拟机相互共享云盘的方法 |
CN105872078A (zh) * | 2016-05-12 | 2016-08-17 | 中国电子科技网络信息安全有限公司 | 混合云桌面***和管理方法 |
CN106095337A (zh) * | 2016-06-07 | 2016-11-09 | 国云科技股份有限公司 | 一种基于san网络存储的云盘快速共享方法 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112328363A (zh) * | 2020-11-05 | 2021-02-05 | 北京金山云网络技术有限公司 | 一种云硬盘挂载方法及其装置 |
WO2022095844A1 (zh) * | 2020-11-05 | 2022-05-12 | 北京金山云网络技术有限公司 | 一种云硬盘挂载方法及其装置 |
CN112328363B (zh) * | 2020-11-05 | 2022-12-20 | 北京金山云网络技术有限公司 | 一种云硬盘挂载方法及其装置 |
CN114153533A (zh) * | 2021-10-20 | 2022-03-08 | 福建升腾资讯有限公司 | 一种池桌面自动加入Windows AD域的方法、装置、设备和介质 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7716035B2 (en) | Simulation of a PCI device's memory-mapped I/O registers | |
WO2007134116A3 (en) | Maintaining commonly named client-specific file content in hard disk drive emulation | |
US7653781B2 (en) | Automatic RAID disk performance profiling for creating optimal RAID sets | |
CN110187913A (zh) | 小程序的发布、运行方法和装置 | |
JP2006031579A5 (zh) | ||
WO2017190578A1 (zh) | 硬盘数据擦除方法、服务器及*** | |
CN106095337A (zh) | 一种基于san网络存储的云盘快速共享方法 | |
CN102473087B (zh) | 对与存储装置关联的多个写命令进行排序 | |
Correos | Teachers’ ICT literacy and utilization in English language teaching | |
US5794013A (en) | System and method for testing computer components in development environments | |
CN103927215B (zh) | 基于内存盘与SSD硬盘的kvm虚拟机调度的优化方法及*** | |
CN107967120A (zh) | 一种桌面云并发读写云盘内容的方法 | |
CN108509355A (zh) | 一种用于SSD的SLC Cache的方法和装置 | |
CN205451779U (zh) | 一种存储芯片的测试设备 | |
Falcão et al. | Conserving digital art | |
Rieger et al. | Preserving and emulating digital art objects | |
CN108153521A (zh) | 一种xml配置文件的管理方法及其*** | |
US8510525B2 (en) | Method of duplicating segmented data to multiple random accessible storage devices | |
CN102662768A (zh) | 浏览器窗口操作复现方法与装置 | |
Hughes | Developing a computing infrastructure for corpus-based teaching | |
CN109901961A (zh) | 一种服务器自动化测试方法、装置及计算机可读存储介质 | |
CN105279095B (zh) | 创建jbod文件***的方法及装置 | |
CN110327626A (zh) | 虚拟服务器创建方法及装置 | |
CN110413196A (zh) | 外接存储设备的盘符分配方法、***、电子设备和介质 | |
US20070160962A1 (en) | System and method for software training from a bootable media |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20180427 |
|
WW01 | Invention patent application withdrawn after publication |