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

Method and device for storing indexes of dynamic messages

A dynamic message and indexing technology, which is applied in the field of computer networks, can solve the problems of large number of jump table operations and increased database access

Active Publication Date: 2014-12-31
BEIJING FEINNO COMM TECH
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0016] In view of this, the present invention provides a method and device for storing an index of dynamic messages to solve the problem in the prior art that the number of database visits increases exponentially due to the large number of table jump operations in the same date

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 device for storing indexes of dynamic messages
  • Method and device for storing indexes of dynamic messages
  • Method and device for storing indexes of dynamic messages

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] In the existing technical solutions, the timeline index table (Timeline) and the distribution index table (DispatchBuddy) do not consider the critical points of time divisions (such as the 1st, 9th, 17th, and 25th days in the background technology). Large users When there is a large amount of access, there will be a centralized skip table operation (there will be a table skip operation at this critical point when fetching all user dynamic message index records), which will lead to a problem of a sharp increase in the access pressure of the index database. For solving this problem, core idea of ​​the present invention is:

[0059] M groups of time axis index tables are set, each group contains N time axis index tables, and user IDs are divided into M groups, corresponding to the M groups of time axis index tables one by one. When saving the index of the dynamic message issued by the user, Make the index of the dynamic news of the same user according to the published time...

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 and a device for storing indexes of dynamic messages. The method comprises the steps of setting an index database which is used for storing the indexes of the dynamic messages, wherein the index database comprises M groups of time shaft index tables, and each group of time shaft index tables comprise N time shaft index tables; dividing user IDs (Identifications) into M groups; enabling the M groups of user IDs to be in one-to-one correspondence to the M groups of time shaft index tables, wherein when the indexes of the dynamic messages which are issued by users are stored, the indexes of the dynamic messages of the same user can be stored in the N time shaft index tables in one corresponding group in a rotating way according to issued time and a principle that the indexes are rotated once every fixed time interval, at least rotating time points of a part of the users are mutually staggered, thus at least table skipping time points of the time shaft index tables of a part of the users are staggered, table skipping is carried out in different time points, and thus the problems in a specific time point that the database visiting volume is increased in a doubling way due to large table skipping operation quantity, and thus database crashing can be further caused are relieved; index table distribution can be carried out in the same way, and the same beneficial effect can also be obtained.

Description

technical field [0001] The invention relates to the technical field of computer networks, in particular to a method and device for storing an index of dynamic messages. Background technique [0002] Social Networking Services (SNS, Social Networking Services) specifically refers to Internet application services designed to help people build social networks. For example, various social networking sites that are popular at present, as well as interpersonal relationship network services provided by other portal websites, such as Weibo, contact relationship services provided by instant messaging systems, etc. [0003] In order to provide this kind of human relationship service, it is necessary to save dynamic messages (generally called feeds) published by SNS users in the background, so that users or their contacts can query dynamic messages from each other. [0004] As SNS is loved by a large number of users, its background data has also increased exponentially, and data conge...

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/30
CPCG06F16/2272G06F16/2282
Inventor 赵炳坤
Owner BEIJING FEINNO COMM TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More