CN115604215A - Method, device and medium for real-time monitoring and reminding of group chat information - Google Patents
Method, device and medium for real-time monitoring and reminding of group chat information Download PDFInfo
- Publication number
- CN115604215A CN115604215A CN202211260136.7A CN202211260136A CN115604215A CN 115604215 A CN115604215 A CN 115604215A CN 202211260136 A CN202211260136 A CN 202211260136A CN 115604215 A CN115604215 A CN 115604215A
- Authority
- CN
- China
- Prior art keywords
- message
- group
- text
- reminding
- real
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a method, a device and a medium for monitoring and reminding group chat information in real time.
Description
Technical Field
The invention relates to a method, a device and a medium for monitoring and reminding group chat information in real time, belonging to the technical field of internet information security.
Background
In recent years, the situation of processing work by using mobile equipment such as a mobile phone is more and more common, and an instant chat APP has the characteristics of real-time arrival and reminding, multi-end intercommunication, synchronization and the like, is applied to daily work by a plurality of people, and a working group of the instant chat APP is established by a plurality of units. The mobile office can bring some convenience to work, and the working efficiency is improved to a certain extent. Meanwhile, the use of instant chat APPs results in increasingly compromised cases year by year.
At present, since network filtering devices on the market have no effect on devices outside domains such as mobile devices and encrypted communication protocols, the method for manually checking sensitive data of group messages of instant chat APP mainly depends on applying a special account to join a working group, and is low in efficiency and easy to make mistakes.
Disclosure of Invention
The invention aims to overcome the defects in the prior art and provides a method, a device and a medium for monitoring and reminding group chat information in real time.
In order to achieve the purpose, the invention is realized by adopting the following technical scheme:
in a first aspect, the present invention provides a method for monitoring and reminding group chat information in real time, comprising the following steps:
s1, extracting texts, pictures and documents in an instant chat APP group message;
s2, performing content textualization on the picture and the document to obtain a content text of the picture or the document;
s3, recognizing sensitive data according to a predefined keyword aiming at the text message and the content text to obtain a suspected sensitive message;
and S4, calling a message sending interface of the PC end program of the instant chat APP to inform a message sender of withdrawal and remind an administrator of treatment aiming at the identified suspected sensitive message.
Further, in step S1, extracting texts, pictures and documents in the group message of the instant chat APP includes:
obtaining a message from a PC (personal computer) end program group message of an instant chat APP in real time;
and finishing the extraction of the text messages, the pictures and the documents in the group messages in a HOOK interface mode.
Further, in step S2, performing content textualization on the picture, including:
and calling an OCR character recognition engine to output characters in the picture as plain text.
Further, in step S2, the content texting of the document includes:
calling a text extraction engine to extract the file the output of the characters in (1) is plain text.
Further, in step S3, identifying the sensitive data according to the predefined keyword includes:
and recognizing the sensitive data in the text by adopting the existing text detection software or a sensitive word recognition program.
Further, in step S4, notifying the message sender to withdraw and remind the administrator to handle the identified suspected sensitive message, including:
an interface for sending messages of the instant chat APP computer terminal program is analyzed through a tool, and the message sending interface is called to inform a message sender of withdrawal and remind an administrator of disposal.
In a second aspect, the present invention provides a device for monitoring and reminding instant chat APP group chat information in real time, including:
an extraction module: the method is used for extracting texts, pictures and documents in the instant chat APP group message;
text based authoring a module: the system is used for performing content textualization on the pictures and the documents to obtain content texts of the pictures or the documents;
an identification module: the system is used for identifying sensitive data according to predefined keywords aiming at the text messages and the content texts to obtain suspected sensitive messages;
a processing module: and the method is used for calling a message sending interface of the PC end program of the instant chat APP to inform a message sender of withdrawing and remind an administrator of handling the suspected sensitive message.
In a third aspect, the present invention provides a device for monitoring and reminding instant chat APP group chat information in real time, comprising a processor and a storage medium;
the storage medium is used for storing instructions;
the processor is configured to operate in accordance with the instructions to perform the steps of the method of the first aspect.
In a fourth aspect, the invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of the first aspect.
Compared with the prior art, the invention has the following beneficial effects:
1. in order to facilitate management of instant chat APP groups by each unit and improve sensitive data checking efficiency, a method for extracting texts, pictures and documents in group chat information in real time by analyzing interfaces of receiving and sending group information of an instant chat APP computer terminal and then checking the texts, the pictures and the documents by sensitive data is particularly provided to solve a series of problems that existing network equipment cannot check, manual checking is insufficient in real time, efficiency is low, accuracy is low and the like.
2. The method and the device can flexibly set the checking strategy of the sensitive data, realize the implementation of the sensitive data of the instant chat APP group information under the condition of not depending on manpower, prevent the confidential information from being leaked, and ensure the security of the confidential information.
Drawings
FIG. 1 is a schematic flow diagram of the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
The first embodiment is as follows:
the embodiment provides a method for monitoring and reminding instant chat APP group chat information in real time, which comprises the following steps:
s1, extracting texts, pictures and documents in an instant chat APP group message;
s2, performing content textualization on the picture and the document to obtain a content text of the picture or the document;
s3, recognizing sensitive data according to predefined keywords aiming at the text messages and the content texts to obtain suspected sensitive messages;
and S4, calling a message sending interface of the instant chat APP PC terminal program to inform a message sender of withdrawal and remind an administrator of disposal aiming at the identified suspected sensitive message.
In this embodiment, the instant messaging APP takes WeChat as an example, and as shown in fig. 1, specifically includes the following steps:
1. analyzing message receiving and message sending calling addresses of the instant chat APP computer end program through tools such as Cheat Engine, x64dbg and OllyDBG, and packaging calling interfaces:
setting callback function for receiving group message
BOOL SetChatroomMsgNotify (ChatroomMsgCallBack pCBCHAtroomMsg, LPVOID lpParam), which are all functions of the encapsulated calling WX interface;
callback for receiving group messages
void ChatroomMsgCallBack(wchar_t* chatroom_id, wchar_t* chatroom_name, wchar_t* sender_id, wchar_t* sender_name, int msg_type, wchar_t* msg_content);
Sending friend messages
void SendFriendMsg(wchar_t* user_id, wchar_t* msg_content);
Sending a group @ message
void SendChatroomMsgAt(wchar_t* charroom_id, wchar_t* msg_content, wchar_t* at_user_id, wchar_t* at_user_name);
2. Calling a SetChartrommsgNotify function to set a callback function, and calling the callback function ChartrommsgCallBack set by the method after the instant chat APP computer receives the group message; the functions are all packaged functions for calling the WX interface;
3. in a ChartromMsgCallBack function, the method can acquire three types of messages including text messages, pictures and files;
4. if the picture message is the picture message, the method calls an OCR character recognition engine to output characters in the picture as a plain text;
5. if the message is a file message, the method calls a text extraction engine to output characters in the file as plain text;
6. performing content retrieval on the processed message according to a predefined keyword, and if the keyword is found, judging the message to be a suspected sensitive message; the system is provided with a web management background, and keywords are modified and changed through background operation.
7. If a suspected sensitive message is found, a function SendCnatroOMMsgAt is called to prompt the sender to withdraw the message in the group, and a function SendFriendMsg is called to inform an administrator in charge of group management and prompt the administrator to immediately handle the group message.
In addition, the technical scheme is used in the Nanrui instant messaging APP group information monitoring system, and the specific implementation process comprises the following steps:
a1, calling a SetChartromMsgNotify function to set an instant messaging APP group message callback function;
a2, after receiving the group message, the instant chat APP calls a ChartromMsgCallBack function;
a3 In a ChartrommsgcAllBack function, the method can acquire three types of messages including texts, pictures and files;
a4, aiming at the picture message, the method calls an OCR engine to output characters in the picture as texts;
a5, aiming at the file message, the method calls a text extraction engine to output the characters in the file as a text;
a6, aiming at the group message text after processing, the method carries out sensitive data check on the processed message according to the set keyword strategy;
a7, if the sensitive data calling function SendCnatomomMsgAt prompts the sender to withdraw the message in the group, the function SendFriendMsg is called to inform the administrator responsible for group management and prompt the administrator to immediately handle the group message.
The system is provided with a web management background, and keywords can be modified through the web management background. The keywords can be modified and changed, accuracy and efficiency of sensitive data identification are greatly improved, and multiple differences can be carried out.
And recognizing the sensitive data in the text by adopting the existing text detection software or a sensitive word recognition program. The existing text detection software or sensitive word recognition program may be: a cyberknife recognition algorithm, a sensitive word filtering-DFA algorithm and the like.
The second embodiment:
this embodiment provides a device of instant chat APP group chat information real time monitoring and warning, includes:
an extraction module: the method is used for extracting texts, pictures and documents in the instant chat APP group message;
a text module: the system is used for performing content textualization on the pictures and the documents to obtain content texts of the pictures or the documents;
an identification module: the system is used for identifying sensitive data according to predefined keywords aiming at the text messages and the content texts to obtain suspected sensitive messages;
a processing module: and the method is used for calling a message sending interface of the PC end program of the instant chat APP to inform a message sender of withdrawing and remind an administrator of handling the suspected sensitive message.
The apparatus of this embodiment may be used to implement the steps of the method of embodiment one.
Example three:
the embodiment provides a device for monitoring and reminding instant chat APP group chat information in real time, which comprises a processor and a storage medium;
the storage medium is used for storing instructions;
the processor is configured to operate in accordance with the instructions to perform the steps of the method of embodiment one.
Example four:
the present embodiment provides a computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of an embodiment.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.
Claims (8)
1. A method for monitoring and reminding group chat information in real time is characterized by comprising the following steps:
s1, extracting texts, pictures and documents in an instant chat APP group message;
s2, performing content textualization on the picture and the document to obtain a content text of the picture or the document;
s3, recognizing sensitive data according to a predefined keyword aiming at the text message and the content text to obtain a suspected sensitive message;
and S4, calling a message sending interface of the PC end program of the instant chat APP to inform a message sender of withdrawal and remind an administrator of treatment aiming at the identified suspected sensitive message.
2. The method for real-time monitoring and reminding of group chat messages according to claim 1, wherein in step S1, extracting texts, pictures and documents in the group messages of the instant chat APP comprises:
obtaining a message from a PC (personal computer) end program group message of an instant chat APP in real time;
and finishing the extraction of the text messages, the pictures and the documents in the group message in a HOOK interface mode.
3. The method for real-time monitoring and reminding group chat messages according to claim 1, wherein in step S2, the textualizing the content of the picture includes:
and calling an OCR character recognition engine to output the characters in the picture as plain text.
4. The method for real-time monitoring and reminding of group chat messages according to claim 1, wherein in step S2, the texting of the document content comprises:
and calling a text extraction engine to output the characters in the file as plain text.
5. The method for real-time monitoring and reminding of group chat messages according to claim 1, wherein in step S4, notifying the message sender of withdrawal and reminding the administrator of the handling of the identified suspected sensitive message comprises:
analyzing an interface for sending messages by an instant chat APP computer terminal program, calling the message sending interface to inform a message sender of withdrawing and reminding an administrator to handle.
6. The utility model provides a device that instant chat APP group chat information real time monitoring and warning which characterized in that includes:
an extraction module: the method is used for extracting texts, pictures and documents in the instant chat APP group message;
a text module: the system is used for performing content textualization on the pictures and the documents to obtain content texts of the pictures or the documents;
an identification module: the system is used for identifying sensitive data according to a predefined keyword aiming at the text message and the content text to obtain a suspected sensitive message;
a processing module: and the method is used for calling a message sending interface of the PC end program of the instant chat APP to inform a message sender of withdrawing and remind an administrator of handling the suspected sensitive message.
7. A real-time monitoring and reminding device for instant chat APP group chat information is characterized by comprising a processor and a storage medium;
the storage medium is to store instructions;
the processor is configured to operate in accordance with the instructions to perform the steps of the method of the first aspect.
8. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the steps of the method of the first aspect.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211260136.7A CN115604215A (en) | 2022-10-14 | 2022-10-14 | Method, device and medium for real-time monitoring and reminding of group chat information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211260136.7A CN115604215A (en) | 2022-10-14 | 2022-10-14 | Method, device and medium for real-time monitoring and reminding of group chat information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115604215A true CN115604215A (en) | 2023-01-13 |
Family
ID=84847516
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211260136.7A Pending CN115604215A (en) | 2022-10-14 | 2022-10-14 | Method, device and medium for real-time monitoring and reminding of group chat information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115604215A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116318985A (en) * | 2023-03-02 | 2023-06-23 | 中承信达(天津)技术股份公司 | Computer network security early warning system and method based on big data |
CN117294669A (en) * | 2023-08-17 | 2023-12-26 | 湖南马兰数字教育科技有限公司 | Speaking management method, device, equipment and medium for virtual chat room |
-
2022
- 2022-10-14 CN CN202211260136.7A patent/CN115604215A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116318985A (en) * | 2023-03-02 | 2023-06-23 | 中承信达(天津)技术股份公司 | Computer network security early warning system and method based on big data |
CN117294669A (en) * | 2023-08-17 | 2023-12-26 | 湖南马兰数字教育科技有限公司 | Speaking management method, device, equipment and medium for virtual chat room |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115604215A (en) | Method, device and medium for real-time monitoring and reminding of group chat information | |
CN109614433B (en) | Method, device, equipment and storage medium for identifying data blooding margin between business systems | |
CN105704685B (en) | Short message safety processing method and device | |
CN109450777B (en) | Session information extraction method, device, equipment and medium | |
CN103916513A (en) | Method and device for recording communication message at communication terminal | |
CN113536325A (en) | Digital information risk monitoring method and device | |
US11722597B2 (en) | Dynamically providing safe phone numbers for responding to inbound communications | |
CN104184653B (en) | A kind of method and apparatus of message screening | |
CN112866088B (en) | User portrait method and system in instant communication application | |
CN108768835B (en) | Mail analysis method, device, server and storage medium | |
CN111259382A (en) | Malicious behavior identification method, device and system and storage medium | |
CN114896358A (en) | Method and device for capturing and identifying keywords of intellectual property database | |
CN108133026B (en) | Multi-data processing method, system and storage medium | |
CN104468932A (en) | Method and device for automatically recording digital information in call content | |
WO2016188079A1 (en) | Data storage method for terminal device and terminal device | |
CN105913215A (en) | Email processing method and equipment | |
CN114257688A (en) | Telephone fraud identification method and related device | |
CA2549585A1 (en) | Method and apparatus for processing digitally signed messages to determine address mismatches | |
WO2018137415A1 (en) | Data deletion method, terminal and server | |
CN111625825A (en) | Virus detection method, device, equipment and storage medium | |
CN113055760A (en) | Log processing method, device, equipment and storage medium | |
CN106961423A (en) | A kind of information issuing method | |
US12010265B2 (en) | Dynamically providing safe phone numbers for responding to inbound communications | |
CN117827991B (en) | Method and system for identifying personal identification information in semi-structured data | |
CN116450745B (en) | Multi-device-based note file operation method, system and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |