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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com