Method, device and system for controlling network resources in microblog

A technology of network resources and control devices, which is applied in the field of network resource control in microblogs, can solve the problems of reduced response speed and inflexible processing methods, and achieves the effect of flexible control and allocation

Active Publication Date: 2014-03-05
SHENZHEN YUNZHIJIA NETWORK CO LTD
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in fact, as the number of users increases, the number of users will far exceed 800,000. When users exceed this limit, resource competition will occur. If there is no competition for resources, their requests will inevitably be reduced. response speed
[0004] During the research an

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, device and system for controlling network resources in microblog
  • Method, device and system for controlling network resources in microblog
  • Method, device and system for controlling network resources in microblog

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] This embodiment will be described from the perspective of a device for controlling network resources in a microblog. The device for controlling network resources in a microblog may specifically be integrated in an application server, such as a server of a microblog, and the like.

[0031] A method for controlling network resources in microblogs, comprising: obtaining the cache number threshold of each function point of each user's timeline in a first storage module, wherein the first storage module is used to provide users with a fast timeline Read information; calculate the actual cache number of each function point of each user's timeline in the first storage module; when determining that the actual cache number does not exceed the cache number threshold, write the information of the corresponding user's timeline into the first storage module A storage module; when it is determined that the actual cache number exceeds the cache number threshold, rejecting the correspon...

Embodiment 2

[0061] According to the method described in Embodiment 1, an example will be given below for further detailed description.

[0062] In this embodiment, the control of the network resources in the microblog is specifically integrated in the application server, and the first storage module is specifically redis, and the second storage module is specifically mongodb for example.

[0063] Such as Figure 2a As shown, the application server includes a timeline API (timeline Application Programming Interface), a user service module (User Service), a business service module (Business Service), a timeline service module (timeline Service), a timeline cache memory (timeline Cache), timeline database module (timelineDB), redis, mongodb and cache monitoring service module (monitor Cache Service); in addition, the application server can also include a timeline setting service module (timeline Setting Service), wherein , for the convenience of description, Figure 2a The timeline setting...

Embodiment 3

[0109] In order to better implement the above method, an embodiment of the present invention also provides a device for controlling network resources in a microblog, such as image 3 As shown, the device for controlling network resources in the microblog includes an acquisition unit 301 , a calculation unit 302 , a writing unit 303 and a rejection unit 304 .

[0110] The obtaining unit 301 is configured to obtain the cache number threshold of each function point of each user's timeline in the first storage module, and the first storage module is used to provide users with fast timeline information reading.

[0111] Wherein, the first storage module is used to provide users with fast reading of timeline information, that is, the first storage module is mainly used to cache user timeline information.

[0112] For example, the first storage module can be a variety of storage systems, such as redis, which is a key-value storage system that supports relatively many types of value s...

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 discloses a method, device and system for controlling network resources in a microblog. The method comprises the steps that cache number threshold values in a first storage module of function points of user time lines are obtained, wherein the first storage module is used for providing information of the time lines for a user to fast read, the practical cache number of the function points of the user time lines in the first storage module is calculated, and if the practical cache number does not exceed the cache number threshold values, then the information of the corresponding user time lines can be written into the first storage module. Otherwise, if the practical cache number exceeds the cache number threshold values, the device refuses the situation that the information of the user time lines is written into the first storage module. By means of the technical scheme, the network resources can be flexibly controlled and distributed.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a method, device and system for controlling network resources in microblogs. Background technique [0002] In Weibo, each user has its corresponding timeline (timeline). Timeline allows users to see more intuitively what I am doing at this moment and what I have done at that moment. The page is refreshing and the form of expression is special. It gives people a refreshing feeling. In order to improve the response speed, currently in Weibo, all user timeline information is generally stored in redis. Redis is a storage system that uses key-value (key-value), and it supports relatively many types of stored value (value). For example, it can include string (string), linked list (list), set (set), ordered set (zset, sorted set) and hash type (hashs), etc., and the performance is relatively high. [0003] Generally, the average timeline of each user occupies 50K bytes, that is...

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): H04L12/24H04L12/58
Inventor 林立安康大强
Owner SHENZHEN YUNZHIJIA NETWORK CO 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