关系链,,SNS

2016-08-26 电脑网络 阅读:

关系链,,SNS(一)
腾讯QQ好友关系链的设计与实现

腾讯QQ好友关系链的设计与实现 开封房产资料大全

摘要

目前,基于好友关系链的应用非常流行,这其中包括已经现已风靡网络的SNS社区,也包括正飞速发展的微博。与传统网站的信息交换方式不同,这些基于好友关系链的网络应用,信息的交换途径均是通过用户自主建立的关系网,信息的产生也大多来自用户本身。如此一来,这类网站的的用户从这类网站得到的信息准确性针对性就很高,因为信息来源是用户的好友关系网,因此用户更乐意到这里来获取自己感兴趣的内容。而另一方面,用户的主动参与,可以通过用户的好友关系网传递出去,用户在这个过程中也可以与他的好友进行互动,因此用户的参与积极性与参与深度会大大提高。两个因素会互相影响,互相促进,不断提高网络应用的质量。

这些网络应用尽管各自关注,服务的侧重点不同,但他们都是基于庞大用户群体间的好友关系链,向用户提供发布信息以及获取信息的服务。这其中的最重要的基础,就是用户群体及之上的好友关系链。离开这个基础,这类应用就会失去他们最吸引用户的优点。但是对大多数网络应用来说,在一开始就积累大量的用户以及用户关系,往往是最困难的部分。反过来,如果基于好友关系链的网络应用从一开始就有用户群体的基础做支撑,那发展壮大的步伐就会大大加快。

众所周知,腾讯QQ拥有庞大的用户基数,以及高度的用户活跃度及互动性,又由于IM软件的特性,QQ的用户间已经建立了一个庞大,稳固的好友关系链。事实上,腾讯QQ已经形成了国内最大的好友关系网。基于这些已有的资源优势,腾讯QQ如果进入基于好友关系链的网络应用这个领域,将会有比较大的先天用户优势,事实也证明了如此。

在SNS浪潮袭来之时,腾讯将之前的QZone做了转型,由原来单纯的个人空间的定位,加入了SNS的元素。利用QQ客户端的好友关系链基础,QZone引入了SNS社区中最基本的“好友动态”功能,增加了QZone间好友的信息互动。同时后来又参考了facebook,人人网等的网站功能,有限的开放了一部分第三方应用,如著名的网页游戏QQ农场。另外,相比QZone这种中途转型的应用,腾讯也推出了原生的SNS社区——校友网,虽然起步比同类针对高校的SNS社区较晚,但得利于QQ客户端的用户优势,在较短时间内也得到迅速发展,逐步赶上竞争对手。由这两个例子就可以看出,利用腾讯QQ的用户资源,基于好友关系链的SNS类型社区可以得到一个很好的发展基础。

本人工作所在的腾讯公司广告平台与产品部-互动营销研发中心,主要的工作就是利用腾讯QQ的用户资源,为广告客户提供可以与用户互动的网络营销产品。当今的网络广告,已经不仅仅是简单的点击和资源展示。网络广告相对于传统媒体,最大的优势就是可以与广告接受者进行互动,强化品牌宣传效果。考虑到如今的SNS社区浪潮,如果将SNS的概念与传统的品牌宣传结合到一起,那么就可以利用SNS社区高参与度的特性,让品牌宣传渗透到用户的参与过程中,品牌社区的概念就是在这样的情况下被提出来的。

在我们之前的工作中,已经有很多将用户与品牌宣传相结合的例子,但还没有利用好友关系链,以SNS社区形式出现的项目的经验。在我们这次的项目中,我们就是要开创这个先河,在研究并实现QQ用户好友关系链的基础上,开发一个SNS社区,并结合客户的品

牌,设置SNS社区中的内容,来达到互动营销的目的。

在我们的好友关系链开发中,主要基于LAMP(Linux+Apache+MySql+PHP5)平台进行后台开发,在需要的情况下会使用到一些c++的程序作为后台处理程序。在本文之后的介绍中,会具体的介绍开发平台的整个细节。

在本文的介绍中,主要的内容会集中在好友关系链的后台开发,具体会从数据库设计,业务逻辑与sql设计等方面,来介绍好友关系链后台的核心功能——好友关系列表以及信息在好友间的传递的开发过程。本文会采用由浅入深,由简到繁的方式,从最初的一个简单模型,逐步深化,逐步完善,最终完成好友关系链的后台的核心部分。

除了功能开发意外,性能优化也是项目的重要内容。穿插于功能的介绍之间,本文还会阐述在逐渐完善好友关系链功能的同时,如何从数据库,缓存层,项目结构等多个方面来提高好友关系链后台的性能表现,以支持实际使用中巨大的数据量和访问量。

此外,由于实际使用中可能出现较多的变更,尤其由于广告的原因,项目会有比较频繁的需求变化,因此,在好友关系链后台的编码中,我们也很重视系统中可能变更的部分,在开发中更注意系统的可配置性。

项目的最后,结合了实际的商业项目需求,利用已开发的好友关系链,建立了一个SNS类型的品牌互动营销社区,使我们的工作在实际项目中得到了使用,也在实际运营中验证了之前性能优化的作用,也发现了一些性能,为之后的持续优化提供依据与目标。

关键词:腾讯QQ,好友关系链,SNS

DESIGN AND IMPLEMENTATION OF

enthusiasm and participation will be greatly enhanced. Two factors will influence each other and promote each other and constantly improve the quality of network applications.

Application of these networks focus attention and services despite their different, but they are based on a large user group of friends among the chain, to provide release of information and access to information services. This is one of the most important basis for that user groups and friends over the chain. Without the base, these applications will lose their most attractive advantage of the user. But for most network applications, in the beginning accumulated a large number of users, and relationships, often the most difficult part. Conversely, if the friends- chain-based network applications from the outset the basis of user groups do support that the pace of development and growth will be greatly accelerated.

As we all know, Tencent QQ, with its huge user group, and a high level of user activity and interaction, and because IM software features, QQ users has been established between a large, strong chain of friends. In fact, Tencent QQ has created the largest network of friends in China. Based on these existing resources, if Tencent QQ steps into the area of network applications based on friends chain, there will be relatively large inherent user advantages, the fact has proved the case.

When the wave hit in the SNS, Tencent QZone has done the transition from purely personal space before to a brand new community with SNS elements. Using the basis of friends chain in QQ client, QZone SNS has introduced the most basic feature of SNS community, "friends news", thus increase interaction between the Friends of the information in QZone. While later with reference to Facebook features, QZone adds some open third-party applications in limited extent,

native SNS community – XIAO YOU WANG. Although the initial of it is later than other SNS community for colleges and universities, but benefited from advantages of QQ client users, in a short time XIAO YOU WANG is also rapidly developing, and gradually catches up with competitors. By these two examples can be seen, with Tencent QQ's user resources, SNS community based on the friend chain can get a good development foundation.

Where I work in Tencent Department of advertising platform and products - Interactive Marketing Research and Development Center, the main job is to use the resources of Tencent QQ users, to provide network marketing products that advertisers can interact with the users. Today's online advertising, has more than just a simple click and resource display. Online advertising compared to traditional media, the biggest advantage is that users can interact with the ads, thus strengthen brand publicity. Considering the wave of today's SNS community, if combine the SNS and the traditional concept of branding into one model, then you can use high-involvement SNS community features to the brand publicity at the user's participation in the process, the brand community concept is under such circumstances, be put forward.

In our previous work, there has been many examples of the combination of brand publicity and the user interaction, but no project experience of building a SNS community based on the friends chain. In our current project, we want to study and realize the chain of friends of QQ users, and with this basis to develop a SNS community, combined with customer's brand to achieve interactive marketing purposes.

Our development of friend chain system is mainly based on LAMP (Linux + Apache + MySql + PHP5) platform. In case of need, we will use some c++ program as a background process. Later, this paper will introduce the specific details of the entire development platform.

In this paper, the main contents will focus on the development of background system of friends chain, specifically from the database design, business logic and design of the sql to introduce core functions of the friend chain system - a list of friends relationship and information transfer between the Friends. This article will discuss the process of development in the way from simple to complex, from the initial simple model, gradually deepening, and gradually perfect the core of friends chain system.

In addition to development of core functions, performance optimization is an important part of the project. Interspersed between the functional description, the paper will explain the gradual improvement of friend chain function at the same time, how the database, the cache layer, project structure and other aspects to increase the performance of the friend chain system to support large volumes of data and visits in real world.

In addition, actual use may be more changes, particularly given the advertising reasons, the project will be more frequent changes in demand, so in the implementation of friend chain system, we also attach great importance to modifiability and Configurability of the system.

At the end of the project, combined with the actual needs of commercial projects, using the friends chain system that has been developed, we established a SNS community for interactive marketing. So our work has been in use in actual projects. We also verified the performance optimization in the actual operation. We also found some performance problems, which can be used in the later optimization.

Key words: Tencent QQ, friend chain, SNS

目 录

第一章 绪论 ................................................................. 1

第二章 开发与运营平台简介 ................................................... 5

2.1 PHPLIB简介 ...................................................... 5

2.1.1 框架核心 .................................................. 5

2.1.2 配置文件 .................................................. 6

2.1.3 数据库访问 ................................................ 6

2.1.4 数据接口 .................................................. 6

2.1.5 工具函数 .................................................. 6

2.2 运行环境简介 .................................................... 6

2.3 本章小结 ........................................................ 7

第三章 QQ好友关系链设计与实现 ............................................... 8

3.1 好友列表的建立与获取 ............................................ 8

3.1.1 数据库表结构设计 .......................................... 8

3.1.2 业务逻辑与SQL设计 ........................................ 9

3.1.3 性能优化 .................................................. 9

3.2个人信息与好友动态的存取,显式与处理 ............................ 10

3.2.1 数据库表结构设计 ......................................... 10

3.2.2 业务逻辑与SQL设计 ....................................... 13

3.2.3 信息格式化 ............................................... 14

3.2.4 性能优化 ................................................. 15

3.3好友关系链的实际应用 ............................................ 16

3.3.1 项目背景 ................................................. 16

3.3.2 项目内容 ................................................. 16

3.3.3 项目运营数据 ............................................. 17

3.4本章小结 ........................................................ 17

第四章 结论 ................................................................ 18

谢辞 ....................................................................... 20

关系链,,SNS(二)
SNS建设架构

最近,时值腾讯QQ空间及手机社区平台高速发展,迭创新高;我也想结合自身的工作实践,简单地聊一些关于SNS的理解;

个人认为,从严格产品意义而言,国外是FACEBOOK,国内是校内网最先实现相对完整地SNS社区产品架构的;而早期的网易社区,腾讯IM平台,早期博客形态的QQ空间,包括现在一些手机社区,都和SNS有些偏差;

具体地讨论以下问题:

1)SNS社区的三层产品架构: Profile;Relation;Content&App;

2)SNS三层产品架构之间的关联与相互依存;

3)关系链开放及NewsFeed,SNS的重要元素;

4)市场上SNS产品形态及商务模式;

1. SNS 社区的 三层产品架构;

从概念上,SNS是一种新的在线生活方式;连FACEBOOK自己都说自己不是一个网站,而是在创造一种新的网络生活方式;这个理念和腾讯的“在线社区产业”是相通;

从外部一些文章可看到,腾讯形成了在线社区3C产业链,分为三层,从下到上分别是用户(Customer), 社区(Community), 内容(Content);这是腾讯的创造性贡献;

其实,具体到一个SNS社区产品模型,从下到上也分为三层:

1) 底层,Profile;用户的属性描述及行为画像;

比如用户的社会属性,姓名,性别,年龄,职业等;还包括用户的爱好,服务使用倾向等推导属性;

这相当于社区的“地基”,一定要建立的很稳固,这里有几种细分:

一类是用户的直接属性;

表现为用户可以通过直接引导填写的信息;如姓名,年龄,性别,职业,毕业年份等基本社会属性;看到所有的SNS都在引导用户填写,甚至采用一些激励措施;【关系链,,SNS】

二类是用户在社区中生存所获得的社区属性;比如成长等级,称号,虚拟职务,角色等;

三类是用户的隐藏的扩展属性;

即系统通过对用户在各类社区长久活动留下痕迹的智能挖掘与分析,所形成的对用户有统计意义的商业偏好属性;比如用户XX,是一个30岁左右,怀孕期的妈妈,对婴儿用品,化妆品有独特的潜在偏好;

一个不同完善程度的社区系统,对于一个用户信息的收集也是不同层次的;而所有的商业网站通过持久竞争,留下来最宝贵的核心竞争信息,就是对用户个人信息的掌握能力了;

2)中间,Relation; 用户群内部关系链;

在WEB1.0时代,每天浏览SINA的人可能有100万,但他们虽然同在访问一个网站,同看一条新闻,但相互之间无法察觉,无法交流和沟通,这100万人中是孤立的,没有关系链;

随着WEB2.0元素的发展,网站经营者知道给每个访问的用户一个ID,让他们相互可见,并提供他们相互联系,认识并熟知的工具和手段(比如站内消息,相互访问首页);

用户群的“网络效应”

用户群中的关系链是具有“网络效应”的,当用户群规模到一定的临界点,不需要外部推动,通过低成本口碑传播可以像雪球一样的自我滚动壮大的;所以,在网站发展初期,很多网站都要拼命烧钱,送鸡腿等推广方式,要把用户群推到这个临界点;这还可以叫做“群聚效应”;

很多WEB2.0概念的网络产品都开始意识到用户群内部“网络效应”而得以壮大,比如QQ的IM关系链是最稳定的一种;淘宝网中买家和卖家之间的网络效应也十分强大;

关系链,包括人与人的关系;人与群体的关系;群与群的关系;

具体表现为,好友关系(强关系链),关注追随关系(弱关系链),同好关系,(同爱好,粉丝圈);同地域关系(同城)等;

在一个SNS社区产品中,关系链是非常核心的,是“聚气”的;在产品构建之处就需要优先考虑;

3)上层, 内容(Content)和应用(Application);

内容(content), 包括两类,

一类,是网站经营者官方提供的资讯,图片,音乐,等浏览类的资源;

二类,是UGC(User Generated Content),用户自创造自组织的内容;

可表现为,个人日志(Blog),相片,即时博客(如短文本Qzone心情,Twitter);

内容,从表现形式及载体上从简单到丰富,从简单文本,短文本,到图片,音频,甚至个人视频,随着网络硬件条件的发展,内容的主流载体将更加RICH化;

内容从本质上,满足了用户的几类基本地广泛的需求:

1. 信息获取的需求

2. 个性化表达与倾诉的需求(UGC,通过个人日志,心情,图片等表达自己的存在

关系链,,SNS

http://m.zhuodaoren.com/shenghuo361023/

推荐访问:snszsks thinksns

电脑网络推荐文章

推荐内容

上一篇:网红的兴起 下一篇:智能手机环境下,大学生的行为特点