Like data storage method and device

A data storage and data technology, applied in the Internet field, can solve the problems of huge like data, memory consumption, frequent reading and writing, etc.

Inactive Publication Date: 2019-07-16
北京龙之心科技有限公司
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For larger online social platforms, the like data is very large and read and write frequently
Using pure memory storage to store a large amount of like data w...

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with specific embodiments of the present invention and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0030] In the existing like system, when the pure memory storage method is used to store the user's like data, if the amount of like data is huge, it will consume a lot of system memory. When using a pure disk-type storage method to store like data, if the read operation of the stored data is highly concurrent, the availability and stability of the disk-type stora...

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 embodiment of the invention provides a like data storage method and device, and the method comprises the steps: responding to a like data writing operation, determining a like data type corresponding to like data requested to be written, wherein the like data type comprises a cold data type or a hot data type; determining a database corresponding to the like data requested to be written according to the corresponding relation between the database type and the like data type, wherein the database type comprises a memory type or a disk type; and storing the like data requested to be writteninto a corresponding database. According to the technical scheme provided by the embodiment of the invention, the memory consumption of the like data can be reduced, and the stability of the like database in a read-write high-concurrency state is improved.

Description

technical field [0001] The present application relates to the field of Internet technology, in particular to a method and device for storing like data. Background technique [0002] In order to increase user interaction, many social platforms provide users with the function of voting / like, or disapprove / dislike. For example, on a live webcast platform, in order to enable users to interact positively with the host and enhance the user's sense of participation, when watching a live broadcast, users can trigger the like system provided by the live broadcast platform to give a thumbs up to express their appreciation for the host or live content. favorite etc. Like data is stored in the like database, which can be used for subsequent analysis of user preferences. [0003] In the prior art, the like database is usually a pure memory database or a pure hard disk database. For larger online social platforms, the like data is very large and read and written frequently. Using pure...

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): G06F16/21G06F16/23
CPCG06F16/214G06F16/2308
Inventor 沈冠璞张菊元
Owner 北京龙之心科技有限公司
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