CN109857345A - Realize the system and method based on concurrent disk carry interface management and running - Google Patents

Realize the system and method based on concurrent disk carry interface management and running Download PDF

Info

Publication number
CN109857345A
CN109857345A CN201910100888.9A CN201910100888A CN109857345A CN 109857345 A CN109857345 A CN 109857345A CN 201910100888 A CN201910100888 A CN 201910100888A CN 109857345 A CN109857345 A CN 109857345A
Authority
CN
China
Prior art keywords
interface
disk
carry
user
management
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.)
Granted
Application number
CN201910100888.9A
Other languages
Chinese (zh)
Other versions
CN109857345B (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.)
Diankeyun Beijing Technology Co ltd
Original Assignee
Hefei Harmonious Tong Technology 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 Hefei Harmonious Tong Technology Co Ltd filed Critical Hefei Harmonious Tong Technology Co Ltd
Priority to CN201910100888.9A priority Critical patent/CN109857345B/en
Publication of CN109857345A publication Critical patent/CN109857345A/en
Application granted granted Critical
Publication of CN109857345B publication Critical patent/CN109857345B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to a kind of systems realized based on concurrent disk carry interface management and running, including disk management module, for providing scheduling and externally service;Disk execution module group, including multiple disk execution modules, are connected with the disk management module, and the binding and unbundlings for executing file space and interface operate, and handset port configuration information and register on startup.The invention further relates to a kind of methods realized based on concurrent disk carry interface management and running.System and method using realization of the invention based on concurrent disk carry interface management and running, the present invention is applied to the super application space in cloud, the service of disk carry is provided, what user saw inside application space is exactly carry disk, access experience with the experience of local PC be it is the same, application space can be Windows system, be also possible to linux system, the carry interface quantity of configuration is only related to the user of application on site simultaneously, and the interface allocation ratio of compression is at thousand times or more.

Description

Realize the system and method based on concurrent disk carry interface management and running
Technical field
The present invention relates to computer virtualized fields, more particularly to are led based on computer virtualized document storage management Domain, in particular to a kind of system and method realized based on concurrent disk carry interface management and running.
Background technique
Virtualization technology is the infrastructure technologies of cloud computing environment.By the way that a computer hardware resource is carried out unification Abstract management, provides multiple independent running environment to user while using, to promote resource utilization.It is widely used Virtualization technology has KVM, Xen, VirtualBox, Container etc..
Document storage system refers here to provide the file and file knot such as the identical experience of Windows PC The storage disk of structure or cluster based on storage disk.
SAMBA file mount system is the freeware that SMB agreement is realized on Linux and unix system, it is The shared service of the resources such as file and printer is provided between different computers.Herein with emphasis on file resource shared service.
Large user's system, under internet environment, each open system can have many user's registrations, and use The resource that system provides.Total registration number of users of one open internet system be it is very large, it is high up to number with hundred million notes; Its any active ues refers to that a period of time, often Zhan always registered the fewer of number of users using the user of product in the past recently A part;The number of users that concurrent user number refers to while using online, due to various reasons, while the online use for using system Amount only accounts for seldom a part of ratio of any active ues again.Different systems, registering has between number of users and concurrent user number Very big gap, often several orders of magnitude.It has managed concurrent user and has registered the relationship of user, can greatly simplify and be System structure, saves system resource, simplifies system administration.
Under general scene, when an open platform provides file storage service, user can be registered to each One file access space is provided.Under many scenes, object storage can be used to meet the simple access requirement of user.It is right As storing by separating metadata with file data, distributed deployment and lateral capacity extension can be easily realized.When The service that platform provides is virtual machine environment, such as VDI environment, and what user was more accustomed to is similar local disk operating, is familiar with File and file structure, this is the experience that object memory interface is not readily reachable by.So providing one in such a scenario The access mode of similar local disk is of great value.
In the case where the fewer variation infrequently of user's total amount, often NFS, the technologies such as SAMBA are total to provide disk It enjoys, in the corresponding disk of using terminal carry, realizes the experience of similar local disk.
When user volume is huge, the quantity of static configuration is just very huge;When inactive users quantity is especially more When, a large amount of rarely needed static configurations will affect system performance, increase system maintenance difficulty.When configuration amount is big, NFS Dynamic configuration it is unable to do what one wishes, the control of permission based on catalogue can not fully meet demand of the user to safety;Directly make Security control with SAMBA based on user then needs to generate a SAMBA user, this user to each registration user Information is huge and is difficult to safeguard, while service-user and SAMBA user's close coupling, increases complexity and maintenance difficulties. Above-mentioned two method is simply used, the disk configuration of each registration user can be serviced level persistence in disk access, When having a large amount of inactive users in system, these configurations are huge, and redundancy influences performance.
Summary of the invention
The purpose of the present invention is overcoming the above-mentioned prior art, provide a kind of bearing capacity is big, O&M difficulty is low, System and method of the relatively broad realization of the scope of application based on concurrent disk carry interface management and running.
To achieve the goals above, system of the realization of the invention based on concurrent disk carry interface management and running and its Method is as follows:
System of the realization based on concurrent disk carry interface management and running, is mainly characterized by, the system packet It includes:
Disk management module, for providing scheduling and externally service;
Disk execution module group, including multiple disk execution modules, are connected with the disk management module, are used for The binding and unbundlings for executing file space and interface operate, and handset port configuration information and register on startup.
Preferably, the disk execution module includes carry server, file mount service unit and interface group, it is described Carry server, file mount service unit and interface group be connected with the disk management module, the interface Group includes multiple interfaces.
Preferably, the interface includes that application interface and realizing interface, the application interface and realizing interface are mutual It is corresponding.
Preferably, the application interface and realizing interface is corresponded to each other by pairs of keyword.
Preferably, the quantity for the interface that the system provides is related to number of concurrent.
This realizes the method based on concurrent disk carry interface management and running based on above system, is mainly characterized by, The method the following steps are included:
Disk management module described in (1-1) receives the carry request of user, judges whether it has occupancy interface, if It is that then disk management module returns to carry information;Otherwise, continue step (1-2);
Disk execution module group described in (1-2) judges whether there is idle interface, if it is, user and interface are tied up It is fixed, continue step (1-3);Otherwise, this scheduling failure, exit step;
Disk management module described in (1-3) judge user whether with interface binding success, if it is, system return hang Information carrying breath;Otherwise, this scheduling failure, exit step.
Preferably, the method further includes the steps that interface unbinds, specifically includes the following steps:
Disk management module described in (2-1) judges whether the total interface application of user is released, if it is, solution Except the incidence relation of user and interface, and unbind interface and the file directory of user;Otherwise, this unbundlings failure, exit step.
Preferably, the method further includes the steps that interface dilatation, specifically includes the following steps:
The addition service node of disk execution module described in (3-1) simultaneously configures interface;
Disk execution module described in (3-2) registers the interface.
System and method using realization of the invention based on concurrent disk carry interface management and running, the present invention It is applied to the super application space in cloud, disk carry service is provided, what user saw inside application space is exactly carry disk, Access experience with the experience of local PC be it is the same, application space can be Windows system, be also possible to linux system, match The carry interface quantity set is only related to the user of application on site simultaneously, and the interface allocation ratio of compression is at thousand times or more.
Detailed description of the invention
Fig. 1 is the realization structure chart of the system of realization of the invention based on concurrent disk carry interface management and running.
Fig. 2 is mapping management and the scheduling of the system of realization of the invention based on concurrent disk carry interface management and running Structure chart.
Fig. 3 is the user interface Scheduling Flow of the method for realization of the invention based on concurrent disk carry interface management and running Cheng Tu.
Specific embodiment
It is further to carry out combined with specific embodiments below in order to more clearly describe technology contents of the invention Description.
The system and method for the realization of the invention based on concurrent disk carry interface management and running, wherein described System include:
Disk management module, for providing scheduling and externally service;
Disk execution module group, including multiple disk execution modules, are connected with the disk management module, are used for The binding and unbundlings for executing file space and interface operate, and handset port configuration information and register on startup.
As the preferred embodiment of the present invention, the disk execution module includes carry server, file mount clothes Be engaged in unit and interface group, the carry server, file mount service unit and interface group with the disk management mould Block is connected, and the interface group includes multiple interfaces.
As the preferred embodiment of the present invention, the interface includes application interface and realizing interface, the application Interface and realizing interface correspond to each other.
As the preferred embodiment of the present invention, the application interface and realizing interface are mutual by pairs of keyword It is corresponding.
As the preferred embodiment of the present invention, the quantity for the interface that the system provides is related to number of concurrent.
Of the invention should realize the method based on concurrent disk carry interface management and running based on above system, wherein wrapping Include following steps:
Disk management module described in (1-1) receives the carry request of user, judges whether it has occupancy interface, if It is that then disk management module returns to carry information;Otherwise, continue step (1-2);
Disk execution module group described in (1-2) judges whether there is idle interface, if it is, user and interface are tied up It is fixed, continue step (1-3);Otherwise, this scheduling failure, exit step;
Disk management module described in (1-3) judge user whether with interface binding success, if it is, system return hang Information carrying breath;Otherwise, this scheduling failure, exit step;
Disk management module described in (2-1) judges whether the total interface application of user is released, if it is, solution Except the incidence relation of user and interface, and unbind interface and the file directory of user;Otherwise, this unbundlings failure, exit step;
The addition service node of disk execution module described in (3-1) simultaneously configures interface;
Disk execution module described in (3-2) registers the interface;
In a specific embodiment of the invention, it is related to computer virtualized, document storage system, SAMBA file mount system The file mount contradictory problems of system and large user's system.Disk carry service is provided using simple SAMBA technology for client Critical issue be, the user of operation system and its control, with SAMBA service user and control produce close coupling
The invention is sought under the premise of ensureing user experience, by the user of the user of operation system and SAMBA service Uncoupling, while general, the safe disk carry service for retaining and SAMBA service being made full use of to provide.
Herein based on file system management, illustrate it is a kind of based on SAMBA carry system, dynamic mapping User Catalog and The method of SAMBA service interface, to use the user of virtual machine to provide safe and reliable disk carry experience.
Based on document storage system, to each user inside system, one is distributed for user in this file system Disk space.
It prepares some SAMBA servers in advance, on each SAMBA server, configures a certain number of SAMBA users And disk carry interface service is provided as unit of SAMBA user;The security configuration of SAMBA is based on user, and only this is connected User has permission the corresponding catalogue of read-write;The user of SAMBA and the user of operation system are not related.
When user needs the file disk of carry oneself, to scheduling one disk carry interface of system application.It adjusts For degree system according to preset strategy, the SAMBA server of service can be provided by first finding, and then find an idle extension Carry user and interface.On this server, the file space of SAMBA interface and user are bound, record binding information.Then Scheduling system returns to SAMBA disk carry interface message.SAMBA interface carry disk can be used in user, and accesses oneself File directory.
According to business needs, user can repeatedly apply for SAMBA interface, the multiple request for the same user, scheduling System will use the SAMBA interface that this user has applied;The quantity of the interface of service and the number of users used are provided It is related.
User's use finishes, and discharges SAMBA interface, and application interface and realizing interface must occur in pairs, each The corresponding release of application;When specific implementation, it can be ensured when application and release using pairs of keyword It corresponds.
When the total interface application of the user of some interface is all released, show that this user has not used this Interface, scheduling system can release the incidence relation of user Yu this SAMBA interface in due course, and by the file mesh of interface and user Record unbundlings;.
After unbundlings are completed, the request of next user may be multiplexed this interface.
System makes full use of the characteristics of SAMBA, and system has sufficiently used carry security control of the SAMBA based on user, peace Quan Xinggao;Based on general SMB agreement, there is no particular/special requirement to carry terminal;The user of operation system and SAMBA interface solution Coupling does not have constant connection between the user and SAMBA interface of operation system, and dynamic is closed when user needs using carry disk Connection;SAMBA interface is made full use of, when user does not use SAMBA interface, system can discharge interface, this interface can quilt Distribute to other users use;SAMBA interface quantity is directly related with number of concurrent, unrelated with the total number of users of operation system;SAMBA Interface dilatation is simple, as long as addition SAMBA service node and reasonable disposition SAMBA interface, to scheduling system registry, so that it may expand The capacity for holding carry system, directly to the concurrent bearing capacity dilatation of system;Each SAMBA service node configuration be it is independent, Significantly reduce the difficulty of O&M;Configuration is simple, separates with operation system, and allowing the dynamic capacity control of carry system to become can Energy.
A kind of realization structure chart based on concurrent disk carry interface is as shown in Figure 1.System registry number of users is N, right Answer N number of file storage;The number of users used simultaneously is m (in practice, m is much smaller than N), interface usage quantity n, with number of users M is the same order of magnitude.By interface configuration and mapping management, configuration interface quantity summation is greater than concurrent user number m.
Mapping management and scheduling structure figure are as shown in Figure 2.Scheduling system uses host-guest architecture, provides scheduling by diskmgr With external service, diskworker executes the binding of file space and interface and unbundlings operate.
1, the interface configuration information of server where each diskworker is collected when starting, and diskmgr is infused Volume.
2, diskmgr dispatches diskworker binding and unbundlings when suitable.
User interface scheduling flow figure is as shown in Figure 3.Above-mentioned logic ensures one user of each carry interface service.
The embodiment of the present invention is as follows as the disk management system application practice of the super application space in cloud:
1, appropriate number of interface server is configured, carry disk service interface is provided.Reasonable disposition interface quantity, access ginseng Number, permission control parameter.(Optional: http service can be configured simultaneously, REST access ability is provided on interface server)
2, Uzer.Me system is that each registration user creates a file space on disk, the privately owned sky as user Between.This can be implemented by the http service on above-mentioned interface server.
3, start diskmgr, database needed for initialization is dispatched, monitoring users are requested in the form of services, and are handled The request of diskworker.
4, in the configuration file of diskworker, interface message, the user name password of access etc. are filled in.Starting when Waiting diskworker can automatically register these information to diskmgr.
5, Uzer.Me system can obtain carry interface by the interface of diskmgr, when application space uses this When carry, so that it may see the private room content of oneself.
System and method using realization of the invention based on concurrent disk carry interface management and running, the present invention It is applied to the super application space in cloud, disk carry service is provided, what user saw inside application space is exactly carry disk, Access experience with the experience of local PC be it is the same, application space can be Windows system, be also possible to linux system, match The carry interface quantity set is only related to the user of application on site simultaneously, and the interface allocation ratio of compression is at thousand times or more.
In this description, the present invention is described with reference to its specific embodiment.But it is clear that can still make Various modifications and alterations are without departing from the spirit and scope of the invention.Therefore, the description and the appended drawings should be considered as illustrative And not restrictive.

Claims (8)

1. a kind of system realized based on concurrent disk carry interface management and running, which is characterized in that the system includes:
Disk management module, for providing scheduling and externally service;
Disk execution module group, including multiple disk execution modules, are connected, for executing with the disk management module The binding of file space and interface and unbundlings operate, and handset port configuration information and register on startup.
2. system of the realization based on concurrent disk carry interface management and running according to claim 1, which is characterized in that The disk execution module includes carry server, file mount service unit and interface group, the carry server, text Part carry service unit and interface group are connected with the disk management module, and the interface group includes multiple interfaces.
3. system of the realization based on concurrent disk carry interface management and running according to claim 1, which is characterized in that The interface includes application interface and realizing interface, and the application interface and realizing interface correspond to each other.
4. system of the realization based on concurrent disk carry interface management and running according to claim 3, which is characterized in that The application interface and realizing interface is corresponded to each other by pairs of keyword.
5. system of the realization based on concurrent disk carry interface management and running according to claim 1, which is characterized in that The quantity for the interface that the system provides is related to number of concurrent.
6. a kind of realize the method based on concurrent disk carry interface management and running based on system described in claim 1, Be characterized in that, the method the following steps are included:
Disk management module described in (1-1) receives the carry request of user, judges whether it has occupancy interface, if so, Then disk management module returns to carry information;Otherwise, continue step (1-2);
Disk execution module group described in (1-2) judges whether there is idle interface, if it is, user and interface are bound, Continue step (1-3);Otherwise, this scheduling failure, exit step;
Disk management module described in (1-3) judge user whether with interface binding success, if it is, system return carry letter Breath;Otherwise, this scheduling failure, exit step.
7. method of the realization based on concurrent disk carry interface management and running according to claim 6, which is characterized in that The method further includes the steps that interface unbinds, specifically includes the following steps:
Disk management module described in (2-1) judges whether the total interface application of user is released, and uses if it is, releasing The incidence relation at family and interface, and unbind interface and the file directory of user;Otherwise, this unbundlings failure, exit step.
8. method of the realization based on concurrent disk carry interface management and running according to claim 6, which is characterized in that The method further includes the steps that interface dilatation, specifically includes the following steps:
The addition service node of disk execution module described in (3-1) simultaneously configures interface;
Disk execution module described in (3-2) registers the interface.
CN201910100888.9A 2019-01-31 2019-01-31 System and method for realizing disk mounting interface scheduling management based on concurrency Active CN109857345B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910100888.9A CN109857345B (en) 2019-01-31 2019-01-31 System and method for realizing disk mounting interface scheduling management based on concurrency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910100888.9A CN109857345B (en) 2019-01-31 2019-01-31 System and method for realizing disk mounting interface scheduling management based on concurrency

Publications (2)

Publication Number Publication Date
CN109857345A true CN109857345A (en) 2019-06-07
CN109857345B CN109857345B (en) 2023-01-24

Family

ID=66897314

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910100888.9A Active CN109857345B (en) 2019-01-31 2019-01-31 System and method for realizing disk mounting interface scheduling management based on concurrency

Country Status (1)

Country Link
CN (1) CN109857345B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050102559A1 (en) * 2003-11-10 2005-05-12 Nokia Corporation Computer cluster, computer unit and method to control storage access between computer units
US20120016915A1 (en) * 2010-07-15 2012-01-19 Seoung Il Choi System and method for file copy of cloud method and disk cloning over wide area network
CN103118073A (en) * 2013-01-08 2013-05-22 华中科技大学 Virtual machine data persistence storage system and method in cloud environment
WO2014005552A1 (en) * 2012-07-06 2014-01-09 中兴通讯股份有限公司 Combined cloud storage disk client, server and system, and combined cloud storage disk service serving method
CN104331375A (en) * 2014-10-29 2015-02-04 中国建设银行股份有限公司 Shared virtualized resource management method and shared virtualized resource management device under shared virtualized resource pool environment
US20160188415A1 (en) * 2014-12-31 2016-06-30 Netapp. Inc. Methods and systems for clone management
WO2017049828A1 (en) * 2015-09-25 2017-03-30 中兴通讯股份有限公司 Method, device and system for data processing based on linux
CN106708430A (en) * 2016-11-30 2017-05-24 浪潮软件集团有限公司 Cloud hard disk implementation method under cloud computing architecture
CN108446575A (en) * 2018-02-02 2018-08-24 云宏信息科技股份有限公司 Disk management method, electronic equipment based on cloud desktop, storage medium, system
CN108572795A (en) * 2017-12-21 2018-09-25 北京金山云网络技术有限公司 Based on expansion method, device, equipment and the storage medium for building Storage Virtualization

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050102559A1 (en) * 2003-11-10 2005-05-12 Nokia Corporation Computer cluster, computer unit and method to control storage access between computer units
US20120016915A1 (en) * 2010-07-15 2012-01-19 Seoung Il Choi System and method for file copy of cloud method and disk cloning over wide area network
WO2014005552A1 (en) * 2012-07-06 2014-01-09 中兴通讯股份有限公司 Combined cloud storage disk client, server and system, and combined cloud storage disk service serving method
CN103118073A (en) * 2013-01-08 2013-05-22 华中科技大学 Virtual machine data persistence storage system and method in cloud environment
CN104331375A (en) * 2014-10-29 2015-02-04 中国建设银行股份有限公司 Shared virtualized resource management method and shared virtualized resource management device under shared virtualized resource pool environment
US20160188415A1 (en) * 2014-12-31 2016-06-30 Netapp. Inc. Methods and systems for clone management
WO2017049828A1 (en) * 2015-09-25 2017-03-30 中兴通讯股份有限公司 Method, device and system for data processing based on linux
CN106708430A (en) * 2016-11-30 2017-05-24 浪潮软件集团有限公司 Cloud hard disk implementation method under cloud computing architecture
CN108572795A (en) * 2017-12-21 2018-09-25 北京金山云网络技术有限公司 Based on expansion method, device, equipment and the storage medium for building Storage Virtualization
CN108446575A (en) * 2018-02-02 2018-08-24 云宏信息科技股份有限公司 Disk management method, electronic equipment based on cloud desktop, storage medium, system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
赵帆: "基于磁盘中间件的文件系统框架研究", 《科技信息(学术研究)》 *
陶莉等: "Automatic Software Install/Update for Embedded Linux", 《JOURNAL OF SHANGHAI JIAOTONG UNIVERSITY》 *

Also Published As

Publication number Publication date
CN109857345B (en) 2023-01-24

Similar Documents

Publication Publication Date Title
Pahl Containerization and the paas cloud
US10326769B2 (en) Extensible multi-tenant cloud-management system and methods for extending functionalities and services provided by multi-tenant cloud-management system
US11099870B1 (en) Reducing execution times in an on-demand network code execution system using saved machine states
US20190342229A1 (en) Multi-cluster resource management
Liu et al. The research and implementation of cloud computing platform based on docker
US20200028848A1 (en) Secure access to application instances in a multi-user, multi-tenant computing environment
US9633054B2 (en) Providing a database as a service in a multi-tenant environment
US8627310B2 (en) Capturing multi-disk virtual machine images automatically
US9351153B2 (en) Apparatus for end-user transparent utilization of computational, storage, and network capacity of mobile devices, and associated methods
CN110198231A (en) Capacitor network management method and system and middleware for multi-tenant
US7373647B2 (en) Method and system for optimizing file table usage
US20150074670A1 (en) Method and system for distributed processing of http requests
US20170214737A1 (en) Integrated application-aware load balancer incorporated within a distributed-service-application-controlled distributed computer system
US20120239825A1 (en) Intercloud Application Virtualization
CN105245523B (en) Storage service platform and its implementation applied to desktop virtualization scene
Kozuch et al. Tashi: location-aware cluster management
CN103118073B (en) Virtual machine data persistence storage system and method in cloud environment
US20140123142A1 (en) System and method for providing data analysis service in cloud environment
US20140214956A1 (en) Method and apparatus for managing sessions of different websites
Sparks Enabling docker for HPC
Chen et al. Docker container log collection and analysis system based on ELK
CN110008004A (en) A kind of power system computation analysis application virtualization method, apparatus and equipment
CN109857345A (en) Realize the system and method based on concurrent disk carry interface management and running
US20220413889A1 (en) Virtual-subsystem-migration validator
US20210067599A1 (en) Cloud resource marketplace

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
TA01 Transfer of patent application right

Effective date of registration: 20200923

Address after: 501-3, 5 / F, building 6, 54 courtyard, Shijingshan Road, Shijingshan District, Beijing 100041

Applicant after: Diankeyun (Beijing) Technology Co.,Ltd.

Address before: 230031 West Lake International A1307, 69 Wangjiangxi Road, Hefei City, Anhui Province

Applicant before: HEFEI XIETONG TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant