A method and device for acquiring user data

A technology of user data and source data, applied in the Internet field, can solve problems such as unbalanced data server performance requirements, troublesome data server unified deployment, unbalanced data server access volume, etc., and achieve the effect of balanced access volume

Active Publication Date: 2018-09-04
TENCENT TECH (BEIJING) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In the prior art, data servers that store user data of hotspot accounts are accessed very frequently, which leads to very unbalanced visits to each data server, and very unbalanced performance requirements for each data server. The unified deployment of

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
  • A method and device for acquiring user data
  • A method and device for acquiring user data
  • A method and device for acquiring user data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] An embodiment of the present invention provides a method for acquiring user data. In the method, a hotspot replica data server is established. The hotspot replica data server is a data server for storing user data of a hotspot account. Accounts whose data has been read more than a preset threshold. like figure 1 As shown, the processing flow of the method may include the following steps:

[0049] In step 101, an update data acquisition request is received, and the update data acquisition request carries an account identifier.

[0050]Step 102, if there is an account ID of a hotspot account among the carried account IDs, determine the hotspot copy data server that stores the user data of the hotspot account.

[0051] Step 103, in the determined hotspot replica data server, obtain user data in the hotspot account.

[0052] In the embodiment of the present invention, the hotspot replica data server is set. After receiving the update data acquisition request, the user da...

Embodiment 2

[0054] An embodiment of the present invention provides a method for acquiring user data, and the method may be executed by an interface server of a website.

[0055] In this method, a hotspot replica data server may be established on the website side, and the hotspot replica data server is a data server for storing user data of a hotspot account. Deploy hotspot accounts in the hotspot replica data server. One or more hotspot accounts can be deployed in a hotspot replica data server, and the number of deployed hotspot accounts is generally not too high (the upper limit can be set). The user data stored in the hotspot copy data server is a copy of the corresponding user data stored in the data server (called the source data server) where these hotspot accounts were originally deployed. Users of these hotspot accounts cannot directly write to the copy data of the hotspot replica data server. The write operation is directly applied to the corresponding user data (called source dat...

Embodiment 3

[0087] Based on the same technical idea, the embodiment of the present invention also provides a device for obtaining user data, which establishes a hotspot replica data server. The hotspot replica data server is a data server for storing user data of a hotspot account. Accounts whose user data has been read more than a preset threshold within a certain period of time, such as Figure 4 As shown, the device includes:

[0088] The receiving module 410 is configured to receive an update data acquisition request, and the update data acquisition request carries an account identifier;

[0089] A determining module 420, configured to determine a hotspot replica data server that stores user data of the hotspot account if there is an account identifier of a hotspot account among the carried account identifiers;

[0090] The obtaining module 430 is configured to obtain user data in the hotspot account from the determined hotspot copy data server.

[0091] Preferably, there are multip...

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 device for obtaining user data, and belongs to the technical field of the internet. The method comprises the steps that hot spot transcript data servers are built, and are data servers used for storing the user data of hot spot accounts, and the hot spot accounts are accounts with the read frequency of the user data exceeding a preset threshold value within preset time; an updating data obtaining request is received, and account identifiers are carried in the updating data obtaining request; if the account identifiers of the hot spot accounts exist in the carried account identifiers, the hot spot transcript data servers for storing the user data of the hot spot accounts are determined; the user data in the hot spot accounts are obtained in the determined hot spot transcript data servers. The method and device can balance the visit traffic of all the data servers.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and device for acquiring user data. Background technique [0002] With the rapid development of network technology, the Internet is gradually becoming an indispensable part of more and more people's lives. Various SNS (Social Networking Services, social network service) websites have appeared in the network, which are favored by Internet users, especially Weibo, which develops more rapidly. [0003] Generally, when the user opens the dynamic information page of the SNS website (such as the homepage of Weibo), the website will show the user the latest dynamic information of other accounts related to the current account. For example, when the user logs in to the homepage of Weibo, the website will Shows users the latest broadcasts from users they listen to. On the website side, multiple data servers are generally set up to store user data of a large number of accoun...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08
Inventor 周智昊田明刘里
Owner TENCENT TECH (BEIJING) 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