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

Message searching method and system, storage medium and electronic equipment

A storage medium and message technology, applied in the field of data processing, can solve the problems of high cost and high power consumption, and achieve the effect of saving cost and reducing power consumption

Active Publication Date: 2022-02-08
无锡沐创集成电路设计有限公司
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] In view of the above problems, this application provides a message search method, system, storage medium and electronic equipment, which solves the problem of using TCAM for message search in related technologies Technical problems of high cost and high power consumption

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
  • Message searching method and system, storage medium and electronic equipment
  • Message searching method and system, storage medium and electronic equipment
  • Message searching method and system, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] figure 1 A schematic flowchart of a message search method provided in the embodiment of the present application, such as figure 1 As shown, this method includes:

[0045] S101. Receive a search instruction from a user, where the search instruction includes keywords;

[0046] S102. Search in the first memory according to the keyword; the first memory stores frequently accessed data items in the second memory;

[0047] S103. If the data item corresponding to the keyword is found in the first memory, feed back the data in the data item corresponding to the keyword to the user;

[0048] S104. If the data item corresponding to the keyword cannot be found in the first memory, search in the second memory according to the keyword;

[0049] S105. If the data item corresponding to the keyword cannot be found in the second memory, feed back a prompt message indicating that the search failed to the user;

[0050] S106. If the data item corresponding to the keyword is found in t...

Embodiment 2

[0102] Based on the message search method disclosed in the above-mentioned embodiments of the present invention, Figure 4 Specifically disclosed is a message search system applying the message search method.

[0103] Such as Figure 4As shown, the embodiment of the present invention discloses a message search system, the system includes:

[0104] The receiving unit 401 is configured to receive a search instruction from a user, and the search instruction includes keywords;

[0105] The search unit 402 searches in the first memory according to the keyword; the first memory stores data items that are frequently accessed in the second memory; If the data item corresponding to the keyword is used, the data in the data item corresponding to the keyword is fed back to the user; if the data item corresponding to the keyword cannot be found in the first memory , then search in the second memory according to the keyword; if the data item corresponding to the keyword cannot be found ...

Embodiment 3

[0114] This embodiment also provides a computer-readable storage medium, such as flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), only Read memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, server, App application store, etc., on which computer programs are stored, When the computer program is executed by the processor, the method steps as in Embodiment 1 can be implemented, and this embodiment will not be repeated here.

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 relates to the technical field of data processing, in particular to a message searching method and system, a storage medium and electronic equipment, and the method comprises the steps: receiving a searching instruction of a user; searching in a first memory according to the keyword, wherein the data items frequently accessed in the second memory are stored in the first memory; if the data item corresponding to the keyword is found in the first memory, feeding back data in the data item corresponding to the keyword to the user; otherwise, searching in the second memory according to the keyword; if the data item corresponding to the keyword is found in the second memory, feeding back data in the data item corresponding to the keyword to the user; otherwise, feeding back prompt information representing search failure to the user. According to the message searching method provided by the invention, on the basis of completely replacing the TCAM function, a mode of preferentially searching the common data item memory is adopted, so that the power consumption is reduced, and the cost is saved.

Description

technical field [0001] The present application relates to the technical field of data processing, and in particular to a message search method, system, storage medium and electronic equipment. Background technique [0002] TCAM (Ternary Content Addressable Memory) is a ternary content addressable memory, especially suitable for high-speed IP packet search. In terms of message lookup, it has the following advantages: [0003] The entries in the table are accessed in parallel as much as possible, and there is no or less need to traverse when searching; [0004] The structure of TCAM has been optimized to support more abstract operations, usually based on binary keyword matching, and the query is quite fast; [0005] TCAM supports both precise search and fuzzy search. [0006] However, TCAM also has the following disadvantages: [0007] High cost: Compared with general random access memory RAM, TCAM per bit is more expensive, and the capacity of the memory chip is relativel...

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): G06F12/121G06F12/02
CPCG06F12/0238G06F12/121Y02D10/00
Inventor 朱敏李桧黄静波张沛
Owner 无锡沐创集成电路设计有限公司