Dynamic tree structured directory retrieval method in BS (browser/server) structure software

A technology of directory retrieval and dynamic tree, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as multi-tasking

Inactive Publication Date: 2012-05-09
LINKAGE SYST INTEGRATION
View PDF4 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The biggest difference between JSON and XML is that XML is a complete markup language, while JSON is not, which makes XML require more effort in program interpretation

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
  • Dynamic tree structured directory retrieval method in BS (browser/server) structure software
  • Dynamic tree structured directory retrieval method in BS (browser/server) structure software

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In the JSON-based dynamic tree structure fast directory retrieval method in the BS structure software of the present invention, the core problem is how to construct a tree efficiently according to the retrieval conditions, and the algorithm adopted by the present invention is as follows:

[0035] 1) Take out the tree node information.

[0036] Use the traditional SQL statement query method to interact with the database to obtain all tree-shaped directory information;

[0037] 2) Data cache.

[0038] Due to the need to quickly construct a tree according to the search conditions, the tree node information must not be loaded by frequent access to the database. One is to reduce the pressure on the database, and the other is to save time for interacting with the database. Therefore, the java heap memory technology is used to cache the data for the data source:

[0039] The Java virtual machine has a heap (Heap), which is the runtime data area, and the memory of all class i...

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 dynamic tree structured directory retrieval method in BS (browser / server) structure software. The method comprises the following steps: 1) taking out the information of a tree node; 2) carrying out data caching; 3) judging whether the node contains retrieval items; 4) carrying out structure transformation on expected data; and 5) carrying out data interaction. In the step 4), the expected data is used for synchronously generating a data format required by a tree directory structure according to JSON (java-script serialized object notation) specification; and in the step 5), the background processing contents of a WEB page timely return the expected JSON-format data to a foreground WEB page by a preset Ajax (Asynchronous JavaScript and XML) callback function, and the JSON-format data is analyzed by using a JavaScript built-in method so as to generate a tree structured expression of the expected data.

Description

technical field [0001] This method adopts the data exchange format of JSON to realize the method of dynamically generating a tree-type directory structure for fast retrieval. technical background [0002] Among the BS (Browser / Server) architecture software, Ajax is undoubtedly the most popular Web technology. This outstanding method can transform the clumsy Web interface into an interactive application program. It uses client-side scripts to exchange data with the Web server, so Web pages can be dynamically updated without resorting to a full page refresh that interrupts interaction. Using Ajax, you can create richer, more dynamic web application user interfaces that approach even native desktop applications in immediacy and availability. [0003] When sending and receiving information in asynchronous interactive applications, you can choose to use plain text and XML as data formats. The emergence of JSON gives us a better choice. [0004] JSON (JavaScript Object Notation...

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 LINKAGE SYST INTEGRATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products