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

Method for refusing the reception of user message Download PDF

Info

Publication number
CN100588182C
CN100588182C CN200510132867A CN200510132867A CN100588182C CN 100588182 C CN100588182 C CN 100588182C CN 200510132867 A CN200510132867 A CN 200510132867A CN 200510132867 A CN200510132867 A CN 200510132867A CN 100588182 C CN100588182 C CN 100588182C
Authority
CN
China
Prior art keywords
user
communication
group
severing
severing communication
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
CN200510132867A
Other languages
Chinese (zh)
Other versions
CN1992685A (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, 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;
B, cluster server receive packet in the socket port async of agreement, packet is decrypted dissection process after, draw group sever communication User Agreement order, group identification and the user ID of severing communication be set;
C, cluster server end abandon the described user of severing communication according to the described user ID of severing communication to the message that described group sends.
Before steps A, also comprise: 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;
After step B, also comprise: inquire about the user storage structure of severing communication accordingly according to described group identification, and judge that this user ID of severing communication is current and whether be present in the user storage structure of severing communication accordingly, if do not exist, then the user ID of severing communication is added in the user storage structure of severing communication of group identification correspondence.
A kind of method of rejecting user message comprises step:
A, 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, packet is carried out encryption after, utilize the socket port of agreement to send to server;
B, server receive packet in the socket port async of agreement, packet is decrypted dissection process after, draw sever communication User Agreement order, user ID and the user ID of severing communication be set;
C, server end abandon the described user of severing communication according to the described user ID of severing communication to described messages sent by users.
Before steps A, also comprise: at user ID the corresponding user storage structure of severing communication is set at server end, is used to store this user's the user's mark of severing communication;
After step B, also comprise:, 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 do not exist, then the user ID of severing communication is added to the user storage structure of severing communication of user ID correspondence.
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 (12)

1, a kind of method of rejecting user message is characterized in that, comprises step:
A, 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;
B, cluster server receive packet in the socket port async of agreement, packet is decrypted dissection process after, draw group sever communication User Agreement order, group identification and the user ID of severing communication be set;
C, cluster server end abandon the described user of severing communication according to the described user ID of severing communication to the message that described group sends.
2, the method for claim 1 is characterized in that, also comprises before steps A: 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;
After step B, also comprise: inquire about the user storage structure of severing communication accordingly according to described group identification, and judge that this user ID of severing communication is current and whether be present in the user storage structure of severing communication accordingly, if do not exist, then the user ID of severing communication is added in the user storage structure of severing communication of group identification correspondence.
3, the method for claim 1 is characterized in that, the described user of severing communication is for adding the user of described group.
4, method as claimed in claim 3 is characterized in that, also comprises step between described step B and the step C:
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.
5, the method for claim 1 is characterized in that, the described user that severs communication adds the user of described group for request.
6, the method for claim 1 is characterized in that, also comprises step behind the described step C:
The cluster server end sends the information that described group rejects its message to the described user of severing communication.
7, a kind of method of rejecting user message is characterized in that, comprises step:
A, 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, packet is carried out encryption after, utilize the socket port of agreement to send to server;
B, server receive packet in the socket port async of agreement, packet is decrypted dissection process after, draw sever communication User Agreement order, user ID and the user ID of severing communication be set;
C, server end abandon the described user of severing communication according to the described user ID of severing communication to described messages sent by users.
8, method as claimed in claim 7 is characterized in that, also comprises before steps A: at user ID the corresponding user storage structure of severing communication is set at server end, is used to store this user's the user's mark of severing communication;
After step B, also comprise: 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 do not exist, then the user ID of severing communication is added to the user storage structure of severing communication of user ID correspondence.
9, method as claimed in claim 7 is characterized in that, the described contacts list member of user for this user that sever communication.
10, method as claimed in claim 9 is characterized in that, also comprises step between described step B and the step C:
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.
11, method as claimed in claim 7 is characterized in that, the user that severs communication of described user's appointment adds the user of this user contact lists for request.
12, method as claimed in claim 7 is characterized in that, also comprises step behind the described step C:
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 CN1992685A (en) 2007-07-04
CN100588182C true 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)

Families Citing this family (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
CN104052646A (en) * 2013-03-12 2014-09-17 中国移动通信集团公司 Photo identification-based instant communication method and system, server
CN103400067B (en) * 2013-03-29 2016-08-10 青岛海信电器股份有限公司 Right management method, system and server

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
短信平台移动QQ. 王磊.数字通信,第21期. 2004
短信平台移动QQ. 王磊.数字通信,第21期. 2004 *

Also Published As

Publication number Publication date
CN1992685A (en) 2007-07-04

Similar Documents

Publication Publication Date Title
US7607096B2 (en) System and method for a user interface directed to discovering and publishing presence information on a network
CN101193070B (en) Instant communication system, instant communication client and instant communication method
CN101237426B (en) Friend addition device and method
CN1790998B (en) Integrated presence management system, presence server and presence information management method
US20060194596A1 (en) System and method for direct peer to peer mobile messaging
US20100174791A1 (en) Short distance wireless communication system and method for accessing instant messenger
US20050246421A1 (en) System and method for discovering and publishing of presence information on a network
KR20050016192A (en) Methods and apparatus for alternative routing of text based messages on a wireless telephone network
JP2009500738A (en) Messenger notification system and method using sink server
KR20090017629A (en) Remotely updating a user status on a presence server
CA2691879C (en) Instant messaging system, component and method for additional service
KR100702704B1 (en) Notification System and Method Using Messenger
CN100588182C (en) Method for refusing the reception of user message
JP2008113384A (en) Communication system
WO2011038639A1 (en) Realizing method for end-to-end instant messaging, terminal and system for end-to-end instant messaging
CA2536607A1 (en) Implementing a web server on a mobile station
JP5380786B2 (en) Network system
CN101163141A (en) Method of implementing data immediate processing based on wireless session protocol
US7543030B2 (en) Peer-to-peer communication for instant messaging between different instant message application types
EP2334012A1 (en) System and method for state management based on instant messaging platform
US20100128714A1 (en) Method and system for synchronizing data between mobile terminal and internet phone
CN1300976C (en) Method for obtaining user identification information for network application entity
CA2810852C (en) System and method for providing a plurality of prioritised email domain names
US7487220B1 (en) Delivering instant messages to the intended user
US8285784B2 (en) Service creation via presence messaging

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