Directory tree generation method, device and system
A technology for generating devices and directory trees, which is applied in special data processing applications, instruments, electrical digital data processing, etc., and can solve problems such as low efficiency of directory trees, failure of directory tree display and selection to reach users, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0061] A method for generating a directory tree realized by the present invention, such as figure 1 As shown, the method mainly includes the following steps:
[0062] Step 101, the web server receives the data set;
[0063] Specifically, the web service end receives the data set of the directory structure sent by the database end; wherein, the data set is: the database end parses the SQL statement of the directory tree in the database end according to the request sent by the web server end , generating the data set from the parsed node information according to the agreed format and specification. Wherein, the parsed node information includes information such as node code, parent node code, node name, node level, leaf / directory node or not; the agreed format and specification are: node code in directory tree structure, parent node Information such as code, node name, node level, and whether it is a leaf / directory node are generated as keywords.
[0064] Step 102, the web ser...
Embodiment 2
[0083] Corresponding to Embodiment 1, the present invention also provides a method for generating a directory tree, such as figure 2 As shown, the method mainly includes the following steps:
[0084] Step 201, the client receives directory tree information that can be directly displayed;
[0085] Specifically, the client receives the directory tree information sent by the web server and can be directly displayed by the client.
[0086] Step 202, the client generates and presents a directory tree according to the directory tree information;
[0087] Specifically, the client renders the HTML tag information and JavaScript script information of the node information in the directory tree information through the embedded Cascading Style Sheets (CSS, Cascading Style Sheets) code or CSS file, beautifies the directory tree, and finally forms Directory tree pages that users can browse and select from. The CSS code is a style design language that separates web page presen...
Embodiment 3
[0115] Corresponding to Embodiments 1 and 2, the present invention also provides a method for generating a directory tree, such as image 3 As shown, the method mainly includes the following steps:
[0116] Step 301, the database end generates a data set of directory structure;
[0117] Specifically, the database end receives the SQL statement request of the web server end initiated by the client, and the request is an SQL statement used to obtain the entire directory tree structure; wherein, the database can be a SQL relational database or a non-relational database ( NoSQL, Not only SQL); Here, a request time is preset. When the database responds to the request within the preset request time, the request is successful; when the preset request time is exceeded, the web server needs to resend the request .
[0118] After the database end responds to the request, it authenticates the access to the database. Furthermore, an authentication time is preset. When the auth...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com