CN1996960A - A filtering method for instant communication message and instant communication system - Google Patents
A filtering method for instant communication message and instant communication system Download PDFInfo
- Publication number
- CN1996960A CN1996960A CN 200610032606 CN200610032606A CN1996960A CN 1996960 A CN1996960 A CN 1996960A CN 200610032606 CN200610032606 CN 200610032606 CN 200610032606 A CN200610032606 A CN 200610032606A CN 1996960 A CN1996960 A CN 1996960A
- Authority
- CN
- China
- Prior art keywords
- message
- instant communication
- communication message
- screening
- message screening
- 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
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
This invention provides one instant communication message filter method and its communication system in the instant communication field, which comprises the following steps: a, setting instant communication information filter section information; b, according to the message filter section to filter the instant communication message; if the message comprises the filtered section then discarding the instant communication message; otherwise indicating user to receive instant communication message.
Description
Technical field
The invention belongs to the instant messaging field, relate in particular to the method and system of in the instant messaging user message being carried out receiving management.
Background technology
Network instant communication (Instant Messenger, be called for short IM) is a kind of Communications service based on the Internet, realizing the instant communication function on the network, can realize having obtained instant communication between the user using widely by P-2-P technology.Therefore, the fail safe to telex network has proposed more and more higher requirement.Carry out in the process of instant messaging the user, the transmission of instant communication message and reception are most important communication way, and the user sends by this simple message and receives that high-efficiency information exchanges between maintenance and other users.But the user receives some illegal, boring message that other users send through regular meeting, has caused the unnecessary interference to the user, therefore need other users' message be shielded accordingly.
The current mode that user message is shielded is that the user can be provided with the message that does not receive certain user fully, after the user receives the message that the user that is prevented from sends, then directly abandons this user's message, does not do to show and preserve and handle.This scheme can not selectively receive according to the content of user message owing to stop the message that receives certain user fully, makes the user to the enough flexibilities of the lack of control of message sink.
Summary of the invention
The object of the present invention is to provide a kind of filter method of instant communication message, be intended to solve can not selectively receiving of existing in the prior art, make the problem of user the enough flexibilities of the lack of control of message sink according to the content of user message.
Another object of the present invention is to provide a kind of instantaneous communication system.
The present invention is achieved in that a kind of filter method of instant communication message, and described method comprises the steps:
A., instant communication message filtered fields information is set;
B. according to described message screening field information the instant communication message that receives is filtered, if described instant communication message includes the message screening field that needs filter, then abandon described instant communication message, otherwise the prompting user receives described instant communication message.
Described steps A further comprises the steps:
A1. be provided with and preserve message screening field information at specific instant communication users;
A2. the message screening field information of preserving being sent to instant communication server preserves.
Described step B further comprises the steps:
B1. search the message screening field information corresponding with the user who sends described instant communication message;
B2. decompose described message screening field information, generate message screening character string array;
B3. resolve described instant communication message according to described message screening character string array, judge whether comprise the message screening character string that needs filter in the described instant communication message, if comprise then execution in step B4, otherwise execution in step B5;
B4. abandon described instant communication message;
B5. point out the user to receive described instant communication message.
Before described step B1, further comprise the steps:
B0. judging with the user who sends described instant communication message whether be prevented from, is execution in step B4 then, otherwise execution in step B1.
A kind of instantaneous communication system, described system comprises:
The message screening field is provided with the unit, is used to be provided with instant communication message filtered fields information; And
The message screening unit, be used for the instant communication message that receives being filtered according to described message screening field information, if described instant communication message includes the message screening field that needs filter, then abandon described instant communication message, otherwise the prompting user receives described instant communication message.
Described message screening field is provided with the unit and further comprises:
The message screening field is provided with module, is used to be provided with the message screening field information at specific instant communication users;
The message screening database is used to preserve described message screening field information.
Described message screening unit further comprises:
The information receiving and transmitting module is used to receive instant communication message;
Message screening field decomposing module is used to decompose described message screening field information, generates message screening character string array;
The message screening module is used for resolving described instant communication message according to described message screening string data, judges whether comprise the message screening character string that needs filter in the described instant communication message;
The message informing module is used for not notifying the user to receive described instant communication message when described instant communication message does not comprise the message screening character string of needs filtration.
The present invention filters instant communication message according to message content, can realize that the user receives only the part message that certain user sends, the message that refusal is prevented from has reduced the interference of dead message to the user, has strengthened the validity and the flexibility of user message receiving management.
Description of drawings
Fig. 1 is the network structure that is suitable for instantaneous communication system of the present invention;
Fig. 2 is the realization flow figure that the message screening field information is set provided by the invention;
Fig. 3 is the realization flow figure that instant communication message is filtered provided by the invention;
Fig. 4 is the structure chart of instantaneous communication system provided by the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The present invention filters message according to the content of instant communication message, when if the message content that receives comprises the prevention content of user's setting, then do not receive this message, directly abandon, if when the message content that receives does not comprise the prevention content of user's setting, then point out the user to receive this good friend's message.
Fig. 1 shows the network configuration that is suitable for instantaneous communication system of the present invention, and a plurality of instant communication clients link to each other with instant communication server.Preserve the user profile of instant communication users in the instant communication server, for example instant communication number, user name and login password etc., and the friend information of instant communication users, for example good friend's instant communication number, user name etc.Be mounted with the instant communication client subsystem in the instant communication client, the user is by instant communication client access of instant communicating server, carry out authentication, after authentication is passed through, the user sends and receives instant communication message and data etc. mutually by carrying out point-to-point communication between instant communication client and other users.
Fig. 2 shows the realization flow that the message screening field information is set:
1. instant communication users is provided with the instant communication number that needs filtration, and the filtering content corresponding with this instant communication number, is saved in the local message filtered data base.
In the present invention, the user can be provided with one or more message screening field information at certain instant communication number, passes through field seperator between the message screening field, for example "; " separate.Certainly the user also can be provided with all instant communication messages from certain instant communication number are all filtered, and promptly stops certain user's message fully.
2. the message screening field information of the instant communication number that the needs after instant communication client will be provided with filter, correspondence and user's instant communication number are combined in the packet, packet is carried out encryption, utilize the IP address and the PORT port of arranging to generate the transmission socket, send the data encrypted bag to instant communication server with instant communication server.
Instant communication server the agreement socket asynchronous receive this packet after, be decrypted, parse instant communication number and the corresponding message screening field information that the needs in the packet filter after being confirmed to be effective data packets, put into User Information Database and preserve, be used for the user and obtain message screening information in different place login systems.
The user can revise as required or remove the filtration from the message of certain instant communication number, resubmits instant communication server and preserves.
Fig. 3 shows the realization flow that instant communication message is filtered, and details are as follows:
In step S301, the user is at other messages sent by users packets of the asynchronous wait of message sink socket of agreement, carry out decryption oprerations after receiving message packets, judgement is to utilize the protocol format of agreement to parse the instant communication number and the message content of the transmission message in the packet after the effective data packets;
In step S302, utilize the instant communication number inquiry local message filtered data base that extracts the message correspondence that obtains, obtain message screening field information that should instant communication number, message filtered fields information is carried out resolution process, obtain message screening character string array.Concrete decomposable process can be the current start position data of record, finds field seperator, for example "; ", and current location data, cut by original position and current location data, obtain certain message screening field of current message screening, by circular treatment, the character subset as a result of cutting is saved in the message screening character string array;
In step S303, the character string tabular array of setting up among the traversal step S302 is resolved certain the message screening character string that whether comprises in the message content in the number of characters Groups List, if comprise, illustrate that then this message content need carry out message screening, execution in step S304, otherwise execution in step S305.The character manipulation api function realization that can utilize windows is resolved in the extraction of message screening field in the message content.
In step S304, directly abandon this instant communication message, no longer carry out follow-up processing;
In step S305, the prompting user receives this message.
The present invention can be used in combination with existing message screening scheme, promptly when receiving instant communication message, whether the user who at first judge to send this message belongs to the user who is prevented from, if belong to then directly abandon this message, otherwise in the manner described above message content is filtered judgement.
Fig. 4 shows the structure of instantaneous communication system provided by the invention, for convenience of explanation, only shows part related to the present invention.
Instantaneous communication system 400 is arranged at instant communication client, comprises that the message screening field is provided with mould 401, message screening database 402, information receiving and transmitting module 403, message screening field decomposing module 404, message screening module 405 and message informing module 406.
The message screening field is provided with mould 401 and is used to be provided with message screening field information at specific instant communication users.
Message screening database 402 is preserved the message screening field information that is provided with, and can be designated index by instant messaging, as the user name of instant communication number or instant communication users.
Information receiving and transmitting module 403 receives the instant communication message that other instant communication users send, and perhaps sends instant communication message to other instant communication users.Simultaneously, by information receiving and transmitting module 403 the message screening field information that is provided with being sent to instant communication server preserves.
After receiving instant communication message, message screening field decomposing module 404 query messages filtered data bases 402, transfer the user's corresponding message screening field information, message filtered fields information is carried out resolution process, generate message screening character string array with sending this instant communication message.Message screening module 405 is filtered the instant communication message content of receiving according to the message screening character string array that message screening field decomposing module 404 provides, judge and whether contain the character string that needs filter in the instant communication message content, if contain then abandon this instant communication message, otherwise receive this instant communication message by message informing module 406 prompting users.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (7)
1, a kind of filter method of instant communication message is characterized in that, described method comprises the steps:
A., instant communication message filtered fields information is set;
B. according to described message screening field information the instant communication message that receives is filtered, if described instant communication message includes the message screening field that needs filter, then abandon described instant communication message, otherwise the prompting user receives described instant communication message.
2, the filter method of instant communication message as claimed in claim 1 is characterized in that, described steps A further comprises the steps:
A1. be provided with and preserve message screening field information at specific instant communication users;
A2. the message screening field information of preserving being sent to instant communication server preserves.
3, the filter method of instant communication message as claimed in claim 1 or 2 is characterized in that, described step B further comprises the steps:
B1. search the message screening field information corresponding with the user who sends described instant communication message;
B2. decompose described message screening field information, generate message screening character string array;
B3. resolve described instant communication message according to described message screening character string array, judge whether comprise the message screening character string that needs filter in the described instant communication message, if comprise then execution in step B4, otherwise execution in step B5;
B4. abandon described instant communication message;
B5. point out the user to receive described instant communication message.
4. the filter method of instant communication message as claimed in claim 3 is characterized in that, further comprises the steps: before described step B1
B0. judging with the user who sends described instant communication message whether be prevented from, is execution in step B4 then, otherwise execution in step B1.
5, a kind of instantaneous communication system is characterized in that, described system comprises:
The message screening field is provided with the unit, is used to be provided with instant communication message filtered fields information; And
The message screening unit, be used for the instant communication message that receives being filtered according to described message screening field information, if described instant communication message includes the message screening field that needs filter, then abandon described instant communication message, otherwise the prompting user receives described instant communication message.
6, instantaneous communication system as claimed in claim 5 is characterized in that, described message screening field is provided with the unit and further comprises:
The message screening field is provided with module, is used to be provided with the message screening field information at specific instant communication users;
The message screening database is used to preserve described message screening field information.
As claim 5 or 6 described instantaneous communication systems, it is characterized in that 7, described message screening unit further comprises:
The information receiving and transmitting module is used to receive instant communication message;
Message screening field decomposing module is used to decompose described message screening field information, generates message screening character string array;
The message screening module is used for resolving described instant communication message according to described message screening string data, judges whether comprise the message screening character string that needs filter in the described instant communication message;
The message informing module is used for not notifying the user to receive described instant communication message when described instant communication message does not comprise the message screening character string of needs filtration.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006100326069A CN1996960B (en) | 2006-01-01 | 2006-01-01 | A filtering method for instant communication message and instant communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006100326069A CN1996960B (en) | 2006-01-01 | 2006-01-01 | A filtering method for instant communication message and instant communication system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1996960A true CN1996960A (en) | 2007-07-11 |
CN1996960B CN1996960B (en) | 2010-10-13 |
Family
ID=38251900
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2006100326069A Active CN1996960B (en) | 2006-01-01 | 2006-01-01 | A filtering method for instant communication message and instant communication system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1996960B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104052646A (en) * | 2013-03-12 | 2014-09-17 | 中国移动通信集团公司 | A photo-recognition-based instant messaging method, server and system |
CN105141502A (en) * | 2015-08-12 | 2015-12-09 | 深圳前海珩昌科技有限公司 | Method and device for managing instant communication process |
CN107809368A (en) * | 2016-09-09 | 2018-03-16 | 腾讯科技(深圳)有限公司 | Information filtering method and device |
CN110505146A (en) * | 2019-08-23 | 2019-11-26 | 人立方智能科技有限公司 | A kind of instant communication method and system applied to recruitment system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1148930C (en) * | 2000-03-30 | 2004-05-05 | 上海贝尔有限公司 | Method for implementing message shielding linkage control part of No.7 signaling system |
US6778834B2 (en) * | 2001-02-27 | 2004-08-17 | Nokia Corporation | Push content filtering |
CN1286334C (en) * | 2002-09-28 | 2006-11-22 | 中兴通讯股份有限公司 | Method for mobile phone short message filtering |
-
2006
- 2006-01-01 CN CN2006100326069A patent/CN1996960B/en active Active
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104052646A (en) * | 2013-03-12 | 2014-09-17 | 中国移动通信集团公司 | A photo-recognition-based instant messaging method, server and system |
CN105141502A (en) * | 2015-08-12 | 2015-12-09 | 深圳前海珩昌科技有限公司 | Method and device for managing instant communication process |
CN107809368A (en) * | 2016-09-09 | 2018-03-16 | 腾讯科技(深圳)有限公司 | Information filtering method and device |
CN107809368B (en) * | 2016-09-09 | 2019-01-29 | 腾讯科技(深圳)有限公司 | Information filtering method and device |
CN110505146A (en) * | 2019-08-23 | 2019-11-26 | 人立方智能科技有限公司 | A kind of instant communication method and system applied to recruitment system |
Also Published As
Publication number | Publication date |
---|---|
CN1996960B (en) | 2010-10-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Oikarinen et al. | Internet relay chat protocol | |
FI118619B (en) | Method and system for encrypting and storing information | |
JP4299606B2 (en) | Stable multicast flow | |
EP2458903B1 (en) | System and method for filtering long short message | |
US7765309B2 (en) | Wireless provisioning device | |
EP2710776B1 (en) | Anonymous signalling | |
EP1234469B1 (en) | Cellular data system security method | |
EP2151949A1 (en) | A method, apparatus and system for informing warning message | |
Oikarinen et al. | Rfc1459: Internet relay chat protocol | |
New et al. | Reliable Delivery for syslog | |
JP4692776B2 (en) | Method for protecting SIP-based applications | |
CN109995769B (en) | Multi-stage heterogeneous trans-regional full-real-time safety management and control method and system | |
CN114143788A (en) | Method and system for realizing authentication control of 5G private network based on MSISDN | |
CN101141396B (en) | Packet processing method and network appliance | |
CN1996960B (en) | A filtering method for instant communication message and instant communication system | |
CN103001966A (en) | Processing and identifying method and device for private network IP | |
CN109547281A (en) | A kind of source tracing method of Tor network | |
EP1993245A1 (en) | A system and method for realizing message service | |
CN100538588C (en) | Communication system and the method that mobile communication business is provided | |
CN101184044A (en) | Packet processing method of multicast monitoring discovery protocol | |
CN102546387A (en) | Method, device and system for processing data message | |
CN114465744A (en) | Safety access method and network firewall system | |
CN101009597A (en) | Subdivision method of the user network access style and network system | |
CN115277106B (en) | User identification method and system of network equipment | |
New et al. | RFC3195: Reliable Delivery for syslog |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C57 | Notification of unclear or unknown address | ||
DD01 | Delivery of document by public notice |
Addressee: Gui Yan Document name: Written notice of preliminary examination of application for patent for invention |
|
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 |