GithubHelp home page GithubHelp logo

freesource-forstudy / https-github.com-mogutt-ttserver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lizj3624/https-github.com-mogutt-ttserver

0.0 4.0 0.0 1.1 MB

Shell 0.48% C++ 62.51% Makefile 0.35% C 7.41% Java 29.25%

https-github.com-mogutt-ttserver's Introduction

###简介:

TeamTalk是一套开源的企业办公即时通讯软件,作为整套系统的组成部分之一,TTServer为TeamTalk 客户端提供用户登录,消息转发及存储等基础服务。

TTServer主要包含了以下几种服务器:

  • LoginServer (C++): 登录服务器,分配一个负载小的MsgServer给客户端使用
  • MsgServer (C++):  消息服务器,提供客户端大部分信令处理功能,包括私人聊天、群组聊天等
  • RouteServer (C++):  路由服务器,为登录在不同MsgServer的用户提供消息转发功能
  • FileServer (C++): 文件服务器,提供客户端之间得文件传输服务,支持在线以及离线文件传输
  • MsfsServer (C++): 图片存储服务器,提供头像,图片传输中的图片存储服务
  • DBProxy (JAVA): 数据库代理服务器,提供mysql以及redis的访问服务,屏蔽其他服务器与mysql与redis的直接交互

###当前支持的功能点:

  • 私人聊天
  • 群组聊天
  • 文件传输
  • 多点登录
  • 组织架构设置.

###系统结构图

###后续可考虑的功能

  • 协议加密
  • 手机推送
  • 其他合理的酷炫功能点

###C++编译

  • 整体编译:可以运行src/目录下的build.sh脚本,例如: ./build.sh version 0.0.1
  • 单个模块编译:进入各自的目录,然后执行make即可,注意:base模块需要优先编译

###C++使用

  • 程序启动请使用run.sh脚本,例如: ./run.sh start
  • 程序重启请使用restart.sh脚本,例如: ./restart.sh msg_server

###C++部署方案

###java编译 — 编译整个项目可以运行与src同目录的packageproduct.sh, sh packageproduct.sh

###java使用 — 程序启动可以运行与src同目录的startup.sh, sh startup.sh 10400(其中10400为绑定的端口号)

###java部署方案

https-github.com-mogutt-ttserver's People

Contributors

mgjluoning avatar mgjkuaidao avatar bluefoxah avatar ziteng avatar moguziye avatar ayrb13 avatar tbfly avatar expesp avatar zhujiefirst avatar loveyugui avatar

Watchers

James Cloos avatar irudder avatar 思过崖 avatar Shifeng Chen  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.