CN100351828C - File access method based on a distributed file storage system - Google Patents

File access method based on a distributed file storage system Download PDF

Info

Publication number
CN100351828C
CN100351828C CNB021209715A CN02120971A CN100351828C CN 100351828 C CN100351828 C CN 100351828C CN B021209715 A CNB021209715 A CN B021209715A CN 02120971 A CN02120971 A CN 02120971A CN 100351828 C CN100351828 C CN 100351828C
Authority
CN
China
Prior art keywords
module
user
file
server
function
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.)
Expired - Fee Related
Application number
CNB021209715A
Other languages
Chinese (zh)
Other versions
CN1464453A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CNB021209715A priority Critical patent/CN100351828C/en
Publication of CN1464453A publication Critical patent/CN1464453A/en
Application granted granted Critical
Publication of CN100351828C publication Critical patent/CN100351828C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The present invention discloses a file access method based on the file storage system, and the present invention has the key point that the method comprises the following steps: a) a server layer and a file system layer are integrated into a file function processing layer; b) when a client end accesses a file, the client end sends an operating command to a server end, and after the file function processing layer of an andrew file system (AFS) receives the command, the file function processing layer invokes related interface functions in servers with different operating systems to realize the user function. The present invention also discloses a file storage system supporting the file access method. The file system and the access method of the present invention can provide efficient and rapid access interfaces for users using storage space, so that the users can access all shared file resources at any time and at any place, and simultaneously, the file storage system can be uniformly managed.

Description

Document storage system and file access method thereof based on distributed file system
Technical field
The present invention relates to the file access technology, refer to a kind of document storage system and file access method thereof especially based on distributed file system.
Background of invention
Company information amount develop rapidly at present, mobile office and terminal device are various, and people require can both obtain corresponding information or the personal information shared whenever and wherever possible, simultaneously storage space and application scalability have been proposed higher demand.Along with electronic enterprise trend grows in intensity, the kind of the DPS (Document Processing System) on enterprise office market is many, and these DPS (Document Processing System) are applicable to that mostly large enterprise arrives different working environments such as medium and small enterprise.This series products roughly has several directions by functional classification:
1), introduced the notion of Intranet (Intranet) based on office automation.
2) based on e-sourcing plan (ERP, the Electric Resource Program) system of enterprise, realize and the integrated DPS (Document Processing System) of ERP.
3), comprise the function that partial document is handled and managed based on the information platform of enterprise.
These series products all are based on traditional hierarchical structure, and specifically as shown in Figure 1, Fig. 1 is the hierarchical relationship synoptic diagram of existing like product.The user calls and belongs to client layer, when the user gave an order, client layer can send order to server end, and server end comprises server layer, file system layer and operating system nucleus, server layer calls the service of file system layer under the support of operating system.
As shown in Figure 2, the basic functional principle of similar products is in the market: client-service end-system call realizes function, that is: when client need provide service or access file system, client is issued server end with operational order, server calls relevant system function and finishes function corresponding according to the instruction of receiving.
And above-mentioned a few class document file management systems all are enterprise-oriented working environments, are not with the application of the angle exploitation of storage administration platform, do not have level and smooth extendability and memory management functions, and its mass data mainly is to be kept in the database.But under enterprise's working environment, the management that inconvenience is kept at the file in the database can't solve.It mainly focuses on the institutional file that produces the corporate operation process for the document file management system that comes from office automation and ERP development, and the requirement of the storage of this class file is to guarantee to concentrate and the consistance of version.Under enterprise's working environment, to the requirement of storage space, can not well solve with colleague's exchange message and enterprises sharing of information resource, the shared anywhere or anytime demand of enterprise's common information and personal information still can not satisfy.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of document storage system and file access method thereof based on distributed file system, make that it can provide efficiently for the user who uses storage space, access interface efficiently, make the user can have access to all shared file resources whenever and wherever possible, simultaneously, can realize unified management to document storage system.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of file access method of the document storage system based on distributed file system, key be, provides the integrated part of server and file system function in the server end setting, and this method also comprises:
When client is carried out file access, client is issued server end with operational order, after the file system function of integrated part was received instruction in distributed file system (AFS) server, calling related application programs interface (API) function was realized the file access of this client in the server of different operating system.
This method specifically comprises:
B1. when the user sent instruction by client browser, client passed to server with operation requests by the HTTP(Hypertext Transport Protocol) passage and handles;
B2. serve end program calls the bottom authentication procedure and carries out user validation checking, as enter step b3 by checking; Otherwise refusing user's request transmits authentication failed information and enters step b4;
B3. serve end program is according to user instruction, and the application programming interfaces (API) by corresponding JNI interface interchange AFS server carry out user institute requested operation, and the API of AFS server returns the content of obtaining to serve end program;
B4. serve end program calls the dynamic page generator program according to return results (comprising failed authentication information) and generates result, and return results is passed to client browser.
This method further comprises: set in advance the AFS server and connect the server have the different operating system that AFS supports more than one.
In addition, this method further comprises: when system carries out per step operation, all call safety certification/access module earlier and carry out subscriber authentication.
The present invention provides a kind of document storage system based on distributed file system (Efile) simultaneously, comprises at least:
The user inserts the interface, and being responsible for provides different user interfaces to the user;
Interface (Interface) module is used to carry out the also register of process user;
Safety certification/access right module is used for the validity of inspection user and user's access rights;
Session (Session) administration module is responsible for record and is realized user's each operation and setting;
Function executing service end module and function service end module are respectively applied for serve end program that difference in functionality is provided and require to call different service end modules with operation according to the user;
The JNI calling module, the interface that provides upper strata and bottom AFS system program to call;
System management module is used for managing total system;
The dynamic page generation module is used for generating respective page according to the execution result of user's operation;
Wherein, the user inserts the downward connection interface module in interface, interface module connects safety certification/access right module, session (Session) administration module and function service end module simultaneously, function service end module connects session (Session) administration module and function executing service end module simultaneously, function executing service end module connects JNI calling module, system management module and dynamic page generation module simultaneously, the dynamic page generation module also links to each other with session (Session) administration module, and safety certification/access right module also interconnects with the JNI calling module.
This system further comprises: hardware management module, be used for the hardware on the control store equipment, and this hardware management module links to each other with described function executing service end module.
Wherein, the user inserts the interface and supports that user's Browser inserts, keeper's Browser inserts and mobile gateway inserts; Interface module further comprises: explanation module, scheduler module, distribution module, security module and session communication management module, scheduler module links to each other with explanation module, distribution module, security module and session communication management module simultaneously, security module links to each other with described safety certification/access right module, session communication management module links to each other with described session management module, and distribution module links to each other with described function service end module; Safety certification/access right module further comprises user authentication module and user access authority management module; Session management module further comprises user data area, system data area, ephemeral data district and secure data district, secure data district and described safety certification/access right module interconnects; Function service end module further comprises rule module, scheduler module and session maintenance module, scheduler module links to each other with the session maintenance module with rule module, and connecting described function executing service end module simultaneously, session maintenance module and session management module interconnect; The dynamic page generation module further comprises representation module and distribution module, and representation module is connected with distribution module.
By such scheme as can be seen, document storage system and file access method thereof based on distributed file system provided by the present invention have following advantage and characteristics:
1) form of the present invention both can be independent storage application software product, also can be application server or the NAS product that binds together with server or storage products.
2) the present invention provides access interface and storage management interface for the storage system of various application and developments simultaneously.
3) angle from being user-friendly to, document storage system of the present invention (Efile) user can operate file and the catalogue of oneself arbitrarily on socket.Angle from the managed storage space, the user interface system of Efile has been realized the management of virtual store, by the AFS distributed file system storage space on the distinct device is formed a unified storage space, the keeper can pass through Efile management storage systems easily.
4) the advanced function technology in the use Java technology, such as: utilize Servlet, JSP technology, can make the rapider alternately of user and Webpage.
5) Efile itself provides easy-to-use service platform more flexibly as the tool using of user to storage system, can realize the more service mode by increase the more function gateway on its service platform.Various gateways and Efile system carry out communication by http protocol, as the use to stores service, can rely on the more intervening mode of Efile Platform Implementation, and a storage usage platform that is easier to operate is provided.
Description of drawings
Fig. 1 is the hierarchical relationship synoptic diagram of existing like product;
Fig. 2 is the application flow synoptic diagram of existing like product;
Fig. 3 uses example based on the server of AFS system;
Fig. 4 is the development synoptic diagram of document storage system of the present invention (Efile) technology;
Fig. 5 is a system call logical diagram of the present invention;
Fig. 6 is the hierarchical relationship figure of Efile system simplification;
The structural representation that Fig. 7 forms for the Efile system module;
Fig. 8 is the quick-reading flow sheets synoptic diagram of Efile system applies;
Fig. 9 is the software system structure synoptic diagram of Efile;
Figure 10 is the hardware overall pattern of Efile;
Figure 11 is the embodiment sketch of Efile system;
Figure 12 is an Efile workflow synoptic diagram;
Figure 13 is Efile system function module figure.
Embodiment
The present invention has fully used the technical characteristic that the AFS system is had, and with it be fused to be applied on the network, based on the novel file access implementation method of Http.It provides single user capture entrance, and to the management of file storage, be used for satisfying the needs of the large-scale distributed file storage of intranet Intranet, campus network or government bodies etc., so that can making things convenient for fully, the information on the network shares, authentication mechanism that Efile is perfect and data backup service can finely satisfy enterprise's file data security needs.Simultaneously, along with the development of business and the growth of quantity of information, the good retractility of this system can realize expanding along sliding of storage space.Function is mainly divided two parts: first mainly be to the user who uses storage space provide one efficiently, access interface efficiently, the user can visit individual or shared file storage easily; Second portion mainly is a management function, and the supvr manages storage space in the storage system and user, can realize the enhanced scalability of storage system simultaneously.In the middle of the performance history of follow-up phase, also can realize the cluster and the load balancing of document storage system, and by unified management interface, under the support of the control API of memory device, realize centralized management and setting to disk unit.
The various technical developments that system relates to are divided into two lines:
1) in the field relevant: make the user visit data whenever and wherever possible by the mode of browser/server with client, use the JAVA technology to provide various services, utilize the thread-level of JAVA technology and cross-platform advantage finally to provide a storage to use door with multiple access means to file storage to client.
2) at server end: utilize the self characteristics of AFS file system, in large-scale storage applied environment, propose the solution of cluster more effectively.Further Internet various based on file service as: website, mail server etc. provide the solution of load balance based on the application system of file service.Finally realize by the unified management of a unified management system realization storage system at server end.Comprise: to the management of cluster configuration, to the configuration management of load balance, for the management of individual server and to the management of RAID (Rredundant Array of Independent Disk, the redundant array of the independent disk) controller of bottom.
The development of two aspects combines the most at last, releases a storage application platform that combines with hardware, is adapted to various storages based on file widely and uses.
Document storage system (Efile of the present invention, Electric File) is based on that distributed file system (AFS) realizes, so-called distributed file system (AFS) is to offer all by single shared file management system and have the user of authority to visit being distributed in file on different location, the different platform, comprises the mobile subscriber.Based on the storage application system of distributed file system can provide good expandability and multi-platform between interoperability, to realize the centralized management of data.
What AFS adopted is client, it provides one group of server to provide disk space for file storage, and unified managing, the client computer of operation AFS client software is operated to the demand file of server end machine, if the client is authorized to this operation, server will be carried out on request.
Except basic file operation, the AFS server end also provides relevant system service, comprise: the mutual conversion between the user ID of authentication service, text mode and numerical value mode, document alignment service, Time Service and some bookkeepings, as disk management, system reconfiguration and tape backup.
The AFS system provides the eight functions server:
1) supervising server (BOS, Basic Over Server) is in charge of the operation of other server and is stopped, and it can make it to rerun when other server loses efficacy automatically, also can regularly restart himself with and other server of management.
2) file server (File Server) is the most basic server, and it can send the data to client according to customer requirements, and returns the file after user's change.
3) volume server (Volume Server), volume is the elementary cell that AFS manages file, the volume server can help the keeper to involving in the various operations of row.
4) update service device (Update Server) is responsible for AFS server program and configuration information to Servers-all distribution redaction.
5) authentication server provides the bi-directional authentification function of AFS, thereby prevents that effectively the disabled user from entering the AFS system, has guaranteed data safety of transmission in network simultaneously.
6) the protection server is used to help the user to control the access rights of its file and catalogue, thereby prevents that unauthorized user from having access to the file that should not visit.
7) volume location-server has shielded the actual deposit position of rolling up to the user, is the key of AFS file system logic structure and physical arrangement mutual mapping.
8) backup server can help the user that data are backed up, and reduces user's loss.
In above-mentioned eight kinds of servers, back four kinds are referred to as database server (AFS DB Server) again, because they all safeguard a special database separately.
Figure 3 shows that server application example based on the AFS system, as shown in Figure 4, include two client C1, C2 and five service end S1~S5 in the network, be respectively arranged with cache manager (Cache Manager) on client C1, the C2, include different AFS servers respectively and service end is different as required, function is different, S1, S2 are provided with file server, volume server and supervising server; S3, S4 are provided with database server and supervising server; S5 is provided with update service device and supervising server.
The present invention is a relatively more successful application of developing on storage platform, and then expands to each aspect of storage system.Shown in Figure 4ly be technical development plan figure of the present invention, wherein, the part of white: operating system, Andrew file system, storage platform, Java Virtual Machine, Servlet backstage, the webserver, HTML/Applet and file system application program partly are existing functions of the present invention, and grey color part comprises that controller server, Raid controller, load balance and cluster partly are to belong to development plan part of the present invention.
Efile of the present invention is based on the storage application software of distributed file system AFS, realizes sharing and centralized management of cross-platform file, satisfies the needs that the user visits file space on the different platform of different location whenever and wherever possible.It both may operate on the common file server, also may operate on the special-purpose memory device, such as: network additive storage device (NAS, Network AppendentStorage).Kinds of platform such as Efile support Linux, Windows NT and Windows 2000, its WEB service and management application are based on the linux system exploitation.
Based on the application and development on the AFS, towards application very wide, at first be sharing of enterprise's fileinfo, enterprise commerce document, Employee Profile, product and research and development document, workflow and management document, personal document's etc. storage and management; Next is storage space and content service and other application based on file system of To enterprises or xSP/IDC.
The hierarchical structure of Efile system as shown in Figure 6 among the present invention, unlike the prior art, in server end the present invention the server layer and the file system layer of traditional sense are integrated, complete function is provided, so, for the user, server layer and file system layer are exactly a visible level.
The system module of Efile is formed structure as shown in Figure 7, and this system comprises three main functional modules: data are used module, data management module and distributed file system api interface module.Wherein, data use module to be used to realize the basic function of file-sharing, and the user can be by the various operations based on AFS system of this module realization to file.Data management module is used for the expanded function of management, data backup and storage space in realization system and user account and space, this module designs at the system manager, have only the keeper to have authority to use, the keeper comprises that by the operation of this module realization to bottom user and user organize management, volume management, three parts of server admin.Distributed file system api interface module mainly is the interface function that user file visit and management function are provided for the WEB application on upper strata.
Because the Efile system is complete in distributed file system AFS, one of its application characteristic is exactly: distributed.Therefore, as shown in Figure 8, the present invention can be used for managing distributed operating system, that is to say, when client need provide service or access file system, client was issued server end with operational order, and the AFS server is according to the instruction of receiving, can arrive and call relevant system function in the server of different operating system and finish function corresponding, the operating system 1~operating system n that is disposed in each server is the operating system that the AFS system is supported certainly.
Fig. 9 is that the software module of Efile system is formed structural drawing, as shown in Figure 9, page technology such as Java Applet all operate in user's the browser, and these graphical page connect the WEB server by http protocol and support the module of Java Servlet, generate Webpage; Backup module, installation and configuration module link to each other with the distributed file system server by file system protocol; Simultaneously, administration module uses module to pass through Java database link standard (JDBC) with the user to link to each other with database server, so that read-write and management database.
Based on above-mentioned software module structure, the hardware environment of Efile of the present invention system operation as shown in figure 10, Figure 10 is the hardware general illustration of Efile system.This system mainly is made up of three equipment components: the webserver, database server and file system server.Database server and file system server are respectively applied for data storage and file management, and the webserver then can link to each other with handheld device or notebook or PC or workstation by the Internet (Internet), provides service by network for it.Three kinds of servers can independently use three station servers, also can use same station server, and three kinds of server processes are provided on this station server simultaneously.
Realization principle of the present invention is fully based on the AFS distributed file system, the user on Webpage to all operations of file or catalogue all will be by the Webpage maker---intrinsic interface---AFS shared library, finally respond by AFS Server.
The realization principle of system of the present invention embodies with the information flow direction of system, and among the figure, Servlet is used for realizing server side functionality and generates Webpage; Applet is used to realize client-side program; JSP is used for realizing the programming of part service end function and dynamic web page; AFS Server is the Andrew file system server, is used for the management that bottom is finished file; MySQL is the Database Systems under a kind of linux system, is used to finish the function and the management of data.As shown in Figure 5, the file access implementation method based on AFS of the present invention system comprises:
1) user clicks by the tree-shaped tabulation of file in the client browser and opens a catalogue, and client will be operated by the HTTP passage and be passed to server.
2) whether serve end program is mutual by database connecting interface and database according to user's situation decision, and hypothesis needs in the present embodiment.
3) serve end program obtains the return message of database.
4) the serve end program API that calls AFS by JNI obtains the content of this catalogue.
5) AFS API returns the content of this catalogue to serve end program.
6) serve end program generates result according to the call by result dynamic page generator program that returns.
7) serve end program sends return results to client browser.
In this document access method, the concrete workflow of Eflie as shown in figure 12:
A. work as the user from inserting the interface, behind the input username and password, judge by safety certification/access module whether the user name and the password of input legal? if illegal, return step a; Otherwise, the corresponding session of Session administration module access.
B. function service end module is prepared user environment, and carries out executable operations and prepare.
C. do you when the user provides the operation indication, judge by safety certification/access module whether the user name and the password of input legal earlier? if illegal, return step a; Otherwise function executing service end module is called corresponding realization program according to the operation indication.
The d.JNI calling module calls the power function of bottom layer realization, judge by safety certification/access module whether the user name and the password of input legal? if illegal, return step a; Otherwise, generate the corresponding page by the dynamic page generation module according to the operating result that returns, then, return client and demonstration.
In said process, in fact single job is whenever done by the Efile system, no matter needs system call, all can call safety certification/access module earlier and carry out subscriber authentication.And above-mentioned flow process moves in circles, as long as the user does not nullify or close browser, system just is in certain link in the flow process always.
Figure 11 represents the embodiment of the present invention under enterprise's working environment.In the office network of an enterprises, the machine of figure bottom is that many AFS servers are realized different server capabilitys respectively, netting twine by the 10M bandwidth links to each other with a hub (HUB), inserts office network via hub, so with some the client communication on figure top.When using the Efile system under this enterprise's working environment, this system is mainly used to realize that office document, information etc. are shared, realizes cross-platform file-sharing and centralized management, satisfies the needs that people visit file space on the different platform of different location whenever and wherever possible.By this enterprise office net, all office machines, promptly the client user information that can use the Efile system to be provided is carried out stores service.
Visit Efile system must be by the browser mode, and domestic consumer can use the storage space of distributing to oneself by Webpage, and the supvr can use Webpage that storage system/sub-storage system is managed.
Figure 13 has provided the composition structural drawing of Efile system function module, and it mainly comprises: the user inserts interface, interface (Interface) module, safety certification/access right module, session (Session) administration module, function service end module, function executing service end module, JNI calling module, hardware management module, system management module and dynamic page generation module.The user connects the connection interface module that faces down, interface module connects safety certification/access right module simultaneously, session (Session) administration module and function service end module, function service end module connects session (Session) administration module and function executing service end module simultaneously, function executing service end module connects the JNI calling module simultaneously, hardware management module, system management module and dynamic page generation module, safety certification/access right module also interconnects with the JNI calling module, the dynamic page generation module also links to each other with session (Session) administration module, also is connected with the unit such as function ISP of mobile function ISP He other gateway simultaneously.
Wherein, user's access interface is responsible for providing various user interface to the user, make the user can visit the Efile system by different modes, comprise: user's Browser inserts, keeper's Browser inserts, mobile gateway inserts and the gateway of other type inserts, and this module will convert the HTTP data from the uniform data at different interfaces to.
Interface module is first module that the user sees when visiting Efile in the HTTP mode, the everything of this resume module when the user does not login action, and this module comprises the execution module of login action.Comprise five little modules in the interface module again: explanation module, be used for the operational order that the user provides is made respective explanations, promptly provide the operation indication that system can discern according to user's indication; Security module is used for calling safety certification/access module user profile is verified; Session communication management module is used for and the communication of Session administration module, finishes the management to session; Scheduler module is used to coordinate, the relation between the several submodules of balance; Distribution module is responsible for the Interface result is distributed to different function serve end programs as required, and the serve end program of these difference in functionalitys is function executing service end module altogether.
Safety certification/access right, the function of this module is the validity of inspection user, and the access rights of checking the user.This module need be obtained the safety and the user right information of AFS system by the JNI module, and offers other function Servlet.This module also links to each other with database, and it comprises two submodules: user authentication module is used for finishing the checking to user profile; The user access authority management module is used for managing the access right of each user to different directories.
The Session administration module is responsible for the record to user's everything in the Efile system, can realize user's personal settings simultaneously by Session, and to the assurance of user's operating continuity.This module has four in user data area, system data area, ephemeral data district and secure data district.Deposit user, system, session data that some are interim respectively, and the session data that needs of safety certification.
Function service end (Servlet) module, it is the execution module after the user signs in to Efile, its initialization user's environment is finished user's request according to the different service end module of user's operation calls simultaneously.This module comprises three submodules: rule module, be responsible for safeguarding the rule of total system, and comprise showing rule, working rule etc.; The session maintenance module is used for and the communication of Session administration module, maintain sessions data; Scheduler module is used to coordinate, the relation between the several submodules of balance.
Function executing service end (Servlet) module comprises various serve end programs with difference in functionality in this module, carry out every concrete operation, and this module comprises all bottom functions and realizes function.
The JNI calling module is the communication interface that JAVA and bottom AFS system program call, with the AFS server interconnect.
Hardware management module, it is an expansion module, can come various hardware on the control store equipment by changing module, as RAID card etc.
System management module is now realized by CGI, is independent of JAVA, is mainly used to the management to total system, comprises the management to each software module among the Efile, and the management of the management of AFS system and storage application system, as: account number, space etc.This module is not integrated in the Efile system at present, will be integrated into a management platform later on.
Dynamic page generates (Show ISP) module, and its function is the execution result generation accordingly result page according to user's operation, and it is divided into several sections with the page and handles respectively.It comprises two submodules: representation module, be used to generate the functional module of dynamic page, the dynamic page parameter that is input as the needs generation of this module, as: the execution result of function executing service end module or user's invoking page parameter are output as the corresponding dynamic page; Distribution module is responsible for the dynamic page that representation module generates is distributed to disparate modules to show.
Specifically tell about the Application Example of Efile of the present invention system below in conjunction with accompanying drawing.
Example one: create a quick path.
1) user uses browser to open the Efile network address, be after the user inserts interface module, input right user name and password, client will be imported and transmit service end, service end is called the authentication that security authentication module carries out username and password, enter system by checking---functional module and call relation that this step relates to are as follows: Interface module and the communication of Session administration module with the user name of user input and password as the interim conversation data storage, and they are sent to safety certification/access right module verify, checking is stored user profile by then calling the Session administration module, and entering function service end module initialization user environment, the system that carries out is prepared.If safety certification is not passed through, then get back to the wait of Interface module and re-enter.
2) click " creating a new quick path ... ", client is sent request to service end, service end is called the dynamic page generation module generation establishment page and is returned to client and shows, entering the establishment page---functional module and call relation that this step relates to are as follows: function service end module is finished corresponding function, finishes the management of safety certification and session therebetween by the Session administration module.
3) select to create territory, place, quick path, click and enter next step, function service end module is used session management module records input value.
4) quick pathname of being convenient to remember of input as " share directory ", is clicked and is entered next step, and function service end module is used session management module records input value.
5) select whether need to change other number of the account and visit this path, need provide the right user name and the password of another number of the account in this way, click and enter next step, function service end module is used session management module records input value.
6) input enable position, i.e. the network folder path of the real sensing in this quick path, this example is "/lcrshare/ ", clicks and enters next step, function service end module is used session management module records input value.
7) import the explanation in this quick path, this explanation can be sky, clicks and determines, function service end module is used session management module records input value.
8) after the affirmation, function service end module sends the user input values of session administration module record to function executing service end module, function executing service end module is used JNI calling module, system management module (will add hardware management module from now on) complete operation respectively, and return results is given function executing service end module.
9) return result, function executing service end module is that parameter sends dynamic page generation module generation results page to the operating result, results page is returned client show.
So far in the Efile system, finished the establishment in a new quick path.The user can directly see own newly-built quick path on the explorer of Efile system, be shown as " share directory ", and the user directly visits resource under this catalogue by it, no longer needs the Network Search path.
Example two: create a volume.
1) at first, the user uses browser to open the Efile network address, and promptly the user inserts interface module.
2) correct keeper id and the password of input, client will be imported and transmit service end, service end is called the authentication that security authentication module carries out username and password, enter system by checking--functional module and call relation that this step relates to are as follows: Interface module and the communication of Session administration module with the keeper id of keeper input and password as the interim conversation data storage, and they are sent to safety certification/access right module verify, checking is stored user profile by then calling the Session administration module, and entering function service end module initialization user environment, the system that carries out is prepared.If safety certification is not passed through, then get back to the wait of Interface module and re-enter.
3) click " management tool ", this option has only the keeper just can see, domestic consumer can't visit, the entrance management function interface--functional module and call relation that this step relates to are as follows: function service end module is finished corresponding function, finishes the management of safety certification and session therebetween by the Session administration module.
4) click the volume management option and enter the volume management function interface, concrete treatment scheme is with step 3.
5) click " establishment ", promptly newly-built volume button ejects and creates new volume action pane, and concrete treatment scheme is with step 3.
6) new file label of input and volume quota, click and confirm, this step block call relation: data are imported in the storage of function service end module invokes Session administration module, and send data to function executing service end module.
7) function executing service end module sends function executing service end module to according to the parameter of obtaining, and function executing service end module is used JNI calling module, system management module complete operation respectively, and return results is given function executing service end module.
8) function executing service end module is that parameter sends dynamic page generation module generation results page to the operating result, results page is returned client show.
Can finish the building work of a volume according to above step.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (12)

1, a kind of file access method of the document storage system based on distributed file system is characterized in that, provides the integrated part of server and file system function in the server end setting, and this method also comprises:
When client is carried out file access, client is issued server end with operational order, after the file system function of integrated part was received instruction in the distributed file system AFS server, calling related application programs interface api function was realized the file access of this client in the server of different operating system.
2, file access method according to claim 1 is characterized in that, this method specifically comprises:
When b1. the user sent instruction by client browser, client passed to server with operation requests by HTML (Hypertext Markup Language) HTTP passage and handles;
B2. serve end program calls the bottom authentication procedure and carries out user validation checking, as enter step b3 by checking; Otherwise refusing user's request transmits authentication failed information and enters step b4;
B3. serve end program is according to user instruction, and the API by corresponding JNI interface interchange AFS server carries out user institute requested operation, and the API of AFS server returns the content of obtaining to serve end program;
B4. serve end program calls the demonstration of dynamic page generator program according to return results and generates result, and return results is passed to client browser.
3, file access method according to claim 1 is characterized in that, this method further comprises: set in advance the AFS server and connect the server have the different operating system that AFS supports more than one.
4, file access method according to claim 2 is characterized in that, this method further comprises: when system carries out per step operation, all call safety certification/access module earlier and carry out subscriber authentication.
5, a kind of document storage system based on distributed file system is characterized in that, comprises at least:
The user inserts the interface, and being responsible for provides different user interfaces to the user;
Interface module is used to carry out the also register of process user;
Safety certification/access right module is used for the validity of inspection user and user's access rights;
Session management module is responsible for record and is realized user's each operation and setting;
Function executing service end module and function service end module are respectively applied for serve end program that difference in functionality is provided and require to call different service end modules with operation according to the user;
The JNI calling module, the interface that provides upper strata and bottom AFS system program to call;
System management module is used for managing total system;
The dynamic page generation module is used for generating dynamic display page according to the execution result of user's operation;
Wherein, the user inserts the downward connection interface module in interface, interface module connects safety certification/access right module, session management module and function service end module simultaneously, function service end module connects session management module and function executing service end module simultaneously, function executing service end module connects JNI calling module, system management module and dynamic page generation module simultaneously, the dynamic page generation module also links to each other with session management module, and safety certification/access right module also interconnects with the JNI calling module.
6, document storage system according to claim 5 is characterized in that this system further comprises: hardware management module, be used for the hardware on the control store equipment, and this hardware management module links to each other with described function executing service end module.
7, document storage system according to claim 5 is characterized in that: described user inserts the interface and supports that user's Browser inserts, keeper's Browser inserts and mobile gateway inserts.
8, document storage system according to claim 5, it is characterized in that: described interface module further comprises: explanation module, scheduler module, distribution module, security module and session communication management module, scheduler module links to each other with explanation module, distribution module, security module and session communication management module simultaneously, security module links to each other with described safety certification/access right module, session communication management module links to each other with described session management module, and distribution module links to each other with described function service end module.
9, document storage system according to claim 5 is characterized in that: described safety certification/access right module further comprises user authentication module and user access authority management module.
10, document storage system according to claim 5, it is characterized in that: described session management module further comprises user data area, system data area, ephemeral data district and secure data district, secure data district and described safety certification/access right module interconnects.
11, document storage system according to claim 5, it is characterized in that: described function service end module further comprises rule module, scheduler module and session maintenance module, scheduler module links to each other with the session maintenance module with rule module, and connecting described function executing service end module simultaneously, session maintenance module and session management module interconnect.
12, document storage system according to claim 5 is characterized in that: described dynamic page generation module further comprises representation module and distribution module, and representation module is connected with distribution module.
CNB021209715A 2002-06-06 2002-06-06 File access method based on a distributed file storage system Expired - Fee Related CN100351828C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021209715A CN100351828C (en) 2002-06-06 2002-06-06 File access method based on a distributed file storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021209715A CN100351828C (en) 2002-06-06 2002-06-06 File access method based on a distributed file storage system

Publications (2)

Publication Number Publication Date
CN1464453A CN1464453A (en) 2003-12-31
CN100351828C true CN100351828C (en) 2007-11-28

Family

ID=29742685

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021209715A Expired - Fee Related CN100351828C (en) 2002-06-06 2002-06-06 File access method based on a distributed file storage system

Country Status (1)

Country Link
CN (1) CN100351828C (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100371922C (en) * 2004-02-25 2008-02-27 英特维数位科技股份有限公司 Architecture of sharing application programs by operation system of possessing remote controlling characteristic and method
CN101754407B (en) * 2008-12-16 2013-02-13 联想(北京)有限公司 Method, server and system for processing service access request
EP2427849A4 (en) * 2009-05-08 2014-01-22 Hewlett Packard Development Co Access control of distributed computing resources system and method
CN102014150B (en) * 2010-09-29 2013-12-11 厦门市美亚柏科信息股份有限公司 Distributed small file storage system based on UDP (User Datagram Protocol) and data processing method thereof
US9049236B2 (en) 2010-10-22 2015-06-02 Hewlett-Packard Development Company, L. P. Distributed network instrumentation system
JP5372049B2 (en) 2011-02-04 2013-12-18 株式会社東芝 Memory system
US9501399B2 (en) 2011-02-04 2016-11-22 Kabushiki Kaisha Toshiba Memory system capable of controlling wireless communication function
JP5395824B2 (en) * 2011-02-16 2014-01-22 株式会社東芝 Memory system
CN102223382B (en) * 2011-07-18 2014-10-08 中国科学院深圳先进技术研究院 Cloud safety method and system with data distribution characteristics as password
CN103379149A (en) * 2012-04-19 2013-10-30 北京智慧风云科技有限公司 Cloud service system providing function of processing files according to received commands
CN103379148A (en) * 2012-04-19 2013-10-30 北京智慧风云科技有限公司 Cloud calculator and method for processing files through cloud calculator
CN104253832B (en) * 2013-06-26 2018-01-09 北京神州泰岳软件股份有限公司 Distal end file management method and system
CN104735099B (en) * 2013-12-18 2018-05-08 北京神州泰岳软件股份有限公司 A kind of distal end file reading and system
CN105468643B (en) * 2014-09-09 2019-05-03 博雅网络游戏开发(深圳)有限公司 The access method and system of distributed file system
CN104850401B (en) * 2015-05-07 2018-04-24 南京大学 A kind of method that Hadoop memory modules are substituted with PVFS
CN106210110B (en) * 2016-07-26 2019-12-13 北京明朝万达科技股份有限公司 software architecture method and system based on session mechanism of Windows operating system
CN106372532B (en) * 2016-09-05 2019-11-15 用友优普信息技术有限公司 Open application interface service platform calls control method and device
CN107958009A (en) * 2016-10-18 2018-04-24 百度在线网络技术(北京)有限公司 Company information acquisition methods, device and equipment
CN107844542A (en) * 2017-10-26 2018-03-27 山东浪潮通软信息科技有限公司 A kind of distributed document storage method and device
CN107844274B (en) * 2017-11-17 2021-03-16 北京联想超融合科技有限公司 Hardware resource management method, device and terminal based on super-fusion storage system
CN111459403B (en) * 2020-02-29 2023-03-28 新华三技术有限公司成都分公司 Storage hardware management method and device
CN117555858A (en) * 2023-12-14 2024-02-13 河北因朵科技有限公司 Digital archive safe storage and retrieval system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5884310A (en) * 1996-06-14 1999-03-16 Electronic Data Systems Corporation Distributed data integration method and system
US6201996B1 (en) * 1998-05-29 2001-03-13 Control Technology Corporationa Object-oriented programmable industrial controller with distributed interface architecture
EP1168768A1 (en) * 2000-06-30 2002-01-02 Schneider Automation Web function block in automation equipment
KR20020021237A (en) * 2000-09-14 2002-03-20 유찬영 Realtime Middleware apparatus providing an integrated software development frameworks of embedded system and its service method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5884310A (en) * 1996-06-14 1999-03-16 Electronic Data Systems Corporation Distributed data integration method and system
US6201996B1 (en) * 1998-05-29 2001-03-13 Control Technology Corporationa Object-oriented programmable industrial controller with distributed interface architecture
EP1168768A1 (en) * 2000-06-30 2002-01-02 Schneider Automation Web function block in automation equipment
KR20020021237A (en) * 2000-09-14 2002-03-20 유찬영 Realtime Middleware apparatus providing an integrated software development frameworks of embedded system and its service method

Also Published As

Publication number Publication date
CN1464453A (en) 2003-12-31

Similar Documents

Publication Publication Date Title
CN100351828C (en) File access method based on a distributed file storage system
Fielding et al. The Apache HTTP server project
CN1291318C (en) Provisioning aggregated services in a distributed computing environment
CN1145896C (en) Apparatus and method for processing servlets
CN1825826A (en) System and method based on internet access and shared remote apparatus
CN1901475A (en) Administration of access to computer resources on a network
US9003297B2 (en) Integrated enterprise software and social network system user interfaces utilizing cloud computing infrastructures and single secure portal access
US20030084104A1 (en) System and method for remote storage and retrieval of data
US20130061335A1 (en) Method, Apparatus, Computer Readable Media for a Storage Virtualization Middleware System
CN101068245A (en) Shared file issuing and downloading method and file sharing control system
CN1647058A (en) Collaboration server, collaboration system, session management method thereof, and program
EP0919912B1 (en) Multiserver workflow system
CN1292116A (en) Per-method designation of security requirements
CN1894667A (en) System and method for allocating server resources
CN1373871A (en) Extensible computing system
CN101043519A (en) Network storage system
CN1845119A (en) Storage and management of authentication information and method and system for proxy authentication
CN1259623C (en) Structure method of five-hierarchical system structure base on J2EE
CN114172700A (en) Unified authentication system and method based on cloud platform and domain control server
CN1744498A (en) Network server and data interacting method for network server and browser
CN101051900A (en) Method for correcting accession information by network
CN1581144A (en) Digital certificate local identification method and system
CN1187691C (en) New method for veriying citizenship
CN1176438C (en) Network manufacture cooperative supporting tool
Dockendorf et al. Early experiences with tight integration of Kubernetes in an HPC environment

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20071128

Termination date: 20130606