Feed data storage and query method and device

A query method and data query technology, applied in other database queries, other database retrievals, other database indexes, etc., can solve the problem of not supporting viewing "read feed" data, not supporting server-side "read feed" data query, etc. problem, to achieve the effect of strong function, high stability and easy to use

Active Publication Date: 2019-10-22
ALIBABA GRP HLDG LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] 3) Does not support viewing "read feed" data: This solution only supports querying the latest feed query, and does not support querying "read feed" data on the server side. Users can only view the feed data that was queried last time locally.

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
  • Feed data storage and query method and device
  • Feed data storage and query method and device
  • Feed data storage and query method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In the following description, many technical details are proposed in order to enable readers to better understand the application. However, those skilled in the art can understand that without these technical details and various changes and modifications based on the following implementation modes, the technical solution claimed in each claim of the present application can be realized.

[0040] In order to make the purpose, technical solution and advantages of the present invention clearer, the following will further describe the implementation of the present invention in detail in conjunction with the accompanying drawings.

[0041] The first embodiment of the present invention relates to a method for storing and querying feed data. figure 1 It is a flow diagram of the method for storing and querying the feed data.

[0042]Specifically, the method for storing and querying the feed data divides the user's feed data according to fixed constants, and the divided data is ...

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 method for storing and querying Feed data and a device thereof. The method for storing and querying Feed data includes the following steps: segmenting the Feed data of each user, and each segment includes: first data, The second data and the third data form a linked list structure between each shard; each shard is stored in the storage system; when the user issues a query request for feed data, the current shard is obtained from the query request. The unique identifier is used to query the storage system using the unique identifier of the current shard as a keyword; and the third data in the shard where the second data that successfully matches the keyword is stored on the storage system is pointed to by the shard. The first data and the second data are returned to the user. The present invention is based on storing the feed content data in slices in the system, thereby reducing the number of queries that hit the feed content data. It improves the system's efficient reading and writing capabilities for small data blocks, effectively reduces the server's response time, and improves efficiency.

Description

technical field [0001] The invention relates to the field of data storage and query, in particular to a method and device for storing and querying Feed data. Background technique [0002] Feed data refers to the source of news, also known as source material, feed, information feed, feed, abstract, source, news feed, network source, etc. It is a data format through which websites can disseminate the latest information to Users, the prerequisite for users to be able to subscribe to the website is that the website can provide continuously updated information. News sources are widely used by blogs and news sites, as these types of sites are frequently updated. Feed flow presentation is that the user accesses the server through the client, and the data seen is sorted based on the timeline, that is, the data returned by the server must be greater than the time of the last request. Similar to domestic Weibo, foreign Twitter and so on. [0003] With the popularity of domestic Wei...

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/901G06F16/903
CPCG06F16/972
Inventor 宁晓进周希良
Owner ALIBABA GRP HLDG 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