METHOD AND SYSTEM FOR RETRIEVING REAL-TIME INFORMATION
First Claim
1. A real-time information retrieval method, comprising:
- at a computer server having one or more processors and memory for storing programs to be executed by the one or more processors;
acquiring a retrieval keyword and a retrieval target time period in a real-time information retrieval request submitted by an end user from a terminal;
identifying, among a plurality of inverted real-time data blocks, an inverted real-time data block corresponding to the retrieval target time period by using a timestamp skip list in a data inverted index associated with the plurality of inverted real-time data blocks;
retrieving information from the inverted real-time data block corresponding to the retrieval target time period according to the retrieval keyword, to obtain a retrieval result of the real-time information retrieval request; and
returning the retrieval result of the real-time information retrieval request to the requesting terminal.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure provides a real-time information retrieval method including: acquiring a retrieval keyword and a retrieval target time period in a real-time information retrieval request; identifying, among multiple inverted real-time data blocks, an inverted real-time data block corresponding to the retrieval target time period by using a timestamp skip list in a data inverted index associated with the inverted real-time data blocks; retrieving information from the inverted real-time data block corresponding to the retrieval target time period according to the retrieval keyword, to obtain a retrieval result of the real-time information retrieval request; and returning the retrieval result of the real-time information retrieval request to the requesting terminal. The present disclosure further provides a real-time information retrieval apparatus performing the real-time information retrieval method. The present disclosure implements fast real-time data retrieval, and a data distribution trend graph can be acquired in real time with reduced costs.
7 Citations
15 Claims
-
1. A real-time information retrieval method, comprising:
at a computer server having one or more processors and memory for storing programs to be executed by the one or more processors; acquiring a retrieval keyword and a retrieval target time period in a real-time information retrieval request submitted by an end user from a terminal; identifying, among a plurality of inverted real-time data blocks, an inverted real-time data block corresponding to the retrieval target time period by using a timestamp skip list in a data inverted index associated with the plurality of inverted real-time data blocks; retrieving information from the inverted real-time data block corresponding to the retrieval target time period according to the retrieval keyword, to obtain a retrieval result of the real-time information retrieval request; and returning the retrieval result of the real-time information retrieval request to the requesting terminal. - View Dependent Claims (2, 3, 4, 5)
-
6. A real-time information retrieval apparatus, comprising:
-
a processor; memory; and a program module group stored in the memory and executed by the processor, and the program module group further comprising; a retrieval request acquisition module, configured to a retrieval keyword and a retrieval target time period in a real-time information retrieval request submitted by an end user from a terminal; an inverted index module, configured to identify, among a plurality of inverted real-time data blocks, an inverted real-time data block corresponding to the retrieval target time period by using a timestamp skip list in a data inverted index associated with the plurality of inverted real-time data blocks; and a retrieval module, configured to retrieve information from the inverted real-time data block corresponding to the retrieval target time period according to the retrieval keyword, to obtain a retrieval result of the real-time information retrieval request and return the retrieval result of the real-time information retrieval request to the requesting terminal. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A non-transitory computer readable storage medium storing a program module group for execution by one or more processors of a computer server having memory for storing programs to be executed by the one or more processors, the program module group further including:
-
a retrieval request acquisition module, configured to a retrieval keyword and a retrieval target time period in a real-time information retrieval request submitted by an end user from a terminal; an inverted index module, configured to identify, among a plurality of inverted real-time data blocks, an inverted real-time data block corresponding to the retrieval target time period by using a timestamp skip list in a data inverted index associated with the plurality of inverted real-time data blocks; and a retrieval module, configured to retrieve information from the inverted real-time data block corresponding to the retrieval target time period according to the retrieval keyword, to obtain a retrieval result of the real-time information retrieval request and return the retrieval result of the real-time information retrieval request to the requesting terminal. - View Dependent Claims (12, 13, 14, 15)
-
Specification