Block chain resource value control method and device based on shared conten

A block chain and content technology, applied in the computer field, can solve problems such as low accuracy, frequent insertion and deletion operations, and reduce update performance, so as to achieve the effect of improving performance, accuracy and processing efficiency

Active Publication Date: 2019-11-08
WUBA
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In order to ensure that no dirty data is read, transactions need to be added, which will reduce performance and low execution efficiency, and there are 2 counting fields. When an article is clicked, 2 transactions will be opened
2) Since the data for storing the total number of mining additions is stored in a table, if the number of users is large, frequent updates and queries to the table will definitely reduce the update perform

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
  • Block chain resource value control method and device based on shared conten
  • Block chain resource value control method and device based on shared conten
  • Block chain resource value control method and device based on shared conten

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0017] Example

[0018] Please refer to figure 1 , An embodiment of the method for controlling the value of blockchain resources based on shared content of the present invention includes:

[0019] Step S110: Obtain the event message that the link of the shared content is clicked.

[0020] Among them, the user can share the content by querying the list of the content to be shared. For example, in the article list, there are 10 articles in the table, and users can query and share articles.

[0021] In one embodiment, a key value key of a hash storage structure of summary information may be added to the user's content list to be shared, such as view_sum_count_date_userId, as the current day resource cumulative key value Ksum corresponding to the user ID.

[0022] The hash storage structure uses the cache server Redis for processing.

[0023] Among them, Ksum is view_sum_count_date_userId, and its name includes the date of the day, user ID, and two fields Fileds.

[0024] Further, the first ...

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 provides a block chain resource value control method and device based on shared content. The method comprises the steps of obtaining an event message that a link of shared content is clicked; searching a day resource accumulation key value corresponding to the user ID in a hash storage structure according to the user ID to which the shared content belongs; judging whether the current-day resource accumulation key value of the user ID exceeds a threshold value or not; if not, querying a temporary content click key value corresponding to the shared content in a hash storage structure; and based on the temporary content click key value, controlling the increase of an effective block chain resource value in the day resource accumulation key value of the user ID. According to thescheme of the invention, the accuracy of resource value increase can be effectively improved, the read-write performance is high, the execution time is shortened, the system processing efficiency is effectively improved, and the system control processing performance is integrally improved.

Description

technical field [0001] The present invention relates to the field of computers, and in particular to a control method and system for blockchain resource values ​​based on shared content Background technique [0002] When increasing the number of new users and increasing user activity in modern network application technology, such as articles shared by users, the same article may have a lot of hits at the same time. As long as the article shared on the same day is clicked on the same day, it will Add resource value to sharers, but repeated clicks on the same article cannot increase resource value twice, and articles that users can increase resource value cannot exceed a certain number of articles per day, such as no more than 10 times. Therefore, it is necessary to prevent repeated increases and the number of increases cannot exceed the specified number of times. [0003] The existing method is to add a piece of data to the database after the user shares the article. When th...

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/955G06F16/958
CPCG06F16/9558G06F16/986H04L9/50
Inventor 巩龙震
Owner WUBA
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