CN115499402A - A processing method, terminal and system for instant messaging information - Google Patents
A processing method, terminal and system for instant messaging information Download PDFInfo
- 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.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims description 15
- 238000004458 analytical method Methods 0.000 claims abstract description 85
- 230000010365 information processing Effects 0.000 claims abstract description 85
- 238000002347 injection Methods 0.000 claims abstract description 73
- 239000007924 injection Substances 0.000 claims abstract description 73
- 238000000034 method Methods 0.000 claims abstract description 43
- 238000012545 processing Methods 0.000 claims abstract description 43
- 230000005540 biological transmission Effects 0.000 claims abstract description 22
- 230000008569 process Effects 0.000 claims description 25
- 238000004891 communication Methods 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 8
- 230000003993 interaction Effects 0.000 claims description 7
- 238000011161 development Methods 0.000 claims description 5
- 238000013515 script Methods 0.000 claims description 4
- 230000004044 response Effects 0.000 claims description 3
- 230000006870 function Effects 0.000 description 28
- 238000010586 diagram Methods 0.000 description 12
- 230000003287 optical effect Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 239000000243 solution Substances 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
技术领域technical field
本发明涉及数据安全技术领域,尤其涉及一种即时通信信息的处理方法、终端和系统。The invention relates to the technical field of data security, in particular to an instant messaging information processing method, terminal and system.
背景技术Background technique
即时通信(Instant Message,IM)是指能够即时发送和接收互联网消息等的业务。目前,为了避免用户通过即时通信泄漏企业隐私数据或者传播敏感信息,主要通过即时通信的服务端对接收到的客户端发送的信息进行敏感词或者隐私数据检测,在即时通信的服务端分析出信息包括有敏感信息或者隐私数据的情况下,通过该即时通信的服务端对信息进行拦截。Instant Messaging (IM) refers to a service capable of sending and receiving Internet messages in real time. At present, in order to prevent users from leaking corporate private data or disseminating sensitive information through instant messaging, the server of instant messaging mainly detects sensitive words or private data in the information received from the client, and analyzes the information on the server of instant messaging In the case of including sensitive information or private data, the information is intercepted through the instant messaging server.
现有的这种即时通信信息处理过程,需要对即时通信的服务端的数据处理程序进行侵入式修改,以使修改后的程序满足敏感信息或者隐私信息检测的需求。现有的这种即时通信信息处理方式,与即时通信的服务端的原有的通信程序之间具有较强的耦合性,一旦需要修改敏感信息或者隐私信息的检测程序,则需要对即时通信的服务端的程序整体进行调整,导致即时通信的服务端的信息处理比较复杂,导致信息处理效率较低。In the existing instant messaging information processing process, it is necessary to intrusively modify the data processing program of the instant messaging server, so that the modified program can meet the detection requirements of sensitive information or private information. The existing instant messaging information processing method has a strong 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 instant messaging service needs to be modified. The overall adjustment of the program at the end of the instant messaging results in more complex information processing at the server end of the instant messaging, resulting in lower information processing efficiency.
发明内容Contents of the invention
有鉴于此,本发明实施例提供一种即时通信信息的处理方法、终端和系统,以用于将敏感信息或者隐私数据检测的服务程序与即时通信服务端的信息处理程序解除耦合,降低即时通信信息处理复杂度,以有效地提高即时通信信息处理效率。In view of this, the embodiments of the present invention provide an instant messaging information processing method, terminal, and system for decoupling the service program for detecting sensitive information or private data from the information processing program of the instant messaging server, reducing the instant messaging information Processing complexity to effectively improve the efficiency of instant messaging information processing.
为实现上述目的,根据本发明实施例的一个方面,提供了一种即时通信信息的处理方法,包括:To achieve the above purpose, according to an aspect of the embodiments of the present invention, a method for processing instant messaging information is provided, including:
通过注入模块获取第一即时通信应用的编辑框中用户输入内容;Obtaining user input content in the edit box of the first instant messaging application through the injection module;
将所述用户输入内容发送给信息分析服务端,以使所述信息分析服务端对所述用户输入内容进行分析,并使所述信息分析服务端根据分析的结果,发送信息处理指令给即时通信服务端或者所述注入模块,其中,所述信息处理指令指示正常传输或者拦截;Send the user input content to the information analysis server, so that the information analysis server can analyze the user input content, and make the information analysis server send an information processing instruction to the instant messenger according to the analysis result The server or the injection module, wherein the information processing instruction indicates normal transmission or interception;
在所述信息处理指令指示拦截的情况下,通过所述注入模块拦截所述用户输入内容,或者,通过所述第一即时通信应用发送所述用户输入内容给所述即时通信服务端,以在所述信息处理指令指示正常传输的情况下,使所述即时通信服务端确定所述用户输入内容的接收方,将所述用户输入内容发送给所述接收方的第二即时通信应用,并在所述信息处理指令指示拦截的情况下,使所述即时通信服务端拦截所述用户输入内容。In the case that the information processing instruction indicates interception, intercept the user input content through the injection module, or send the user input content to the instant communication server through the first instant messaging application, so as to 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 is configured to intercept the input content of the user.
可选地,所述通过注入模块获取第一即时通信应用的编辑框中用户输入内容,包括:Optionally, the acquiring 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 is built based on a custom framework,
通过所述注入模块截获所述第一即时通信应用的对应于所述编辑框的接口;Intercepting the interface corresponding to the edit box of the first instant messaging application through the injection module;
通过对应于所述编辑框的接口获取所述编辑框中用户输入内容。Obtain user input content in the edit box through an interface corresponding to the edit box.
可选地,上述即时通信信息的处理方法,还包括:通过函数库定义并存放对应于所述信息分析服务端的调用函数,并为所述第一即时通信应用的指针添加定义的所述调用函数的地址,以得到所述注入模块中针对基于自定义框架构建的第一即时通信应用的部分;Optionally, the above instant messaging information processing method further includes: defining and storing the call function corresponding to the information analysis server through the function library, and adding the defined call function to the pointer of the first instant messaging application address to obtain the part of the injection module aimed at the first instant messaging application built based on the custom framework;
所述通过所述注入模块截获所述第一即时通信应用的对应于所述编辑框的接口,包括:The intercepting the interface corresponding to the edit box of the first instant messaging application through the injection module includes:
在所述调用函数接收到所述指针的调用的情况下,拦截对话界面中对应于所述编辑框的接口。When the call function receives the call of the pointer, intercept the interface corresponding to the edit box in the dialog interface.
可选地,上述即时通信信息的处理方法,还包括:Optionally, the method for processing instant messaging information further includes:
所述调用函数捕获到所述第一即时通信应用的消息处理函数或者事件进程中的特定事件的情况下,根据所述消息处理函数或者所述事件进程包含的窗口句柄,确定当前聊天窗口,并拦截所述当前聊天窗口的编辑框的接口。When the calling function captures a specific event in the message processing function or event process of the first instant messaging application, determine the current chat window according to the message processing function or the window handle included in the event process, and An interface for intercepting the edit box of the current chat window.
可选地,所述通过对应于所述编辑框的接口获取所述编辑框中用户输入内容,包括:Optionally, the acquiring user input content in the edit box through an interface corresponding to the edit box includes:
通过所述编辑框的接口定义的方法获取所述编辑框中用户输入内容。The user input content in the edit box is obtained through the method defined by the interface of the edit box.
可选地,所述通过注入模块获取第一即时通信应用的编辑框中用户输入内容,包括:Optionally, the acquiring user input content in the edit box of the first instant messaging application through the injection module includes:
在所述第一即时通信应用依赖html文件或者逻辑脚本运行在前端开发框架引擎或者嵌入式框架引擎的情况下,In the case where the first instant messaging application relies on html files or logic scripts to run on the front-end development framework engine or embedded framework engine,
确定所述第一即时通信应用运行的针对对话界面进程的对象树以及唯一且稳定指示编辑框的第一特征信息,其中,所述对象树包括多个节点,每一个所述节点对应于所述对话界面的一个特征信息;Determine the object tree for the dialog interface process run by the first instant messaging application and the first characteristic information of the unique and stable indication edit box, wherein the object tree includes a plurality of nodes, and each node corresponds to the 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 feature information, searching for a node corresponding to the edit box from the object tree;
获取对应于所述编辑框的节点的属性信息,其中,所述编辑框的节点的属性信息来源于所述编辑框中用户输入内容。The attribute information of the node corresponding to the edit box is acquired, wherein the attribute information of the node of the edit box is derived from user input content in the edit box.
第二方面,本发明实施例提供一种即时通信信息的处理终端,包括:注入模块、交互模块以及第一即时通信应用,其中,In a second aspect, an embodiment of the present invention provides a terminal for processing instant messaging information, including: an injection module, an interaction module, and a first instant messaging application, wherein,
所述注入模块,用于获取所述第一即时通信应用的编辑框中用户输入内容;The injection module is configured to acquire user input content in the edit box of the first instant messaging application;
所述交互模块,用于将所述用户输入内容发送给信息分析服务端,以使所述信息分析服务端对所述用户输入内容进行分析,并使所述信息分析服务端根据分析的结果,发送信息处理指令给即时通信服务端或者所述注册模块,其中,所述信息处理指令指示正常传输或者拦截;The interaction module is configured to send the user input content to the information analysis server, so that the information analysis server can analyze the user input content, and make the information analysis server, according to the analysis result, sending an information processing instruction to the instant messaging server or the registration module, wherein the information processing instruction indicates normal transmission or interception;
在所述注入模块接收到的所述信息处理指令指示拦截的情况下,拦截所述用户输入内容,或者,在所述第一即时通信应用发送所述用户输入内容给所述即时通信服务端的情况下,以在所述信息处理指令指示正常传输的情况下,使所述即时通信服务端确定所述用户输入内容的接收方,将所述用户输入内容发送给所述接收方的第二即时通信应用,并在所述信息处理指令指示拦截的情况下,使所述即时通信服务端拦截所述用户输入内容。When the information processing instruction received by the injection module indicates interception, intercept the user input content, or, when the first instant messaging application sends the user input content to the instant messaging server Under the condition that the information processing instruction indicates normal transmission, the instant messaging service end determines the recipient of the user input content, and sends the user input content to the recipient's second instant messenger application, and when the information processing instruction indicates interception, enable the instant messaging server to intercept the user input content.
第三方面,本发明实施例提供一种即时通信信息的处理系统,包括:信息分析服务端、即时通信服务端以及上述第二方面实施例提供的即时通信信息的处理终端,其中,In a third aspect, an embodiment of the present invention provides an instant messaging information processing system, including: an information analysis server, an instant messaging server, and the instant messaging information processing terminal provided in the embodiment of the second aspect above, wherein,
所述信息分析服务端,用于接收所述处理终端发送的用户输入内容,并对所述用户输入内容进行分析,根据分析的结果,发送信息处理指令给即时通信服务端或者所述处理终端,其中,所述信息处理指令指示正常传输或者拦截;The information analysis server is configured 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 configured to intercept the user input content when receiving the information processing instruction sent by the information analysis server indicating interception;
所述即时通信服务端,用于接收所述处理终端发送的所述用户输入内容的情况下,确定所述用户输入内容的接收方,将所述用户输入内容发送给所述接收方的第二即时通信应用,并在所述信息处理指令指示拦截的情况下,使所述即时通信服务端拦截所述用户输入内容。The instant messaging server is configured to determine a receiver of the user input content when receiving the user input content sent by the processing terminal, and send the user input content to a second party of the receiver. instant messaging application, and if the information processing instruction indicates interception, enable the instant messaging server to intercept the user input content.
上述发明中的一个实施例具有如下优点或有益效果:通过注入模块获取第一即时通信应用的编辑框中用户输入内容,并将用户输入内容发送给信息分析服务端,以使信息分析服务端对用户输入内容进行分析,并使信息分析服务端根据分析的结果,发送信息处理指令给即时通信服务端或者注入模块,在信息处理指令指示拦截的情况下,通过注入模块拦截用户输入内容,或者,在信息处理指令指示正常传输的情况下,使即时通信服务端确定用户输入内容的接收方,将用户输入内容发送给接收方的第二即时通信应用,并在信息处理指令指示拦截的情况下,使即时通信服务端拦截用户输入内容,即通过信息分析服务端,实现将敏感信息或者隐私数据检测的服务程序与即时通信服务端的信息处理程序解除耦合,降低即时通信信息处理复杂度,终端设备中的注入模块或者即时通信服务端可以直接根据指令对即时通信信息进行拦截或者发送,有效地提高即时通信信息处理效率。An embodiment of the above-mentioned invention has the following advantages or beneficial effects: the user input content in the edit box of the first instant messaging application is acquired through the injection module, and the user input content is sent to the information analysis server, so that the information analysis server can Analyze the content input by the user, and make the information analysis server send an information processing instruction to the instant messaging server or the injection module according to the analysis result, and intercept the user input content through the injection module when the information processing instruction indicates interception, 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 receiver's second instant messaging application, and when the information processing instruction indicates interception, Make the instant messaging server intercept user input content, that is, through the information analysis server, realize the decoupling of the service program for detecting sensitive information or private data from the information processing program of the instant messaging server, and reduce the complexity of instant messaging information processing. The injection module or the instant messaging server can directly intercept or send the instant messaging information according to the instruction, effectively improving the processing efficiency of the instant messaging information.
上述的非惯用的可选方式所具有的进一步效果将在下文中结合具体实施方式加以说明。The further effects of the above-mentioned non-conventional alternatives will be described below in conjunction with specific embodiments.
附图说明Description of drawings
附图用于更好地理解本发明,不构成对本发明的不当限定。其中:The accompanying drawings are used to better understand the present invention, and do not constitute improper limitations to the present invention. in:
图1是根据本发明实施例的应用场景所依赖的系统架构的示意图;FIG. 1 is a schematic diagram of a system architecture on which an application scenario depends according to an embodiment of the present invention;
图2是根据本发明实施例的一种即时通信信息的处理方法的主要流程的示意图;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;
图3是根据本发明实施例的一种获取编辑框中用户输入内容的主要流程的示意图;FIG. 3 is a schematic diagram of a main process for acquiring user input content in an edit box according to an embodiment of the present invention;
图4是根据本发明实施例的另一种获取编辑框中用户输入内容的主要流程的示意图;FIG. 4 is a schematic diagram of another main process for obtaining user input content in an edit box according to an embodiment of the present invention;
图5是根据本发明实施例的即时通信信息的处理终端的主要模块的示意图;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;
图6是根据本发明实施例的即时通信信息的处理系统的主要设备的示意图;FIG. 6 is a schematic diagram of main devices of a system for processing instant messaging information according to an embodiment of the present invention;
图7是适于用来实现本发明实施例的终端设备的计算机系统的结构示意图。Fig. 7 is a schematic structural diagram of a computer system suitable for implementing a terminal device according to an embodiment of the present invention.
具体实施方式detailed description
以下结合附图对本发明的示范性实施例做出说明,其中包括本发明实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本发明的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. 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.
图1示例性的示出了下述本发明实施例可以应用的应用场景所依赖的系统架构100。FIG. 1 exemplarily shows a
如图1所示,系统架构100可以包括终端设备101、102、103,网络104、信息分析服务器105以及即时通信服务器106。网络104用以在终端设备101、102、103和信息分析服务器105之间、终端设备101、102、103和即时通信服务器106之间以及信息分析服务器105和即时通信服务器106之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1 , the
用户可以使用终端设备101、102、103进行即时通信。并在即时通信过程中,终端设备101、102、103的注入模块获取该终端设备101、102、103安装的第一即时通信应用的编辑框中用户输入内容,然后该终端设备101、102、103通过网络104分别与信息分析服务器105和即时通信服务器106交互,以使信息分析服务器105对用户输入内容进行分析,并根据分析的结果,生成信息处理指令,并将该信息处理指令发送给即时通信服务器106或者终端设备101、102、103中的注入模块,终端设备101、102、103中的注入模块或者即时通信服务器106根据信息处理指令,对用户输入内容进行拦截或者发送给接收方的终端设备中的应用等。终端设备101、102、103上可以安装各种通讯客户端应用,例如网页浏览器应用、搜索类应用、即时通信工具、邮箱客户端、社交平台软件等(仅为示例)。Users can use
终端设备101、102、103可以是具有显示屏并且支持网页浏览的各种电子设备,包括但不限于智能手机、平板电脑、膝上型便携计算机和台式计算机等等。The
信息分析服务器105可以是提供各种服务的服务器,例如对终端设备101、102、103中的即时通信应用的编辑框中用户输入内容进行敏感信息或者隐私信息等进行分析,并对信息分析提供支持的后台管理服务器(仅为示例)。后台管理服务器可以根据分析的结果,生成指示正常传输或者拦截的信息处理指令,并将该信息处理指令发送给即时通信服务器106。The
需要说明的是,本发明实施例所提供的即时通信信息的处理方法一般由终端设备101、102、103执行,相应地,即时通信信息的处理装置分别设置于终端设备101、102、103中。It should be noted that the instant messaging information processing method provided by the embodiment of the present invention is generally executed by the
应该理解,图1中的终端设备、网络、信息分析服务器以及即时通信服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络、信息分析服务器以及即时通信服务器。It should be understood that the numbers of terminal devices, networks, information analysis servers, and instant messaging servers in FIG. 1 are only illustrative. According to the implementation requirements, there may be any number of terminal devices, networks, information analysis servers and instant communication servers.
图2是根据本发明实施例的一种即时通信信息的处理方法的主要流程示意图。如图2所示,该即时通信信息的处理方法可包括如下步骤:Fig. 2 is a schematic flow chart of a method for processing instant messaging information according to an embodiment of the present invention. As shown in Figure 2, the processing method of the instant messaging information may include the following steps:
步骤S201:通过注入模块获取第一即时通信应用的编辑框中用户输入内容;Step S201: Obtain user input content in the edit box of the first instant messaging application through the injection module;
其中,注入模块是依托进程注入技术,将获取编辑框中用户输入内容的程序/代码注入到终端设备中的一个或多个即时通信应用的进程环境中。其中,针对不同类型的即时通信应用,注入模块运行不同的程序,以通过注入模块从不同类型的即时通信应用中获取编辑框中的用户输入内容。另外,通过将获取编辑框中用户输入内容的程序/代码注入到终端设备中的一个或多个即时通信应用的进程环境中,可以基于进程的运行及时准确的获取用户输入内容。Wherein, the injection module relies on the process injection technology to inject the program/code that obtains the content input by the user in the edit box into the process environment of one or more instant messaging applications in the terminal device. Wherein, for different types of instant messaging applications, the injection module runs different programs, so as to obtain 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 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 acquired timely and accurately based on the running of the process.
步骤S202:将用户输入内容发送给信息分析服务端,以使信息分析服务端对用户输入内容进行分析,并使信息分析服务端根据分析的结果,发送信息处理指令给即时通信服务端或者注入模块,其中,信息处理指令指示正常传输或者拦截;Step S202: Send the user input content to the information analysis server, so that the information analysis server can analyze the user input content, and make the information analysis server send information processing instructions to the instant messaging server or injection module according to the analysis result , where the information processing instruction indicates normal transmission or interception;
其中,信息分析服务端对用户输入内容的分析可以采用现有的敏感信息或者隐私信息分析技术实现,在此不再赘述。Wherein, the analysis of the content input by the user by the information analysis server can be realized by using the existing sensitive information or private information analysis technology, which will not be repeated here.
步骤S203:在信息处理指令指示拦截的情况下,通过注入模块拦截用户输入内容,或者,通过第一即时通信应用发送用户输入内容给即时通信服务端,以在信息处理指令指示正常传输的情况下,使即时通信服务端确定用户输入内容的接收方,将用户输入内容发送给接收方的第二即时通信应用,并在信息处理指令指示拦截的情况下,使即时通信服务端拦截用户输入内容。Step S203: When the information processing instruction indicates interception, intercept the user input content through the injection module, or send the user input content 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 instructs the instant messaging server to intercept the user input content when the information processing instruction indicates interception.
具体地,该步骤S203的实现可以为:通过注入模块拦截用户输入内容;在注入模块拦截失败后,还可以进一步通过即时通信服务端进行拦截,以更好地实现对信息的拦截。该步骤S203的实现还可为:注入模块不管用户输入内容是否需要拦截,均将该用户输入内容发送给即时通信服务端,以通过即时通信服务端进行拦截。Specifically, the implementation of step S203 may be: intercepting user input content through the injection module; after the interception by the injection module fails, further interception may be performed through the instant messaging server, so as to better implement information interception. The implementation of step S203 can 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 instant messaging server can intercept it.
即通过信息分析服务端生成的信息处理指令来控制即时通信服务端发送或者拦截用户输入内容。That is, the information processing instruction generated by the information analysis server is used to control the instant messaging server to send or intercept user input content.
值得说明的是,本申请提供的技术方案可以针对不同开发架构、不同公司的多种类型的即时通信应用的用户输入内容进行处理。具体地,该注入模块针对终端设备中的多种类型的即时通信应用,相应地,信息分析服务端对注入模块获取到的用户输入内容进行分析过程则无需区分即时通信应用的类型,而该信息分析服务端可以连接多类型的即时通信应用对应的多种类型的即时通信服务端。通过注入模块、信息分析服务端解除获取用户输入内容的程序与敏感信息或者隐私信息分析程序之间的依赖,以及获取用户输入内容的程序与敏感信息或者隐私信息分析程序之间的耦合。另外,通过信息分析服务端的设置,解除了敏感信息或者隐私信息分析程序与即时通信服务端实现的即时通信功能之间的依赖以及耦合,使信息分析服务端能够为多种类型的即时通信服务端服务。同时,方便用户对敏感信息或者隐私信息分析程序的调整和更新,使敏感信息或者隐私信息分析程序的调整和更新,不会对即时通信原本的服务程序产生影响。It is worth noting that the technical solution provided by the present application can process user input content of various types of instant messaging applications of different development frameworks and companies. Specifically, the injection module is aimed at various types of instant messaging applications in the terminal device. Correspondingly, the information analysis server does not need to distinguish the type of instant messaging application when analyzing the user input content obtained by the injection module. The analysis server can be connected to multiple types of instant messaging servers corresponding to multiple types of instant messaging applications. Through the injection module and the information analysis server, the dependence between the program that obtains the user input content and the sensitive information or private information analysis program is released, and the coupling between the program that obtains the user input content and the sensitive information or private information analysis program is released. In addition, through the setting of the information analysis server, the dependence and coupling between the sensitive information or private information analysis program and the instant messaging function realized by the instant messaging server are removed, so that the information analysis server can provide information for various types of instant messaging servers. Serve. At the same time, it is convenient for the user to adjust and update the sensitive information or private information analysis program, so that the adjustment and update of the sensitive information or private information analysis program will not affect the original service program of instant messaging.
其中,第一即时通信应用和第二即时通信应用是指的终端设备中的任意一种即时通信应用,该“第一”和“第二”并不是对即时通信应用个数或者类型的限制。Wherein, 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" are not restrictions on the number or types of instant messaging applications.
在图2所示的实施例中,通过注入模块获取第一即时通信应用的编辑框中用户输入内容,并将用户输入内容发送给信息分析服务端,以使信息分析服务端对用户输入内容进行分析,并使信息分析服务端根据分析的结果,发送信息处理指令给即时通信服务端或者注入模块,在信息处理指令指示拦截的情况下,通过注入模块拦截用户输入内容,或者,在信息处理指令指示正常传输的情况下,使即时通信服务端确定用户输入内容的接收方,将用户输入内容发送给接收方的第二即时通信应用,并在信息处理指令指示拦截的情况下,使即时通信服务端拦截用户输入内容,即通过信息分析服务端,实现将敏感信息或者隐私数据检测的服务程序与即时通信服务端的信息处理程序解除耦合,降低即时通信信息处理复杂度,即时通信服务端可以直接根据指令对即时通信信息进行拦截或者发送,有效地提高即时通信信息处理效率。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 can perform a process on the user input content. Analyze, and make the information analysis server send information processing instructions to the instant messaging server or injection module according to the analysis results, and intercept the user input content through the injection module when the information processing instruction indicates interception, or, In the case of indicating normal transmission, make the instant messaging server determine the recipient of the user's input content, send the user's input content to the second instant messaging application of the recipient, and make the instant messaging service The terminal intercepts user input content, that is, through the information analysis server, the service program for detecting sensitive information or private data is decoupled from the information processing program of the instant messaging server, reducing the complexity of instant messaging information processing, and the instant messaging server can be directly based on The instruction intercepts or sends the instant messaging information, effectively improving the processing efficiency of the instant messaging information.
其中,由于不同架构的即时通信应用的编辑框结构存在本质的差别。为了能够获取到不同架构的即时通信的编辑框的用户输入内容。本发明实施例针对不同架构的即时通信应用注入模块采用不同的方式获取用户输入内容。Among them, there are essential differences in the edit box structures of instant messaging applications with different architectures. In order to be able to obtain the user input content of the edit box of the instant messaging of different architectures. The embodiment of the present invention adopts different ways to acquire user input content for instant messaging application injection modules with different architectures.
具体地,针对第一即时通信应用基于自定义框架构建的情况,如图3所示,上述通过注入模块获取第一即时通信应用的编辑框中用户输入内容的具体实施方式可包括如下步骤:Specifically, for the situation that the first instant messaging application is built based on a custom framework, as shown in Figure 3, the above-mentioned 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:
步骤S301:通过注入模块截获第一即时通信应用的对应于编辑框的接口;Step S301: Intercept the interface corresponding to the edit box of the first instant messaging application through the injection module;
步骤S302:通过对应于编辑框的接口获取编辑框中用户输入内容。Step S302: Obtain user input content in the edit box through an interface corresponding to the edit box.
其中,步骤S302的具体实施方式可包括:通过编辑框的接口定义的方法获取编辑框中用户输入内容。Wherein, the specific implementation manner of step S302 may include: acquiring user input content in the edit box through a method defined by the interface of the edit box.
以实现获取基于自定义框架构建即时通信应用中的用户输入内容。In order to obtain the user input content in the instant messaging application built based on the custom framework.
其中,针对上述图3所实现的获取编辑框中用户输入内容,该处理方法还可进一步包括:通过函数库定义并存放对应于信息分析服务端的调用函数,并为第一即时通信应用的指针添加定义的调用函数的地址,以得到注入模块中针对基于自定义框架构建的第一即时通信应用的部分;相应地,通过注入模块截获第一即时通信应用的对应于编辑框的接口的具体实施方式可包括:在调用函数接收到指针的调用的情况下,拦截对话界面中对应于编辑框的接口。值得说明的是,通过拦截对应于编辑框的接口获取用户输入内容的同时,并不影响即时通信应用将该用户输入内容发送给即时通信服务端。Wherein, for the acquisition of the user input content in the edit box realized in FIG. 3 above, the processing method may further include: defining and storing the call function corresponding to the information analysis server through the function library, and adding a pointer to the first instant messaging application The address of the defined call function to obtain the part of the injection module aimed at the first instant messaging application built based on the custom framework; correspondingly, the injection module intercepts the specific implementation of the interface corresponding to the edit box of the first instant messaging application It may include: intercepting the interface corresponding to the edit box in the dialog interface when the calling function receives the call of the pointer. It is worth noting that, while obtaining 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.
进一步地,针对上述图3所实现的获取编辑框中用户输入内容,为了有针对性地拦截对话界面中对应于编辑框的接口,上述处理方法还可进一步包括:调用函数捕获到第一即时通信应用的消息处理函数或者事件进程中的特定事件的情况下,根据消息处理函数或者事件进程包含的窗口句柄,确定当前聊天窗口,并拦截当前聊天窗口的编辑框的接口。其中,特定事件可以为用户按下回车键或者用户点击发送按钮等,以使获取到的用户输入内容是用户发送出的信息,以实现对传输信息的分析,而对于用户未发送的信息则不进行敏感性或隐私性分析。Further, for the acquisition of user input content in the edit box realized in FIG. 3 above, in order to intercept the interface corresponding to the edit box in the dialogue interface in a targeted manner, the above processing method may further include: calling a function to capture the first instant messaging In the case of a specific event in the application's message processing function or event process, determine the current chat window according to the window handle included in the message processing function or event process, and intercept the interface of the edit box of the current chat window. Among them, the specific event can be that the user presses the Enter key or the user clicks the send button, etc., so that the obtained user input content is the information sent by the user, so as to realize the analysis of the transmitted information, and the information not sent by the user is No sensitivity or privacy analysis was performed.
具体地,针对第一即时通信应用依赖html文件或者逻辑脚本运行在前端开发框架引擎或者嵌入式框架引擎的情况,如图4所示,上述通过注入模块获取第一即时通信应用的编辑框中用户输入内容的具体实施方式可包括如下步骤:Specifically, for the situation that the first instant messaging application relies on html files or logic scripts to run on the front-end development framework engine or embedded framework engine, as shown in Figure 4, the above-mentioned acquisition of the user in the edit box of the first instant messaging application through the injection module The specific implementation of the input content may include the following steps:
步骤S401:确定第一即时通信应用运行的针对对话界面进程的对象树以及唯一且稳定指示编辑框的第一特征信息,其中,对象树包括多个节点,每一个节点对应于对话界面的一个特征信息;Step S401: Determine the object tree for the dialogue interface process run by the first instant messaging application and the first feature information of the unique and stable indication edit box, wherein the object tree includes a plurality of nodes, and each node corresponds to a feature of the dialogue interface information;
该特征信息可以为对话界面的发送按键、可写框、只读框以及对话界面的其他特征。在此对于对话界面的特征不进行限定。The feature information may be a send button, a writable box, a read-only box, and other features of the dialog interface. The features of the dialogue interface are not limited here.
步骤S402:响应于接收到针对预先确定出的与编辑框相关的界面元素的触发操作,根据第一特征信息,从对象树中查找对应于编辑框的节点;Step S402: In response to receiving a trigger operation for a predetermined interface element related to the edit box, according to the first feature information, search for a node corresponding to the edit box from the object tree;
该界面元素对应于一种特征信息,比如,该界面元素可以为光标、发送按钮等。The interface element corresponds to a feature information, for example, the interface element may be a cursor, a send button, and the like.
步骤S403:获取对应于编辑框的节点的属性信息,其中,编辑框的节点的属性信息来源于编辑框中用户输入内容。Step S403: Obtain the attribute information of the node corresponding to the edit box, wherein the attribute information of the node in the edit box comes from the content input by the user in the edit box.
其中,针对图4所示的方案,上述即时通信信息的处理方法还可进一步包括:基于第一即时通信应用运行的针对对话界面进程的对象树包括的编辑框的节点的特征信息,为编辑框的节点确定用于指示编辑框变化的、与编辑框相关的界面元素。Wherein, for the solution shown in FIG. 4 , the above instant messaging information processing method may further include: based on the feature information of the node of the edit box included in the object tree for the dialogue interface process run by the first instant messaging application, the edit box is The node for identifies the UI element associated with the edit box that indicates changes to the edit box.
通过注入模块可以获取终端设备中的不同类型的即时通信应用的用户输入内容,以实现全方位的对终端设备的各种即时通信应用进行管理和安全性监控。User input content of different types of instant messaging applications in the terminal device can be obtained through the injection module, so as to realize comprehensive management and security monitoring of various instant messaging applications of the terminal device.
另外,还可为注入模块配置选择或者配置的即时通信应用,比如,需要对终端设备中的即时通信应用a、即时通信应用b进行安全性监控,而不对终端设备中的即时通信应用c进行安全性监控,则可为注入模块配置该即时通信应用a、即时通信应用b,以实现按照用户需求管理即时通信应用。In addition, the instant messaging application selected or configured may also be configured for the injection module. For example, it is necessary to monitor the security of instant messaging application a and instant messaging application b in the terminal device, but not perform security monitoring on instant messaging application c in the terminal device. If performance monitoring is required, the instant messaging application a and instant messaging application b can be configured for the injection module, so as to manage the instant messaging application according to user requirements.
如图5所示,本发明实施例提供一种即时通信信息的处理终端500,该即时通信信息的处理终端500可包括:注入模块501、交互模块502以及第一即时通信应用503,其中,As shown in FIG. 5 , an embodiment of the present invention provides a terminal 500 for processing instant messaging information. The terminal 500 for processing instant messaging information may include: an
注入模块501,用于获取第一即时通信应用的编辑框中用户输入内容;The
交互模块502,用于将用户输入内容发送给信息分析服务端,以使信息分析服务端对用户输入内容进行分析,并使信息分析服务端根据分析的结果,发送信息处理指令给即时通信服务端或者注册模块,其中,信息处理指令指示正常传输或者拦截;The
在注入模块501接收到的信息处理指令指示拦截的情况下,拦截用户输入内容,或者,在第一即时通信应用503发送用户输入内容给即时通信服务端的情况下,以在信息处理指令指示正常传输的情况下,使即时通信服务端确定用户输入内容的接收方,将用户输入内容发送给接收方的第二即时通信应用,并在信息处理指令指示拦截的情况下,使即时通信服务端拦截用户输入内容。In the case that the information processing instruction received by the
在本发明实施例中,注入模块501,进一步用于在第一即时通信应用基于自定义框架构建的情况下,截获第一即时通信应用的对应于编辑框的接口;通过对应于编辑框的接口获取编辑框中用户输入内容。在本发明实施例中,注入模块501,进一步用于通过函数库定义并存放对应于信息分析服务端的调用函数,并为第一即时通信应用的指针添加定义的调用函数的地址,以得到注入模块中针对基于自定义框架构建的第一即时通信应用的部分;在调用函数接收到指针的调用的情况下,拦截对话界面中对应于编辑框的接口。In the embodiment of the present invention, the
在本发明实施例中,注入模块501,进一步用于调用函数捕获到第一即时通信应用的消息处理函数或者事件进程中的特定事件的情况下,根据消息处理函数或者事件进程包含的窗口句柄,确定当前聊天窗口,并拦截当前聊天窗口的编辑框的接口。In the embodiment of the present invention, the
在本发明实施例中,注入模块501,进一步用于通过编辑框的接口定义的方法获取编辑框中用户输入内容。In the embodiment of the present invention, the
在本发明实施例中,注入模块501,进一步用于在第一即时通信应用依赖html文件或者逻辑脚本运行在前端开发框架引擎或者嵌入式框架引擎的情况下,确定第一即时通信应用运行的针对对话界面进程的对象树以及唯一且稳定指示编辑框的第一特征信息,其中,对象树包括多个节点,每一个节点对应于对话界面的一个特征信息;响应于接收到针对预先确定出的与编辑框相关的界面元素的触发操作,根据第一特征信息,从对象树中查找对应于编辑框的节点;获取对应于编辑框的节点的属性信息,其中,编辑框的节点的属性信息来源于编辑框中用户输入内容。In the embodiment of the present invention, the
如图6所示,本发明实施例提供一种即时通信信息的处理系统600,该即时通信信息的处理系统600可包括:信息分析服务端601、即时通信服务端602以及上述图5所示的即时通信信息的处理终端500,其中,As shown in FIG. 6, an embodiment of the present invention provides an instant messaging
信息分析服务端601,用于接收处理终端500发送的用户输入内容,并对用户输入内容进行分析,根据分析的结果,发送信息处理指令给即时通信服务端602或者处理终端500,其中,信息处理指令指示正常传输或者拦截;The
处理终端500,进一步用于在接收到信息分析服务端601发送的信息处理指令指示拦截的情况下,对用户输入内容进行拦截;The
即时通信服务端602,用于接收处理终端500发送的用户输入内容,确定用户输入内容的接收方,将用户输入内容发送给接收方的第二即时通信应用,并在信息处理指令指示拦截的情况下,使即时通信服务端602拦截用户输入内容。The
下面参考图7,其示出了适于用来实现本发明实施例的终端设备或服务器的计算机系统700的结构示意图。图7示出的终端设备仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。Referring now to FIG. 7 , it shows a schematic structural diagram of a
如图7所示,计算机系统700包括中央处理单元(CPU)701,其可以根据存储在只读存储器(ROM)702中的程序或者从存储部分708加载到随机访问存储器(RAM)703中的程序而执行各种适当的动作和处理。在RAM 703中,还存储有系统700操作所需的各种程序和数据。CPU 701、ROM 702以及RAM 703通过总线704彼此相连。输入/输出(I/O)接口705也连接至总线704。As shown in FIG. 7 , a
以下部件连接至I/O接口705:包括键盘、鼠标等的输入部分706;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分707;包括硬盘等的存储部分708;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分709。通信部分709经由诸如因特网的网络执行通信处理。驱动器710也根据需要连接至I/O接口705。可拆卸介质711,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器710上,以便于从其上读出的计算机程序根据需要被安装入存储部分708。The following components are connected to the I/O interface 705: an
特别地,根据本发明公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本发明公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分709从网络上被下载和安装,和/或从可拆卸介质711被安装。在该计算机程序被中央处理单元(CPU)701执行时,执行本发明的系统中限定的上述功能。In particular, according to the disclosed embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the disclosed embodiments of the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via
需要说明的是,本发明所示的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本发明中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本发明中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。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. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present invention, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, in which computer-readable program codes are carried. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction 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, wireline, optical fiber 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 a flowchart or block diagram may represent a module, program segment, or portion of code that includes one or more logical functions for implementing specified executable instructions. 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 they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block in the block diagrams or flowchart illustrations, and combinations of blocks in the block diagrams or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a A combination of dedicated hardware and computer instructions.
描述于本发明实施例中所涉及到的模块可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的模块也可以设置在处理器中,例如,可以描述为:一种处理器包括注入模块、交互模块以及第一即时通信应用。其中,这些模块的名称在某种情况下并不构成对该模块本身的限定,例如,注入模块还可以被描述为“获取所述第一即时通信应用的编辑框中用户输入内容的模块”。The modules involved in the embodiments described in the present invention may be implemented by software or by hardware. The described modules 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. Wherein, the names of these modules do not limit the module itself under certain circumstances, 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".
作为另一方面,本发明还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的设备中所包含的;也可以是单独存在,而未装配入该设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被一个该设备执行时,使得该设备包括:通过注入模块获取第一即时通信应用的编辑框中用户输入内容;将用户输入内容发送给信息分析服务端,以使信息分析服务端对用户输入内容进行分析,并使信息分析服务端根据分析的结果,发送信息处理指令给即时通信服务端或者注入模块,其中,信息处理指令指示正常传输或者拦截;在信息处理指令指示拦截的情况下,通过注入模块拦截用户输入内容,或者,通过第一即时通信应用发送用户输入内容给即时通信服务端,以在信息处理指令指示正常传输的情况下,使即时通信服务端确定用户输入内容的接收方,将用户输入内容发送给接收方的第二即时通信应用,并在信息处理指令指示拦截的情况下,使即时通信服务端拦截用户输入内容。As another aspect, the present invention also provides a computer-readable medium. The computer-readable medium may be contained in the device described in the above embodiments, or it may exist independently without being assembled into the device. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the device, the device includes: obtaining the user input content in the edit box of the first instant messaging application through the injection module; The user input content is sent to the information analysis server, so that the information analysis server can analyze the user input content, and the information analysis server can send information processing instructions to the instant messaging server or injection module according to the analysis result, wherein, the information The 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 communication server through the first instant messaging application, so that the information processing instruction indicates In the case of normal transmission, make the instant messaging server determine the recipient of the user input content, send the user input content to the recipient's second instant messaging application, and make the instant messaging server end Intercept user input.
根据本发明实施例的技术方案,通过注入模块获取第一即时通信应用的编辑框中用户输入内容,并将用户输入内容发送给信息分析服务端,以使信息分析服务端对用户输入内容进行分析,并使信息分析服务端根据分析的结果,发送信息处理指令给即时通信服务端或者注册模块,在信息处理指令指示拦截的情况下,通过注入模块拦截用户输入内容,或者,在信息处理指令指示正常传输的情况下,使即时通信服务端确定用户输入内容的接收方,将用户输入内容发送给接收方的第二即时通信应用,并在信息处理指令指示拦截的情况下,使即时通信服务端拦截用户输入内容,即通过信息分析服务端,实现将敏感信息或者隐私数据检测的服务程序与即时通信服务端的信息处理程序解除耦合,降低即时通信信息处理复杂度,终端设备中的注入模块或者即时通信服务端可以直接根据指令对即时通信信息进行拦截或者发送,有效地提高即时通信信息处理效率。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 can analyze the user input content , and make the information analysis server send information processing instructions to the instant messaging server or registration module according to the analysis results, and intercept the user input content through the injection module when the information processing instructions indicate interception, or, In the case of normal transmission, make the instant messaging server determine the recipient of the user input content, send the user input content to the receiver's second instant messaging application, and make the instant messaging server end Intercept user input content, that is, through the information analysis server, realize the decoupling of the service program of sensitive information or private data detection from the information processing program of the instant messaging server, reduce the complexity of instant messaging information processing, the injection module in the terminal device or instant messaging The communication server can directly intercept or send the instant messaging information according to the instruction, effectively improving the processing efficiency of the instant messaging information.
上述具体实施方式,并不构成对本发明保护范围的限制。本领域技术人员应该明白的是,取决于设计要求和其他因素,可以发生各种各样的修改、组合、子组合和替代。任何在本发明的精神和原则之内所作的修改、等同替换和改进等,均应包含在本发明保护范围之内。The above specific implementation methods do not constitute a limitation to the protection scope of the present invention. It should be apparent to those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211010520.1A CN115499402B (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 CN115499402B (en) | 2022-08-23 | 2022-08-23 | Instant messaging information processing method, terminal and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115499402A true CN115499402A (en) | 2022-12-20 |
CN115499402B CN115499402B (en) | 2024-11-08 |
Family
ID=84467410
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211010520.1A Active CN115499402B (en) | 2022-08-23 | 2022-08-23 | Instant messaging information processing method, terminal and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115499402B (en) |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080072164A1 (en) * | 2004-06-24 | 2008-03-20 | Heeseob Park | Methods and the Program-Recording Medium for Creating, Editing and Trading Home Page Components to Assemble a Home Page and a Personal Portal Site Directly in Wysiwyg on Web Browser |
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 interception method and system for smart devices |
CN106033450A (en) * | 2015-03-17 | 2016-10-19 | 中兴通讯股份有限公司 | Method and device for blocking advertisement, and browser |
US20170279747A1 (en) * | 2014-09-22 | 2017-09-28 | Roy S. Melzer | Interactive user interface based on analysis of chat messages content |
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 |
CN111581115A (en) * | 2020-06-04 | 2020-08-25 | 网易(杭州)网络有限公司 | File processing method, device, storage medium, processor and electronic device |
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 |
CN113807050A (en) * | 2021-07-01 | 2021-12-17 | 西安华讯科技有限责任公司 | Node interception method, system, equipment and storage medium based on rich text |
CN114327087A (en) * | 2021-12-22 | 2022-04-12 | 深圳Tcl新技术有限公司 | Input event processing method and device, electronic equipment and storage medium |
-
2022
- 2022-08-23 CN CN202211010520.1A patent/CN115499402B/en active Active
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080072164A1 (en) * | 2004-06-24 | 2008-03-20 | Heeseob Park | Methods and the Program-Recording Medium for Creating, Editing and Trading Home Page Components to Assemble a Home Page and a Personal Portal Site Directly in Wysiwyg on Web Browser |
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 |
US20170279747A1 (en) * | 2014-09-22 | 2017-09-28 | Roy S. Melzer | Interactive user interface based on analysis of chat messages content |
CN106033450A (en) * | 2015-03-17 | 2016-10-19 | 中兴通讯股份有限公司 | Method and device for blocking advertisement, and browser |
CN105636051A (en) * | 2015-12-18 | 2016-06-01 | 北京奇虎科技有限公司 | Message interception method and system for smart devices |
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 |
CN111581115A (en) * | 2020-06-04 | 2020-08-25 | 网易(杭州)网络有限公司 | File processing method, device, storage medium, processor and electronic device |
CN112118172A (en) * | 2020-09-18 | 2020-12-22 | 北京明朝万达科技股份有限公司 | Chat content auditing method and device, electronic equipment and storage medium |
CN113807050A (en) * | 2021-07-01 | 2021-12-17 | 西安华讯科技有限责任公司 | Node interception method, system, equipment and storage medium based on rich text |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN115499402B (en) | 2024-11-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109918191B (en) | Method and device for preventing frequency of service request | |
CN110737891A (en) | A host intrusion detection method and device | |
JP2021163475A (en) | Log-based mashup code generation | |
US10250531B2 (en) | Bot monitoring | |
CN112579418A (en) | Method, device, equipment and computer readable medium for identifying access log | |
CN114371888A (en) | Method and device for hot updating of log collection plug-in, electronic equipment and readable medium | |
CN110083457A (en) | A kind of data capture method, device and data analysing method, device | |
CN112052152A (en) | A method and device for simulating testing | |
CN113010238A (en) | Permission determination method, device and system for micro application call interface | |
CN112256372A (en) | Information processing method and device and electronic equipment | |
CN112015383B (en) | A login method and device | |
CN114385382A (en) | Access method, device, computer device and storage medium for light application | |
CN116561013B (en) | Test methods, devices, electronic equipment and media based on the target service framework | |
CN115391827B (en) | Log information storage method, apparatus, device, computer readable medium and product | |
US20230004561A1 (en) | Configurable approximate search of character strings | |
CN117194068A (en) | Cross-process data transmission method, system, equipment and storage medium | |
CN115499402B (en) | Instant messaging information processing method, terminal and system | |
CN112910855B (en) | Sample message processing method and device | |
CN113761433B (en) | Service processing method and device | |
CN115442129A (en) | Method, device and system for managing cluster access authority | |
CN114598546A (en) | Application defense method, device, equipment, medium and program product | |
CN114281697A (en) | Method and device for generating test data | |
CN111737218A (en) | File sharing method and device | |
CN111949472A (en) | Method and device for recording application logs | |
CN110554942A (en) | method and device for monitoring code execution |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |