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

A method and device for generating an index file

A technology of indexing files and configuration files, which is applied in the field of communication, can solve problems such as time-consuming, low efficiency, and high professional level requirements for operators, and achieve the effect of simplifying the establishment process and improving efficiency

Active Publication Date: 2020-04-10
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] During the research and practice of the existing technology, the inventors of the present invention found that the index generation system of the existing solution can only target one type of business, so in scenarios with many types of business, it is necessary to build multiple sets of indexes Generation system, and the establishment of such a system requires a high professional level of the operator, and the entire establishment process is time-consuming and inefficient

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
  • A method and device for generating an index file
  • A method and device for generating an index file
  • A method and device for generating an index file

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0036] see figure 1 , figure 1 is a schematic flowchart of the method for generating an index file provided in the first embodiment of the present invention. The method steps include:

[0037] In step S101, service data is acquired, and the service data includes data content and service type.

[0038] Wherein, the index file generation method is based on the system structure of BS (browser browser, server server), the user uses the system through the browser, and the system supports the generation of data of various business types in a unified data format under the same platform index data.

[0039] In this embodiment, the service type may include: video, music, picture, etc. Correspondingly, the service data may include video data, music data, picture data, etc., which is not specifically limited here.

[0040] It can be understood that the data format of the service data in this embodiment can be divided into two parts, one of which carries information indicating the ser...

no. 2 example

[0051] Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of a method for generating an index file according to a second embodiment of the present invention. Wherein, the index file generating method provided by the present invention is based on the system structure of BS (browser, server), and the user uses the system through a browser, and the system supports data of various business types to generate a unified data format under the same platform. index data.

[0052] In the embodiment of the present invention, the analysis is mainly aimed at the generation of the configuration file, that is, the attribute value configuration of the field, and the method steps include:

[0053] In step S201, configuration files corresponding to different service types are respectively generated.

[0054] It can be understood that each service type corresponds to a configuration file, wherein the service type may include: video, music, pictures, etc., and correspondingly, the service d...

no. 3 example

[0101] see Figure 3a and Figure 3b , is a schematic flowchart of a method for generating an index file according to the third embodiment of the present invention. Wherein, the index file generating method provided by the present invention is based on the system structure of BS (browser, server), and the user uses the system through a browser, and the system supports data of various business types to generate a unified data format under the same platform. index data.

[0102] In the embodiment of the present invention, the process of preprocessing data content is mainly analyzed, and the method steps include:

[0103] In step S301, business data is acquired.

[0104] Wherein, the business data includes data content and business type; the business type may include: video, music, pictures, etc. Correspondingly, the business data may include video data, music data, and picture data, etc., which will not be described here Specific limits.

[0105] It can be understood that a...

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 an index file generation method and device. The index file generation method includes: acquiring service data, wherein the service data includes data content and a service type; acquiring a corresponding configuration file according to the service type, wherein the configuration file includes a field pretreatment instruction and a segmentation treatment instruction; performing pretreatment on the data content according to the field pretreatment instruction to generate the pretreated data content; and performing segmentation treatment on the pretreated data content according to the segmentation treatment instruction, and performing ranking treatment on the data content to generate an index file having an unified data format after segmentation treatment. The index file generation method and device can uniformly establish index files for various service types of data, can simplify an establishment process, and can improve the efficiency.

Description

technical field [0001] The invention belongs to the technical field of communication, and in particular relates to a method and a device for generating an index file. Background technique [0002] With the rapid development of computer and Internet technology, the amount of information stored in network equipment is also increasing. In order to facilitate the query of this information, it is often necessary to assist users to access this information by creating index files and other methods. . [0003] In the prior art, it is generally necessary to generate a corresponding sequential index file according to the business type of the data to be retrieved, and then perform an inversion process on the sequential index file to obtain an inverted index file, so that the user can obtain the inverted index file according to the inverted index file. The index file retrieves the data of this business type. For data of different business types, factors such as keywords involved are d...

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): G06F16/41
Inventor 朱锴
Owner TENCENT TECH (SHENZHEN) CO LTD