A method, terminal and system for processing instant messaging information

Through the coordinated work of the injection module and the information analysis server, the coupling of the instant communication server program is disabled, and the decoupling of sensitive information detection and information processing is achieved, and the efficiency of instant communication information processing is improved.

CN115499402BActive Publication Date: 2024-11-08北京天空卫士网络安全技术有限公司
View PDF 17 Cites 0 Cited by

Patent Information

Application Number
CN202211010520.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-23
Publication Date
2024-11-08
Estimated Expiration
2042-08-23

AI Technical Summary

Technical Problem

The existing instant communication information processing methods require invasive modifications to the server program, resulting in strong coupling with the original communication program, increasing the complexity and low efficiency of information processing.

Method used

The injection module obtains the user input content in the edit box of the instant communication application and sends it to the information analysis server for analysis. According to the analysis results, information processing instructions are generated, instructing the instant communication server or injection module to intercept or transmit, and to remove sensitivity Coupling between information detection service program and information processing program.

Benefits of technology

The complexity of instant communication information processing is reduced, the information processing efficiency is improved, and the terminal device can directly intercept or send information according to instructions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115499402B_ABST
    Figure CN115499402B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, terminal and system for processing instant messaging information, and relates to the field of data security technology. A specific implementation of the method includes: obtaining 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, the information analysis server analyzes the user input content, and the information analysis server sends an information processing instruction to the instant messaging server based on the analysis result, wherein the information processing instruction indicates normal transmission or interception; sending the user input content to the instant messaging server or the injection module through the first instant messaging application, and when the information processing instruction indicates interception, the user input content is intercepted by the injection module or the instant messaging server intercepts the user input content. This implementation effectively improves the efficiency of instant messaging information processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data security technology, and in particular to a method, terminal and system for processing instant messaging information. Background Art

[0002] Instant messaging (IM) refers to services that can instantly send and receive Internet messages. At present, in order to prevent users from leaking corporate privacy data or spreading sensitive information through instant messaging, the IM server mainly detects sensitive words or private data in the information received from the client. If the IM server analyzes that the information contains sensitive information or private data, the IM server intercepts the information.

[0003] The existing instant messaging information processing process requires intrusive modification of the data processing program of the instant messaging server to make the modified program meet the requirements of sensitive information or privacy information detection. The existing instant messaging information processing method has a strong coupling with the original communication program of the instant messaging server. Once the sensitive information or privacy information detection program needs to be modified, the entire program of the instant messaging server needs to be adjusted, which makes the information processing of the instant messaging server more complicated and leads to low information processing efficiency. Summary of the invention

[0004] In view of this, an embodiment of the present invention provides a method, terminal and system for processing instant messaging information, which are used to decouple a service program for detecting sensitive information or privacy data from an information processing program of an instant messaging server, thereby reducing the complexity of instant messaging information processing and effectively improving the efficiency of instant messaging information processing.

[0005] To achieve the above object, according to one aspect of an embodiment of the present invention, a method for processing instant messaging information is provided, comprising:

[0006] Acquire the user input content in the edit box of the first instant messaging application through the injection module;

[0007] Sending the user input content to the information analysis server so that the information analysis server analyzes the user input content, and sending an information processing instruction to the instant messaging server or the injection module according to the analysis result, wherein the information processing instruction indicates normal transmission or interception;

[0008] When the information processing instruction indicates interception, the user input content is intercepted by the injection module, or the user input content is sent to the instant messaging server through the first instant messaging application, so that when the information processing instruction indicates normal transmission, the instant messaging server determines the recipient of the user input content, sends the user input content to the second instant messaging application of the recipient, and when the information processing instruction indicates interception, the instant messaging server intercepts the user input content.

[0009] Optionally, obtaining the user input content in the edit box of the first instant messaging application through the injection module includes:

[0010] In the case where the first instant messaging application is built based on a custom framework,

[0011] intercepting, by the injection module, an interface of the first instant messaging application corresponding to the edit box;

[0012] The user input content in the edit box is obtained through an interface corresponding to the edit box.

[0013] Optionally, the instant messaging information processing method further includes: defining and storing a calling function corresponding to the information analysis server through a function library, and adding the address of the defined calling function to the pointer of the first instant messaging application to obtain a part of the injection module for the first instant messaging application built based on the custom framework;

[0014] The step of intercepting the interface of the first instant messaging application corresponding to the edit box by the injection module includes:

[0015] When the calling function receives the call of the pointer, the interface corresponding to the edit box in the dialog interface is intercepted.

[0016] Optionally, the instant messaging information processing method further includes:

[0017] When the calling function captures a specific event in a message processing function or event process of the first instant messaging application, the current chat window is determined based on the window handle contained in the message processing function or the event process, and the interface of the edit box of the current chat window is intercepted.

[0018] Optionally, obtaining the user input content in the edit box through an interface corresponding to the edit box includes:

[0019] The user input content in the edit box is obtained through the method defined by the interface of the edit box.

[0020] Optionally, obtaining the user input content in the edit box of the first instant messaging application through the injection module includes:

[0021] In the case where the first instant messaging application relies on an HTML file or a logic script running on a front-end development framework engine or an embedded framework engine,

[0022] Determine an object tree for a dialog interface process run by the first instant messaging application and first characteristic information that uniquely and stably indicates an edit box, wherein the object tree includes a plurality of nodes, each of which corresponds to a characteristic information of the dialog interface;

[0023] In response to receiving a trigger operation for a predetermined interface element related to the edit box, searching the object tree for a node corresponding to the edit box according to the first feature information;

[0024] Acquire the attribute information of the node corresponding to the edit box, wherein the attribute information of the node of the edit box comes from the user input content in the edit box.

[0025] 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:

[0026] The injection module is used to obtain the user input content in the edit box of the first instant messaging application;

[0027] The interactive module is used 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 the analysis result, wherein the information processing instruction indicates normal transmission or interception;

[0028] In the case where the information processing instruction received by the injection module indicates interception, the user input content is intercepted; or, in the case where the first instant messaging application sends the user input content to the instant messaging server, when the information processing instruction indicates normal transmission, the instant messaging server determines the recipient of the user input content, sends the user input content to the second instant messaging application of the recipient, and when the information processing instruction indicates interception, the instant messaging server intercepts the user input content.

[0029] In a third aspect, an embodiment of the present invention provides an instant messaging information processing system, comprising: an information analysis server, an instant messaging server, and an instant messaging information processing terminal provided by the second aspect embodiment, wherein:

[0030] The information analysis server is used to receive the user input content sent by the processing terminal, analyze the user input content, and send 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;

[0031] The processing terminal is further used to intercept the user input content when receiving the information processing instruction sent by the information analysis server indicating interception;

[0032] The instant messaging service end is used to determine the recipient of the user input content when receiving the user input content sent by the processing terminal, send the user input content to the second instant messaging application of the recipient, and enable the instant messaging service end to intercept the user input content when the information processing instruction indicates interception.

[0033] An embodiment of the above invention has the following advantages or beneficial effects: obtaining the user input content in the edit box of the first instant messaging application through the injection module, and sending the user input content to the information analysis server, so that the information analysis server analyzes the user input content, and the information analysis server sends an information processing instruction to the instant messaging server or the injection module according to the analysis result. When the information processing instruction indicates interception, the user input content is intercepted through the injection module, or, when the information processing instruction indicates normal transmission, the instant messaging server determines the recipient of the user input content, sends the user input content to the recipient's second instant messaging application, and when the information processing instruction indicates interception, the instant messaging server intercepts the user input content, that is, through the information analysis server, the service program for detecting sensitive information or privacy data is decoupled from the information processing program of the instant messaging server, reducing the complexity of instant messaging information processing, and the injection module or instant messaging server in the terminal device can directly intercept or send instant messaging information according to the instruction, effectively improving the efficiency of instant messaging information processing.

[0034] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.

[0036] Figure 1 is a schematic diagram of a system architecture on which an application scenario according to an embodiment of the present invention depends;

[0037] Figure 2is a schematic diagram of the main flow of a method for processing instant messaging information according to an embodiment of the present invention;

[0038] Figure 3 is a schematic diagram of a main process of obtaining user input content in an edit box according to an embodiment of the present invention;

[0039] Figure 4 is a schematic diagram of another main process of obtaining user input content in an edit box according to an embodiment of the present invention;

[0040] Figure 5 is a schematic diagram of main modules of an instant messaging information processing terminal according to an embodiment of the present invention;

[0041] Figure 6 is a schematic diagram of main devices of the instant messaging information processing system according to an embodiment of the present invention;

[0042] Figure 7 It is a schematic diagram of the structure of a computer system of a terminal device suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION

[0043] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0044] Figure 1 The system architecture 100 is exemplarily shown, on which the application scenarios to which the following embodiments of the present invention can be applied rely.

[0045] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, an information analysis server 105, and an instant communication 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. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0046] The user can use the terminal devices 101, 102, 103 for instant communication. During the instant communication process, the injection module of the terminal devices 101, 102, 103 obtains the user input content in the edit box of the first instant communication application installed by the terminal devices 101, 102, 103, and then the terminal devices 101, 102, 103 interact with the information analysis server 105 and the instant communication server 106 through the network 104, so that the information analysis server 105 analyzes the user input content, generates an information processing instruction based on the analysis result, and sends the information processing instruction to the instant communication server 106 or the injection module in the terminal devices 101, 102, 103. The injection module in the terminal devices 101, 102, 103 or the instant communication server 106 intercepts the user input content or sends it to the application in the receiving terminal device according to the information processing instruction. Various communication client applications can be installed on the terminal devices 101, 102, and 103, such as web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).

[0047] The terminal devices 101 , 102 , and 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.

[0048] The information analysis server 105 may be a server that provides various services, such as analyzing the sensitive information or privacy information of the user input content in the edit box of the instant messaging application in the terminal devices 101, 102, 103, and a background management server that provides support for information analysis (only as an example). The background management server may generate an information processing instruction indicating normal transmission or interception based on the analysis results, and send the information processing instruction to the instant messaging server 106.

[0049] It should be noted that the instant messaging information processing method provided in the embodiment of the present invention is generally executed by the terminal devices 101, 102, 103, and accordingly, the instant messaging information processing apparatus is respectively arranged in the terminal devices 101, 102, 103.

[0050] It should be understood that Figure 1 The number of terminal devices, networks, information analysis servers, and instant communication servers in the embodiment is only for illustration. Any number of terminal devices, networks, information analysis servers, and instant communication servers may be provided according to implementation requirements.

[0051] Figure 2 FIG. 1 is a schematic diagram of the main flow of a method for processing instant messaging information according to an embodiment of the present invention. Figure 2As shown, the method for processing instant messaging information may include the following steps:

[0052] Step S201: obtaining user input content in an edit box of a first instant messaging application through an injection module;

[0053] The injection module relies on the process injection technology to inject the program / code for obtaining the user input content in the edit box into the process environment of one or more instant messaging applications in the terminal device. For different types of instant messaging applications, the injection module runs different programs to obtain the user input content in the edit box from different types of instant messaging applications through the injection module. In addition, by injecting the program / code for obtaining 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 obtained timely and accurately based on the operation of the process.

[0054] Step S202: Sending 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 injection module according to the analysis result, wherein the information processing instruction indicates normal transmission or interception;

[0055] Among them, the information analysis server can analyze the user input content by using existing sensitive information or privacy information analysis technology, which will not be elaborated here.

[0056] Step S203: When the information processing instruction indicates interception, the user input content is intercepted through the injection module, or the user input content is sent to the instant messaging server through the first instant messaging application, so that when the information processing instruction indicates normal transmission, the instant messaging server determines the recipient of the user input content, sends the user input content to the recipient's second instant messaging application, and intercepts the user input content when the information processing instruction indicates interception.

[0057] Specifically, the implementation of step S203 may be: intercepting the user input content through the injection module; after the injection module fails to intercept, further interception may be performed through the instant messaging server to better intercept the information. The implementation of step S203 may also be: the injection module sends the user input content to the instant messaging server regardless of whether the user input content needs to be intercepted, so that the user input content is intercepted through the instant messaging server.

[0058] That is, the information processing instructions generated by the information analysis server are used to control the instant messaging server to send or intercept user input content.

[0059] It is worth noting that the technical solution provided by the present application can process user input content for various types of instant messaging applications of different development architectures and different companies. Specifically, the injection module targets various types of instant messaging applications in the terminal device, and accordingly, the information analysis server does not need to distinguish the types of instant messaging applications when analyzing the user input content obtained by the injection module, and the information analysis server can connect to various types of instant messaging servers corresponding to various types of instant messaging applications. Through the injection module and the information analysis server, the dependency between the program for obtaining user input content and the sensitive information or privacy information analysis program, as well as the coupling between the program for obtaining user input content and the sensitive information or privacy information analysis program are removed. In addition, through the setting of the information analysis server, the dependency and coupling between the sensitive information or privacy information analysis program and the instant messaging function implemented by the instant messaging server are removed, so that the information analysis server can serve various types of instant messaging servers. At the same time, it is convenient for users to 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 will not affect the original service program of instant messaging.

[0060] 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 “second” do not limit the number or type of instant messaging applications.

[0061] exist Figure 2 In the illustrated embodiment, 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 the information analysis server sends an information processing instruction to the instant messaging server or the injection module based on the analysis result. When the information processing instruction indicates interception, the user input content is intercepted through the injection module, or, when the information processing instruction indicates normal transmission, the instant messaging server determines the recipient of the user input content and sends the user input content to the recipient's second instant messaging application, and when the information processing instruction indicates interception, the instant messaging server intercepts the user input content. That is, through the information analysis server, the service program for detecting sensitive information or privacy data is decoupled from the information processing program of the instant messaging server, thereby reducing the complexity of instant messaging information processing. The instant messaging server can directly intercept or send instant messaging information according to the instruction, effectively improving the efficiency of instant messaging information processing.

[0062] Since the edit box structures of instant messaging applications of different architectures are essentially different, in order to obtain the user input content of the edit box of instant messaging applications of different architectures, the embodiment of the present invention adopts different methods to obtain the user input content for the injection module of instant messaging applications of different architectures.

[0063] Specifically, for the case where the first instant messaging application is built based on a custom framework, such as Figure 3 As shown, the specific implementation method 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:

[0064] Step S301: intercepting the interface corresponding to the edit box of the first instant messaging application through the injection module;

[0065] Step S302: obtaining the user input content in the edit box through an interface corresponding to the edit box.

[0066] The specific implementation of step S302 may include: obtaining the user input content in the edit box through a method defined by the interface of the edit box.

[0067] This is to obtain user input content in an instant messaging application built based on a custom framework.

[0068] Among them, for the above Figure 3 The method for obtaining the user input content in the edit box can further include: defining and storing the call function corresponding to the information analysis server through the function library, and adding the address of the defined call function to the pointer of the first instant messaging application to obtain the part of the injection module for the first instant messaging application built on the custom framework; accordingly, the specific implementation method of intercepting the interface corresponding to the edit box of the first instant messaging application through the injection module may include: when the call function receives the call of the pointer, intercepting the interface corresponding to the edit box in the dialogue interface. It is worth noting that while obtaining the user input content by intercepting the interface corresponding to the edit box, it does not affect the instant messaging application sending the user input content to the instant messaging server.

[0069] Furthermore, for the above Figure 3The method for obtaining the user input content in the edit box can further include, in order to intercept the interface corresponding to the edit box in the dialog interface in a targeted manner, the following steps: when the calling function captures a specific event in the message processing function or event process of the first instant messaging application, the current chat window is determined according to the window handle contained in the message processing function or event process, and the interface of the edit box of the current chat window is intercepted. The specific event can be the user pressing the enter key or the user clicking the send button, so that the user input content obtained is the information sent by the user, so as to realize the analysis of the transmitted information, and the sensitivity or privacy analysis is not performed on the information not sent by the user.

[0070] Specifically, for the case where the first instant messaging application relies on an HTML file or a logic script to run on a front-end development framework engine or an embedded framework engine, such as Figure 4 As shown, the specific implementation method 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:

[0071] Step S401: determining an object tree for a dialog interface process run by a first instant messaging application and first characteristic information that uniquely and stably indicates an edit box, wherein the object tree includes a plurality of nodes, each node corresponding to a characteristic information of the dialog interface;

[0072] The characteristic information may be a send button, a writable frame, a read-only frame, and other characteristics of the dialogue interface. The characteristics of the dialogue interface are not limited here.

[0073] Step S402: in response to receiving a trigger operation for a predetermined interface element related to the edit box, searching the object tree for a node corresponding to the edit box according to the first feature information;

[0074] The interface element corresponds to a type of characteristic information. For example, the interface element may be a cursor, a send button, or the like.

[0075] Step S403: Acquire the attribute information of the node corresponding to the edit box, wherein the attribute information of the node of the edit box comes from the user input content in the edit box.

[0076] Among them, for Figure 4 According to the scheme shown, the instant messaging information processing method may further include: based on the characteristic information of the edit box node included in the object tree for the dialogue interface process running the first instant messaging application, determining an interface element related to the edit box for indicating the change of the edit box for the edit box node.

[0077] The injection module can be used to obtain user input content of different types of instant messaging applications in the terminal device, so as to achieve comprehensive management and security monitoring of various instant messaging applications in the terminal device.

[0078] In addition, the injection module can also be configured with selected or configured instant messaging applications. For example, if it is necessary to perform security monitoring on instant messaging applications a and b in the terminal device, but not on instant messaging application c in the terminal device, the injection module can be configured with instant messaging applications a and b to manage instant messaging applications according to user needs.

[0079] like Figure 5 As shown, an embodiment of the present invention provides an instant messaging information processing terminal 500, which may include: an injection module 501, an interaction module 502 and a first instant messaging application 503, wherein:

[0080] An injection module 501 is used to obtain user input content in an edit box of a first instant messaging application;

[0081] Interaction module 502, used 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 the analysis result, wherein the information processing instruction indicates normal transmission or interception;

[0082] When the information processing instruction received by the injection module 501 indicates interception, the user input content is intercepted, or when the first instant messaging application 503 sends the user input content to the instant messaging server, when the information processing instruction indicates normal transmission, the instant messaging server determines the recipient of the user input content, sends the user input content to the recipient's second instant messaging application, and when the information processing instruction indicates interception, the instant messaging server intercepts the user input content.

[0083] In an embodiment of the present invention, the injection module 501 is further used to intercept the interface corresponding to the edit box of the first instant messaging application when the first instant messaging application is built based on a custom framework; and obtain the user input content in the edit box through the interface corresponding to the edit box. In an embodiment of the present invention, the injection module 501 is further used to define and store the call function corresponding to the information analysis server through a function library, and add the address of the defined call function to the pointer of the first instant messaging application to obtain the part of the injection module for the first instant messaging application built based on the custom framework; when the call function receives the call of the pointer, the interface corresponding to the edit box in the dialogue interface is intercepted.

[0084] In an embodiment of the present invention, the injection module 501 is further used to call a function to capture a specific event in a message processing function or event process of the first instant messaging application, determine the current chat window according to the window handle contained in the message processing function or event process, and intercept the interface of the edit box of the current chat window.

[0085] In the embodiment of the present invention, the injection module 501 is further used to obtain the user input content in the edit box through the method defined by the interface of the edit box.

[0086] In an embodiment of the present invention, the injection module 501 is further used to determine the object tree for the dialogue interface process run by the first instant messaging application and the first characteristic information that uniquely and stably indicates the edit box when the first instant messaging application relies on an HTML file or a logic script to run on a front-end development framework engine or an embedded framework engine, wherein the object tree includes multiple nodes, each node corresponds to a characteristic information of the dialogue interface; in response to receiving a trigger operation for a predetermined interface element related to the edit box, according to the first characteristic information, searching the object tree for a node corresponding to the edit box; and obtaining the attribute information of the node corresponding to the edit box, wherein the attribute information of the node of the edit box comes from the user input content in the edit box.

[0087] like Figure 6 As shown, the embodiment of the present invention provides an instant messaging information processing system 600, which may include: an information analysis server 601, an instant messaging server 602, and the above Figure 5 The instant messaging information processing terminal 500 shown in FIG.

[0088] The information analysis server 601 is used to receive the 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 the analysis result, wherein the information processing instruction indicates normal transmission or interception;

[0089] The processing terminal 500 is further configured to intercept the user input content when receiving the information processing instruction sent by the information analysis server 601 indicating interception;

[0090] The instant messaging server 602 is used to receive the user input content sent by the processing terminal 500, determine the recipient of the user input content, send the user input content to the recipient's second instant messaging application, and intercept the user input content when the information processing instruction indicates interception.

[0091] Reference below Figure 7, which shows a schematic diagram of the structure of a computer system 700 of a terminal device or a server suitable for implementing an embodiment of the present invention. Figure 7 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0092] like Figure 7 As shown, 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 part 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required 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 the bus 704.

[0093] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN card, a modem, etc. 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, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage section 708 as needed.

[0094] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the central processing unit (CPU) 701, the above-mentioned functions defined in the system of the present invention are executed.

[0095] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0096] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0097] The modules involved in the embodiments of the present invention may be implemented by software or hardware. The modules described may also be set in a processor, for example, it 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 on the modules themselves in some cases, for example, the injection module may also be described as a "module for obtaining user input content in the edit box of the first instant messaging application".

[0098] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently and not be assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: obtaining the user input content in the edit box of the first instant messaging application through the injection module; sending the user input content to the information analysis server, so that the information analysis server analyzes the user input content, and the information analysis server sends an information processing instruction to the instant messaging server or the injection module according to the analysis result, wherein the information processing instruction indicates normal transmission or interception; when the information processing instruction indicates interception, the user input content is intercepted through the injection module, or the user input content is sent to the instant messaging server through the first instant messaging application, so that when the information processing instruction indicates normal transmission, the instant messaging server determines the recipient of the user input content, sends the user input content to the recipient's second instant messaging application, and when the information processing instruction indicates interception, the instant messaging server intercepts the user input content.

[0099] According to the technical solution of the embodiment of the present 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, and the information analysis server sends an information processing instruction to the instant messaging server or the registration module according to the analysis result. When the information processing instruction indicates interception, the user input content is intercepted through the injection module, or, when the information processing instruction indicates normal transmission, the instant messaging server determines the recipient of the user input content, sends the user input content to the recipient's second instant messaging application, and when the information processing instruction indicates interception, the instant messaging server intercepts the user input content. That is, through the information analysis server, the service program for sensitive information or privacy data detection is decoupled from the information processing program of the instant messaging server, reducing the complexity of instant messaging information processing. The injection module or the instant messaging server in the terminal device can directly intercept or send instant messaging information according to the instruction, effectively improving the efficiency of instant messaging information processing.

[0100] The above specific implementations do not constitute a limitation on the protection scope of the present 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 substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for processing instant messaging information, It is characterized in that include: Obtaining user input content in an edit box of a first instant messaging application through an injection module, wherein the injection module relies on a process injection technology to inject a program / code for obtaining user input content in the edit box into a process environment of multiple instant messaging applications in a terminal device, and for different types of instant messaging applications, the injection module runs different programs to obtain user input content in the edit box from different types of instant messaging applications through the injection module; Sending the user input content to the information analysis server so that the information analysis server analyzes the user input content, and sending an information processing instruction to the instant messaging server or the injection module according to the analysis result, wherein the information processing instruction indicates normal transmission or interception; In the case where the information processing instruction indicates interception, the user input content is intercepted by the injection module, or the user input content is sent to the instant messaging server through the first instant messaging application, so that in the case where the information processing instruction indicates normal transmission, the instant messaging server determines the recipient of the user input content, sends the user input content to the second instant messaging application of the recipient, and in the case where the information processing instruction indicates interception, the instant messaging server intercepts the user input content; The step of obtaining the user input content in the edit box of the first instant messaging application through the injection module includes: In the case where the first instant messaging application relies on an HTML file or a logic script running on a front-end development framework engine or an embedded framework engine, Determine an object tree for a dialog interface process run by the first instant messaging application and first characteristic information that uniquely and stably indicates an edit box, wherein the object tree includes a plurality of nodes, each of which corresponds to a characteristic information of the dialog interface; In response to receiving a trigger operation for a predetermined interface element related to the edit box, searching the object tree for a node corresponding to the edit box according to the first feature information; Acquire the attribute information of the node corresponding to the edit box, wherein the attribute information of the node of the edit box comes from the user input content in the edit box; or, In the case where the first instant messaging application is built based on a custom framework, The processing method further includes: defining and storing a call function corresponding to the information analysis server through a function library, and adding the address of the defined call function to a pointer of the first instant messaging application, so as to obtain a portion of the injection module for the first instant messaging application built based on a custom framework; Intercepting the interface corresponding to the edit box of the first instant messaging application through the injection module specifically includes: intercepting the interface corresponding to the edit box in the dialogue interface when the calling function receives a call from the pointer; and obtaining the user input content in the edit box through the interface corresponding to the edit box.

2. The method for processing instant messaging information according to claim 1, It is characterized in that Also includes: In view of the situation that the first instant messaging application is built based on a custom framework, When the calling function captures a specific event in a message processing function or event process of the first instant messaging application, the current chat window is determined based on the window handle contained in the message processing function or the event process, and the interface of the edit box of the current chat window is intercepted.

3. The method for processing instant messaging information according to claim 1 or 2, It is characterized in that The obtaining the user input content in the edit box through the interface corresponding to the edit box includes: In view of the situation that the first instant messaging application is built based on a custom framework, The user input content in the edit box is obtained through the method defined by the interface of the edit box.

4. A terminal for processing instant messaging information, It is characterized in that include: An injection module, an interaction module and a first instant messaging application, wherein: The injection module is used to obtain the user input content in the edit box of the first instant messaging application, specifically comprising: in the case where the first instant messaging application relies on an html file or a logic script to run in a front-end development framework engine or an embedded framework engine, determining an object tree for a dialog interface process run by the first instant messaging application and first characteristic information that uniquely and stably indicates an edit box, wherein the object tree includes a plurality of nodes, each of which corresponds to a characteristic information of the dialog interface; in response to receiving a trigger operation for a predetermined interface element related to the edit box, searching the object tree for a node corresponding to the edit box according to the first characteristic information; obtaining 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; or, in the case where the first instant messaging application relies on an html file or a logic script to run in a front-end development framework engine or an embedded framework engine, determining an object tree for a dialog interface process run by the first instant messaging application and first characteristic information that uniquely and stably indicates an edit box, wherein the object tree includes a plurality of nodes, each of which corresponds to a characteristic information of the dialog interface; in response to receiving a trigger operation for an interface element predetermined to be related to the edit box, searching the object tree for a node corresponding to the edit box according to the first characteristic information; obtaining 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; or, in the case where the first instant messaging application is based on In the case of a custom framework construction, a calling function corresponding to the information analysis server is defined and stored through a function library, and the address of the defined calling function is added to the pointer of the first instant messaging application to obtain the part of the injection module for the first instant messaging application built based on the custom framework; in the case where the calling function receives the call of the pointer, the interface corresponding to the edit box in the dialogue interface is intercepted; the user input content in the edit box is obtained through the interface corresponding to the edit box; wherein, the injection module relies on the process injection technology to inject the program / code for obtaining the user input content in the edit box into the process environment of multiple instant messaging applications in the terminal device, and for different types of instant messaging applications, the injection module runs different programs to obtain the user input content in the edit box from different types of instant messaging applications through the injection module; The interaction module is used 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 injection module according to the analysis result, wherein the information processing instruction indicates normal transmission or interception; In the case where the information processing instruction received by the injection module indicates interception, the user input content is intercepted; or, in the case where the first instant messaging application sends the user input content to the instant messaging server, when the information processing instruction indicates normal transmission, the instant messaging server determines the recipient of the user input content, sends the user input content to the second instant messaging application of the recipient, and when the information processing instruction indicates interception, the instant messaging server intercepts the user input content.

5. A system for processing instant messaging information, It is characterized in that include: An information analysis server, an instant messaging server, and an instant messaging information processing terminal as claimed in claim 4, wherein: The information analysis server is used to receive the user input content sent by the processing terminal, analyze the user input content, and send 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 to intercept the user input content when receiving the information processing instruction sent by the information analysis server indicating interception; The instant messaging service end is used to determine the recipient of the user input content when receiving the user input content sent by the processing terminal, send the user input content to the second instant messaging application of the recipient, and enable the instant messaging service end to intercept the user input content when the information processing instruction indicates interception.

6. An electronic device, It is characterized in that include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 3.

7. A computer readable medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.

Citation Information

Patent Citations

  • Instant message scanning

    AU2007216638A1

  • Mobile equipment and human input processing method thereof

    CN101702120A

  • Method and device for inputting on browser side

    CN103631886A

  • Message intercepting method and system for intelligent device

    CN105636051A

  • Method and device for blocking advertisement, and browser

    CN106033450A