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

A search method, device, electronic device and storage medium

A search method and search request technology, which is applied in the search field, can solve the problems of the cache mechanism failing to hit the cache, low user search experience, long search time, etc., and achieve the effect of improving the cache hit rate, reducing access pressure, and improving the hit rate

Active Publication Date: 2020-04-14
SHENZHEN INTELLIFUSION TECHNOLOGIES CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In addition, in most enterprise-level application scenarios today, the query conditions are changeable. For example, only the data in the last 30 days and 31 days is searched. The common enterprise-level search application servers Solr and Elasticsearch caching mechanisms cannot hit the cache designed by themselves, that is to say It takes time and server resources to re-query the data within the search range if the time changes slightly during each retrieval. Therefore, the current search application server is not suitable for application scenarios with changing query conditions. The search time is too long and the user's search experience lower

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 search method, device, electronic device and storage medium
  • A search method, device, electronic device and storage medium
  • A search method, device, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] figure 1 It is a flow chart of the search method provided by Embodiment 1 of the present invention. According to different needs, figure 1 The order of execution in the flowcharts shown may be changed and certain steps may be omitted.

[0052] 101: Receive a user's search request.

[0053] In this preferred embodiment, the user can input keywords through the browser installed in the server, and request the server to search for results corresponding to the keywords. The terminal sends the keyword to a server, and the server receives a search request including the keyword. The terminal may include, but is not limited to, any desktop or all-in-one computer equipped with a browser, such as a desktop computer, a notebook, a palmtop computer, a smart phone, and a tablet computer. The server may include: a Web server, an Internet server, a cache server, and the like.

[0054] In this preferred embodiment, the search request includes: search keywords, the start time of the...

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 searching method. The method comprises the steps of: receiving a search request of a user; slicing the search request according to a preset slicing rule to obtain a pluralityof sliced query requests; judging whether a cache result corresponding to the sliced query requests exists in a cache, wherein the cache result in the cache is sliced in advance according to the preset slicing rule to obtain a plurality of sliced cache results; when determining that the cache result corresponding to the sliced query requests exists in the cache, obtaining the cache result corresponding to the sliced query requests from the cache and returning to the user; or when determining that the cache result corresponding to the sliced query requests does not exist in the cache, searching search results corresponding to the search request from a search server and returning to the user. The invention also provides a searching device, the server and a storage medium. By means of the method disclosed by the invention, the hit rate of the cache result can be increased and the search response time is reduced.

Description

technical field [0001] The present invention relates to the field of search technology, in particular to a search method, device, electronic equipment and storage medium. Background technique [0002] With the development of Internet technology, it is very common for users to search for information on the Internet. Usually, the website service system receives a search visit from a user, and returns corresponding search results to the user according to the search visit. Cache is an important component in a distributed system. It mainly solves the performance problems of hot data access in high concurrency and big data scenarios, and provides high-performance fast access to data. At present, the more common enterprise-level search application servers Solr, Elasticsearch, etc., all have various levels of caching, but the existing caching mechanism is that the query conditions must be exactly the same, that is, the same byte by byte can be considered the same , to get the cach...

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/9535G06F16/957
CPCG06F16/9535G06F16/9574
Inventor 彭程田第鸿石小华彭齐荣
Owner SHENZHEN INTELLIFUSION TECHNOLOGIES CO LTD