编程知识 cdmana.com

Linux open source IM GGTalk 8.0 is released, which supports running on Tongxin UOS and Galaxy Kylin!

    GGTalk在2021年推出7.0后,经过一年多时间的开发,终于推出8.0版本,实现了Linux客户端.这几年,The momentum of localization of Xinchuang is getting stronger and stronger,Government and business units are gradually turning to the use of domesticOS、国产CPU、国产数据库.when ordering,There are also customer requirementsGGTalkCan support domesticLinux系统.于是,gradually have toGGTalk增加Linux端的想法.

        经过一年多的开发(断断续续地),GGTalk LinuxThe function of the terminal is basically complete,Now let it out and share with you.至此GGTalk 8.0 Supported clients already include:Windows、Android、iOS、Linux、国产OS.

一. V8.0版本变更

     相比于7.0,The main content of this version changes are as follows:

(1)增加Linux客户端,支持国产操作系统(如统信UOS、银河麒麟、中标麒麟、深度等)、国产CPU(如龙芯、鲲鹏、飞腾、麒麟、兆芯等).

(2)增加Linux服务端,支持在CentOSDeploy and run the server on.

(3)Added support for the same account on multiple devices(Windows、Linux、Android、iOS)同时登录,Messages are automatically synchronized between multiple terminals.

(4)Mobile phone functions are more complete,几乎达到PCend function90%.

(5)Support HD video chat(1920*1080分辨率).

  废话不多说,先上张GGTalk  8.0Screenshot of running on Galaxy Kylin system:   

再来张GGTalk  8.0 手机端截图:

 

二. GGTalk 8.0 The development of the required、部署、运行环境

  总的说来,GGTalk 8.0The server hasWindows版本和Linux版本,客户端版本有:Windows、Linux、Android、iOS.

  The development languages ​​involved are:C#、Java、Objective-C

  The development environments involved are:Visual Studio、Android Studio、XCode.

  眼尖的同学已经发现,我们的Linux服务端和Linux客户端都是基于.NetCore的,用的都是C#.(真是大爱C#,Considered to be the most elegant language.I'm thinking about whether to use the mobile terminal later.Xamarin重写了?This will all be unified asC#了)

  GGTalk 8.0 OS version required on each side、运行时、开发环境、A detailed description of development language shown in the list below:

 

 GGTalk 8.0Database support in addition toSqlServer和MySql外,It also supports domestic databases,像达梦数据库、南大通用等.

三. GGTalk 8.0 源码目录说明

  Download from the end of this articleGGTalk 8.0的源码,You can see that there are three compressed packages:

(1)GGTalk_V8.0.rar :This compressed package is mainly aVS的解决方案,下面有GGTalk 8.0的Windows和Linux版本的服务端,以及Windows和Linux版本的客户端.

(2)GGTalk_V8.0_Android.rar :Inside this package isGGTalk 8.0The AnZhuoDuan source.

(3)GGTalk_V8.0_iOS.zip:Inside this package isGGTalk 8.0的iOS端源码.

(4)GGTalk_V8.0_Deploy.rar :directly deployableGGTalk 8.0 版本,包括服务端、客户端、Mobile executable package.

    GGTalk的VSThere are more projects under the solution,这里简单说明一下,如下图所示:

 

    NetCoreThe contents in the directory are the same asLinuxVersion related items.We focus on the four items marked by the red box:

 GGTalk:是GGTalk 8.0的Windows客户端.

 GGTalk.Server :是GGTalk 8.0的Windows服务端.      

 GGTalk.Linux:是GGTalk 8.0的Linux客户端.

 GGTalk.Server.NetCore :是GGTalk 8.0的Linux服务端.

    数据库脚本:在该文件夹中,有GGTalk 8.0的SqlServerdatabase scripts andMySql数据库的脚本.

四. GGTalk  8.0 数据库表说明

(1)GGUser :用户表,All registered users are saved in this table.

(2)GGGroup :群组表,All created groups are saved in this table.

(3)OfflineMessage :离线消息表,When the target user is not online,Messages sent to him are stored in this table.

(4)OfflineFileItem :Offline file table,When the target user is not online,The records corresponding to the files sent to him are stored in this table.

(5)GroupBan :Group of the forbidden words,When a user in a group is muted,The corresponding records will exist in the table.

(6)ChatMessageRecord :聊天记录表,one-on-one chat、Group chat records are stored in this table.

(7)AddFriendRequest :friend request form,All requests to add friends are stored in this table.

(8)AddGroupRequest :Join Request Form,All request messages for joining the group are stored in this table.

(9)GGConfiguration  : 配置表,for reserved storage andGGTalk相关的配置信息.

五. GGTalk 8.0 部署说明 

  Below we explain how to deployGGTalk_V8.0_Deploy.rarReady-to-run ports in a zip package.   

(1)The default configuration of the server is to use an in-memory virtual database,No real database required,这样方便测试.

(2)Windows 服务端:将GGTalk.Server文件夹拷贝到服务器上,运行 GGTalk.Server.exe.

(3)Linux 服务端:将GGTalk.Server.Linux文件夹拷贝到CentOS服务器上,进入该文件夹,打开终端,执行命令:dotnet GGTalk.Server.NetCore.dll.

    注:GGTalk Windows服务端或LinuxThe server only needs to start one,All types of clients can connect to this started server.

(4)Windows 客户端:修改GGTalkThe client configuration file in the directoryGGTalk.exe.config中ServerIPThe value of the configuration item is the server'sIP,双击GGTalk.exe运行客户端,Register an accountSign in for a trial..

(5)Linux  客户端:将GGTalk.LinuxFolder copy to domesticLinux系统(Ubuntu也可以)上,进入该文件夹,打开终端,执行命令:dotnet GGTalk.Linux.dll.

         注:如果Linux电脑的CPU不是x86/x64架构的,you need to use the corresponding architecturelibe_sqlite3.so、libSkiaSharp.soto replace the file with the same name in the run directory.Contact me for other architecturesso库.

(6)手机端:将对应的apk或ipaInstall the package on the phone,启动后,Set up the server'sIP地址,即可登录.

(7)In-memory virtual database with built-in test account: 10000,10001,10002,10003,10004,一直到10009;密码都是 1. 

         If you need to use a real physical database,you need to follow the steps below:

1. 在SqlServer  2008+ 中新建数据库 GGTalk,And then performed in the library SqlServer.sql Script in file to create required table.

         (如果要使用MySQL数据库,则使用MySQL.sql脚本)

2. Open the server configuration fileGGTalk.Server.exe.config

      (1)修改 UseVirtualDB 配置项的值为false.

      (2)修改 DBType 为 SqlServer 或 MySQL.

      (3)修改 DBIP The value of the configuration items for the databaseIP地址.

      (4)修改 DBPwd The value of the configuration item is the database administratorsa的密码.

  The rest of the subsequent steps are the same as the virtual database..  

六. GGTalk 8.0 源码下载

(1)Windows 服务端、客户端 + Linux  服务端、客户端:GGTalk_V8.0.rar(提取码: 1234)

(2)Android 端:GGTalk_V8.0_Android.rar (提取码: 1234)

(3)iOS 端:GGTalk_V8.0_iOS.zip (提取码: 1234)

(4)Can be deployed directly:GGTalk_V8.0_Deploy.rar (提取码: 1234)

   如果你觉得还不错,Please like and support!谢谢.

 

版权声明
本文为[zhuweisky]所创,转载请带上原文链接,感谢
https://cdmana.com/2022/266/202209230826277271.html

Scroll to Top