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

Method and device for establishing directory structure of database

A directory structure and database technology, applied in electrical digital data processing, special data processing applications, instruments, etc., can solve the problem of database storage information redundancy, and achieve the effect of saving storage space, saving storage space, and reducing space

Inactive Publication Date: 2016-11-09
WUXI TVMINING MEDIA SCI & TECH
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Embodiments of the present invention provide a method and device for storing database directory structures, which are used to solve the technical problem of redundant information stored in existing databases

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
  • Method and device for establishing directory structure of database
  • Method and device for establishing directory structure of database
  • Method and device for establishing directory structure of database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0078] In the first embodiment, all directory structures are composed into a directory file and the directory file is uploaded, see Figure 4 As shown, the method specifically includes steps 401-408:

[0079] Step 401: After receiving an instruction to upload a target folder, traverse the target folder to determine all file data in the target folder.

[0080] Wherein, the file data is a file directory or file in the target folder.

[0081] Step 402: Determine the directory information of the file data.

[0082] Wherein, the directory information includes one or more of the name of the file data, the parent node of the file data, and the type of the file data.

[0083] Step 403: Generate a directory structure according to the directory information, where the directory structure is structured data for marking the storage location of the file data.

[0084] Step 404: Repeat the step of establishing a relevant directory structure according to the file data until all file data h...

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 method and device for establishing a directory structure of a database. The method comprises the following steps of: after a command of uploading a target folder is received, traversing the target folder to determine all the file data in the target folder, wherein the file data indicates file directories or files in the target folder; establishing a related directory structure according to the file data, wherein the directory structure is used for marking storage positions of the file data; and uploading the directory structure and the files in the target folder. According to the method, the target folder can be expressed through the directory structure and all the files in the target folder, and the aim of storing the target folder can be realized, so that the storage space of the database is saved.

Description

technical field [0001] The invention relates to the technical field of data storage, in particular to a method and device for establishing a database directory structure. Background technique [0002] With the development of computer science and multimedia, in the development of products with database systems such as computer networks, mobile computers, mobile phones, and satellite navigators, the database must not only deal with simple structured data, but also often deal with a large number of complex non- Structured data, such as graphics, sound files, or large text files, etc., these complex unstructured data are often accessed in the database in units of files. In addition to the database storage of a single file, in the application, a collection of multiple files organized by the file system according to a certain directory structure (called a file set) needs to be stored in the database as a whole. [0003] In many application systems in various fields at present, it...

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
IPC IPC(8): G06F17/30
CPCG06F16/90328
Inventor 徐晓东
Owner WUXI TVMINING MEDIA SCI & TECH
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