diff --git a/README.md b/README.md index 7d5a585..e97b0b0 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ 1. 支持单人、多人音视频通话(基于原生webrtc实现,需要ssl证书) 1. uniapp端兼容app、h5、微信小程序,可与web端同时在线,并保持消息同步 1. 后端采用springboot+netty实现,网页端使用vue,移动端使用uniapp -1. 服务器支持集群化部署,每个im-server仅处理自身连接用户的消息 +1. 服务器支持集群化部署,具有良好的横向扩展能力 详细文档:https://www.yuque.com/u1475064/mufu2a @@ -60,9 +60,9 @@ https://www.yuque.com/u1475064/imk5n2/qtezcg32q1d0dr29#SbvXq | im-uniapp | uniapp页面,可打包成app、h5、微信小程序 | #### 消息推送方案 +当消息的发送者和接收者连的不是同一个server时,消息是无法直接推送的,所以我们设计出了能够支持跨节点推送的方案: ![输入图片说明](%E6%88%AA%E5%9B%BE/%E6%B6%88%E6%81%AF%E6%8E%A8%E9%80%81%E9%9B%86%E7%BE%A4%E5%8C%96.jpg) -- 当消息的发送者和接收者连的不是同一个server时,消息是无法直接推送的,所以我们需要设计出能够支持跨节点推送的方案 - 利用了redis的list数据实现消息推送,其中key为im:unread:${serverid},每个key的数据可以看做一个queue,每个im-server根据自身的id只消费属于自己的queue - redis记录了每个用户的websocket连接的是哪个im-server,当用户发送消息时,im-platform将根据所连接的im-server的id,决定将消息推向哪个queue @@ -102,7 +102,7 @@ https://www.yuque.com/u1475064/mufu2a/vn5u10ephxh9sau8 #### 界面截图 私聊: -![输入图片说明](%E6%88%AA%E5%9B%BE/web/%E7%A7%81%E8%81%8A.png) +![输入图片说明](D:\开源项目\box-im\截图\web\私聊.jpg) 群聊: ![输入图片说明](%E6%88%AA%E5%9B%BE/web/%E7%BE%A4%E8%81%8A.png) diff --git a/截图/app/1.jpg b/截图/app/1.jpg deleted file mode 100644 index 5cdc567..0000000 Binary files a/截图/app/1.jpg and /dev/null differ diff --git a/截图/app/1.png b/截图/app/1.png new file mode 100644 index 0000000..821149c Binary files /dev/null and b/截图/app/1.png differ diff --git a/截图/app/2.jpg b/截图/app/2.jpg deleted file mode 100644 index 116a60c..0000000 Binary files a/截图/app/2.jpg and /dev/null differ diff --git a/截图/app/2.png b/截图/app/2.png new file mode 100644 index 0000000..4ea9953 Binary files /dev/null and b/截图/app/2.png differ diff --git a/截图/web/单人通话.jpg b/截图/web/单人通话.jpg new file mode 100644 index 0000000..49acc41 Binary files /dev/null and b/截图/web/单人通话.jpg differ diff --git a/截图/web/多人通话.jpg b/截图/web/多人通话.jpg new file mode 100644 index 0000000..dc8d62d Binary files /dev/null and b/截图/web/多人通话.jpg differ diff --git a/截图/web/好友.jpg b/截图/web/好友.jpg new file mode 100644 index 0000000..d41389d Binary files /dev/null and b/截图/web/好友.jpg differ diff --git a/截图/web/好友列表.png b/截图/web/好友列表.png deleted file mode 100644 index c9e68b1..0000000 Binary files a/截图/web/好友列表.png and /dev/null differ diff --git a/截图/web/私聊.jpg b/截图/web/私聊.jpg new file mode 100644 index 0000000..1c0281c Binary files /dev/null and b/截图/web/私聊.jpg differ diff --git a/截图/web/私聊.png b/截图/web/私聊.png deleted file mode 100644 index e0c894c..0000000 Binary files a/截图/web/私聊.png and /dev/null differ diff --git a/截图/web/群列表.jpg b/截图/web/群列表.jpg new file mode 100644 index 0000000..40216b1 Binary files /dev/null and b/截图/web/群列表.jpg differ diff --git a/截图/web/群列表.png b/截图/web/群列表.png deleted file mode 100644 index ecfe823..0000000 Binary files a/截图/web/群列表.png and /dev/null differ diff --git a/截图/web/群聊.jpg b/截图/web/群聊.jpg new file mode 100644 index 0000000..ab2cd2d Binary files /dev/null and b/截图/web/群聊.jpg differ diff --git a/截图/web/群聊.png b/截图/web/群聊.png deleted file mode 100644 index 3fa2943..0000000 Binary files a/截图/web/群聊.png and /dev/null differ diff --git a/截图/web/群视频.png b/截图/web/群视频.png deleted file mode 100644 index d61a08f..0000000 Binary files a/截图/web/群视频.png and /dev/null differ