CN1992685A - Method for refusing the reception of user message - Google Patents

Method for refusing the reception of user message Download PDF

Info

Publication number
CN1992685A
CN1992685A CN 200510132867 CN200510132867A CN1992685A CN 1992685 A CN1992685 A CN 1992685A CN 200510132867 CN200510132867 CN 200510132867 CN 200510132867 A CN200510132867 A CN 200510132867A CN 1992685 A CN1992685 A CN 1992685A
Authority
CN
China
Prior art keywords
user
group
communication
severing
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
CN 200510132867
Other languages
Chinese (zh)
Other versions
CN100588182C (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 CN200510132867A priority Critical patent/CN100588182C/en
Publication of CN1992685A publication Critical patent/CN1992685A/en
Application granted granted Critical
Publication of CN100588182C publication Critical patent/CN100588182C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a refusing receiving user information method, so that individual user or group user avoids the annoyance the messages from the come-and-go users being refused. In this invention, according to the specified refusing come-and-go users preset by the individual user or group user, the server can discard the messages sent by the refused come-and-go users to the said individual user or group user, so that the individual user or group user avoids the annoyance of the messages sent by the refused come-and-go users, which greatly enhances security of the IM process.

Description

A kind of method of rejecting user message
Technical field
The present invention relates to computer technology, relate in particular to a kind of method of rejecting user message.
Background technology
Along with the increase rapidly of amount of information and the quickening of people's rhythm of life, network provides a kind of very convenient and information interchange mode efficiently for people.When network was more and more popularized, various types of JICQs (as QQ, TM, MSN etc.) had also become the requisite Software tool of user, had all obtained using widely in user's work and life.The basic functions of JICQ is to carry out instant communication exchange with the contact person, for satisfying the diversified demand of user, each big instant communication software is except supporting the communication between unique user and the unique user at present, also all released the service of group, make the user not only can experience the communication between the unique user, and the user that can make same classification or have a same feature carry out exchanges and communication in a Virtual space.
In present instant communication software, be subjected to some unnecessary harassing and wrecking for fear of the user, the user can add some contact person in its contacts list in the blacklist to, when certain contact person of user is set to the blacklist member, client sends and blacklist member's protocol command is set to server, server is according to this blacklist member's identification information, this blacklist member is deleted from user's contacts list, simultaneously this user is deleted from blacklist member's contacts list, just can't communicate between user and this blacklist member like this.Blacklist set-up mode of the prior art only supports certain unique user in its contacts list of unique user to be set to the blacklist member, the mode that any designated user is set to the blacklist member is unassisted, and set blacklist member still can initiate the contact person to the user again and adds request in the prior art, thereby may also can cause certain interference to the user.
Continuous development along with group service in the instant communication software, the classification of group is also more and more abundanter, group service has all obtained using widely in user's work and life, and group member can carry out the discussion and the analysis of common issue with by group in the Virtual Space.But be accompanied by increasing of group member, the fail safe of group is also had higher requirement.Group exists the possibility of being harassed by the user equally in the prior art, for example the certain user often sends the request that application adds group, so just caused harassing and wrecking problem to a plurality of keepers in the group, if and careless overdue the adhereing to of certain keeper, just caused irrelevant user to add group, the fail safe to group affects easily.
Summary of the invention
The invention provides a kind of method of rejecting user message, the harassing and wrecking of the message that the user sends so that unique user or group user are avoided being subjected to severing communication.
The inventive method comprises:
A kind of method of rejecting user message comprises step:
A, management and group person send to the user ID of severing communication of group identification and appointment by the Administrator Client that the cluster server end is related to be preserved;
B, cluster server end abandon the described user of severing communication according to described related information of preserving to the message that described group sends.
The user that severs communication of described management and group person's appointment is for adding the user of described group.
Also comprise step between described steps A and the step B:
The cluster server end is deleted the described user ID of severing communication from the group member sign of the described group identification correspondence of this locality preservation, and described group identification is deleted from the group identification of interpolation of the described user ID correspondence of severing communication;
Deletion the group member sign of the described group identification correspondence that the group member client is preserved the described user ID of severing communication from this locality, and reload and show the group member tabulation according to the remaining group member sign in deletion back.
The user that severs communication of described management and group person's appointment adds the user of described group for request.
Also comprise step behind the described step B:
The cluster server end sends the information that described group rejects its message to the described user of severing communication.
A kind of method of rejecting user message comprises step:
A, user send to the user ID of severing communication of user ID and appointment by client that server end is related to be preserved;
B, server end abandon the described user of severing communication according to described related information of preserving to described messages sent by users.
The contacts list member of user that sever communication of described user's appointment for this user.
Also comprise step between described steps A and the step B:
Server end is deleted the described user ID of severing communication from the identification of contacts of the described user ID correspondence of this locality preservation, and described user ID is deleted from the identification of contacts of the described user ID correspondence of severing communication;
Delete the identification of contacts of the described user ID correspondence that client is preserved the described user ID of severing communication from this locality, and reload and show contacts list according to the remaining identification of contacts in deletion back.
The user that severs communication of described user's appointment adds the user of this user contact lists for request.
Also comprise step behind the described step B:
Server end sends the information that described user rejects its message to the described user of severing communication.
Beneficial effect of the present invention is as follows:
The server end basis is the user that severs communication of unique user or group user appointment in advance among the present invention, the user that this can be severed communication abandons to the message of described unique user or group user transmission, thereby the harassing and wrecking of the message that the user sends that makes unique user or group user avoid severing communication, the fail safe that has improved the instant messaging process greatly.
Description of drawings
Fig. 1 is for being provided with the flow chart of the user's that severs communication method for group among the present invention;
Fig. 2 is the flow chart of group among the present invention according to the default user list rejection user message of severing communication;
Fig. 3 is for being sever communication user's the flow chart of method of unique user setting among the present invention;
Fig. 4 is the flow chart of unique user among the present invention according to the default user list rejection user message of severing communication.
Embodiment
The present invention is directed to the defective of prior art, the processing mode that server end in a kind of instant messaging process sends this user that severs communication according to the preassigned user of severing communication to described unique user or group user message abandons is proposed, the harassing and wrecking of the message that the user sends so that unique user or group user are avoided being subjected to severing communication.
Below in conjunction with accompanying drawing main realization principle of the present invention and embodiment thereof are explained in detail.
Embodiment one:
See also Fig. 1, this figure is the flow chart that the user's that severs communication method is set for group among the present invention, and its main implementation procedure is:
Step S10, the cluster server end for each group identification is provided with the corresponding user storage structure of severing communication, be used to store the user ID of severing communication of this group;
If exist at cluster server end and the corresponding user storage structure of severing communication of group identification, then step S10 can omit, and only comprises the steps.
Step S11, management and group person are that group specifies the user that severs communication by Administrator Client's operation interface;
The user that severs communication of management and group person's appointment can also can add the user of group for request for adding the user of group.
Step S12, Administrator Client protocol format by appointment will be provided with the sever communication user ID of severing communication of User Agreement order, group identification and management and group person's appointment of group and be combined in the packet, after packet carried out encryption, utilize the socket port of agreement to send to the cluster server end.
Step S13, cluster server receive packet in the socket port async of agreement, after packet is decrypted dissection process, draw group sever communication User Agreement order, group identification and the user ID of severing communication are set, inquire about the user storage structure of severing communication accordingly according to described group identification, whether judge that this user ID of severing communication is current is present in the user storage structure of severing communication accordingly, if there is not execution in step S14.Otherwise, finish current flow process.
Step S14, the user ID of severing communication is added in the user storage structure of severing communication of group identification correspondence.
Step S15, inquire about the group member sign list of this group identification correspondence, and judge whether the user ID of severing communication is arranged in this group member sign list, if, then this user that severs communication is for adding the user of group, execution in step S16, S17, otherwise, direct execution in step S17;
Step S16, releasing group are with the association of severing communication between the user;
The cluster server end is deleted this user ID of severing communication from the group member sign of the group identification correspondence of this locality preservation, and described group identification is deleted from the group identification of interpolation of the described user ID correspondence of severing communication;
The deletion the group member sign of the group identification correspondence that user ID preserves from this locality of will severing communication of group member client, and reload and show the group member tabulation according to the remaining group member sign in deletion back.
Step S17, cluster server all Administrator Clients in group send and carry the packet that the user's that severs communication protocol command successfully is set, the Administrator Client resolves the packet that cluster server issues, and obtains being provided with certain user and be user's the notification message of severing communication.
See also Fig. 2, this figure is that group is according to the flow chart of the default user list rejection user message of severing communication among the present invention, and its main implementation procedure is:
Step S20, user protocol format by appointment are combined to user message, self user ID and group identification in the packet, packet is carried out encryption after, utilize the socket port of agreement to send this packet to cluster server.
Step S21, cluster server are waited in the socket port async of agreement and are received packet, packet is decrypted and parse operation to receiving, after confirming that the packet that receives is the active data bag, parse user message, group identification and user ID in the packet.
The group identification that step S22, cluster server utilization parse is inquired about the user ID storage organization of severing communication accordingly, the traversal user ID of severing communication wherein, judge whether the user ID that parses is present in the user ID of severing communication, if exist, execution in step S23, otherwise, execution in step S24.
Step S23, cluster server abandon this user to the message that group sends, send the information that group rejects its message to this user simultaneously.
Step S24, cluster server are transmitted the message that this user sends to group;
If the adding group request message that this message is sent for the user who asks adding group, then cluster server is inquired about corresponding management and group person according to group identification and is identified list, identify according to management and group person, the inquiry logon server obtains the dynamic IP addressing and the PORT port of all Administrator Client's logins of group, cluster server is according to Administrator Client's dynamic IP addressing and PORT port, make up to add group's request message and send requesting users and be identified in the packet, this packet is sent to all Administrator Clients in the group, the Administrator Client receives the packet that cluster server issues in the socket port async of agreement, and the packet that receives is decrypted and parse operation, parse adding group request message wherein and send the requesting users sign after being confirmed to be the active data bag, and send the information that adds group's request to group by the prompt window explicit user.
If this message is for adding user's instant message that all members send in group of group, then cluster server is inquired about corresponding group member sign list according to group identification, identify according to group member, the inquiry logon server obtains dynamic IP addressing and the PORT port of all online members in the group, cluster server is according to the dynamic IP addressing and the PORT port of online group member, the user ID that makes up this instant message and send instant message is in packet, this packet is sent to all online group member clients in the group, the group member client receives the packet that cluster server issues in the socket port async of agreement, and the packet that receives is decrypted and parse operation, be confirmed to be the user ID that parses instant message wherein behind the active data bag and send instant message, and in chat window, show the instant message that this user sends.
The cluster server end can abandon this user that severs communication according to the preassigned user of severing communication of management and group person in the foregoing description to the message that group sends, the harassing and wrecking of the message that the user sends so that management and group person avoids severing communication, same processing mode also is applicable to unique user, following embodiment two will abandon this user that severs communication according to the preassigned user of severing communication of unique user server end to the message that this unique user sends, the specific implementation of the harassing and wrecking of the message that the user sends so that unique user is avoided severing communication describes.
Embodiment two:
See also Fig. 3, this figure is sever communication user's the flow chart of method of unique user setting among the present invention, and its main implementation procedure is:
Step S30, at user ID the corresponding user storage structure of severing communication is set, is used to store this user's the user ID of severing communication at server end;
If exist at server end and the corresponding user storage structure of severing communication of user ID, then step S30 can omit, and only comprises the steps.
Step S31, user specify the user that severs communication of self by the operation interface of client, and the user that severs communication can be this user's contacts list member, also can add the user of this user's contacts list for request.
Step S32, client protocol format by appointment are combined to the sever communication user ID of severing communication of User Agreement order, user ID and appointment of setting in the packet, after packet carried out encryption, utilize the socket port of agreement to send to server end.
Step S33, server receive packet in the socket port async of agreement, after packet is decrypted dissection process, draw sever communication User Agreement order, user ID and the user ID of severing communication are set, inquire about the user storage structure of severing communication accordingly according to user ID, whether judge that this user ID of severing communication is current is present in the user storage structure of severing communication, if there is not execution in step S34.Otherwise, finish current flow process.
Step S34, the user ID of severing communication is added in the user storage structure of severing communication of user ID correspondence.
Step S35, inquire about the identification of contacts list of this user ID correspondence, and judge whether the user ID of severing communication is arranged in this identification of contacts list, if, then this user that severs communication is contact person of this user, execution in step S36, S37, otherwise, direct execution in step S37;
Step S36, remove the user with its association between the user of severing communication;
Server end is deleted the described user ID of severing communication from the identification of contacts of the described user ID correspondence of this locality preservation, and described user ID is deleted from the identification of contacts of the described user ID correspondence of severing communication;
Delete the identification of contacts of the described user ID correspondence that client is preserved the described user ID of severing communication from this locality, and reload and show contacts list according to the remaining identification of contacts in deletion back.
Step S37, server send to user's logging on client and carry the packet that the user's that severs communication protocol command successfully is set, and the packet that the client resolution server issues obtains being provided with certain user and be user's the notification message of severing communication.
See also Fig. 4, this figure is that unique user is according to the flow chart of the default user list rejection user message of severing communication among the present invention, and its main implementation procedure is:
Step S40, source user protocol format by appointment are combined to user message, source user sign and purpose user ID in the packet, packet is carried out encryption after, utilize the socket port of agreement to send this packet to server;
Wherein said source user and described purpose user are unique user.
Step S41, server are waited in the socket port async of agreement and are received packet, packet is decrypted and parse operation to receiving, after confirming that the packet that receives is the active data bag, parse user message, source user sign and purpose user ID in the packet.
The user ID storage organization of severing communication of step S42, server lookup purpose user ID correspondence, the traversal user ID of severing communication wherein judges whether the user ID that parses is present in the user ID of severing communication, if exist, execution in step S43, otherwise, execution in step S44.
Step S43, server abandon the user message that source user sends, and send the information that the purpose user rejects its message to source user simultaneously.
Step S44, server are transmitted the user message that source user sends to the purpose user.
The server end basis is the user that severs communication of unique user or group user appointment in advance among the present invention, the user that this can be severed communication abandons to the message of described unique user or group user transmission, thereby the harassing and wrecking of the message that the user sends that makes unique user or group user avoid severing communication, the fail safe that has improved the instant messaging process greatly.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (10)

1, a kind of method of rejecting user message is characterized in that, comprises step:
A, management and group person send to the user ID of severing communication of group identification and appointment by the Administrator Client that the cluster server end is related to be preserved;
B, cluster server end abandon the described user of severing communication according to described related information of preserving to the message that described group sends.
2, the method for claim 1 is characterized in that, the user that severs communication of described management and group person's appointment is for adding the user of described group.
3, method as claimed in claim 2 is characterized in that, also comprises step between described steps A and the step B:
The cluster server end is deleted the described user ID of severing communication from the group member sign of the described group identification correspondence of this locality preservation, and described group identification is deleted from the group identification of interpolation of the described user ID correspondence of severing communication;
Deletion the group member sign of the described group identification correspondence that the group member client is preserved the described user ID of severing communication from this locality, and reload and show the group member tabulation according to the remaining group member sign in deletion back.
4, the method for claim 1 is characterized in that, the user that severs communication of described management and group person's appointment adds the user of described group for request.
5, the method for claim 1 is characterized in that, also comprises step behind the described step B:
The cluster server end sends the information that described group rejects its message to the described user of severing communication.
6, a kind of method of rejecting user message is characterized in that, comprises step:
A, user send to the user ID of severing communication of user ID and appointment by client that server end is related to be preserved;
B, server end abandon the described user of severing communication according to described related information of preserving to described messages sent by users.
7, method as claimed in claim 6 is characterized in that, the contacts list member of user for this user that sever communication of described user's appointment.
8, method as claimed in claim 7 is characterized in that, also comprises step between described steps A and the step B:
Server end is deleted the described user ID of severing communication from the identification of contacts of the described user ID correspondence of this locality preservation, and described user ID is deleted from the identification of contacts of the described user ID correspondence of severing communication;
Delete the identification of contacts of the described user ID correspondence that client is preserved the described user ID of severing communication from this locality, and reload and show contacts list according to the remaining identification of contacts in deletion back.
9, method as claimed in claim 6 is characterized in that, the user that severs communication of described user's appointment adds the user of this user contact lists for request.
10, method as claimed in claim 6 is characterized in that, also comprises step behind the described step B:
Server end sends the information that described user rejects its message to the described user of severing communication.
CN200510132867A 2005-12-27 2005-12-27 Method for refusing the reception of user message Active CN100588182C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200510132867A CN100588182C (en) 2005-12-27 2005-12-27 Method for refusing the reception of user message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200510132867A CN100588182C (en) 2005-12-27 2005-12-27 Method for refusing the reception of user message

Publications (2)

Publication Number Publication Date
CN1992685A true CN1992685A (en) 2007-07-04
CN100588182C CN100588182C (en) 2010-02-03

Family

ID=38214637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200510132867A Active CN100588182C (en) 2005-12-27 2005-12-27 Method for refusing the reception of user message

Country Status (1)

Country Link
CN (1) CN100588182C (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163117B (en) * 2007-11-30 2010-04-14 腾讯科技(深圳)有限公司 Packet management method, packet resource sharing method and instant communication equipment
CN103400067A (en) * 2013-03-29 2013-11-20 青岛海信电器股份有限公司 Access control method, system and server
CN104052646A (en) * 2013-03-12 2014-09-17 ***通信集团公司 Photo identification-based instant communication method and system, server

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163117B (en) * 2007-11-30 2010-04-14 腾讯科技(深圳)有限公司 Packet management method, packet resource sharing method and instant communication equipment
CN104052646A (en) * 2013-03-12 2014-09-17 ***通信集团公司 Photo identification-based instant communication method and system, server
CN103400067A (en) * 2013-03-29 2013-11-20 青岛海信电器股份有限公司 Access control method, system and server
CN103400067B (en) * 2013-03-29 2016-08-10 青岛海信电器股份有限公司 Right management method, system and server

Also Published As

Publication number Publication date
CN100588182C (en) 2010-02-03

Similar Documents

Publication Publication Date Title
CN1249973C (en) Presence and session handling information
CN1207876C (en) Short message gateway, system and method supply information service for mobile phone
CN101047703A (en) Group join method and system
CN1790998A (en) Integrated presence management system, presence server and presence information management program
CN101047511A (en) File transmission method and system
CN1941748A (en) Group message transmitting method, transmitting end and system
CN1992618A (en) Method and system for displaying user state by controlling instant communication client
CN101056275A (en) A setting method for group message receiving mode in the instant communication system
CN1905466A (en) Cluster communication system and method for establishing discussing cluster
CN1866863A (en) Vicinage finding method and system for network apparatus
CN1835436A (en) General power authentication frame and method of realizing power auttientication
CN101043346A (en) Method and system for adding label for contacts
CN1925416A (en) Method and device for batch addition of users to group
CN1933456A (en) Method and system for automatic feed backing according to time slot in immediate communication
CN1933398A (en) Method and system for automatic right-discriminating plusing good friend in immediate communication
CN1863058A (en) Method for user to obtain historical record in chat chamber and chat chamber service system
CN101047522A (en) Method for automatic adding member and its system
CN1960277A (en) Method for managing linkman at client end, and client end
CN1561043A (en) Multi-user concurrent insertion device and its method
CN1889439A (en) Method and system for storing session information in instant information business
CN1992685A (en) Method for refusing the reception of user message
CN1713621A (en) Realtime communicating method and system for enterprise
CN1863202A (en) Method for improving load balance apparatus and servicer processing performance
CN1849003A (en) Method for right discrimination to user
CN1852111A (en) Information accessing method in immediate communication

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