Method and system for displaying directory data in file management system
暂无分享,去创建一个
The invention relates to information technologies and provides a method and a system for displaying directory data in a file management system so as to solve the nonintuitive problem caused by huge tree structure data displayed by a file system in a Web application interface. The technical solution can be summarized into designing a display template of each number of subdirectories and storing the display template in a server database in accordance with the number of subdirectories at each level in a file directory structure, storing data of the file directory structure in a directory data cache table, sending a request that a user views file directories to a server by a client; searching a display plate with corresponding number of directories in the database in accordance with the request of the user, and acquiring three-level directory data, structuring directory display page data in accordance with the display template, and sending the data to the client by the server; and resolving the directory display page data and completing directory page display by the client. The method has the beneficial effect of higher system efficiency and is suitable for the file management system in Web application interface.