CN115499402A - Instant messaging information processing method, terminal and system - Google Patents

Instant messaging information processing method, terminal and system Download PDF

Info

Publication number
CN115499402A
CN115499402A CN202211010520.1A CN202211010520A CN115499402A CN 115499402 A CN115499402 A CN 115499402A CN 202211010520 A CN202211010520 A CN 202211010520A CN 115499402 A CN115499402 A CN 115499402A
Authority
CN
China
Prior art keywords
instant messaging
user input
input content
information
edit box
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
Application number
CN202211010520.1A
Other languages
Chinese (zh)
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.)
Beijing Skyguard Network Security Technology Co ltd
Original Assignee
Beijing Skyguard Network Security Technology 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 Beijing Skyguard Network Security Technology Co ltd filed Critical Beijing Skyguard Network Security Technology Co ltd
Priority to CN202211010520.1A priority Critical patent/CN115499402A/en
Publication of CN115499402A publication Critical patent/CN115499402A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-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 terminal and a system for processing instant messaging information, and relates to the technical field of data security. One embodiment of the method comprises: acquiring user input content in an edit box of a first instant messaging application through an injection module; the method comprises the steps that user input content is sent to an information analysis server side, the information analysis server side analyzes the user input content, and the information analysis server side sends an information processing instruction to an instant messaging server side according to an analysis result, wherein the information processing instruction indicates normal transmission or interception; and sending the user input content to the instant messaging service end or the injection module through the first instant messaging application, and intercepting the user input content through the injection module or intercepting the user input content through the instant messaging service end under the condition that the information processing instruction indicates interception. The embodiment effectively improves the processing efficiency of the instant messaging information.

Description

Instant messaging information processing method, terminal and system
Technical Field
The present invention relates to the field of data security technologies, and in particular, to a method, a terminal, and a system for processing instant messaging information.
Background
Instant Message (IM) refers to a service capable of instantly sending and receiving an internet Message or the like. At present, in order to avoid leakage of enterprise private data or propagation of sensitive information by a user through instant messaging, sensitive words or private data detection is mainly performed on received information sent by a client through a server of the instant messaging, and the information is intercepted through the server of the instant messaging under the condition that the server of the instant messaging analyzes that the information includes the sensitive information or the private data.
In the existing instant messaging information processing process, intrusive modification needs to be performed on a data processing program of a server side of instant messaging, so that the modified program meets the requirements of sensitive information or privacy information detection. The existing instant messaging information processing mode has stronger coupling with the original communication program of the instant messaging server, once the detection program of sensitive information or private information needs to be modified, the whole program of the instant messaging server needs to be adjusted, so that the information processing of the instant messaging server is complex, and the information processing efficiency is low.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, a terminal, and a system for processing instant messaging information, so as to decouple a service program for detecting sensitive information or private data from an information processing program of an instant messaging service end, reduce complexity of processing instant messaging information, and effectively improve efficiency of processing instant messaging information.
In order to achieve the above object, according to an aspect of the embodiments of the present invention, there is provided a method for processing instant messaging information, including:
acquiring user input content in an edit box of a first instant messaging application through an injection module;
sending the user input content to an information analysis server to enable the information analysis server to analyze the user input content and to enable the information analysis server to send an information processing instruction to an instant messaging server or the injection module according to an analysis result, wherein the information processing instruction indicates normal transmission or interception;
and intercepting the user input content through the injection module under the condition that the information processing instruction indicates interception, or sending the user input content to the instant messaging service end through the first instant messaging application, so that the instant messaging service end determines a receiver of the user input content and sends the user input content to a second instant messaging application of the receiver under the condition that the information processing instruction indicates normal transmission, and the instant messaging service end intercepts the user input content under the condition that the information processing instruction indicates interception.
Optionally, the obtaining, by the injection module, user input content in an edit box of the first instant messaging application includes:
in the case where the first instant messaging application is built based on a custom framework,
intercepting an interface of the first instant messaging application, which corresponds to the edit box, through the injection module;
and acquiring user input content in the edit box through an interface corresponding to the edit box.
Optionally, the method for processing instant messaging information further includes: defining and storing a calling function corresponding to the information analysis server through a function library, and adding a defined address of the calling function to a pointer of the first instant messaging application to obtain a part of the injection module for the first instant messaging application constructed based on a custom frame;
the intercepting, by the injection module, an interface of the first instant messaging application corresponding to the edit box includes:
and intercepting an interface corresponding to the edit box in a dialog interface under the condition that the calling function receives the calling of the pointer.
Optionally, the method for processing the instant messaging information further includes:
and under the condition that the calling function captures a message processing function of the first instant messaging application or a specific event in an event process, determining a current chat window according to a window handle contained in the message processing function or the event process, and intercepting an interface of an edit box of the current chat window.
Optionally, the acquiring, through an interface corresponding to the edit box, user input content in the edit box includes:
and acquiring user input content in the edit box by using a method defined by the interface of the edit box.
Optionally, the obtaining, by the injection module, user input content in an edit box of the first instant messaging application includes:
in case the first instant messaging application relies on html files or logic scripts running in the front-end development framework engine or the embedded framework engine,
determining an object tree which is operated by the first instant messaging application and aims at a dialog interface process and first characteristic information which uniquely and stably indicates an edit box, wherein the object tree comprises a plurality of nodes, and each node corresponds to one characteristic information of the dialog interface;
in response to receiving a triggering operation aiming at a predetermined interface element related to the edit box, searching a node corresponding to the edit box from the object tree according to the first characteristic information;
and acquiring attribute information of the node corresponding to the edit box, wherein the attribute information of the node of the edit box is derived from the user input content in the edit box.
In a second aspect, an embodiment of the present invention provides an instant messaging information processing terminal, including: an injection module, an interaction module, and a first instant messaging application, wherein,
the injection module is used for acquiring user input content in an edit box of the first instant messaging application;
the interaction module is used for sending the user input content to an information analysis server so that the information analysis server analyzes the user input content and sends an information processing instruction to an instant messaging server or the registration module according to an analysis result, wherein the information processing instruction indicates normal transmission or interception;
intercepting the user input content under the condition that the information processing instruction received by the injection module indicates interception, or enabling the instant messaging service end to determine a receiver of the user input content under the condition that the first instant messaging application sends the user input content to the instant messaging service end under the condition that the information processing instruction indicates normal transmission, sending the user input content to a second instant messaging application of the receiver, and enabling the instant messaging service end to intercept the user input content under the condition that the information processing instruction indicates interception.
In a third aspect, an embodiment of the present invention provides a system for processing instant messaging information, including: the information analysis server, the instant messaging server and the instant messaging information processing terminal provided by the second aspect of the embodiments, wherein,
the information analysis server is used for receiving the user input content sent by the processing terminal, analyzing the user input content, and sending an information processing instruction to the instant messaging server or the processing terminal according to the analysis result, wherein the information processing instruction indicates normal transmission or interception;
the processing terminal is further used for intercepting the user input content under the condition that the information processing instruction sent by the information analysis server side is received to indicate interception;
the instant messaging service end is used for determining a receiver of the user input content under the condition of receiving the user input content sent by the processing terminal, sending the user input content to a second instant messaging application of the receiver, and enabling the instant messaging service end to intercept the user input content under the condition of the information processing instruction indicating interception.
One embodiment of the above invention has the following advantages or benefits: the method comprises the steps that user input content in an edit box of a first instant messaging application is obtained through an injection module, the user input content is sent to an information analysis server, so that the information analysis server analyzes the user input content, the information analysis server sends an information processing instruction to an instant messaging server or an injection module according to an analysis result, the user input content is intercepted through the injection module under the condition that the information processing instruction indicates interception, or the instant messaging server determines a receiver of the user input content under the condition that the information processing instruction indicates normal transmission, the user input content is sent to a second instant messaging application of the receiver, and the instant messaging server intercepts the user input content under the condition that the information processing instruction indicates interception, namely the service program for detecting sensitive information or privacy data is decoupled from the information processing program of the instant messaging server through the information analysis server, the processing complexity of instant messaging information is reduced, and the injection module or the instant messaging server in terminal equipment can directly intercept or send the instant messaging information according to the instruction, and the processing efficiency of the instant messaging information is effectively improved.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of a system architecture upon which an application scenario depends, according to an embodiment of the invention;
fig. 2 is a schematic diagram of a main flow of a method for processing instant messaging information according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a main flow of obtaining user input in an edit box according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another main flow of acquiring user input content in an edit box according to an embodiment of the invention;
fig. 5 is a schematic diagram of main modules of a terminal for processing instant messaging information according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of the primary devices of an instant messaging information processing system, according to an embodiment of the present invention;
FIG. 7 is a block diagram of a computer system suitable for use with a terminal device implementing an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 illustrates a system architecture 100 upon which application scenarios are relied upon to which embodiments of the present invention may be applied, as described below.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, an information analysis server 105, and an instant messaging server 106. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the information analysis server 105, between the terminal devices 101, 102, 103 and the instant communication server 106, and between the information analysis server 105 and the instant communication server 106. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user can use the terminal devices 101, 102, 103 for instant messaging. In the instant messaging process, the injection modules of the terminal devices 101, 102, and 103 acquire user input contents in an edit box of a first instant messaging application installed in the terminal devices 101, 102, and 103, and then the terminal devices 101, 102, and 103 interact with the information analysis server 105 and the instant messaging server 106 through the network 104, respectively, so that the information analysis server 105 analyzes the user input contents, and generates an information processing instruction according to the analysis result, and sends the information processing instruction to the instant messaging server 106 or the injection modules in the terminal devices 101, 102, and 103, and the injection modules in the terminal devices 101, 102, and 103 or the instant messaging server 106 intercepts the user input contents or sends the user input contents to applications in the terminal device of a receiving party and the like according to the information processing instruction. Various messaging client applications, such as a web browser application, a search-type application, an instant messaging tool, a mailbox client, social platform software, etc. (by way of example only) may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The information analysis server 105 may be a server that provides various services, such as a background management server (for example only) that analyzes user input content in an edit box of an instant messaging application in the terminal devices 101, 102, 103 for sensitive information or private information, and the like, and provides support for information analysis. The backend management server may generate an information processing instruction indicating normal transmission or interception according to the analysis result, and send the information processing instruction to the instant messaging server 106.
It should be noted that the processing method of the instant messaging information provided by the embodiment of the present invention is generally executed by the terminal devices 101, 102, and 103, and accordingly, the processing devices of the instant messaging information are respectively disposed in the terminal devices 101, 102, and 103.
It should be understood that the number of terminal devices, networks, information analysis servers, and instant messaging servers in fig. 1 are merely illustrative. There may be any number of terminal devices, networks, information analysis servers, and instant messaging servers, as desired for an implementation.
Fig. 2 is a schematic main flow chart of a method for processing instant messaging information according to an embodiment of the present invention. As shown in fig. 2, the method for processing instant messaging information may include the following steps:
step S201: acquiring user input content in an edit box of a first instant messaging application through an injection module;
the injection module is used for injecting a program/code for acquiring user input contents in the edit box into a process environment of one or more instant messaging applications in the terminal equipment by means of a process injection technology. The injection module runs different programs aiming at different types of instant messaging applications so as to obtain the user input content in the edit box from the different types of instant messaging applications through the injection module. In addition, by injecting the program/code for acquiring the user input content in the edit box into the process environment of one or more instant messaging applications in the terminal device, the user input content can be timely and accurately acquired based on the running of the process.
Step S202: the method comprises the steps that user input content is sent to an information analysis server, so that the information analysis server analyzes the user input content, and sends an information processing instruction to an instant messaging server or an injection module according to an analysis result, wherein the information processing instruction indicates normal transmission or interception;
the analysis of the content input by the user by the information analysis server can be realized by adopting the existing sensitive information or privacy information analysis technology, and is not described herein any more.
Step S203: the method comprises the steps that under the condition that an information processing instruction indicates interception, user input content is intercepted through an injection module, or the user input content is sent to an instant messaging service end through a first instant messaging application, so that under the condition that the information processing instruction indicates normal transmission, the instant messaging service end determines a receiver of the user input content, the user input content is sent to a second instant messaging application of the receiver, and under the condition that the information processing instruction indicates interception, the instant messaging service end intercepts the user input content.
Specifically, the step S203 may be implemented as: intercepting user input content through an injection module; after the interception of the injection module fails, the information can be further intercepted through the instant messaging server so as to better realize the interception of the information. The implementation of step S203 may also be: and the injection module sends the user input content to the instant messaging service end to intercept the user input content regardless of whether the user input content needs to be intercepted or not.
Namely, the instant messaging service end is controlled to send or intercept the content input by the user through the information processing instruction generated by the information analysis service end.
It is worth to be noted that the technical scheme provided by the application can process the user input content of various types of instant messaging applications of different development architectures and different companies. Specifically, for multiple types of instant messaging applications in the terminal device, the injection module, accordingly, the information analysis server does not need to distinguish the types of the instant messaging applications when analyzing the user input content acquired by the injection module, and the information analysis server can be connected to multiple types of instant messaging servers corresponding to multiple types of instant messaging applications. The injection module and the information analysis server release the dependence between the program for acquiring the user input content and the sensitive information or private information analysis program, and the coupling between the program for acquiring the user input content and the sensitive information or private information analysis program. In addition, through the setting of the information analysis server, the dependence and the coupling between the sensitive information or privacy information analysis program and the instant messaging function realized by the instant messaging server are eliminated, so that the information analysis server can serve various types of instant messaging servers. Meanwhile, the user can conveniently adjust and update the sensitive information or privacy information analysis program, so that the adjustment and update of the sensitive information or privacy information analysis program can not influence the original service program of the instant messaging.
The first instant messaging application and the second instant messaging application refer to any instant messaging application in the terminal device, and the "first" and the "second" are not limited to the number or the type of the instant messaging applications.
In the embodiment shown in fig. 2, the user input content in the edit box of the first instant messaging application is obtained through the injection module, and the user input content is sent to the information analysis server, so that the information analysis server analyzes the user input content, and sends the information processing instruction to the instant messaging server or the injection module according to the analysis result, and the user input content is intercepted through the injection module under the condition that the information processing instruction indicates interception, or the instant messaging server determines the receiver of the user input content under the condition that the information processing instruction indicates normal transmission, and sends the user input content to the second instant messaging application of the receiver, and the instant messaging server intercepts the user input content under the condition that the information processing instruction indicates interception, that is, the service program for detecting sensitive information or private data is decoupled from the information processing program of the instant messaging server through the information analysis server, so as to reduce the processing complexity of the instant messaging information, and the instant messaging server can directly intercept or send the instant messaging information according to the instruction, thereby effectively improving the processing efficiency of the instant messaging information.
There are essential differences in the edit box structure of instant messaging applications with different architectures. In order to obtain the user input content of the edit box of the instant messaging with different architectures. The embodiment of the invention adopts different modes to acquire the input content of the user aiming at the instant messaging application injection modules with different architectures.
Specifically, for the case that the first instant messaging application is constructed based on the custom framework, as shown in fig. 3, the specific implementation of obtaining the user input content in the edit box of the first instant messaging application through the injection module may include the following steps:
step S301: intercepting an interface corresponding to an edit box of the first instant messaging application through an injection module;
step S302: and acquiring the user input content in the edit box through an interface corresponding to the edit box.
The specific implementation of step S302 may include: and acquiring the user input content in the edit box by a method defined by the interface of the edit box.
And the user input content in the instant messaging application built based on the custom framework is obtained.
Wherein, for the user input content in the edit box obtained in fig. 3, the processing method may further include: defining and storing a calling function corresponding to the information analysis server through a function library, and adding an address of the defined calling function to a pointer of the first instant messaging application to obtain a part of the injection module for the first instant messaging application constructed based on the custom frame; accordingly, the specific implementation of intercepting, by the injection module, an interface of the first instant messaging application corresponding to the edit box may include: in the event that the calling function receives a call of a pointer, an interface in the dialog interface corresponding to the edit box is intercepted. It should be noted that, while the user input content is obtained by intercepting the interface corresponding to the edit box, the instant messaging application is not affected to send the user input content to the instant messaging server.
Further, for obtaining the user input content in the edit box implemented in fig. 3, in order to intercept the interface corresponding to the edit box in the dialog interface in a targeted manner, the processing method may further include: and under the condition that the calling function captures a message processing function of the first instant messaging application or a specific event in the event process, determining the current chat window according to a window handle contained in the message processing function or the event process, and intercepting an interface of an edit box of the current chat window. The specific event may be that the user presses an enter key or that the user clicks a send button, so that the acquired user input content is information sent by the user, so as to implement analysis on the transmission information, and sensitivity or privacy analysis is not performed on information that is not sent by the user.
Specifically, for the case that the first instant messaging application runs on the front-end development framework engine or the embedded framework engine depending on the html file or the logic script, as shown in fig. 4, the specific implementation of obtaining the user input content in the edit box of the first instant messaging application through the injection module may include the following steps:
step S401: determining an object tree which is operated by a first instant messaging application and aims at a dialog interface process and first characteristic information which uniquely and stably indicates an edit box, wherein the object tree comprises a plurality of nodes, and each node corresponds to one characteristic information of a dialog interface;
the feature information may be a send button, writeable box, read-only box, and other features of the dialog interface. The features of the dialog interface are not limited here.
Step S402: in response to receiving a trigger operation aiming at a predetermined interface element related to the edit box, searching a node corresponding to the edit box from the object tree according to the first characteristic information;
the interface element corresponds to a kind of feature information, for example, the interface element may be a cursor, a send button, or the like.
Step S403: and acquiring attribute information of a node corresponding to the edit box, wherein the attribute information of the node of the edit box is derived from the user input content in the edit box.
For the scheme shown in fig. 4, the method for processing instant messaging information may further include: and determining interface elements which are used for indicating the change of the edit box and are related to the edit box for the nodes of the edit box based on the characteristic information of the nodes of the edit box included by the object tree of the dialog interface process run by the first instant messaging application.
The user input content of different types of instant messaging applications in the terminal equipment can be acquired through the injection module, so that various instant messaging applications of the terminal equipment can be managed and monitored in an all-around mode.
In addition, the selected or configured instant messaging application may also be configured for the injection module, for example, if security monitoring needs to be performed on the instant messaging application a and the instant messaging application b in the terminal device, but security monitoring needs not to be performed on the instant messaging application c in the terminal device, the instant messaging application a and the instant messaging application b may be configured for the injection module, so as to manage the instant messaging application according to the user requirements.
As shown in fig. 5, an embodiment of the present invention provides an instant messaging information processing terminal 500, where the instant messaging information processing terminal 500 may include: an injection module 501, an interaction module 502, and a first instant messaging application 503, wherein,
an injection module 501, configured to obtain user input content in an edit box of a first instant messaging application;
the interaction module 502 is configured to send the user input content to the information analysis server, so that the information analysis server analyzes the user input content, and sends an information processing instruction to the instant messaging server or the registration module according to an analysis result, where the information processing instruction indicates normal transmission or interception;
in the case that the information processing instruction received by the injection module 501 indicates interception, the user input content is intercepted, or in the case that the first instant messaging application 503 sends the user input content to the instant messaging service end, in the case that the information processing instruction indicates normal transmission, the instant messaging service end determines a receiver of the user input content, sends the user input content to a second instant messaging application of the receiver, and in the case that the information processing instruction indicates interception, the instant messaging service end intercepts the user input content.
In the embodiment of the present invention, the injection module 501 is further configured to, in a case that the first instant messaging application is constructed based on a custom frame, intercept an interface of the first instant messaging application, where the interface corresponds to an edit box; and acquiring the user input content in the edit box through an interface corresponding to the edit box. In this embodiment of the present invention, the injection module 501 is further configured to define and store a call function corresponding to the information analysis server through the function library, and add an address of the defined call function to the pointer of the first instant messaging application, so as to obtain a part of the injection module, which is directed to the first instant messaging application constructed based on the custom frame; in the event that the calling function receives a call of a pointer, an interface in the dialog interface corresponding to the edit box is intercepted.
In this embodiment of the present invention, the injection module 501 is further configured to, when the function is called to capture a specific event in a message processing function or an event process of the first instant messaging application, determine the current chat window according to a window handle included in the message processing function or the event process, and intercept an interface of an edit box of the current chat window.
In this embodiment of the present invention, the injection module 501 is further configured to obtain the user input content in the edit box by using a method defined by an interface of the edit box.
In this embodiment of the present invention, the injection module 501 is further configured to, in a case that the first instant messaging application runs in the front-end development framework engine or the embedded framework engine depending on the html file or the logic script, determine an object tree for the dialog interface process and first feature information uniquely and stably indicating the edit box, where the object tree includes a plurality of nodes, and each node corresponds to one feature information of the dialog interface; in response to receiving a triggering operation aiming at a predetermined interface element related to the edit box, searching a node corresponding to the edit box from the object tree according to the first characteristic information; and acquiring attribute information of a node corresponding to the edit box, wherein the attribute information of the node of the edit box is derived from the user input content in the edit box.
As shown in fig. 6, an embodiment of the present invention provides an instant messaging information processing system 600, where the instant messaging information processing system 600 may include: an information analysis server 601, an instant messaging server 602, and the instant messaging information processing terminal 500 shown in fig. 5, wherein,
the information analysis server 601 is configured to receive user input content sent by the processing terminal 500, analyze the user input content, and send an information processing instruction to the instant messaging server 602 or the processing terminal 500 according to an analysis result, where the information processing instruction indicates normal transmission or interception;
the processing terminal 500 is further configured to intercept user input content when receiving an information processing instruction sent by the information analysis server 601 to indicate interception;
the instant messaging service end 602 is configured to receive the user input content sent by the processing terminal 500, determine a receiver of the user input content, send the user input content to a second instant messaging application of the receiver, and enable the instant messaging service end 602 to intercept the user input content under the condition that the information processing instruction indicates interception.
Referring now to FIG. 7, a block diagram of a computer system 700 suitable for use with a terminal device or server implementing an embodiment of the invention is shown. The terminal device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the use range of the embodiment of the present invention.
As shown in fig. 7, the computer system 700 includes a Central Processing Unit (CPU) 701, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
The following components are connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, and the like; an output section 707 including components such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage section 708 including a hard disk and the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 701.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes an injection module, an interaction module, and a first instant messaging application. The names of these modules do not constitute a limitation to the module itself in some cases, for example, the injection module may also be described as a "module for acquiring user input content in the edit box of the first instant messaging application".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not assembled into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: acquiring user input content in an edit box of a first instant messaging application through an injection module; the method comprises the steps that user input content is sent to an information analysis server, so that the information analysis server analyzes the user input content, and sends an information processing instruction to an instant messaging server or an injection module according to an analysis result, wherein the information processing instruction indicates normal transmission or interception; the method comprises the steps that under the condition that an information processing instruction indicates interception, user input content is intercepted through an injection module, or the user input content is sent to an instant messaging service end through a first instant messaging application, so that under the condition that the information processing instruction indicates normal transmission, the instant messaging service end determines a receiver of the user input content, the user input content is sent to a second instant messaging application of the receiver, and under the condition that the information processing instruction indicates interception, the instant messaging service end intercepts the user input content.
According to the technical scheme of the embodiment of the invention, the user input content in the edit box of the first instant messaging application is obtained through the injection module, and the user input content is sent to the information analysis server, so that the information analysis server analyzes the user input content, sends an information processing instruction to the instant messaging server or the registration module according to the analysis result, intercepts the user input content through the injection module under the condition that the information processing instruction indicates interception, or determines a receiver of the user input content by the instant messaging server under the condition that the information processing instruction indicates normal transmission, sends the user input content to the second instant messaging application of the receiver, and enables the instant messaging server to intercept the user input content under the condition that the information processing instruction indicates interception, namely, the service program for detecting sensitive information or private data is decoupled from the information processing program of the instant messaging server through the information analysis server, the complexity of processing the instant messaging information is reduced, and the injection module or the instant messaging server in the terminal equipment can directly carry out or intercept the instant messaging information according to the instruction, thereby effectively improving the efficiency of processing the instant messaging information.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for processing instant messaging information is characterized by comprising the following steps:
acquiring user input content in an edit box of a first instant messaging application through an injection module;
sending the user input content to an information analysis server to enable the information analysis server to analyze the user input content and to enable the information analysis server to send an information processing instruction to an instant messaging server or the injection module according to an analysis result, wherein the information processing instruction indicates normal transmission or interception;
and intercepting the user input content through the injection module under the condition that the information processing instruction indicates interception, or sending the user input content to the instant messaging service end through the first instant messaging application, so that the instant messaging service end determines a receiver of the user input content and sends the user input content to a second instant messaging application of the receiver under the condition that the information processing instruction indicates interception, and the instant messaging service end intercepts the user input content under the condition that the information processing instruction indicates interception.
2. The method for processing instant messaging information according to claim 1, wherein the obtaining of the user input content in the edit box of the first instant messaging application through the injection module comprises:
in the case where the first instant messaging application is built based on a custom framework,
intercepting an interface of the first instant messaging application, which corresponds to the edit box, through the injection module;
and acquiring user input content in the edit box through an interface corresponding to the edit box.
3. The method of processing instant messaging information according to claim 2,
further comprising: defining and storing a calling function corresponding to the information analysis server through a function library, and adding a defined address of the calling function to a pointer of the first instant messaging application to obtain a part of the injection module for the first instant messaging application constructed based on a custom frame;
the intercepting, by the injection module, an interface of the first instant messaging application corresponding to the edit box includes:
and intercepting an interface corresponding to the edit box in a dialog interface under the condition that the calling function receives the calling of the pointer.
4. The method for processing instant messaging information according to claim 3, further comprising:
and under the condition that the calling function captures a message processing function of the first instant messaging application or a specific event in an event process, determining a current chat window according to a window handle contained in the message processing function or the event process, and intercepting an interface of an edit box of the current chat window.
5. The method for processing instant messaging information according to any of claims 2 to 4, wherein the obtaining of the user input content in the edit box through the interface corresponding to the edit box comprises:
and acquiring user input content in the edit box by using a method defined by the interface of the edit box.
6. The method for processing instant messaging information according to claim 1, wherein the obtaining of the user input content in the edit box of the first instant messaging application through the injection module comprises:
in case the first instant messaging application relies on html files or logic scripts running in the front-end development framework engine or the embedded framework engine,
determining an object tree which is operated by the first instant messaging application and aims at a dialog interface process and first characteristic information which uniquely and stably indicates an edit box, wherein the object tree comprises a plurality of nodes, and each node corresponds to one characteristic information of the dialog interface;
in response to receiving a triggering operation aiming at a predetermined interface element related to the edit box, searching a node corresponding to the edit box from the object tree according to the first characteristic information;
and acquiring attribute information of the node corresponding to the edit box, wherein the attribute information of the node of the edit box is derived from the user input content in the edit box.
7. A terminal for processing instant messaging information is characterized by comprising: an injection module, an interaction module, and a first instant messaging application, wherein,
the injection module is used for acquiring user input content in an edit box of the first instant messaging application;
the interaction module is used for sending the user input content to an information analysis server so that the information analysis server analyzes the user input content and sends an information processing instruction to an instant messaging server or the registration module according to an analysis result, wherein the information processing instruction indicates normal transmission or interception;
intercepting the user input content under the condition that the information processing instruction received by the injection module indicates interception, or enabling the instant messaging service end to determine a receiver of the user input content under the condition that the first instant messaging application sends the user input content to the instant messaging service end under the condition that the information processing instruction indicates normal transmission, sending the user input content to a second instant messaging application of the receiver, and enabling the instant messaging service end to intercept the user input content under the condition that the information processing instruction indicates interception.
8. A system for processing instant messaging information, comprising: an information analysis server, an instant messaging server and the instant messaging information processing terminal of claim 7, wherein,
the information analysis server is used for receiving the user input content sent by the processing terminal, analyzing the user input content, and sending an information processing instruction to the instant messaging server or the processing terminal according to the analysis result, wherein the information processing instruction indicates normal transmission or interception;
the processing terminal is further used for intercepting the user input content under the condition of receiving an information processing instruction sent by the information analysis server and indicating interception;
the instant messaging service end is used for determining a receiver of the user input content under the condition of receiving the user input content sent by the processing terminal, sending the user input content to a second instant messaging application of the receiver, and enabling the instant messaging service end to intercept the user input content under the condition that the information processing instruction indicates interception.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-6.
10. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-6.
CN202211010520.1A 2022-08-23 2022-08-23 Instant messaging information processing method, terminal and system Pending CN115499402A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211010520.1A CN115499402A (en) 2022-08-23 2022-08-23 Instant messaging information processing method, terminal and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211010520.1A CN115499402A (en) 2022-08-23 2022-08-23 Instant messaging information processing method, terminal and system

Publications (1)

Publication Number Publication Date
CN115499402A true CN115499402A (en) 2022-12-20

Family

ID=84467410

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211010520.1A Pending CN115499402A (en) 2022-08-23 2022-08-23 Instant messaging information processing method, terminal and system

Country Status (1)

Country Link
CN (1) CN115499402A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2007216638A1 (en) * 2006-09-07 2008-04-03 Pc Tools Technology Pty Limited Instant message scanning
CN101702120A (en) * 2009-09-01 2010-05-05 厦门敏讯信息技术股份有限公司 Mobile equipment and human input processing method thereof
CN103631886A (en) * 2013-11-15 2014-03-12 北京奇虎科技有限公司 Method and device for inputting on browser side
US9021134B1 (en) * 2006-03-03 2015-04-28 Juniper Networks, Inc. Media stream transport conversion within an intermediate network device
CN105636051A (en) * 2015-12-18 2016-06-01 北京奇虎科技有限公司 Message intercepting method and system for intelligent device
CN107809368A (en) * 2016-09-09 2018-03-16 腾讯科技(深圳)有限公司 Information filtering method and device
CN108566358A (en) * 2017-12-22 2018-09-21 广州赛意信息科技股份有限公司 A kind of iOS system network traffic interception method and system under the mobile phone based on iPhone
CN109088844A (en) * 2017-06-13 2018-12-25 腾讯科技(深圳)有限公司 Information intercepting method, terminal, server and system
CN112118172A (en) * 2020-09-18 2020-12-22 北京明朝万达科技股份有限公司 Chat content auditing method and device, electronic equipment and storage medium
WO2021218172A1 (en) * 2020-04-30 2021-11-04 平安科技(深圳)有限公司 Shared library file simulation method and apparatus, computer device and storage medium
CN113726789A (en) * 2021-09-01 2021-11-30 北京天空卫士网络安全技术有限公司 Sensitive data interception method and device
CN114327087A (en) * 2021-12-22 2022-04-12 深圳Tcl新技术有限公司 Input event processing method and device, electronic equipment and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9021134B1 (en) * 2006-03-03 2015-04-28 Juniper Networks, Inc. Media stream transport conversion within an intermediate network device
AU2007216638A1 (en) * 2006-09-07 2008-04-03 Pc Tools Technology Pty Limited Instant message scanning
CN101702120A (en) * 2009-09-01 2010-05-05 厦门敏讯信息技术股份有限公司 Mobile equipment and human input processing method thereof
CN103631886A (en) * 2013-11-15 2014-03-12 北京奇虎科技有限公司 Method and device for inputting on browser side
CN105636051A (en) * 2015-12-18 2016-06-01 北京奇虎科技有限公司 Message intercepting method and system for intelligent device
CN107809368A (en) * 2016-09-09 2018-03-16 腾讯科技(深圳)有限公司 Information filtering method and device
CN109088844A (en) * 2017-06-13 2018-12-25 腾讯科技(深圳)有限公司 Information intercepting method, terminal, server and system
CN108566358A (en) * 2017-12-22 2018-09-21 广州赛意信息科技股份有限公司 A kind of iOS system network traffic interception method and system under the mobile phone based on iPhone
WO2021218172A1 (en) * 2020-04-30 2021-11-04 平安科技(深圳)有限公司 Shared library file simulation method and apparatus, computer device and storage medium
CN112118172A (en) * 2020-09-18 2020-12-22 北京明朝万达科技股份有限公司 Chat content auditing method and device, electronic equipment and storage medium
CN113726789A (en) * 2021-09-01 2021-11-30 北京天空卫士网络安全技术有限公司 Sensitive data interception method and device
CN114327087A (en) * 2021-12-22 2022-04-12 深圳Tcl新技术有限公司 Input event processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109040316B (en) HTTP service processing method and device
CN110765422A (en) Parameter checking method and device
CN111783096B (en) Method and device for detecting security hole
CN111740992B (en) Website security vulnerability detection method, device, medium and electronic equipment
US11934287B2 (en) Method, electronic device and computer program product for processing data
CN113360377B (en) Test method and device
CN111221869A (en) Method and device for tracking database transaction time and analyzing database lock
CN118312076A (en) Map icon processing method and device, electronic equipment and computer readable medium
CN112015383A (en) Login method and device
CN115996179A (en) Service node testing method and device, readable medium and electronic equipment
CN115705190A (en) Method and device for determining dependence degree
CN112256372A (en) Information processing method and device and electronic equipment
CN117195263A (en) Database encryption method and device
CN112306826A (en) Method and apparatus for processing information for terminal
CN113709136B (en) Access request verification method and device
CN113761433B (en) Service processing method and device
CN112910855B (en) Sample message processing method and device
CN115840399A (en) Intelligent building monitoring system based on Internet of things and monitoring method thereof
CN115499402A (en) Instant messaging information processing method, terminal and system
CN114462030A (en) Privacy policy processing and evidence obtaining method, device, equipment and storage medium
CN112532734A (en) Message sensitive information detection method and device
CN110908763A (en) Acceptance method, device, equipment and storage medium
CN112749078A (en) Buried point testing method and device
CN112965747B (en) Method, apparatus, device and computer readable medium for mining code loopholes
CN114356788B (en) Application program detection method, device, equipment and medium based on user information

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