CN100556004C - In a kind of instant communicating system to the method to set up of group message receiving mode - Google Patents

In a kind of instant communicating system to the method to set up of group message receiving mode Download PDF

Info

Publication number
CN100556004C
CN100556004C CNB2006100720883A CN200610072088A CN100556004C CN 100556004 C CN100556004 C CN 100556004C CN B2006100720883 A CNB2006100720883 A CN B2006100720883A CN 200610072088 A CN200610072088 A CN 200610072088A CN 100556004 C CN100556004 C CN 100556004C
Authority
CN
China
Prior art keywords
group
message receiving
receiving mode
group message
user
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.)
Active
Application number
CNB2006100720883A
Other languages
Chinese (zh)
Other versions
CN101056275A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CNB2006100720883A priority Critical patent/CN100556004C/en
Publication of CN101056275A publication Critical patent/CN101056275A/en
Application granted granted Critical
Publication of CN100556004C publication Critical patent/CN100556004C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

To the method to set up of group message receiving mode, comprise step in a kind of instant communicating system: 11) in the group information tables of data of cluster server, group message receiving mode is set corresponding to group and group member thereof; 12) when request was landed in the cluster server reception, group and described group message receiving mode setting that this login user is added sent to client; 13) client is provided with the group message receiving mode of determining corresponding group according to the described group message receiving mode that is received.Preferably, the described group message receiving mode that is provided with specifically is corresponding to the time period concrete group message receiving mode to be set; Can there be different group message receiving modes the different time periods.Method provided by the invention makes the user when the landing of different clients, and can use the group message receiving mode of having set; In addition, preferred version of the present invention provides the function that different group message receiving modes was set according to the period for the user.

Description

In a kind of instant communicating system to the method to set up of group message receiving mode
Technical field
The present invention relates to instant communicating system, relate in particular in a kind of instant communicating system method to set up group message receiving mode.
Background technology
Network instant communication system (being called for short the IM system) has become the requisite communication tool of the network user, is widely used in work and the amusement.Be accompanied by above-mentioned situation, the user has proposed higher requirement to the ease for use of IM software.
In the IM system, group is a kind of function that is used widely, this function is that the IM user who will have common trait or hobby forms a group, each user is the member of its place group, group provides an immediate communication platform for its member, group member can be issued group message on this platform, group message will send to all members of this group, realizes many people information interaction of group member.Because group can satisfy the demand that a plurality of IM users carry out interacting instant information simultaneously, enlarge IM user's interchange face, so it has demonstrated fully the convenience that the IM system exchanges.
For any one IM user, as long as obtain specific group identification number (ID of group number), and use the ID of this group to search the request that inlet proposes to add this group in the group of IM software, through this group creator or keeper's approval, just can add this group, thereby obtain the qualification of group member.Land the IM system later at every turn, will land added group simultaneously, and receive group message.
In actual use, the user often wish can the selective reception group message mode.For example, only show the number of group message, and do not show the particular content of group message; Perhaps shield the message of certain group etc.For satisfying above-mentioned requirements, the IM system provides the function that group message receiving mode is set.Specifically, be to carry out the group message receiving mode setting, and store this and be set to the local side memory cell by the group that the IM system user is at first participated in oneself.Described group message receiving mode is provided for the regulation local side message of the group of correspondence is handled in which way.For example, show this group message, or only show the bar number of this group message, perhaps directly shield this group message etc.When carrying out instant messaging, after the subscriber's local end message management module of IM system receives message, at first extract current type of message, if determine it is group message, then further obtain group identification, and utilize group identification to inquire about local memory module, obtain of the message setting of described IM system user at this group, the IM system carries out the subsequent treatment of message according to described message setting, for example display message bar number or shielding group message etc., above-mentioned prior art can satisfy the demand that the user selects group message receiving mode to a certain extent.
But also there is tangible deficiency in above-mentioned prior art, mainly shows:
1, in the some specific client stores module that the setting of group message receiving mode is just preserved,, need reset if the user uses IM software in other clients.In fact, the user often need land instant communicating system in different clients, so this method often brings inconvenience.
2, the user often has periodly for the demand of group, and for example: working hour is open to the group between the colleague, and the rest period then participates in the discussion of the group of amusement and recreation topic.And above-mentioned prior art can't be provided with flexibly according to the different time periods, caused the user with the demand often need change setting.
Summary of the invention
At above-mentioned defective, the technical problem that the present invention solves is, for instant communicating system provides a kind of method to set up to group message receiving mode, this method can make the user of instant communicating system can receive group message according to the mode that oneself requires when any client is landed; Based on the above method, the preferred version of this method further can also be provided with different message receiving modes according to the different periods, satisfy the demand of customer requirements message receiving mode and time correlation.
The method to set up of the message receiving mode of instant communicating system provided by the invention, specifically:
11) in the group information tables of data of cluster server, group message receiving mode is set corresponding to group and group member thereof;
12) when request was landed in the cluster server reception, group and described group message receiving mode setting that this login user is added sent to client;
13) client is provided with the group message receiving mode of determining corresponding group according to the described group message receiving mode that is received.
Preferably, the described group message receiving mode that is provided with specifically is corresponding to the time period concrete group message receiving mode to be set; Can there be different group message receiving modes the different time periods.
Preferably, when cluster server reception user landed request in the described step 12), each group and described group message receiving mode setting thereof that this user is added sent to client; In the described step 13), client is determined the message receiving mode to each group that is added according to the time period at described group message receiving mode setting and current place.
Preferably, after client receives described group message receiving mode and is provided with in the described step 13), start timer program simultaneously, this program is used to provide time period information, with control to the switching of the group message receiving mode of each group in different time sections.
Preferably, the method to set up of described group message receiving mode is: in the group member information list field in each group, corresponding to each group member record, increase the group message receiving mode field, use the described group message receiving mode of this field record.
Preferably, the described concrete grammar that group message receiving mode is set comprises:
Send group message receiving mode by client and packet is set to cluster server, the content of this packet comprises the related content that user's instant messaging identify label, group identification and group message receiving mode are provided with;
Cluster server is located the record of this user in group member information list field in the group corresponding with described group identification according to the content of this packet, and the group message receiving mode in the packet is write described group message receiving mode field.
Preferably, the generating mode that described group message receiving mode is provided with packet is: the group message receiving mode to certain group of being added that client receives that the user is provided with is provided with packet with the group identification of foregoing and this group and user's information combination such as instant messaging identify label to group message receiving mode.
Preferably, the group message receiving mode to certain group of being added that described client receives that the user is provided with specifically is after the user lands instant communicating system, at group message receiving mode the required setting of input under the interface is set; Described group message receiving mode is provided with the interface and utilizes Windows related application DLL (dynamic link library) api function to generate.
Preferably, after described group message receiving mode was provided with the packet generation, client was carried out encryption to this packet, utilized the socket of agreement to send then.
Technical scheme provided by the invention compared with prior art has following advantage:
1, method provided by the invention makes the user when the landing of different clients, and can use the group message receiving mode of having set.
Because method provided by the invention is arranged on user's group message receiving mode in the cluster server, therefore, no matter the user lands instant communicating system wherein, can both receive group message according to the mode of having set, the work that the client of having avoided the user to land owing to replacing repeats to be provided with.
2, preferred version provided by the invention provides the function that different group message receiving modes was set according to the period for the user.In the preferred version of the present invention, can different message receiving modes be set corresponding different time sections, the user uses in the IM system, and the IM system carries out corresponding setting according to the current time automatically.The user can use various message receiving modes easily as required flexibly, fully satisfies the time correlation sexual demand of user to group message receiving mode.
Description of drawings
Fig. 1 is the flow chart of first embodiment of the invention;
Fig. 2 is the flow chart that group message receiving mode is provided with of first embodiment of the invention;
Fig. 3 is that first embodiment of the invention obtains the group message receiving mode setting and is arranged on the flow chart that local side carries out respective settings according to this from the cluster server end.
Embodiment
Please, be the flow chart of first embodiment of the invention referring to Fig. 1.This illustrates the general steps of present embodiment.
Step S10, beginning.
Step S11 is for group member is provided with group message receiving mode.
The key of present embodiment is, in the group information tables of data of cluster server, corresponding to group and group member thereof group message receiving mode is set.Concrete method to set up is seen below continuous special flow chart.
Step S12 sends to client with described group message receiving mode.
When request was landed in the cluster server reception, group and described group message receiving mode setting that this login user is added sent to client.
Step S13, client is determined group message receiving mode
Client is determined the group message receiving mode of corresponding group according to the described group message receiving mode setting that is received.
In actual use, above-mentioned steps S11 has independence, adopts special flow process to realize.After setting, client can be used this setting repeatedly.So client need not to land the IM system and all carries out this step at every turn.Below adopt special flow chart to introduce this setting up procedure.
Please, be the described flow chart that group message receiving mode is set referring to Fig. 2.
Step S200, beginning.
Step S201 increases the group message receiving mode field in the group member list field.
Carrying out increasing the group message receiving mode field in the group information tables of data of the cluster server of IM system before group message is provided with, comprise the field and the time corresponding section field of the concrete receive mode that group message is described in this field.
Described group information tables of data is used to write down the information of group and group member thereof.This group information tables of data with the group identification of each group be the ID of group as major key, have the group member list field under each ID of group, be used for collection of record group membership information.Present embodiment corresponding to each group member record, increases the group message receiving mode field in the group member list field.The content of this group message receiving mode field record comprises the concrete receive mode of group message, and corresponding to time of each concrete receive mode.
The user can land the content that is provided with that cluster server changes above-mentioned field, be implemented in server end the message receiving mode of each group of being participated in is provided with group message receiving mode respectively, thereby realize the control of group message receiving mode more flexibly and easily.
Step S202 receives the request that the user lands the IM system.
The IM server receives the request of landing of user side.Concrete steps are: the user lands request data package by sending to server end; The IM server receives and resolves the request data package of landing of client transmission, judges whether to be validated user, if then allow to land.The IM server also obtains user's instant messaging ID by the described request data package of landing, and client information such as IP number of correspondence, PORT port numbers when landing, and sends to client according to above-mentioned information and to land the message of success.If through judging that the user is not a validated user, then sends corresponding message to client.
Step S203, user carry out the setting of group message receiving mode in client.
In the present embodiment, after the user lands the IM system, utilize Windows related application DLL (dynamic link library) (api function),, open corresponding operation interface by the inlet porting of group message receiving mode.Under this interface, the user is provided with the concrete receive mode and the time corresponding section of group message as required.
Step S204, client sends group message receiving mode packet is set.
After client receives the group message receiving mode (the concrete receive mode and each receive mode time corresponding section that comprise group message) of user's setting, foregoing is provided with packet with corresponding group identification and user's IM identify label information combination such as (ID) to group message receiving mode, after this packet carried out encryption, utilize the socket of agreement to send.
Step S205, cluster server receive described group message receiving mode packet are set.
Cluster server receives after described group message receiving mode that client sends is provided with packet, and this packet is verified, be defined as effective data packets after, resolve this packet.At first parse the ID of group in the packet, the ID of this group as keyword, is located this user's group member record according to user's IM identify label.Then, parse described set group message receiving mode from packet, write described group message receiving mode field, the content that specifically writes comprises the concrete receive mode of group message, and corresponding to time of the concrete receive mode of group message
Step S206, cluster server return to client successful information are set, and setting up procedure finishes.
After cluster server was finished above-mentioned write operation, IP address and the transmission of PORT port thereof to the client place write successful information.In this successful information, can also comprise the inquiry user and whether use the information of this setting immediately, if select to use immediately, then set the message receiving mode of this group according to above-mentioned setting and current time.
The user can be provided with message receiving mode and time corresponding section respectively to own each group that is added easily by above-mentioned steps.
After the user carries out above-mentioned the setting, when landing the IM system once more, just can obtain group message receiving mode, thereby set accordingly in client from the cluster server end corresponding to certain group.This process is exactly the process of step S12, step S13 among Fig. 1.Below describe this process in detail.
Please referring to Fig. 3, this illustrates after server end is provided with group message receiving mode for certain user, after this user lands the IM system, according to this process of the message receiving mode of setting corresponding group is set.
Step S301, beginning.
Step S302 lands instant communicating system.
When the user landed instant communicating system once more, client sent to server end with IM identify label and the IP address of landing and PORT port combination in packet.Send the ID of the group tabulation that inquiring user adds simultaneously, and the protocol command of group message receiving mode (comprising the setting of time corresponding section) is to cluster server.
Step S303, cluster server receive described packet.
After cluster server receives described packet, check the validity of this packet.After confirming that this packet effectively, therefrom parse the IM identify label.According to described protocol command, and use this IM identify label, the searching user's information tables of data is obtained the ID of group tabulation that should the user.
Step S304, generation comprises the return data bag that the message receiving mode of each group is provided with.
Cluster server utilizes the described ID of group tabulation, according to the ID of group, inquires about described group message tables of data, finds out the group that this user participates in, and reads group member list field that should group.In this group member list field, in the group member record of inquiry corresponding to this user IM identify label, read the content that is provided with of described group message receiving mode, in the ID of the group adding return data bag with above-mentioned reading of content and this group.
All groups for this user adds all carry out above-mentioned processing, finally obtain the packet that an all group information receive mode that comprise that this user adds is provided with content.
Step S305 sends the packet that is obtained to client.
Step S306, client receives packet, and packet is handled.
After client receives the described packet that cluster server returns, at first confirm the validity of this packet.After being confirmed to be effective data packets, packet is resolved, and the data in the packet are carried out traversal processing, preserve the relevant group message receiving mode configuration information of the corresponding ID of each group and other information of relevant group and arrive this locality, form the group information tabulation corresponding to each group of local side.
Step S307, the client terminal start-up timer utilizes the time period information of local group information tabulation, controls the message receiving mode of each group.
At first, the client terminal start-up timer program, this program is used to control the hand-off process of group message receiving mode.
Secondly, utilize the api function of Windows time correlation to obtain current local time information, travel through all group information tabulations, determine that group message receiving mode that whether current time be in each group is in each time period in being provided with.If the concrete mode of then inquiring about the message sink of this time correspondence is provided with the message receiving mode of this group.So just can guarantee that the user does not need to carry out any manual handle, just can satisfy the time period requirement of user the concrete mode of group message reception.Simultaneously, how long the concluding time of calculating this time period also has, and the timing time of timer program is set in view of the above.
When the timer timing shows between the current time is no longer at this moment in the section, the message receiving mode setting of then reading the relevant groups of local storage once more, and according to situation change message receiving mode is set.
The aforesaid way that uses present embodiment to provide, the user can be provided with group message receiving mode easily.Because this setting is kept in the cluster server, therefore can not produce the user and land and can't use the problem of the group message receiving mode that has set in different IP addresses; And because the user can corresponding different time sections be provided with different group message receiving modes, therefore, present embodiment can also realize that the user selects the function of group message receiving mode according to the time period, and realizes automaticallying switch when the time changes.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (9)

1, in a kind of instant communicating system to the method to set up of group message receiving mode, it is characterized in that,
11) in the group information tables of data of cluster server, group message receiving mode is set corresponding to group and group member thereof;
The described group message receiving mode that is provided with comprises corresponding to the time period concrete group message receiving mode is set;
12) when request was landed in the cluster server reception, group and described group message receiving mode setting that login user is added sent to client;
13) client is provided with the group message receiving mode of determining corresponding group according to the described group message receiving mode that is received.
2, method according to claim 1 is characterized in that, there is different group message receiving modes the different time periods.
3, method according to claim 2 is characterized in that, when cluster server reception user landed request in the described step 12), each group and described group message receiving mode setting thereof that this user is added sent to client; In the described step 13), client is determined the message receiving mode to each group that is added according to the time period at described group message receiving mode setting and current place.
4, method according to claim 3, it is characterized in that, after client receives described group message receiving mode and is provided with in the described step 13), start timer program simultaneously, this program is used to provide time period information, with control to the switching of the group message receiving mode of each group in different time sections.
5, according to each described method of claim 1 to 4, it is characterized in that, the method to set up of described group message receiving mode is: in the group member information list field in each group, corresponding to each group member record, increase the group message receiving mode field, use the described group message receiving mode of this field record.
6, method according to claim 5 is characterized in that, the described concrete grammar that group message receiving mode is set comprises:
Send group message receiving mode by client and packet is set to cluster server, the content of this packet comprises the related content that user's instant messaging identify label, group identification and group message receiving mode are provided with;
Cluster server is located the record of this user in group member information list field in the group corresponding with described group identification according to the content of this packet, and the group message receiving mode in the packet is write described group message receiving mode field.
7, method according to claim 6, it is characterized in that, the generating mode that described group message receiving mode is provided with packet is: the group message receiving mode to certain group of being added that client receives that the user is provided with is combined to group message receiving mode with the group identification of described group message receiving mode and this group and user's instant messaging identify label packet is set.
8, method according to claim 7, it is characterized in that, the group message receiving mode to certain group of being added that described client receives that the user is provided with specifically is after the user lands instant communicating system, at group message receiving mode the required setting of input under the interface is set; Described group message receiving mode is provided with the interface and utilizes Windows related application DLL (dynamic link library) api function to generate.
9, method according to claim 7 is characterized in that, after described group message receiving mode was provided with the packet generation, client was carried out encryption to this packet, utilizes the socket of agreement to send then.
CNB2006100720883A 2006-04-10 2006-04-10 In a kind of instant communicating system to the method to set up of group message receiving mode Active CN100556004C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100720883A CN100556004C (en) 2006-04-10 2006-04-10 In a kind of instant communicating system to the method to set up of group message receiving mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100720883A CN100556004C (en) 2006-04-10 2006-04-10 In a kind of instant communicating system to the method to set up of group message receiving mode

Publications (2)

Publication Number Publication Date
CN101056275A CN101056275A (en) 2007-10-17
CN100556004C true CN100556004C (en) 2009-10-28

Family

ID=38795888

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100720883A Active CN100556004C (en) 2006-04-10 2006-04-10 In a kind of instant communicating system to the method to set up of group message receiving mode

Country Status (1)

Country Link
CN (1) CN100556004C (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101282312B (en) * 2008-05-16 2011-02-02 腾讯科技(深圳)有限公司 Control method for group display mode in instant communication system as well as instant communication system
CN101394373B (en) * 2008-11-06 2012-05-30 侯万春 System and method for adding closed customer group in instant communication network customer terminal
CN102075456B (en) * 2011-02-25 2013-06-19 中国科学院计算技术研究所 Group creating and member adding method in distributed domain management system
CN102638358B (en) * 2012-03-27 2016-08-24 上海量明科技发展有限公司 A kind of carry out the method for limited shielding, client and system for group message
CN104410497A (en) * 2014-11-27 2015-03-11 南京欣网视讯网络科技有限公司 Safety information transmission system for wireless handheld terminals
CN105812228B (en) * 2014-12-30 2019-02-26 深圳富泰宏精密工业有限公司 Group information filtration system and method
WO2017124473A1 (en) * 2016-01-23 2017-07-27 黄冠明 Technology data collection method during reception of group information and group message system
WO2017124475A1 (en) * 2016-01-23 2017-07-27 黄冠明 Time-based method for receiving group message, and group message system
WO2017124474A1 (en) * 2016-01-23 2017-07-27 黄冠明 Information pushing method during reception of group message, and group message system
CN110443375B (en) * 2019-08-16 2021-06-11 深圳前海微众银行股份有限公司 Method and device for federated learning
CN110609841B (en) * 2019-09-18 2020-09-15 镁佳(北京)科技有限公司 Method, device, readable medium and electronic equipment for asynchronously processing messages
CN115101220A (en) * 2022-07-15 2022-09-23 阿里健康科技(中国)有限公司 Referral method and instant messaging method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
屏蔽QQ群消息的简单方法. http://net.stuun.com/im/qq/7100.html. 2006
屏蔽QQ群消息的简单方法. http://net.stuun.com/im/qq/7100.html. 2006 *

Also Published As

Publication number Publication date
CN101056275A (en) 2007-10-17

Similar Documents

Publication Publication Date Title
CN100556004C (en) In a kind of instant communicating system to the method to set up of group message receiving mode
CN101072103B (en) Method and system for multi-account log-in instant communication software
CN100463469C (en) Method, device and system for sharing applied program conversation information on multichannels
CN100530179C (en) Techniques for inline searching in an instant messenger environment
US7844664B2 (en) Group based communication method, system and client
US10834031B2 (en) Information exchange method, client, and apparatus
CN101159714B (en) Instant communication method and device
CN101277276B (en) Method and system for transmission of off-line image
EP2710776B1 (en) Anonymous signalling
CN100468339C (en) Device capable of simulating basic function of mobile phone in computer
US8353771B2 (en) System of mobile online game and method for communicating between mobile game terminals
CN100505629C (en) Method for set-up blogger and immediate communication of the blogger based on reciprocity mode
CN102150443A (en) System and methods for communication between instant message users and short message service users
CN101242374A (en) System, method and instant communication terminal for user list matching in instant communication
CN102307159A (en) Method and apparatus for efficient resending of messages using message id
CN101431486A (en) Method and apparatus for selecting conversation participant in instant communication
CN101247368A (en) User search method, system, server and client terminal for instant communication
CN106169995B (en) A kind of anti-brush method and system of webcast website's handset binding short-message verification
CN102843308A (en) Instant messaging method and system based on mobile terminal local address book
CN106161186B (en) Instant communication method and device
CN104540114A (en) Methods, terminal, server and system used for recognizing opposite terminal identity
CN102185699A (en) Group information interaction method and system for community platform
CN106161201A (en) A kind of with Email Accounts for the mark participation method of group chat, equipment and system
CN102045274B (en) Method and communication system for realizing information interaction based on instant messaging
CN101510895A (en) System and method for managing mobile address book based on internet

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant