Method and system for improving information search speed

A technology for searching results and storing information, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as low efficiency, achieve the effects of reducing loss, improving concurrent processing capabilities, and improving response speed

Active Publication Date: 2007-04-04
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 50 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a method and system for improving the speed of searching in

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 system for improving information search speed
  • Method and system for improving information search speed
  • Method and system for improving information search speed

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] In order to improve the efficiency of searching information, the present invention uses an array memory pool to cache search result information, and uses a hash table as an index. When you need to search, first check whether there is corresponding search result information in the cache through the hash table, if there is, read it directly, if not, search, and return the search result information after the search to the requester and cache the search result information . The storage relationship in the present invention is shown in FIG. 1 .

[0057]The array memory pool is an array composed of cache objects. The array memory pool includes multiple storage units (or elements) for storing information, and each array element in the array identifies a storage unit. Each storage unit also contains information for auxiliary management, including: creation time, cache information, front and back index information, etc. The memory pool allocates fixed memory according to the c...

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

A method for raising search speed of information includes generating Haxi value by key word in searching information, judging whether corresponding search result is buffer-stored or not by utilizing Haxi value to check Haxi table, obtaining array element index used for identifying storage unit in array internal memory cell from Haxi table and fetching search result information identified storage unit of said cell then feeding it back to request party if it is or otherwise using search engine to obtain search result through key word and setting up mapping relation of Haxi value to index value then storing said result information in identified storage unit of said cell and feeding it back to request party.

Description

technical field [0001] The invention relates to the technical field of computer and communication, in particular to a method and system for improving the speed of searching information. Background technique [0002] At present, most object cache architectures are implemented in Java. Open source projects mainly include: Jive, OSCache, Java Caching System, EHCache, ShiftOne, SwarmCache, TreeCache / JBossCache, and WhirlyCache. [0003] Jive is an open Java source project. The Jive cache information is: add the object to be cached to the hash map HashMap, and use two doubly linked lists to maintain the cache object and the life cycle of each cache object respectively. If a cache object is accessed, put it at the front of the linked list, then add the object to be cached to the linked list from time to time, delete the expired object, and so on. [0004] Since Java uses a virtual machine to dynamically allocate and reclaim memory, the execution efficiency is not high, and most ...

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/30G06F12/08
Inventor 林海荣
Owner TENCENT TECH (SHENZHEN) CO LTD
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