Check patentability & draft patents in minutes with Patsnap Eureka AI!

Data updating method and web server

A data update and server technology, applied in the field of communications, can solve the problems of server load, occupying system resources, and high query overhead, and achieve the effect of reducing occupied resources and saving system resources.

Active Publication Date: 2014-05-28
HUAWEI TECH CO LTD
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] Among them, the "pull-on-demand" mechanism based on memcached is to send a request to the web server when the user inquires about the update of friends' content. The cache server where the user is located sends query messages. When the data of the user’s friends is stored in N cache servers step by step, the web server has to send N query messages. When the data volume of the friends is large and the content is updated frequently, the N value will be Very large, resulting in a large query overhead and occupying a lot of system resources;
[0010] Among them, based on the memcached "push-on-change" mechanism, once a user updates the content, the user will push the actively updated content to the content cache of all friends. However, if the user has N friends, the To push N times, when the user has a large number of friends, it will take up a lot of system resources and bring a lot of load to the back-end server

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
  • Data updating method and web server
  • Data updating method and web server
  • Data updating method and web server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] The embodiment of the present invention provides a data update method and a web server, which are used to update user data, can effectively reduce the number of data query messages sent by the web server, and save system resources.

[0058] see figure 1 , is an embodiment of a data update method in the embodiment of the present invention, including:

[0059] 101. If the web server receives the user's data update request, then determine the extremely large group to which the user belongs, and the users in the extremely large group are friends with each other;

[0060] In the embodiment of the present invention, when using a social network, the user can manually click to send a data update request, or after the user logs in to the social network, the system automatically generates a data update request, and the data update request is used to request to update the content of all the friends of the user , after receiving the data update request, the web server determines t...

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 data updating method and a web server. The method of the embodiment of the invention comprises that: if the web server receives a data updating request of a user, a maximum clique to which the user is attributed is confirmed, and two random members in users in the maximum clique are friends; the web server sends a data inquiring message to a maximum clique cache server in which cache corresponding to the maximum clique is positioned; and the web server receives updating data sent by the maximum clique cache server, and the updating data are used for realizing data updating of the users requiring data updating. Only one data inquiring message needs to be sent or one time of data transmission needs to be performed for N friends in the maximum clique to which the user is attributed so that resources occupied by the web server in data updating or data uploading can be effectively reduced and system resources can be effectively saved.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a data update method and a web server. Background technique [0002] In recent years, social networks have developed rapidly and have increasingly become a part of people's daily lives. According to the 2011 Global Social Media Report released by InSites Consulting of the United States, there are more than 1 billion people in the world using social networks, accounting for about 70% of the number of Internet users. And more than 600 million users use social networks every day. At the same time, another data shows that the world's largest social network Facebook (Facebook) had 734.2 million global visits in June this year, and currently has more than 750 million registered users, covering 10% of the world's total population. For such a large-scale system, how to deploy and maintain it directly affects the performance, stability and user experience of the system, so the res...

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 Applications(China)
IPC IPC(8): H04L29/08
CPCH04L67/1095
Inventor 李华飞何秀强
Owner HUAWEI TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More