CN104901869A - Interaction method for online group members - Google Patents

Interaction method for online group members Download PDF

Info

Publication number
CN104901869A
CN104901869A CN201510269398.3A CN201510269398A CN104901869A CN 104901869 A CN104901869 A CN 104901869A CN 201510269398 A CN201510269398 A CN 201510269398A CN 104901869 A CN104901869 A CN 104901869A
Authority
CN
China
Prior art keywords
group
message
group member
client
unread message
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.)
Granted
Application number
CN201510269398.3A
Other languages
Chinese (zh)
Other versions
CN104901869B (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.)
Shanghai Shangmei Jiajin Internet Technology Co ltd
Original Assignee
Nanjing College of Information Technology
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 Nanjing College of Information Technology filed Critical Nanjing College of Information Technology
Priority to CN201510269398.3A priority Critical patent/CN104901869B/en
Publication of CN104901869A publication Critical patent/CN104901869A/en
Application granted granted Critical
Publication of CN104901869B publication Critical patent/CN104901869B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides an interaction method for online group members, comprising the steps as follows: managing login of group members, managing unread information, setting information type and analyzing interaction information, thereby performing effective management to the interaction information of group members so as to simplify the management of the interaction of the group members.

Description

A kind of at group member's interactive approach
Technical field
The present invention relates to a kind of online interaction method, especially a kind of interactive approach group member.
Background technology
Online interaction software a kind ofly user can be allowed to carry out interactive social software by mobile phone or computer and other people.The use of current social software is very universal, and famous company is as domestic Tengxun qq, and the use of external picture twitter, facebook, MSN etc. is very popular and universal.But along with the fast development of the universal of smart mobile phone and mobile Internet, the social software based on mobile Internet is easily accepted by a user rapidly, the social software of now a large amount of smart phone user big city installations more or less.But current most social software is fewer for the interaction of group member, and for the message management also more complicated of group member.
Summary of the invention
The technical problem to be solved in the present invention is existing group member interactive message complex management.
In order to solve the problems of the technologies described above, the invention provides a kind of at group member's interactive approach, comprising the steps:
Step 1, group member is after a certain client logs in, server is that this group member distributes unique login identification code, and the information about firms of corresponding this group member of storage and this time log in distribution log in identification code, the identification code that logs in again this being logged in distribution sends to this group member this time to log in used client, what this logged in that used client receives that this group member this time logs in distribution logs in identification code, and timing logs in the online heartbeat signal of the login identification code of distribution with the information about firms of this group member and this to server transmission,
Step 2, server receives the online heartbeat signal that each client sends, and by the information about firms comprised in online heartbeat signal and the information about firms that logs in identification code and up-to-date storage with log in identification code and compare, if information about firms and to log in identification code inconsistent, then send illegal member's return code to the client sending inconsistent online heartbeat signal, client automatically exits after receiving illegal member's return code and this time logs in, if information about firms is with to log in identification code all consistent, then check in the message queue corresponding with this information about firms whether have unread message, if there is unread message, the return parameters of unread message is then returned to the client sending consistent online heartbeat signal, if there is no unread message, then return to the client sending consistent online heartbeat signal the return parameters not having unread message,
Step 3, client is after receiving the return parameters of unread message, if the group member that this client logs in sends the request instruction reading unread message to server, the unread message corresponding with the information about firms of the group member that this client logs in then is returned to this client by server, and delete by the unread message returned, if the group member that client logs in does not send the request instruction reading unread message to server, server does not initiatively return unread message to this client;
Step 4, group member is to logged in client input interactive message, interactive message with type information according to the type information of the every bar interactive message of interactive message curriculum offering, and is sent to server by client, and type information comprises chat messages and GC group command;
Step 5, server receives the interactive message with type information, and type of message is parsed from interactive message, the target complex ID that message content and message send, the target complex ID sent according to message again searches the group member in target complex, if type of message is chat messages, then be inserted in the message queue of server according to the principle of everyone chat messages of group member all in target complex, if type of message is GC group command, then first verify the validity of this GC group command, if this GC group command is effective, again according to GC group command amendment group activity state, if this GC group command is invalid, then do not revise.
Be adopted as every group member and distribute unique login identification code, and by the online heartbeat signal of client timed sending, thus effectively avoid same group member to log at two places simultaneously; Adopting in client is that every bar interactive message arranges type of message, chat messages and GC group command is distinguished, achieves the simple management to group member interaction.
As further restriction scheme of the present invention, log in the character string that identification code is 15.Adopting 15 character strings as logging in identification code, can meet completely for every group member distributes unique requirement logging in identification code.
Scheme as a further improvement on the present invention, server is that every group member is all provided with unread message identifier, if the unread message identifier that certain group member is corresponding is 1, then indicate unread message, if the unread message identifier that certain group member is corresponding is 0, then represent there is no unread message.Adopt unread message identifier that server can be made to grasp every group member at any time and whether have unread message.
As further restriction scheme of the present invention, the cycle of the online heartbeat signal of client timed sending is 10 ~ 30 seconds.Adopt the time of 10 ~ 30 seconds to send online heartbeat message, enable server grasp the presence of group member in real time.
Scheme as a further improvement on the present invention, the unread message quantity of server to every group member counts respectively, every many one of the unread message of group member in the message queue of server, to the unread message quantity of position group member adding 1, group member often reads a unread message from client, to the unread message quantity of position group member subtracting 1.Adopt and the unread message quantity of every group member is counted respectively, enable group member grasp the unread message number of oneself in real time by client.
As further restriction scheme of the present invention, group activity state is used for representing that group member is in idle or busy state.The real-time status of group member can be shown by group activity state, be used for preventing from being bothered by people, or represent that can receive others' invitation carries out interaction.
As further restriction scheme of the present invention, the content of server authentication GC group command validity comprises the group member whether qualified amendment group activity state of this GC group command of transmission and whether meets alteration ruler according to the group activity state that this GC group command is revised.The group activity state of non-this group of group members malicious modification can be prevented.
Beneficial effect of the present invention is: (1) with distributing unique login identification code for every group member, and passes through the online heartbeat signal of client timed sending, thus effectively avoids same group member to log at two places simultaneously; (2) adopting in client is that every bar interactive message arranges type of message, chat messages and GC group command is distinguished, achieves the simple management to group member interaction; (3) adopt unread message identifier that server can be made to grasp every group member at any time and whether have unread message; (4) employing counts respectively to the unread message quantity of every group member, enables group member grasp the unread message number of oneself in real time by client; (5) real-time status of group member can be shown by group activity state, be used for preventing from being bothered by people, or represent that can receive others' invitation carries out interaction.
Accompanying drawing explanation
Fig. 1 of the present inventionly logs in schematic flow sheet;
Fig. 2 is messaging interaction schematic flow sheet of the present invention.
Embodiment
Below in conjunction with accompanying drawing, technical solution of the present invention is described in detail, but protection scope of the present invention is not limited to described embodiment.
Embodiment 1:
As illustrated in fig. 1 and 2, of the present invention at group member's interactive approach, comprise the steps:
Step 1, group member is after a certain client logs in, server is that this group member distributes unique login identification code, log in the character string that identification code can be set to 15, can meet for every group member distributes unique requirement logging in identification code completely, and the information about firms of corresponding this group member of storage and this time log in distribution log in identification code, the identification code that logs in again this being logged in distribution sends to this group member this time to log in used client, what this logged in that used client receives that this group member this time logs in distribution logs in identification code, and timing logs in the online heartbeat signal of the login identification code of distribution with the information about firms of this group member and this to server transmission, the cycle of the online heartbeat signal of client timed sending can be set to 10 ~ 30 seconds,
Step 2, server receives the online heartbeat signal that each client sends, and by the information about firms comprised in online heartbeat signal and the information about firms that logs in identification code and up-to-date storage with log in identification code and compare, if information about firms and to log in identification code inconsistent, then send illegal member's return code to the client sending inconsistent online heartbeat signal, client automatically exits after receiving illegal member's return code and this time logs in, if information about firms is with to log in identification code all consistent, then check in the message queue corresponding with this information about firms whether have unread message, if there is unread message, the return parameters of unread message is then returned to the client sending consistent online heartbeat signal, if there is no unread message, then return to the client sending consistent online heartbeat signal the return parameters not having unread message,
Step 3, client is after receiving the return parameters of unread message, if the group member that this client logs in sends the request instruction reading unread message to server, the unread message corresponding with the information about firms of the group member that this client logs in then is returned to this client by server, and delete by the unread message returned, if the group member that client logs in does not send the request instruction reading unread message to server, server does not initiatively return unread message to this client;
Step 4, group member is to logged in client input interactive message, interactive message with type information according to the type information of the every bar interactive message of interactive message curriculum offering, and is sent to server by client, and type information comprises chat messages and GC group command;
Step 5, server receives the interactive message with type information, and type of message is parsed from interactive message, the target complex ID that message content and message send, the target complex ID sent according to message again searches the group member in target complex, if type of message is chat messages, then be inserted in the message queue of server according to the principle of everyone chat messages of group member all in target complex, if type of message is GC group command, then first verify the validity of this GC group command, the content of server authentication GC group command validity comprises the group member whether qualified amendment group activity state of this GC group command of transmission and whether meets alteration ruler according to the group activity state that this GC group command is revised, the group activity state of non-this group of group members malicious modification can be prevented, if this GC group command is effective, again according to GC group command amendment group activity state, group activity state is used for representing that group member is in idle or busy state, the real-time status of group member can be shown by group activity state, be used for preventing from being bothered by people, or represent that can receive others' invitation carries out interaction, if this GC group command is invalid, then do not revise.
Be adopted as every group member and distribute unique login identification code, and by the online heartbeat signal of client timed sending, thus effectively avoid same group member to log at two places simultaneously; Adopting in client is that every bar interactive message arranges type of message, chat messages and GC group command is distinguished, achieves the simple management to group member interaction.
Whether unread message is had in order to every group member can be grasped further in real time, server is also all provided with unread message identifier for every group member, if the unread message identifier that certain group member is corresponding is 1, then indicate unread message, if the unread message identifier that certain group member is corresponding is 0, then represent there is no unread message.
The unread message number of oneself is grasped in real time by client in order to group member can be enable, server also counts respectively to the unread message quantity of every group member, every many one of the unread message of group member in the message queue of server, to the unread message quantity of position group member adding 1, group member often reads a unread message from client, to the unread message quantity of position group member subtracting 1.
As mentioned above, although represented with reference to specific preferred embodiment and described the present invention, it shall not be construed as the restriction to the present invention self.Under the spirit and scope of the present invention prerequisite not departing from claims definition, various change can be made in the form and details to it.

Claims (7)

1. at group member's interactive approach, it is characterized in that, comprise the steps:
Step 1, group member is after a certain client logs in, server is that this group member distributes unique login identification code, and the information about firms of corresponding this group member of storage and this time log in distribution log in identification code, the identification code that logs in again this being logged in distribution sends to this group member this time to log in used client, what this logged in that used client receives that this group member this time logs in distribution logs in identification code, and timing logs in the online heartbeat signal of the login identification code of distribution with the information about firms of this group member and this to server transmission,
Step 2, server receives the online heartbeat signal that each client sends, and by the information about firms comprised in online heartbeat signal and the information about firms that logs in identification code and up-to-date storage with log in identification code and compare, if information about firms and to log in identification code inconsistent, then send illegal member's return code to the client sending inconsistent online heartbeat signal, client automatically exits after receiving illegal member's return code and this time logs in, if information about firms is with to log in identification code all consistent, then check in the message queue corresponding with this information about firms whether have unread message, if there is unread message, the return parameters of unread message is then returned to the client sending consistent online heartbeat signal, if there is no unread message, then return to the client sending consistent online heartbeat signal the return parameters not having unread message,
Step 3, client is after receiving the return parameters of unread message, if the group member that this client logs in sends the request instruction reading unread message to server, the unread message corresponding with the information about firms of the group member that this client logs in then is returned to this client by server, and delete by the unread message returned, if the group member that client logs in does not send the request instruction reading unread message to server, server does not initiatively return unread message to this client;
Step 4, group member is to logged in client input interactive message, interactive message with type information according to the type information of the every bar interactive message of interactive message curriculum offering, and is sent to server by client, and described type information comprises chat messages and GC group command;
Step 5, server receives the interactive message with type information, and type of message is parsed from interactive message, the target complex ID that message content and message send, the target complex ID sent according to message again searches the group member in target complex, if type of message is chat messages, then be inserted in the message queue of server according to the principle of everyone chat messages of group member all in target complex, if type of message is GC group command, then first verify the validity of this GC group command, if this GC group command is effective, again according to GC group command amendment group activity state, if this GC group command is invalid, then do not revise.
2. online group according to claim 1 interactive approach, is characterized in that: described in log in the character string that identification code is 15.
3. online group according to claim 1 interactive approach, it is characterized in that: described server is that every group member is all provided with unread message identifier, if the unread message identifier that certain group member is corresponding is 1, then indicate unread message, if the unread message identifier that certain group member is corresponding is 0, then represent there is no unread message.
4. online group according to claim 1 interactive approach, is characterized in that: the cycle of the online heartbeat signal of described client timed sending is 10 ~ 30 seconds.
5. online group according to claim 1 interactive approach, it is characterized in that: the unread message quantity of described server to every group member counts respectively, every many one of the unread message of group member in the message queue of server, to the unread message quantity of position group member adding 1, group member often reads a unread message from client, to the unread message quantity of position group member subtracting 1.
6. online group according to claim 1 interactive approach, is characterized in that: described group activity state is used for representing that group member is in idle or busy state.
7. online group according to claim 1 interactive approach, is characterized in that: the content of described server authentication GC group command validity comprises the group member whether qualified amendment group activity state of this GC group command of transmission and whether meets alteration ruler according to the group activity state that this GC group command is revised.
CN201510269398.3A 2015-05-25 2015-05-25 One kind is in group member's interactive approach Active CN104901869B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510269398.3A CN104901869B (en) 2015-05-25 2015-05-25 One kind is in group member's interactive approach

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510269398.3A CN104901869B (en) 2015-05-25 2015-05-25 One kind is in group member's interactive approach

Publications (2)

Publication Number Publication Date
CN104901869A true CN104901869A (en) 2015-09-09
CN104901869B CN104901869B (en) 2017-09-15

Family

ID=54034272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510269398.3A Active CN104901869B (en) 2015-05-25 2015-05-25 One kind is in group member's interactive approach

Country Status (1)

Country Link
CN (1) CN104901869B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107465592A (en) * 2016-06-03 2017-12-12 苏宁云商集团股份有限公司 A kind of method for message interaction and system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109522116B (en) * 2018-10-11 2020-11-10 北京达佳互联信息技术有限公司 Object attention method, device and server

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100521661C (en) * 2006-03-16 2009-07-29 腾讯科技(深圳)有限公司 Method for transmitting instant message to group
CN101272358B (en) * 2008-05-05 2010-09-22 中国移动通信集团公司 Method, device and system for showing user group communication ability in instant communication
CN102655513A (en) * 2011-03-02 2012-09-05 腾讯科技(深圳)有限公司 Microblog message releasing method, microblog terminal and microblog server
CN101075990B (en) * 2007-06-13 2012-10-03 腾讯科技(深圳)有限公司 Method for issuing instant telecommunication software and instant telecommunication server
CN103491170A (en) * 2013-09-24 2014-01-01 新浪网技术(中国)有限公司 E-mail arrival message reminding method and system
CN104125133A (en) * 2013-04-27 2014-10-29 腾讯科技(深圳)有限公司 Session notification method, device and system in instant messenger application

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100521661C (en) * 2006-03-16 2009-07-29 腾讯科技(深圳)有限公司 Method for transmitting instant message to group
CN101075990B (en) * 2007-06-13 2012-10-03 腾讯科技(深圳)有限公司 Method for issuing instant telecommunication software and instant telecommunication server
CN101272358B (en) * 2008-05-05 2010-09-22 中国移动通信集团公司 Method, device and system for showing user group communication ability in instant communication
CN102655513A (en) * 2011-03-02 2012-09-05 腾讯科技(深圳)有限公司 Microblog message releasing method, microblog terminal and microblog server
CN104125133A (en) * 2013-04-27 2014-10-29 腾讯科技(深圳)有限公司 Session notification method, device and system in instant messenger application
CN103491170A (en) * 2013-09-24 2014-01-01 新浪网技术(中国)有限公司 E-mail arrival message reminding method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107465592A (en) * 2016-06-03 2017-12-12 苏宁云商集团股份有限公司 A kind of method for message interaction and system

Also Published As

Publication number Publication date
CN104901869B (en) 2017-09-15

Similar Documents

Publication Publication Date Title
US11075961B2 (en) Message processing method, apparatus, system, and computer storage medium
JP6085691B2 (en) Method, device and system for pushing information
WO2017128920A1 (en) Method, device, and terminal for message processing
CN104516918B (en) Maintaining method, device, server and the system of subscriber identity information
CN105897704B (en) The methods, devices and systems of permission addition, permission addition request
CN103227796A (en) Method and system of sharing contact network based on two-dimensional code
CN109005220B (en) Service implementation method of Internet of things terminal and Internet of things access gateway
CN105516133A (en) User identity verification method, server and client
US9269079B2 (en) Social network stealth and counter messaging
WO2017133329A1 (en) Information processing method, server, first terminal and computer storage medium
EP2991280B1 (en) Content sharing method and social synchronizing apparatus
CN105337841B (en) Information processing method and system, client and server
CN106470149A (en) Message method and device
US20200137004A1 (en) Systems, methods and computer program products for providing enhanced chat services
US9516009B2 (en) Authenticating redirection service
CN105920840B (en) A kind of game generation white silk method based on appointed task
US20230027998A1 (en) Aggregating an event occurrence feedback report within a group-based communication system
CN101976267A (en) Method and system for displaying dynamic information of friends in web page
CN106411703A (en) Information synchronization method and apparatus
CN106533923A (en) Information processing method and device based on instant messaging software
CN202110541U (en) Comment system based on label
CN104901869A (en) Interaction method for online group members
CN201985891U (en) System for preventing harassment of strangers in social network
CN104079472A (en) Method for mobile game products to achieve real-time social contact functions
CN102292945B (en) Message system for social networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230406

Address after: 201900, 1st Floor, Building 1, No. 947 Jinle Road, Baoshan District, Shanghai

Patentee after: Shanghai Shangmei Jiajin Internet Technology Co.,Ltd.

Address before: Nanjing City, Jiangsu province 210046 City Xianlin University No. 99

Patentee before: NANJING College OF INFORMATION TECHNOLOGY

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 201900, 1st Floor, Building 1, No. 947 Jinle Road, Baoshan District, Shanghai

Patentee after: Shanghai Shangmei Jiajin Internet Technology Co.,Ltd.

Address before: 201900, 1st Floor, Building 1, No. 947 Jinle Road, Baoshan District, Shanghai

Patentee before: Shanghai Shangmei Jiajin Internet Technology Co.,Ltd.