Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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.

Inactive Publication Date: 2015-06-10
中国移动通信集团海南有限公司
View PDF1 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the rapid development of the Internet, the client / server (C / S, Client / Server) structure is constantly evolving to the browser / server (B / S, Browser / Server) structure, typical directory application requirements and complex directory business logic It also needs to be introduced into the B / S. When the catalog application requirements and catalog business logic have a large amount of data, if frequent data switching between the database, web server and client, and client usage explanation The way of processing is to analyze the data of directory application requirements and directory business logic, which will lead to the inefficiency of directory tree generation on the B / S side; and when the client uses a bad access method to access the directory tree, the directory tree The display and selection are far from meeting the expectations of users

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Directory tree generation method, device and system
  • Directory tree generation method, device and system
  • Directory tree generation method, device and system

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a directory tree generation method, device and system. The directory tree generation method comprises the following steps: a web server receives a data set of a directory tree structure, generates an array object according to the data set, parses each record in the array object according to a key value, and generates directly revealable directory tree information according to parsed node information; a client receives the directly revealable directory tree information, generates and shows a directory tree according to the directory tree information, and responds to the interaction between a mouse event and the directory tree.

Description

technical field [0001] The invention relates to Internet directory tree technology, in particular to a method, device and system for generating a directory tree. Background technique [0002] With the rapid development of the Internet, the client / server (C / S, Client / Server) structure is constantly evolving to the browser / server (B / S, Browser / Server) structure, typical directory application requirements and complex directory business logic It also needs to be introduced into the B / S. When the catalog application requirements and catalog business logic have a large amount of data, if frequent data switching between the database, web server and client, and client usage explanation The way of processing is to analyze the data of directory application requirements and directory business logic, which will lead to the inefficiency of directory tree generation on the B / S side; and when the client uses a bad access method to access the directory tree, the directory tree The display ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
Inventor 王保强
Owner 中国移动通信集团海南有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products