Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for processing database file data index

A file data and data file technology, applied in the database field, can solve the problems of cumbersome and time-consuming data, and achieve the effect of solving cumbersome and time-consuming tasks and reducing the work of restoring the database and querying

Active Publication Date: 2018-04-10
XIAMEN MEIYA PICO INFORMATION
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The main purpose of the present invention is to provide a database file data index processing method and device to solve the cumbersome and time-consuming problem in the prior art when manually searching all tables of the database to retrieve the required specific data

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 processing database file data index
  • Method and device for processing database file data index
  • Method and device for processing database file data index

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0031] figure 1 It is a flow chart of the processing method of database file data index according to the first embodiment of the present invention, such as figure 1 As shown, the method includes the following steps S1 to S7:

[0032] Step S1: obtain mssql data file;

[0033] Step S2: carry out database restoration according to the mssql data file obtained, obtain the restored database;

[0034] Step S3: establish database connection to database through database connection middleware;

[0035] Step S4: obtain the data table of database;

[0036] Step S5: convert each row of data in the data table into a full-text document record respectively;

[0037] Step S6: generate a document collection with the full-text document record corresponding to the data table;

[0038] Step S7: Submit the document set to the full-text index server through the full-text index interface for data indexing.

[0039] Adopt the processing method of database file data index that this embodiment pro...

no. 2 example

[0041] This embodiment provides a processing method for data indexing of database files. In this method, file header information is automatically detected, files are automatically mounted, full-text indexes are automatically maintained, and the effect of automatic processing and maintenance is achieved.

[0042] The method first uses the header information of the file to identify the processed file to detect whether it is valid mdf data or bak file. Secondly, choose different recovery methods to restore the database according to the detection results, especially for bak files, choose a better processing method to restore complete files and differential files. Finally, extract all table data in the restored database and record them in the full-text index to realize the automatic indexing process of the mssql database.

[0043] The method of the present invention mainly comprises three stages: the stage of automatically identifying files; the stage of automatically restoring the...

no. 3 example

[0076] Figure 5 is a block diagram of a processing device for database file data indexing according to the third embodiment of the present invention, such as Figure 5 As shown, the device includes an automatic file identification module 10 , an automatic database recovery module 30 and a data extraction to full-text indexing module 50 .

[0077]Wherein, the automatic file identification module 10 is used for acquiring mssql data files. The automatic database recovery module 30 is used to recover the database according to the obtained mssql data file, and obtain the recovered database. Extracting data to the full-text index module 50 is used to establish database connection to the database through the database connection middleware, obtain each data table of the database, convert each row of data in the data table into a full-text document record respectively, and convert multiple corresponding data tables into a full-text document record. The full-text document record gene...

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 a device for processing database file data index. The method includes: obtaining MSSQL data files; recovering databases according to the MSSQL data files to obtain databases; connecting the databases using database connection middleware to establish database connections; obtaining each data table of the databases; converting each row of data in the data table into a full text DOCUMENT record, respectively; generating a DOCUMENT set based on a plurality of DOCUMENT records corresponding to the data table; and submitting the DOCUMENT set to a full text index serve through a full text indexing interface for data index. The method can automatically retrieve all the data tables of the databases to find out the feature data in demand.

Description

technical field [0001] The invention relates to the technical field of databases, in particular to a method and device for processing database file data indexes. Background technique [0002] mssql is Microsoft's SQLServer database server. It is a database platform that provides a complete solution from the server to the terminal. The database server part is a database management system for establishing, using and maintaining the database. Starting from Sqlserver7.0 developed by Microsoft itself, the version has gone through Sqlserver2000, Sqlserver2005, Sqlserver2008, and now SqlServer 2014. Several initial versions were used in the management of information databases of small and medium-sized enterprises and the development of portal systems. With the upgrading of versions and the expansion of functions, its application scope has expanded, and it has already touched the database management of large and multinational enterprises. Especially for products developed with Micr...

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/30
CPCG06F16/2282
Inventor 郑少明邱锋兴
Owner XIAMEN MEIYA PICO INFORMATION