Technology for supporting multi-process embedded tree-based databases

A database and embedded technology, applied in the direction of multi-programming devices, electrical digital data processing, special data processing applications, etc., can solve the problem of low query performance, and achieve the effect of safe and reliable functions, easy implementation, and guaranteed safety and reliability

Active Publication Date: 2011-04-13
山东中创软件商用中间件股份有限公司
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] This method uses a relational database to store the full name and watermark of the file in an existing relational database; the advantage of this method is that it is simple to implement and the development cycle is short, but the disadvantage is that the query performance is low (the performance of the query is also a limitation of Web an important factor for the server)

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
  • Technology for supporting multi-process embedded tree-based databases
  • Technology for supporting multi-process embedded tree-based databases

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] An embedded tree database technology that supports multiple processes, including program initial flow and watermark operation flow.

[0048] The initial process is shown in Figure 1, starting from step 101 to initialize the read-write lock. In order to support multi-process operations, semaphores are used to implement mutual exclusion between processes.

[0049] Then enter step 102 to load the data in the database file and the cache file to the shared memory. The data is stored in serialized characters on the disk. This step is to parse the data on the disk into the corresponding tree structure in the memory.

[0050] Loading data in database files and cache files to shared memory is implemented in this way: it includes shared memory, content cache and binary tree serialized storage, among which,

[0051] The shared content is: on the non-Windows platform, realize the creation and distribution of the shared memory through the functions of shmget and shmat; on the Window...

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 relates to a technology supporting multi-process embedded tree-based databases, which comprises preliminary program flow and watermark operation flow, adopts a memory sharing mechanism, binary tree traversal and serialized storage technology and the like, has high searching efficiency and safe and reliable functions, and is smart and flexible.

Description

technical field [0001] The invention relates to an embedded tree-type database technology supporting multiple processes, that is, a database technology for storing watermark information in the middleware of an InforGuard webpage anti-tampering system. Background technique [0002] In network applications based on WEB servers or application servers (hereinafter referred to as servers), it is necessary to protect resource files, script files, page files, and service files referenced by page files deployed on the server, that is, to ensure that the server provides Accessing the user's files is correct; for this purpose, the summary information (that is, the watermark information) of each file needs to be saved in the database. [0003] Currently, the approaches used in this area are: [0004] 1. The corresponding storage method of the file [0005] This method is to generate a corresponding file in the watermark directory according to the file path and name, which is used to ...

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 Patents(China)
IPC IPC(8): G06F17/30G06F9/52
Inventor 王进石磊刘毅枫黄三伟刘宗福刘春
Owner 山东中创软件商用中间件股份有限公司
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