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

Information processing method and equipment

An information processing device and device technology, applied in the field of information processing, can solve problems such as large memory resource occupation and search engine crashes

Inactive Publication Date: 2017-08-22
NUBIA TECHNOLOGY CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, different AnalyzingInfixSuggester objects corresponding to different IndexWriter locks will cause mutual exclusion when they want to access the same index. If the mutual exclusion is serious, the search engine will crash
In addition, creating too many AnalyzingInfixSuggester objects will lead to a large memory resource occupation. If the IndexWriter lock corresponding to the AnalyzingInfixSuggester object fails to release the memory in time, the memory resource occupation will also be too large. In severe cases, the search engine will crash

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
  • Information processing method and equipment
  • Information processing method and equipment
  • Information processing method and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] An embodiment of the present invention provides an information processing method, which is applied to an information processing device with a search engine, and the information processing device may specifically be a server or a server cluster where the search engine is located. figure 1 It is a schematic flow diagram of the information processing method in Embodiment 1 of the present invention; figure 1 As shown, the method includes:

[0036] Step 301: When initializing at least one first-type object, initialize an index access object; the at least one first-type object corresponds to the index access object.

[0037] Step 302: The index access object schedules the indexing task of the at least one first-type object according to a preset mechanism.

[0038] The information processing method of this embodiment is applied to a search engine, specifically a search engine with an IndexWriter lock. Wherein, the first type of object can specifically be an AnalyzingInfixSug...

Embodiment 2

[0043] The embodiment of the present invention also provides an information processing method, which is applied to an information processing device with a search engine, and the information processing device may specifically be a server or a server cluster where the search engine is located. image 3 It is a schematic flow chart of the information processing method in Embodiment 2 of the present invention; as image 3 As shown, the method includes:

[0044] Step 401: When initializing at least one first-type object, initialize an index access object; the at least one first-type object corresponds to the index access object.

[0045] Step 402: The index access object schedules the indexing task of the at least one first-type object according to a preset mutual exclusion mechanism of a specific operating system.

[0046] The information processing method of this embodiment is applied to a search engine, specifically a search engine with an IndexWriter lock. Wherein, the first ...

Embodiment 3

[0051] The embodiment of the present invention also provides an information processing method, which is applied to an information processing device with a search engine, and the information processing device may specifically be a server or a server cluster where the search engine is located. Figure 4 It is a schematic flow chart of the information processing method in Embodiment 3 of the present invention; as Figure 4 As shown, the method includes:

[0052] Step 501: When initializing at least one first-type object, initialize an index access object; the at least one first-type object corresponds to the index access object.

[0053] Step 502: The index access object schedules the indexing task of the at least one first-type object according to a preset mutual exclusion mechanism of a specific operating system.

[0054] Step 503: Release the index access object after all the indexing tasks of the at least one object of the first type are executed.

[0055] The information p...

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 embodiment of the invention discloses an information processing method and equipment. A terminal comprises an initialization module, an index access module and at least one first type module, wherein the initialization module is used for initializing the index access module when the first type modules are initialized; the first type modules correspond to the index access module; and the index access module is used for scheduling index tasks of the first type modules according to a preset mechanism.

Description

technical field [0001] The present invention relates to information processing technology, in particular to an information processing method and equipment. Background technique [0002] At present, the search engine adopts the index access (IndexWriter) lock mechanism. When an AnalyzingInfixSuggester object is created during the search process, a corresponding IndexWriter lock will be created. Different AnalyzingInfixSuggester objects correspond to an IndexWriter lock respectively, and all IndexWriter Each lock corresponds to an index storage area. The storage resource corresponding to the same index in the index storage area can only be used by one process at a time. In this way, if different AnalyzingInfixSuggester objects corresponding to different IndexWriter locks want to access the same index, mutual exclusion will occur. If the mutual exclusion is serious, the search engine will crash. In addition, creating too many AnalyzingInfixSuggester objects will lead to exces...

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/30G06F9/52
Inventor 张琪
Owner NUBIA TECHNOLOGY CO LTD