[go: up one dir, main page]

CN107222317B - A management method and system for online information exchange - Google Patents

A management method and system for online information exchange Download PDF

Info

Publication number
CN107222317B
CN107222317B CN201710423383.7A CN201710423383A CN107222317B CN 107222317 B CN107222317 B CN 107222317B CN 201710423383 A CN201710423383 A CN 201710423383A CN 107222317 B CN107222317 B CN 107222317B
Authority
CN
China
Prior art keywords
group
information exchange
exchange group
message
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201710423383.7A
Other languages
Chinese (zh)
Other versions
CN107222317A (en
Inventor
彭锋
李晓军
宋文欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Linktime Cloud Technology Co ltd
Original Assignee
Wuhan Linktime Cloud Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Linktime Cloud Technology Co ltd filed Critical Wuhan Linktime Cloud Technology Co ltd
Priority to CN201710423383.7A priority Critical patent/CN107222317B/en
Publication of CN107222317A publication Critical patent/CN107222317A/en
Application granted granted Critical
Publication of CN107222317B publication Critical patent/CN107222317B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • H04L12/1822Conducting the conference, e.g. admission, detection, selection or grouping of participants, correlating users to one or more conference sessions, prioritising transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1859Arrangements for providing special services to substations for broadcast or conference, e.g. multicast adapted to provide push services, e.g. data channels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a management method for online information exchange, which comprises the following steps: receiving an instruction sent by any group member of a message group, wherein the instruction is used for creating at least one information exchange group, and each information exchange group corresponds to a theme; establishing the at least one information exchange group according to the instruction; receiving a first request for joining the group members in the message group to the information exchange group in real time, and joining the group members in the message group to the information exchange group according to the first request; receiving a second request for the group members in the information exchange group to exit the information exchange group in real time, and enabling the group members in the information exchange group to clearly exit the information exchange group according to the second request; and receiving a message sent by any group member in the information exchange group, and pushing the message to all group members in the information exchange group through a server. The group of the invention has no limitation of the number of users, and potential user loss is avoided.

Description

一种在线信息交换的管理方法及系统A management method and system for online information exchange

技术领域technical field

本发明涉及互联网领域,特别涉及一种在线信息交换的管理方法及系统。The present invention relates to the field of Internet, in particular to a management method and system for online information exchange.

背景技术Background technique

在线信息交换提供了一种群成员之间实时交互的通信机制。一个群成员通过互联网连接发送一条聊天信息到服务器后,服务器会实时推送消息到所有群成员的移动终端。服务器推送消息的负荷随群成员数量成几何级数倍增。因此群成员数量是在线信息交换系统和服务的一项重要性能指标,现有的在线信息交换工具一般都是通过限制群成员数量来保证后台通信系统和服务的负载均衡及避免客户端的信息过载。Online information exchange provides a communication mechanism for real-time interaction among members of a population. After a group member sends a chat message to the server through the Internet connection, the server will push the message to the mobile terminals of all group members in real time. The server push message load increases exponentially with the number of group members. Therefore, the number of group members is an important performance indicator of online information exchange systems and services. Existing online information exchange tools generally limit the number of group members to ensure the load balance of background communication systems and services and avoid client information overload.

人为限制群成员数量会带来两个重要的问题:Artificially limiting the number of group members brings two important problems:

第一个是当群成员数达到最大允许数量后,任何新的用户都无法入群,不能够参与群的活动,导致潜在核心用户的流失;The first is that when the number of group members reaches the maximum allowable number, any new users cannot join the group and cannot participate in group activities, resulting in the loss of potential core users;

第二个是已经在群里的用户,其中有一部分可能并不参与群的活动,导致群的有效容量没有被充分利用。The second is the users who are already in the group, some of which may not participate in the group's activities, resulting in the group's effective capacity not being fully utilized.

以上这两个问题是制约当前在线信息交换工具和服务进一步发展的主要瓶颈,如果要进一步提高群通信的效率和用户体验,并解决群消息在大并发量的时候客户端无法使用的问题,必须要开发新的有效的在线信息交换管理方法和系统。The above two problems are the main bottlenecks restricting the further development of the current online information exchange tools and services. If we want to further improve the efficiency and user experience of group communication, and solve the problem that the client cannot use group messages when there is a large amount of concurrency, we must To develop new and effective online information exchange management methods and systems.

发明内容SUMMARY OF THE INVENTION

本发明提供了一种在线信息交换的管理方法及系统,解决了现有技术中潜在核心用户的流失的问题。The invention provides an online information exchange management method and system, which solves the problem of the loss of potential core users in the prior art.

本发明解决上述技术问题的技术方案如下:一种在线信息交换的管理方法,包括以下步骤:The technical solution of the present invention to solve the above-mentioned technical problems is as follows: a management method for online information exchange, comprising the following steps:

S1,接收消息群组的任一群成员发送的指令,所述指令用于创建至少一个信息交换组,且每个信息交换组对应一个主题;S1, receive an instruction sent by any group member of the message group, the instruction is used to create at least one information exchange group, and each information exchange group corresponds to a topic;

S2,根据所述指令建立所述至少一个信息交换组;S2, establishing the at least one information exchange group according to the instruction;

S3,实时接收消息群组内的群成员加入所述信息交换组的第一请求,根据第一请求将所述消息群组内的群成员加入所述信息交换组;S3, receiving in real time a first request from a group member in the message group to join the information exchange group, and adding the group member in the message group to the information exchange group according to the first request;

以及实时接收信息交换组内的群成员退出所述信息交换组的第二请求,根据第二请求将所述信息交换组内的群成员清退出所述信息交换组;and receiving in real time a second request for group members in the information exchange group to exit the information exchange group, and clearing the group members in the information exchange group from the information exchange group according to the second request;

S4,接收所述信息交换组中任一群成员发送的消息,通过服务器推送所述消息到所述信息交换组中的所有群成员。S4: Receive a message sent by any group member in the information exchange group, and push the message to all group members in the information exchange group through the server.

本发明的有益效果是:本发明根据消息群组的群成员创建相应主题的信息交换组的指令,实现动态创建信息交换组,优化用户体验;根据消息群组内的群成员发送加入所述信息交换组的第一请求将所述消息群组内的群成员加入所述信息交换组,没有用户人数上限限制,避免潜在核心用户流失;根据信息交换组内的群成员发送退出所述信息交换组的第二请求将所述信息交换组内的群成员清退出所述信息交换组,实现动态管理信息交换组内的群成员,提高信息交换组通信的效率。The beneficial effects of the present invention are as follows: the present invention realizes the dynamic creation of information exchange groups and optimizes the user experience according to the instructions of the group members of the message group to create the information exchange group of the corresponding theme; and join the information according to the group members in the message group The first request of the exchange group adds the group members in the message group to the information exchange group, and there is no upper limit on the number of users, so as to avoid the loss of potential core users; according to the group members in the information exchange group to send out the information exchange group The second request of the information exchange group clears the group members in the information exchange group from the information exchange group, realizes the dynamic management of the group members in the information exchange group, and improves the communication efficiency of the information exchange group.

在上述技术方案的基础上,本发明还可以做如下改进。On the basis of the above technical solutions, the present invention can also be improved as follows.

进一步,所述S4中,所述信息交换组的所有群成员与所述服务器之间建立的连接为长连接,所述信息交换组中的群成员通过所述长连接接收和发送与所述信息交换组主题相关的消息;Further, in the S4, the connection established between all the group members of the information exchange group and the server is a long connection, and the group members in the information exchange group receive and send the information with the information through the long connection. Exchange group topic related messages;

以及所述S4中,在所述信息交换组内的群成员清退出所述信息交换组后,改变被清退出的群成员与服务器之间的长连接状态,且通过所述服务器将所述信息交换组内的消息定时批量地推送给被清退出的群成员,同时停止接收被清退出的群成员发送到所述信息交换组的消息。And in the described S4, after the group members in the information exchange group are cleared out of the information exchange group, the long connection state between the cleared out group members and the server is changed, and the information is sent to the server by the server. The messages in the exchange group are pushed to the cleared group members in batches at regular intervals, and at the same time stop receiving the messages sent to the information exchange group by the cleared group members.

采用上述进一步方案的有益效果是:本进一步技术方案中,所述信息交换组采用网络连接协议的订阅分发机制来动态管理服务器与群成员的之间的长连接和消息传递,提高所述消息传递的稳定性和可靠性,为群成员高效、稳定的提供的信息;在所述信息交换组内的群成员清退出所述信息交换组后,所述服务器将所述信息交换组内的消息定时批量地推送给被清退出的群成员,同时停止接收被清退出的群成员发送到所述信息交换组的消息,有效避免群消息在大并发量的时候用户无法使用信息交换组的问题,有效提升用户体验。The beneficial effect of adopting the above-mentioned further scheme is: in this further technical scheme, the information exchange group adopts the subscription distribution mechanism of the network connection protocol to dynamically manage the long connection and the message transmission between the server and the group members, so as to improve the message transmission. The stability and reliability of the information exchange group provide efficient and stable information for group members; after the group members in the information exchange group are cleared out of the information exchange group, the server will time the messages in the information exchange group It is pushed to the group members who have been cleared out in batches, and at the same time, stops receiving the messages sent by the group members who have been cleared out to the information exchange group, which effectively avoids the problem that users cannot use the information exchange group when the group message is large in concurrency. Improve user experience.

进一步,建立信息交换组时,在所述服务器上建立所述信息交换组对应的优先级序列,且将加入到所述信息交换组的群成员写入到对应的优先级序列中,当接收到任一群成员发送的消息时,判断所述群成员是否在所述优先级序列中,若是,则将所述消息发送到对应优先级序列中的其他群成员,若否,则拒绝所述群成员发布所述消息;当将信息交换组内的群成员清退出所述信息交换组后,同时将被清退群成员从对应的优先级序列中删除。Further, when an information exchange group is established, a priority sequence corresponding to the information exchange group is established on the server, and the group members added to the information exchange group are written into the corresponding priority sequence. When any group member sends a message, determine whether the group member is in the priority sequence, if so, send the message to other group members in the corresponding priority sequence, if not, reject the group member Publish the message; when the group members in the information exchange group are cleared out of the information exchange group, the cleared group members are deleted from the corresponding priority sequence at the same time.

采用上述进一步方案的有益效果是:本进一步技术方案中,所述信息交换组采用网络连接协议的订阅分发机制来动态管理所述信息交换组发言的权限,有效留住核心用户,进一步用户体验,增强用户黏度。The beneficial effects of adopting the above further solution are: in this further technical solution, the information exchange group adopts the subscription distribution mechanism of the network connection protocol to dynamically manage the authority of the information exchange group to speak, effectively retain core users, and improve user experience. Enhance user stickiness.

进一步,所述S1中,所述主题的类型包括热点话题、活动发布、调研问卷、产品推广和收费通知;所述S2中,所述消息包括结构化消息和非结构化消息。Further, in the S1, the types of the topics include hot topics, event releases, survey questionnaires, product promotions and charging notices; in the S2, the messages include structured messages and unstructured messages.

采用上述进一步方案的有益效果是:本进一步技术方案中,所述主题的类型包括热点话题、活动发布、调研问卷、产品推广和收费通知,主题类型丰富多样,有效提升用户体验,吸引并留下潜在用户,有效增加用户黏度;所述消息包括结构化消息和非结构化消息,消息类型涵盖面广,实用性强,满足用户多样性和个性化需求。The beneficial effects of adopting the above-mentioned further scheme are: in this further technical scheme, the types of the topics include hot topics, event releases, survey questionnaires, product promotions and charging notices, and the types of topics are rich and diverse, which can effectively improve user experience, attract and stay potential users, effectively increasing user stickiness; the messages include structured messages and unstructured messages, the message types cover a wide range, have strong practicability, and meet the diverse and personalized needs of users.

为了解决本发明的技术问题,还提供了一种在线信息交换的管理系统,包括:In order to solve the technical problem of the present invention, a management system for online information exchange is also provided, including:

第一接收模块,用于接收消息群组的任一群成员发送的指令,所述指令用于创建至少一个信息交换组,且每个信息交换组对应一个主题;The first receiving module is used to receive an instruction sent by any group member of the message group, and the instruction is used to create at least one information exchange group, and each information exchange group corresponds to a topic;

建立模块,用于根据所述指令建立所述至少一个信息交换组;establishing module for establishing the at least one information exchange group according to the instruction;

第二接收模块,用于实时接收消息群组内的群成员加入所述信息交换组的第一请求,根据第一请求将所述消息群组内的群成员加入所述信息交换组;以及用于实时接收信息交换组内的群成员退出所述信息交换组的第二请求,根据第二请求将所述信息交换组内的群成员清退出所述信息交换组;a second receiving module, configured to receive a first request from a group member in the message group to join the information exchange group in real time, and add the group member in the message group to the information exchange group according to the first request; and receiving in real time a second request for group members in the information exchange group to exit the information exchange group, and clearing the group members in the information exchange group from the information exchange group according to the second request;

推送模块,用于接收所述信息交换组中任一群成员发送的消息,通过服务器推送所述消息到所述信息交换组中的所有群成员。The push module is configured to receive a message sent by any group member in the information exchange group, and push the message to all group members in the information exchange group through the server.

本发明的有益效果是:本发明根据消息群组的群成员创建相应主题的信息交换组的指令,实现动态创建信息交换组,优化用户体验;根据消息群组内的群成员发送加入所述信息交换组的第一请求将所述消息群组内的群成员加入所述信息交换组,没有用户人数上限限制,避免潜在核心用户流失;根据信息交换组内的群成员发送退出所述信息交换组的第二请求将所述信息交换组内的群成员清退出所述信息交换组,实现动态管理信息交换组内的群成员,提高信息交换组通信的效率。The beneficial effects of the present invention are as follows: the present invention realizes the dynamic creation of information exchange groups and optimizes the user experience according to the instructions of the group members of the message group to create the information exchange group of the corresponding theme; and join the information according to the group members in the message group The first request of the exchange group adds the group members in the message group to the information exchange group, and there is no upper limit on the number of users, so as to avoid the loss of potential core users; according to the group members in the information exchange group to send out the information exchange group The second request of the information exchange group clears the group members in the information exchange group from the information exchange group, realizes the dynamic management of the group members in the information exchange group, and improves the communication efficiency of the information exchange group.

进一步,所述推送模块包括连接单元和推送单元,Further, the push module includes a connection unit and a push unit,

所述连接单元用于在信息交换组的所有群成员与所述服务器之间建立长连接;以及用于在所述信息交换组内的群成员清退出所述信息交换组后,改变被清退出的群成员与服务器之间的长连接状态;The connection unit is used for establishing a long connection between all the group members of the information exchange group and the server; and for the group members in the information exchange group to be cleared out of the information exchange group, the changes are cleared and exited The status of the long connection between the group members and the server;

所述推送单元用于接收所述信息交换组中任一群成员发送的消息,并通过与群成员保持长连接状态的服务器推送所述消息到所述信息交换组中的所有群成员;以及用于通过所述服务器将所述信息交换组内的消息定时批量地推送给被清退出的群成员,同时停止接收被清退出的群成员发送到所述信息交换组的消息。The pushing unit is configured to receive a message sent by any group member in the information exchange group, and push the message to all group members in the information exchange group through a server that maintains a long connection state with the group member; and Through the server, the messages in the information exchange group are periodically pushed to the cleared group members in batches, and at the same time, the messages sent by the cleared and withdrawn group members to the information exchange group are stopped.

采用上述进一步方案的有益效果是:本进一步技术方案中,所述信息交换组采用网络连接协议的订阅分发机制来动态管理服务器与群成员的之间的长连接和消息传递,提高所述消息传递的稳定性和可靠性,为群成员高效、稳定的提供的信息;在所述信息交换组内的群成员清退出所述信息交换组后,所述服务器将所述信息交换组内的消息定时批量地推送给被清退出的群成员,同时停止接收被清退出的群成员发送到所述信息交换组的消息,有效避免群消息在大并发量的时候用户无法使用信息交换组的问题,有效提升用户体验。The beneficial effect of adopting the above-mentioned further scheme is: in this further technical scheme, the information exchange group adopts the subscription distribution mechanism of the network connection protocol to dynamically manage the long connection and the message transmission between the server and the group members, so as to improve the message transmission. The stability and reliability of the information exchange group provide efficient and stable information for group members; after the group members in the information exchange group are cleared out of the information exchange group, the server will time the messages in the information exchange group It is pushed to the group members who have been cleared out in batches, and at the same time, stops receiving the messages sent by the group members who have been cleared out to the information exchange group, which effectively avoids the problem that users cannot use the information exchange group when the group message is large in concurrency. Improve user experience.

进一步,所述建立模块具体用于当建立信息交换组时,在所述服务器上建立所述信息交换组对应的优先级序列;Further, the establishment module is specifically configured to establish a priority sequence corresponding to the information exchange group on the server when an information exchange group is established;

所述第二接收模块具体用于向服务器发送写入命令,以驱动服务器将加入到所述信息交换组的群成员写入到对应的优先级序列中;以及用于当将信息交换组内的群成员清退出所述信息交换组后,向服务器发送修改命令,以驱动服务器将被清退群成员从对应的优先级序列中删除;The second receiving module is specifically configured to send a write command to the server, so as to drive the server to write the group members joining the information exchange group into the corresponding priority sequence; After the group members are cleared out of the information exchange group, a modification command is sent to the server to drive the server to delete the cleared group members from the corresponding priority sequence;

所述推送单元具体用于当接收到任一群成员发送的消息时,向服务器发送判断命令,以驱动服务器判断所述群成员是否在所述优先级序列中,若是,则驱动服务器将所述消息发送到对应优先级序列中的其他群成员,若否,则驱动服务器不发送所述消息。The push unit is specifically configured to, when receiving a message sent by any group member, send a judgment command to the server to drive the server to judge whether the group member is in the priority sequence, and if so, drive the server to send the message to the server. Send to other group members in the corresponding priority sequence, if not, the driver server does not send the message.

采用上述进一步方案的有益效果是:本进一步技术方案中,所述信息交换组采用网络连接协议的订阅分发机制来动态管理所述信息交换组发言的权限,有效留住核心用户,进一步用户体验,增强用户黏度。The beneficial effects of adopting the above further solution are: in this further technical solution, the information exchange group adopts the subscription distribution mechanism of the network connection protocol to dynamically manage the authority of the information exchange group to speak, effectively retain core users, and improve user experience. Enhance user stickiness.

进一步,所述主题的类型包括热点话题、活动发布、调研问卷、产品推广和收费通知;所述S2中,所述消息包括结构化消息和非结构化消息。Further, the types of the topics include hot topics, activity releases, survey questionnaires, product promotions and charging notices; in the S2, the messages include structured messages and unstructured messages.

采用上述进一步方案的有益效果是:本进一步技术方案中,所述主题的类型包括热点话题、活动发布、调研问卷、产品推广和收费通知,主题类型丰富多样,有效提升用户体验,吸引并留下潜在用户,有效增加用户黏度;所述消息包括结构化消息和非结构化消息,消息类型涵盖面广,实用性强,满足用户多样性和个性化需求。The beneficial effects of adopting the above-mentioned further scheme are: in this further technical scheme, the types of the topics include hot topics, event releases, survey questionnaires, product promotions and charging notices, and the types of topics are rich and diverse, which can effectively improve user experience, attract and stay potential users, effectively increasing user stickiness; the messages include structured messages and unstructured messages, the message types cover a wide range, have strong practicability, and meet the diverse and personalized needs of users.

附图说明Description of drawings

图1为本发明一个实施例提供的在线信息交换的管理方法的流程示意图;1 is a schematic flowchart of a management method for online information exchange provided by an embodiment of the present invention;

图2为本发明一个实施例提供的在线信息交换的管理系统的结构示意图;2 is a schematic structural diagram of a management system for online information exchange provided by an embodiment of the present invention;

图3为本发明一个实施例提供的在线信息交换的管理系统的结构示意图。FIG. 3 is a schematic structural diagram of a management system for online information exchange provided by an embodiment of the present invention.

具体实施方式Detailed ways

以下结合附图对本发明的原理和特征进行描述,所举实例只用于解释本发明,并非用于限定本发明的范围。The principles and features of the present invention will be described below with reference to the accompanying drawings. The examples are only used to explain the present invention, but not to limit the scope of the present invention.

图1为本发明一个实施例提供的在线信息交换的管理方法的流程示意图,如图1所示,包括以下步骤:FIG. 1 is a schematic flowchart of a management method for online information exchange provided by an embodiment of the present invention. As shown in FIG. 1 , the method includes the following steps:

S1,接收消息群组的任一群成员发送的指令,所述指令用于创建至少一个信息交换组,且每个信息交换组对应一个主题;S1, receive an instruction sent by any group member of the message group, the instruction is used to create at least one information exchange group, and each information exchange group corresponds to a topic;

S2,根据所述指令建立所述至少一个信息交换组;S2, establishing the at least one information exchange group according to the instruction;

S3,实时接收消息群组内的群成员加入所述信息交换组的第一请求,根据第一请求将所述消息群组内的群成员加入所述信息交换组;S3, receiving in real time a first request from a group member in the message group to join the information exchange group, and adding the group member in the message group to the information exchange group according to the first request;

以及实时接收信息交换组内的群成员退出所述信息交换组的第二请求,根据第二请求将所述信息交换组内的群成员清退出所述信息交换组;and receiving in real time a second request for group members in the information exchange group to exit the information exchange group, and clearing the group members in the information exchange group from the information exchange group according to the second request;

S4,接收所述信息交换组中任一群成员发送的消息,通过服务器推送所述消息到所述信息交换组中的所有群成员。S4: Receive a message sent by any group member in the information exchange group, and push the message to all group members in the information exchange group through the server.

本实施例根据消息群组的群成员创建相应主题的信息交换组的指令,实现动态创建信息交换组,优化用户体验;根据消息群组内的群成员发送加入所述信息交换组的第一请求将所述消息群组内的群成员加入所述信息交换组,没有用户人数上限限制,避免潜在核心用户流失;根据信息交换组内的群成员发送退出所述信息交换组的第二请求将所述信息交换组内的群成员清退出所述信息交换组,实现动态管理信息交换组内的群成员,提高信息交换组通信的效率。In this embodiment, according to the instruction of the group members of the message group to create the information exchange group of the corresponding topic, the dynamic creation of the information exchange group is realized and the user experience is optimized; the first request to join the information exchange group is sent according to the group members in the message group The group members in the message group are added to the information exchange group, and there is no upper limit on the number of users to avoid the loss of potential core users; according to the second request sent by the group members in the information exchange group to exit the information exchange group The group members in the information exchange group are cleared out of the information exchange group, so as to realize the dynamic management of the group members in the information exchange group and improve the communication efficiency of the information exchange group.

优选的,在本发明的一个实施例中,所述S4中,所述信息交换组的所有群成员与所述服务器之间建立的连接为长连接,所述信息交换组中的群成员通过所述长连接接收和发送与所述信息交换组主题相关的消息;Preferably, in an embodiment of the present invention, in the S4, the connection established between all the group members of the information exchange group and the server is a long connection, and the group members in the information exchange group pass through the the persistent connection receives and sends messages related to the subject of the information exchange group;

以及所述S4中,在所述信息交换组内的群成员清退出所述信息交换组后,改变被清退出的群成员与服务器之间的长连接状态,且通过所述服务器将所述信息交换组内的消息定时批量地推送给被清退出的群成员,同时停止接收被清退出的群成员发送到所述信息交换组的消息。本实施例中所述信息交换组采用网络连接协议的订阅分发机制来动态管理服务器与群成员的之间的长连接和消息传递,提高所述消息传递的稳定性和可靠性,为群成员高效、稳定的提供的信息;在所述信息交换组内的群成员清退出所述信息交换组后,所述服务器将所述信息交换组内的消息定时批量地推送给被清退出的群成员,同时停止接收被清退出的群成员发送到所述信息交换组的消息,即所述被清退群成员定时接收其当前所加入的信息交换群组和其所在所有群的批量消息,比如每五秒接收其当前所加入的信息交换群组和其所在所有群的一千条消息,有效避免群消息在大并发量的时候用户无法使用信息交换组的问题,有效提升用户体验。And in the described S4, after the group members in the information exchange group are cleared out of the information exchange group, the long connection state between the cleared out group members and the server is changed, and the information is sent to the server by the server. The messages in the exchange group are pushed to the cleared group members in batches at regular intervals, and at the same time stop receiving the messages sent to the information exchange group by the cleared group members. In this embodiment, the information exchange group adopts the subscription distribution mechanism of the network connection protocol to dynamically manage the long connection and message transfer between the server and the group members, so as to improve the stability and reliability of the message transfer, and to be efficient for the group members. , stably provided information; after the group members in the information exchange group are cleared out of the information exchange group, the server pushes the messages in the information exchange group to the group members who are cleared out in batches at regular intervals, At the same time, stop receiving the messages sent to the information exchange group by the cleared group members, that is, the cleared group members regularly receive batch messages of the information exchange group they currently join and all the groups they belong to, for example, every five Receive in seconds the information exchange group that it currently joins and a thousand messages of all the groups it is in, which effectively avoids the problem that users cannot use the information exchange group when the group message is large in concurrency, and effectively improves the user experience.

优选的,在本发明的一个实施例中,建立信息交换组时,在所述服务器上建立所述信息交换组对应的优先级序列,且将加入到所述信息交换组的群成员写入到对应的优先级序列中,当接收到任一群成员发送的消息时,判断所述群成员是否在所述优先级序列中,若是,则将所述消息发送到对应优先级序列中的其他群成员,若否,则拒绝所述群成员发布所述消息;当将信息交换组内的群成员清退出所述信息交换组后,同时将被清退群成员从对应的优先级序列中删除。本实施例中,所述信息交换组采用网络连接协议的订阅分发机制来动态管理所述信息交换组发言的权限,有效留住核心用户,进一步用户体验,增强用户黏度。Preferably, in an embodiment of the present invention, when establishing an information exchange group, a priority sequence corresponding to the information exchange group is established on the server, and the group members added to the information exchange group are written into the In the corresponding priority sequence, when a message sent by any group member is received, determine whether the group member is in the priority sequence, and if so, send the message to other group members in the corresponding priority sequence , if not, reject the group member from publishing the message; when the group member in the information exchange group is cleared out of the information exchange group, the cleared group member will be deleted from the corresponding priority sequence at the same time. In this embodiment, the information exchange group adopts the subscription distribution mechanism of the network connection protocol to dynamically manage the authority of the information exchange group to speak, effectively retain core users, improve user experience, and enhance user stickiness.

优选的,所述S1中,所述主题的类型包括热点话题、活动发布、调研问卷、产品推广和收费通知;所述S2中,所述消息包括结构化消息和非结构化消息。本实施例中,所述主题的类型包括热点话题、活动发布、调研问卷、产品推广和收费通知,主题类型丰富多样,有效提升用户体验,吸引并留下潜在用户,有效增加用户黏度;所述消息包括结构化消息和非结构化消息,消息类型涵盖面广,实用性强,满足用户多样性和个性化需求。Preferably, in the S1, the types of the topics include hot topics, event releases, survey questionnaires, product promotions and charging notices; in the S2, the messages include structured messages and unstructured messages. In this embodiment, the types of themes include hot topics, event releases, survey questionnaires, product promotions and charging notices, and the types of themes are rich and diverse, which can effectively improve user experience, attract and retain potential users, and effectively increase user stickiness; the The messages include structured messages and unstructured messages. The message types cover a wide range and are highly practical, meeting the diverse and personalized needs of users.

图2为本发明另一个实施例提供的在线信息交换的管理系统的结构示意图,如图2所示,包括:FIG. 2 is a schematic structural diagram of a management system for online information exchange provided by another embodiment of the present invention, as shown in FIG. 2 , including:

第一接收模块,用于接收消息群组的任一群成员发送的指令,所述指令用于创建至少一个信息交换组,且每个信息交换组对应一个主题;The first receiving module is used to receive an instruction sent by any group member of the message group, and the instruction is used to create at least one information exchange group, and each information exchange group corresponds to a topic;

建立模块,用于根据所述指令建立所述至少一个信息交换组;establishing module for establishing the at least one information exchange group according to the instruction;

第二接收模块,用于实时接收消息群组内的群成员加入所述信息交换组的第一请求,根据第一请求将所述消息群组内的群成员加入所述信息交换组;以及用于实时接收信息交换组内的群成员退出所述信息交换组的第二请求,根据第二请求将所述信息交换组内的群成员清退出所述信息交换组;a second receiving module, configured to receive a first request from a group member in the message group to join the information exchange group in real time, and add the group member in the message group to the information exchange group according to the first request; and receiving in real time a second request for group members in the information exchange group to exit the information exchange group, and clearing the group members in the information exchange group from the information exchange group according to the second request;

推送模块,用于接收所述信息交换组中任一群成员发送的消息,通过服务器推送所述消息到所述信息交换组中的所有群成员。本实施例根据消息群组的群成员创建相应主题的信息交换组的指令,实现动态创建信息交换组,优化用户体验;根据消息群组内的群成员发送加入所述信息交换组的第一请求将所述消息群组内的群成员加入所述信息交换组,没有用户人数上限限制,避免潜在核心用户流失;根据信息交换组内的群成员发送退出所述信息交换组的第二请求将所述信息交换组内的群成员清退出所述信息交换组,实现动态管理信息交换组内的群成员,提高信息交换组通信的效率。The push module is configured to receive a message sent by any group member in the information exchange group, and push the message to all group members in the information exchange group through the server. In this embodiment, according to the instruction of the group members of the message group to create the information exchange group of the corresponding topic, the dynamic creation of the information exchange group is realized and the user experience is optimized; the first request to join the information exchange group is sent according to the group members in the message group The group members in the message group are added to the information exchange group, and there is no upper limit on the number of users to avoid the loss of potential core users; according to the second request sent by the group members in the information exchange group to exit the information exchange group The group members in the information exchange group are cleared out of the information exchange group, so as to realize the dynamic management of the group members in the information exchange group and improve the communication efficiency of the information exchange group.

图3为本发明另一个实施例提供的在线信息交换的管理系统的结构示意图,如图3所示,所述推送模块包括连接单元和推送单元,3 is a schematic structural diagram of a management system for online information exchange provided by another embodiment of the present invention. As shown in FIG. 3, the push module includes a connection unit and a push unit,

所述连接单元用于在信息交换组的所有群成员与所述服务器之间建立长连接;以及用于在所述信息交换组内的群成员清退出所述信息交换组后,改变被清退出的群成员与服务器之间的长连接状态;The connection unit is used for establishing a long connection between all the group members of the information exchange group and the server; and for the group members in the information exchange group to be cleared out of the information exchange group, the changes are cleared and exited The status of the long connection between the group members and the server;

所述推送单元用于接收所述信息交换组中任一群成员发送的消息,并通过与群成员保持长连接状态的服务器推送所述消息到所述信息交换组中的所有群成员;以及用于通过所述服务器将所述信息交换组内的消息定时批量地推送给被清退出的群成员,同时停止接收被清退出的群成员发送到所述信息交换组的消息。本实施例中所述信息交换组采用网络连接协议的订阅分发机制来动态管理服务器与群成员的之间的长连接和消息传递,提高所述消息传递的稳定性和可靠性,为群成员高效、稳定的提供的信息;在所述信息交换组内的群成员清退出所述信息交换组后,所述服务器将所述信息交换组内的消息定时批量地推送给被清退出的群成员,同时停止接收被清退出的群成员发送到所述信息交换组的消息,即所述被清退群成员定时接收其当前所加入的信息交换群组和其所在所有群的批量消息,比如每五秒接收其当前所加入的信息交换群组和其所在所有群的一千条消息,有效避免群消息在大并发量的时候用户无法使用信息交换组的问题,有效提升用户体验。The pushing unit is configured to receive a message sent by any group member in the information exchange group, and push the message to all group members in the information exchange group through a server that maintains a long connection state with the group member; and Through the server, the messages in the information exchange group are periodically pushed to the cleared group members in batches, and at the same time, the messages sent by the cleared and withdrawn group members to the information exchange group are stopped. In this embodiment, the information exchange group adopts the subscription distribution mechanism of the network connection protocol to dynamically manage the long connection and message transfer between the server and the group members, so as to improve the stability and reliability of the message transfer, and to be efficient for the group members. , stably provided information; after the group members in the information exchange group are cleared out of the information exchange group, the server pushes the messages in the information exchange group to the group members who are cleared out in batches at regular intervals, At the same time, stop receiving the messages sent to the information exchange group by the cleared group members, that is, the cleared group members regularly receive batch messages of the information exchange group they currently join and all the groups they belong to, for example, every five Receive in seconds the information exchange group that it currently joins and a thousand messages of all the groups it is in, which effectively avoids the problem that users cannot use the information exchange group when the group message is large in concurrency, and effectively improves the user experience.

优选的,在本发明的一个实施例中,所述建立模块具体用于当建立信息交换组时,在所述服务器上建立所述信息交换组对应的优先级序列;Preferably, in an embodiment of the present invention, the establishing module is specifically configured to, when establishing an information exchange group, establish a priority sequence corresponding to the information exchange group on the server;

所述第二接收模块具体用于向服务器发送写入命令,以驱动服务器将加入到所述信息交换组的群成员写入到对应的优先级序列中;以及用于当将信息交换组内的群成员清退出所述信息交换组后,向服务器发送修改命令,以驱动服务器将被清退群成员从对应的优先级序列中删除;The second receiving module is specifically configured to send a write command to the server, so as to drive the server to write the group members joining the information exchange group into the corresponding priority sequence; After the group members are cleared out of the information exchange group, a modification command is sent to the server to drive the server to delete the cleared group members from the corresponding priority sequence;

所述推送单元具体用于当接收到任一群成员发送的消息时,向服务器发送判断命令,以驱动服务器判断所述群成员是否在所述优先级序列中,若是,则驱动服务器将所述消息发送到对应优先级序列中的其他群成员,若否,则驱动服务器不发送所述消息。本实施例中所述信息交换组采用网络连接协议的订阅分发机制来动态管理所述信息交换组发言的权限,有效留住核心用户,进一步用户体验,增强用户黏度。The push unit is specifically configured to, when receiving a message sent by any group member, send a judgment command to the server to drive the server to judge whether the group member is in the priority sequence, and if so, drive the server to send the message to the server. Send to other group members in the corresponding priority sequence, if not, the driver server does not send the message. In this embodiment, the information exchange group adopts the subscription distribution mechanism of the network connection protocol to dynamically manage the authority of the information exchange group to speak, effectively retains core users, improves user experience, and enhances user stickiness.

优选的,在本发明的一个实施例中,所述主题的类型包括热点话题、活动发布、调研问卷、产品推广和收费通知;所述S2中,所述消息包括结构化消息和非结构化消息。本实施例中所述主题的类型包括热点话题、活动发布、调研问卷、产品推广和收费通知,主题类型丰富多样,有效提升用户体验,吸引并留下潜在用户,有效增加用户黏度;所述消息包括结构化消息和非结构化消息,消息类型涵盖面广,实用性强,满足用户多样性和个性化需求。Preferably, in an embodiment of the present invention, the types of the topics include hot topics, activity releases, survey questionnaires, product promotions, and charging notices; in the S2, the messages include structured messages and unstructured messages . The types of topics described in this embodiment include hot topics, event releases, survey questionnaires, product promotions, and charging notices. The types of topics are rich and diverse, which can effectively improve user experience, attract and retain potential users, and effectively increase user stickiness; the message Including structured messages and unstructured messages, message types cover a wide range, strong practicability, to meet user diversity and personalized needs.

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within the range.

Claims (6)

1. A method for managing an exchange of online information, comprising the steps of:
s1, receiving an instruction sent by any group member of the message group, wherein the instruction is used for creating at least one information exchange group, and each information exchange group corresponds to a theme;
s2, establishing the at least one information exchange group according to the instruction;
s3, receiving a first request for joining the group members in the message group to the information exchange group in real time, and joining the group members in the message group to the information exchange group according to the first request;
receiving a second request for the group members in the information exchange group to exit the information exchange group in real time, and enabling the group members in the information exchange group to clearly exit the information exchange group according to the second request;
s4, receiving the message sent by any group member in the information exchange group, and pushing the message to all group members in the information exchange group through a server;
in S4, the connections established between all group members of the information exchange group and the server are long connections, and the group members in the information exchange group receive and send messages related to the topic of the information exchange group through the long connections;
and in S4, after the group member in the information exchange group quits the information exchange group, changing the long connection state between the group member who quits clearly and the server, and pushing the messages in the information exchange group to the group member who quits clearly in batch at regular time through the server, and simultaneously stopping receiving the messages sent by the group member who quits clearly to the information exchange group.
2. The method according to claim 1, wherein when an information exchange group is established, a priority sequence corresponding to the information exchange group is established on the server, and a group member added to the information exchange group is written into the corresponding priority sequence, when a message sent by any group member is received, it is determined whether the group member is in the priority sequence, if so, the message is sent to other group members in the corresponding priority sequence, and if not, the group member is rejected to issue the message; and after the group members in the information exchange group quit the information exchange group, deleting the group members to be quitted from the corresponding priority sequence.
3. The method for managing online information exchange according to claim 1 or 2, wherein in the S1, the types of the topics include hot topics, activity publications, questionnaires, product promotions, and charge notifications; in S4, the message includes a structured message and an unstructured message.
4. A management system for online information exchange, comprising the following modules:
the first receiving module is used for receiving an instruction sent by any group member of the message group, wherein the instruction is used for creating at least one information exchange group, and each information exchange group corresponds to a theme;
the establishing module is used for establishing the at least one information exchange group according to the instruction;
the second receiving module is used for receiving a first request for joining the group members in the message group to the information exchange group in real time and joining the group members in the message group to the information exchange group according to the first request; the system comprises an information exchange group, a first request for receiving a group member in the information exchange group to quit the information exchange group in real time, and a second request for receiving the group member in the information exchange group to quit the information exchange group in real time, and quitting the group member in the information exchange group from the information exchange group according to the second request;
the push module is used for receiving a message sent by any group member in the information exchange group and pushing the message to all the group members in the information exchange group through a server; the pushing module comprises a connecting unit and a pushing unit,
the connection unit is used for establishing long connection between all group members of the information exchange group and the server; and the long connection state between the group member which is cleared to quit and the server is changed after the group member in the information exchange group clears to quit the information exchange group;
the push unit is used for receiving a message sent by any group member in the information exchange group and pushing the message to all group members in the information exchange group through a server which keeps a long connection state with the group members; and the server is used for pushing the messages in the information exchange group to the cleared group members in batches at regular time, and stopping receiving the messages sent by the cleared group members to the information exchange group.
5. The system for managing online information exchange according to claim 4, wherein the establishing module is specifically configured to establish, on the server, a priority sequence corresponding to an information exchange group when the information exchange group is established;
the second receiving module is specifically configured to send a write command to the server, so as to drive the server to write the group members joining the information exchange group into the corresponding priority sequence; and the server is used for sending a modification command to the server after clearing the group members in the information exchange group from the information exchange group so as to drive the server to delete the cleared group members from the corresponding priority sequence;
the push unit is specifically configured to send a determination command to a server when receiving a message sent by any group member, so that the drive server determines whether the group member is in the priority sequence, if so, the drive server sends the message to other group members in the corresponding priority sequence, and if not, the drive server does not send the message.
6. A management system for online information exchange according to claim 4 or 5, wherein the types of topics include hot topics, activity publications, questionnaires, product promotions and charge notices; the messages include structured messages and unstructured messages.
CN201710423383.7A 2017-06-07 2017-06-07 A management method and system for online information exchange Expired - Fee Related CN107222317B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710423383.7A CN107222317B (en) 2017-06-07 2017-06-07 A management method and system for online information exchange

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710423383.7A CN107222317B (en) 2017-06-07 2017-06-07 A management method and system for online information exchange

Publications (2)

Publication Number Publication Date
CN107222317A CN107222317A (en) 2017-09-29
CN107222317B true CN107222317B (en) 2020-07-28

Family

ID=59947377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710423383.7A Expired - Fee Related CN107222317B (en) 2017-06-07 2017-06-07 A management method and system for online information exchange

Country Status (1)

Country Link
CN (1) CN107222317B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7185057B2 (en) * 2001-07-26 2007-02-27 International Business Machines Corporation Individually specifying message output attributes in a messaging system
CN101345718A (en) * 2007-07-13 2009-01-14 阿里巴巴集团控股有限公司 Method, system and apparatus for supporting topic classification in group
CN106789127A (en) * 2016-12-16 2017-05-31 奇酷互联网络科技(深圳)有限公司 Packet speech method and system in group

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7185057B2 (en) * 2001-07-26 2007-02-27 International Business Machines Corporation Individually specifying message output attributes in a messaging system
CN101345718A (en) * 2007-07-13 2009-01-14 阿里巴巴集团控股有限公司 Method, system and apparatus for supporting topic classification in group
CN106789127A (en) * 2016-12-16 2017-05-31 奇酷互联网络科技(深圳)有限公司 Packet speech method and system in group

Also Published As

Publication number Publication date
CN107222317A (en) 2017-09-29

Similar Documents

Publication Publication Date Title
CN102546464B (en) A kind of conference method across IM system and system
US8738715B2 (en) System and method for processing messages in a messaging service
US20170070457A1 (en) Multiplexed demand signaled distributed messaging
KR101182463B1 (en) Call group management using the session initiation protocol
EP2715990B1 (en) Method and service node for passive communication services
CN101110707B (en) Distributed presence management in peer-to-peer networks
WO2007081523A2 (en) Optimizing communication using scaleable peer groups
CN108111401B (en) Group building method of cross instant communication system
US8650324B2 (en) System and method for reliable distributed communication with guaranteed service levels
WO2019128647A1 (en) Message transmission method and device, storage medium and electronic device
CN101355591A (en) P2P network and scheduling method thereof
US20140019549A1 (en) Control System for Conferencing Applications in Named-Data Networks
JP2021535515A (en) Event content distribution
CN114025002A (en) MQTT information transmission method, system and communication equipment
CN109194993B (en) Media file distribution method and file distribution platform
CN107222317B (en) A management method and system for online information exchange
Greene et al. Instant messaging & presence management in mobile adhoc networks
CN1937553B (en) Reciprocal network data dispatching method based on flow media data frame
CN102170364A (en) Multicast communication method and device for broadband remote access server
Alexeev et al. The design principles of intelligent load balancing for scalable WebSocket services used with grid computing
JP2017073688A (en) Communication network system
WO2023093369A1 (en) Group chat information transmission method and system, computer device, and storage medium
Ananthakrishnan et al. Group based publisher-subscriber communication primitives for ndnSIM
KR20200036181A (en) Gateway Devices For DDS
CN109005123A (en) A kind of CoAP notice of settlement optimization method based on multicasting technology

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200728