A method, device and system for processing data

The data processed by the browser is sent to the processing server through the browser plug-in and processed according to the set policy, which solves the problem of low flexibility and low efficiency of data processing by the proxy server and achieves more efficient data management and precise control.

CN113687877BActive Publication Date: 2024-10-22北京天空卫士网络安全技术有限公司 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110963585.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-20
Publication Date
2024-10-22
Estimated Expiration
2041-08-20

AI Technical Summary

Technical Problem

When using a proxy server to process data in the existing technology, the flexibility is low and the efficiency is low. Especially when processing data based on the secure version of Hypertext Transfer Protocol, a certificate needs to be manually installed, resulting in low data processing efficiency.

Method used

The transmission data processed by the browser is obtained through the browser plug-in and sent to the processing server. The processing operation is judged according to the set policy, and corresponding processing is performed on the browser side, including allowing or blocking data requests, downloads, and printing operations.

Benefits of technology

It improves the flexibility and efficiency of data processing, reduces the interference of proxy servers on users' browser use, reduces the impact of certificate issues and relay communication issues, and provides higher accuracy and scalability of data processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113687877B_ABST
    Figure CN113687877B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device and system for processing data, and relates to the field of computer technology. A specific implementation of the method includes: being able to use the browser plug-in to obtain the transmission data processed by the browser, determining the processing operation of the data according to the processing server, and the processing operation processing the transmission data; overcoming the problem of low flexibility and low efficiency caused by using a proxy server to process data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method, device and system for processing data. Background Art

[0002] With the rapid development of Internet technology, browsers, as tools for retrieving, displaying and transmitting Internet information resources, have become an indispensable tool for people to use the Internet in their work and life.

[0003] With the popularization of informatization, people have higher and higher requirements for information and data security, especially in the scenario of corporate office, there are higher requirements for the security of data transmitted through browsers, in order to protect digital assets and reduce the losses caused to enterprises by data leakage; currently, proxy servers are usually used to monitor and process data transmitted through browsers. When using proxy servers, it is necessary to redirect the data of the set port to the proxy server through the network driver, or configure the proxy server as the system's network access proxy server. In the event of network driver conflict or configuration modification, the proxy server may become unavailable, and there is a problem of low flexibility in processing data; when the proxy server processes data based on the secure version of the Hypertext Transfer Protocol, the proxy server certificate needs to be manually installed, and there is a problem of low efficiency in processing data. Summary of the invention

[0004] In view of this, an embodiment of the present invention provides a method, device and system for processing data, which can use the browser plug-in to obtain the transmission data processed by the browser, determine the processing operation of the data according to the processing server, and the processing operation processes the transmission data; thereby overcoming the problems of low flexibility and low efficiency caused by using a proxy server to process data.

[0005] To achieve the above-mentioned purpose, according to one aspect of an embodiment of the present invention, a method for processing data is provided, which is applied to a browser plug-in and includes: obtaining transmission data processed by the browser, sending the transmission data to a processing server, so that the processing server determines the processing operation corresponding to the transmission data according to a set policy; receiving the processing operation sent by the processing server, and processing the transmission data according to the processing operation.

[0006] Optionally, the method for processing data is characterized in that:

[0007] In the case where the transmission data is a data request, the receiving device receives the processing operation sent by the processing server and processes the transmission data according to the processing operation, including: in the case where the processing operation is release, allowing the browser to continue processing the data request; in the case where the processing operation is block, prohibiting the processing of the data request.

[0008] Optionally, the method for processing data is characterized in that:

[0009] In the case that the transmission data is a downloaded file, the transmission data processed by the browser is obtained and the transmission data is sent to a processing server, including: obtaining a first prompt message indicating that the downloading of the downloaded file is complete, obtaining the file identifier of one or more downloaded files according to the first prompt message, and sending the file identifier to the processing server.

[0010] Optionally, the method for processing data is characterized in that:

[0011] Receive the processing operation sent by the processing server, and process the transmission data according to the processing operation, including: when the processing operation is release, allow the browser to save the file; when the processing operation is block, delete the file.

[0012] Optionally, the method for processing data is characterized in that:

[0013] In the case where the transmission data is data printing, the transmission data processed by the browser is obtained, and the transmission data is sent to the processing server, including: obtaining second prompt information for the browser to execute data printing, obtaining the data to be printed according to the second prompt information, and sending the data to be printed to the processing server.

[0014] Optionally, the method for processing data is characterized in that:

[0015] It further includes: receiving a monitoring code module sent by the processing server to inject the monitoring code module into the browser; the obtaining of the second prompt information for the browser to execute data printing includes: receiving the second prompt information sent by the monitoring code module.

[0016] Optionally, the method for processing data is characterized in that:

[0017] The receiving of the processing operation sent by the processing server and processing of the transmission data according to the processing operation include: when the processing operation is release, instructing the monitoring code module to allow the browser to print data; when the processing operation is block, instructing the monitoring code module to prohibit the browser from printing.

[0018] To achieve the above object, according to a second aspect of an embodiment of the present invention, a device for processing data is provided, characterized in that it includes: a data processing module and a data transmission module; wherein:

[0019] The data processing module is used to obtain the transmission data processed by the browser and send the transmission data to the processing server so that the processing server determines the processing operation corresponding to the transmission data according to the set policy;

[0020] The transmission data module is used to receive the processing operation sent by the processing server and process the transmission data according to the processing operation.

[0021] To achieve the above object, according to a third aspect of an embodiment of the present invention, a system for processing data is provided, characterized in that it includes: a browser, a browser plug-in set in the browser, and a processing server, wherein:

[0022] Acquiring the transmission data processed by the browser through the browser plug-in set in the browser, and sending the transmission data to the processing server, so that the processing server determines the processing operation corresponding to the transmission data according to the set policy;

[0023] The processing operation sent by the processing server is received through the browser plug-in set in the browser, and the transmission data is processed according to the processing operation.

[0024] To achieve the above-mentioned purpose, according to the fourth aspect of an embodiment of the present invention, there is provided an electronic device for processing data, characterized in that it comprises: 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 any of the methods described in the above-mentioned methods for processing data.

[0025] To achieve the above-mentioned purpose, according to a fifth aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored, characterized in that when the program is executed by a processor, any method as described in the above-mentioned method for processing data is implemented.

[0026] An embodiment of the above invention has the following advantages or beneficial effects: the browser plug-in can be used to obtain the transmission data processed by the browser, and the processing operation of the data is determined according to the processing server, and the processing operation processes the transmission data; the problem of low flexibility and low efficiency caused by using a proxy server to process data is overcome.

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

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

[0029] Figure 1 is a flowchart of a method for processing data provided by the first embodiment of the present invention;

[0030] Figure 2 is a schematic diagram of a data processing flow provided by the second embodiment of the present invention;

[0031] Figure 3 is a schematic diagram of the structure of a device for processing data provided by an embodiment of the present invention;

[0032] Figure 4 is a schematic diagram of the structure of a system for processing data provided by an embodiment of the present invention;

[0033] Figure 5 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;

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

[0035] 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.

[0036] like Figure 1 As shown, an embodiment of the present invention provides a method for processing data, which is applied to a browser plug-in. The method may include the following steps:

[0037] Step S101: acquiring transmission data processed by the browser, and sending the transmission data to a processing server, so that the processing server determines a processing operation corresponding to the transmission data according to a set policy.

[0038] Specifically, the embodiments of the present invention are applied to browser plug-ins; it is understandable that corresponding browser plug-ins can be developed for each browser, for example: based on the programming interface open to the browser, the code of the browser plug-in is written, and after verification by the browser provider, it can be installed in the browser for use, such as Chrome, IE, Firefox, Edge, etc. The present invention does not limit the specific product type of the browser. Optionally, the method for installing the browser plug-in can use the push tool of the domain control to install the corresponding browser plug-in for each browser installed on the client device, for example: for the client device (such as a desktop computer) added to the AD domain, the browser plug-in on the client device is installed by using the GPO tool push method.

[0039] The transmission data processed by the browser includes various data transmitted through the browser, such as: data request, transmitted files (downloaded files), printing browser-related data, etc.; obtaining various transmission data.

[0040] Further, the acquired one or more transmission data are sent to a processing server, and the processing server includes a plurality of setting strategies for detecting or viewing the transmission data sent by the browser plug-in, and the processing server determines the corresponding processing operation for the transmission data according to the detection result. Among them, the setting strategy is set according to the specific scenario, for example: the scenario is to prohibit users from browsing shopping websites within a set time range (for example: working hours); then the setting strategy is when the user accesses the shopping website through the browser within the set time range, the processing server determines whether the URL of the access request sent by the browser plug-in matches the shopping website, and returns the corresponding processing operation to the browser plug-in; for example: the setting strategy is to check whether the downloaded file contains sensitive data or unsafe data, and if it does, it is determined to match the setting strategy, etc.; the setting strategy can be set through a configuration file (for example: xml file), and can also be stored through a data table, etc.; the present invention does not limit the specific content and form of various setting strategies.

[0041] Step S102: receiving the processing operation sent by the processing server, and processing the transmission data according to the processing operation.

[0042] Specifically, the processing operation includes: blocking or releasing. Blocking means that the data transmission is blocked if it matches the set policy; releasing means that the data transmission is allowed to continue if it does not match the set policy. The browser plug-in processes the transmission data according to the processing operation sent by the processing server.

[0043] Furthermore, the specific description of processing the transmission data of the browser: data request, processing downloaded files, and data printing is consistent with the description of step S201 to step S204, and will not be repeated here.

[0044] It can be seen that the browser plug-in overcomes the problems existing in the prior art of using proxy servers to monitor and process data transmitted through the browser. For example, in the prior art of using proxy servers, it is necessary to redirect the data of the set port to the proxy server through a network driver, or to configure the proxy server as a network access proxy server of the system. In the event of a network driver conflict or configuration modification, the proxy server may become unavailable, resulting in a low flexibility in processing data. When the proxy server processes data based on the secure version of the Hypertext Transfer Protocol, the proxy server's certificate needs to be manually installed, resulting in a low efficiency in processing data.

[0045] like Figure 2 As shown, an embodiment of the present invention provides a method for processing data, which is applied to a browser plug-in. The method may include the following steps:

[0046] Step S201: receiving the processing operation sent by the processing server, and processing the transmission data according to the processing operation.

[0047] Specifically, steps S202 to S204 respectively describe the data processing method when the transmission data is: data request, downloaded file, and printed data. Step S202: When the transmission data is a data request: when the processing operation is release, the browser is allowed to continue processing the data request; when the processing operation is block, the data request is prohibited from being processed.

[0048] Specifically, data requests include: HTTP POST data requests, GET requests, uploading data (such as uploading files), sending emails, etc. sent through browsers; taking POST data requests as an example, the browser plug-in can obtain the information contained in the data packet of the POST data request, and after converting each information into JSON format, send it to the processing server using HTTP request, so that the processing server determines the processing operation corresponding to the transmission data according to the set strategy.

[0049] Furthermore, if the browser plug-in receives a release signal from the processing server for a data request (e.g., an HTTP POST request), the HTTP POST request is allowed to continue processing; if the browser plug-in receives a block signal from the processing server for a data request (e.g., an HTTP POST request), the request is deemed to match a set policy, and processing of the data request is prohibited; for example, the browser page displays information such as "data sending failed" or "webpage inaccessible" to prohibit processing of the data request; optionally, if a customized blocking page needs to be displayed, the access to the data request can be redirected to the processing server, and the receiving server returns the blocked page and displays it.

[0050] That is, in the case where the transmission data is a data request, the receiving processing operation sent by the processing server processes the transmission data according to the processing operation, including: when the processing operation is release, allowing the browser to continue processing the data request; when the processing operation is block, prohibiting the processing of the data request.

[0051] Step S203: When the transmission data is a downloaded file: when the processing operation is release, the browser is allowed to save the file; when the processing operation is block, the file is deleted.

[0052] Specifically, files can be downloaded through a browser, that is, when the transmission data is a downloaded file, the browser plug-in receives a first prompt message indicating that the file download is complete (for example, a message indicating that the download is complete); through the first prompt message, the browser plug-in obtains the file name and absolute path of the downloaded file, encapsulated as data in JSON format, and sends it to a processing server, so that the processing server determines the processing operation corresponding to the downloaded file according to the set policy; that is, when the transmission data is a downloaded file, the transmission data processed by the browser is obtained and sent to the processing server, including: obtaining the first prompt message indicating that the download of the downloaded file is complete, obtaining the file identifier of one or more downloaded files according to the first prompt message, and sending the file identifier to the processing server. The file identifier can be the path and file name of the file, etc.

[0053] Furthermore, the browser plug-in receives the processing operation indicated by the processing server, and if the processing operation is to release, allows the downloaded file to be saved; if the processing operation is to block, deletes the downloaded file; that is, receives the processing operation sent by the processing server, and processes the transmission data according to the processing operation, including: when the processing operation is to release, allows the browser to save the file; when the processing operation is to block, deletes the file.

[0054] Step S204: when the transmission data is data printing and the processing operation is release, instruct the monitoring code module to allow the browser to print data; when the processing operation is block, instruct the monitoring code module to prohibit the browser from printing.

[0055] Specifically, in the case where the transmission data is data printing, the printed data may be a page displayed by the browser, a file displayed by the browser, etc.; when the browser plug-in obtains the second prompt information for the browser to execute printing, it obtains the data to be printed and sends it to the processing server, so that the processing server determines the processing operation corresponding to the data printing according to the set policy, for example, determining whether the data to be printed contains sensitive data, information with security risks, etc. That is, obtaining the transmission data processed by the browser and sending the transmission data to the processing server includes: obtaining the second prompt information for the browser to execute data printing, obtaining the data to be printed according to the second prompt information, and sending the data to be printed to the processing server.

[0056] Furthermore, the browser plug-in obtains the second prompt information through the monitoring code module sent by the processing server, wherein the monitoring code module is provided by the processing server. For example, when the browser is started, the processing server injects the monitoring code module into the browser. When the browser starts to print data, the monitoring code module monitors the operation and sends the second prompt information to the browser plug-in, so that the browser plug-in obtains the data to be printed after receiving the second prompt information. That is, the monitoring code module sent by the processing server is received to inject the monitoring code module into the browser; the obtaining of the second prompt information of the browser executing data printing includes: receiving the second prompt information sent by the monitoring code module. The monitoring processing module can be a dynamic link library of code, or a code compression package, etc.

[0057] Further, the receiving of the processing operation sent by the processing server and processing the transmission data according to the processing operation include: when the processing operation is to allow, instructing the monitoring code module to allow the browser to print data; when the processing operation is to block, instructing the monitoring code module to prohibit the browser from printing. The interaction between the browser plug-in and the monitoring code module can be completed through the webserver started by the browser plug-in.

[0058] It can be seen that the beneficial effect of the present invention is to remove the proxy server, thereby minimizing the interference of the proxy server on the user's use of the browser to surf the Internet, while reducing the impact of certificate problems, transit communication problems, and software conflicts on the user's normal use of the browser to surf the Internet; and the present invention also provides a technical solution for processing data that the proxy server cannot solve, such as: processing of downloaded files and data printing (for example: monitoring, detection, etc.), which improves the scalability of processing data and is conducive to the subsequent development of more data processing solutions; in addition, the present invention can process separate protection equipment requests through browser plug-ins, such as: a URL of an HTTP request, etc., which improves the accuracy of processing data compared to the proxy server and reduces the potential impact of the proxy server on the network of the entire system.

[0059] like Figure 3 As shown, the embodiment of the present invention provides a device 300 for processing data, including: a data processing module 301 and a data transmission module 302; wherein,

[0060] The data processing module 301 is used to obtain the transmission data processed by the browser and send the transmission data to the processing server so that the processing server determines the processing operation corresponding to the transmission data according to the set strategy;

[0061] The transmission data module 302 is used to receive the processing operation sent by the processing server and process the transmission data according to the processing operation.

[0062] like Figure 4 As shown, an embodiment of the present invention provides a system 400 for processing data, including: a browser 100, a browser plug-in 300 disposed in the browser, and a processing server 200, wherein:

[0063] Acquire the transmission data processed by the browser 100 through the browser plug-in 300 set in the browser, and send the transmission data to the processing server 200, so that the processing server 200 determines the processing operation corresponding to the transmission data according to the set policy;

[0064] The processing operation sent by the processing server 200 is received by the browser plug-in 300 set in the browser, and the transmission data is processed according to the processing operation.

[0065] An embodiment of the present invention also provides an electronic device for processing data, comprising: 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 provided in any of the above embodiments.

[0066] An embodiment of the present invention further provides a computer-readable medium on which a computer program is stored. When the program is executed by a processor, the method provided in any of the above embodiments is implemented.

[0067] Figure 5 An exemplary system architecture 500 is shown to which the method for processing data or the apparatus for processing data according to the embodiment of the present invention can be applied.

[0068] like Figure 5 As shown, system architecture 500 may include terminal devices 501, 502, 503, a network 504 and a server 505. Network 504 is used to provide a medium for communication links between terminal devices 501, 502, 503 and server 505. Network 504 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0069] Users can use terminal devices 501, 502, 503 to interact with server 505 through network 504 to receive or send messages, etc. Various client applications can be installed on terminal devices 501, 502, 503, such as e-commerce client applications, web browser applications, search applications, instant messaging tools, and email clients.

[0070] The terminal devices 501 , 502 , and 503 may be various electronic devices having a display screen and supporting various client applications, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

[0071] The server 505 may be a server providing various services, such as a background management server providing support for client applications used by users using the terminal devices 501, 502, and 503. The background management server may process the received request for detecting transmission data, and feed back the processing operation information corresponding to the transmission data to the terminal device.

[0072] It should be noted that the method for transmitting data provided in the embodiment of the present invention is generally executed by the terminal devices 501 , 502 , 503 , and accordingly, the apparatus for transmitting data is generally arranged in the terminal devices 501 , 502 , 503 .

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

[0074] Reference below Figure 6 , which shows a schematic diagram of the structure of a computer system 600 of a terminal device suitable for implementing an embodiment of the present invention. Figure 6The 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.

[0075] like Figure 6 As shown, the computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the system 600 are also stored. The CPU 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0076] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.

[0077] 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 609, and / or installed from the removable medium 611. When the computer program is executed by the central processing unit (CPU) 601, the above-mentioned functions defined in the system of the present invention are executed.

[0078] 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.

[0079] 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.

[0080] The modules and / or units involved in the embodiments of the present invention may be implemented in software or hardware. The modules and / or units described may also be set in a processor, for example, they may be described as: a processor includes a data processing module and a data transmission module; wherein the names of these modules do not constitute a limitation on the modules themselves in certain circumstances, for example, the data transmission module may also be described as "a module that receives the processing operation sent by the processing server and processes the transmission data according to the processing operation".

[0081] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being 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 transmission data processed by the browser, sending the transmission data to a processing server, so that the processing server determines the processing operation corresponding to the transmission data according to a set policy; receiving the processing operation sent by the processing server, and processing the transmission data according to the processing operation.

[0082] The embodiment of the present invention can utilize the browser plug-in to obtain the transmission data processed by the browser, determine the processing operation of the data according to the processing server, and the processing operation processes the transmission data; thereby overcoming the problems of low flexibility and low efficiency caused by using a proxy server to process data.

[0083] 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 data, characterized in that: Applies to browser plug-ins, including: Acquire transmission data processed by the browser, and send the transmission data to a processing server, wherein the processing server detects the transmission data sent by the browser plug-in according to a set strategy, determines a processing operation corresponding to the transmission data according to the detection result, and sends the processing operation to the browser plug-in; the set strategy is set according to the application scenario; receiving the processing operation sent by the processing server, and processing the transmission data according to the processing operation; In the case where the transmission data is data printing, the receiving the processing operation sent by the processing server and processing the transmission data according to the processing operation includes: The browser plug-in obtains the second prompt information through the monitoring code module included in the browser; according to the second prompt information, the data to be printed is obtained and sent to the processing server; wherein the interaction between the browser plug-in and the monitoring code module is completed through the webserver started by the browser plug-in.

2. The method according to claim 1, characterized in that The processing operations include: blocking or releasing.

3. The method according to claim 2, characterized in that In the case where the transmission data is a data request, The receiving the processing operation sent by the processing server, and processing the transmission data according to the processing operation, comprises: When the processing operation is release, allowing the browser to continue processing the data request; In case the processing operation is blocking, processing of the data request is prohibited.

4. The method according to claim 2, characterized in that: In the case where the transmission data is a downloaded file, The step of obtaining the transmission data processed by the browser and sending the transmission data to the processing server includes: The first prompt information indicating that the downloaded file is downloaded is obtained, and according to the first prompt information, the file identifiers of one or more downloaded files are obtained, and the file identifiers are sent to the processing server.

5. The method according to claim 4, characterized in that Receiving the processing operation sent by the processing server, and processing the transmission data according to the processing operation, comprising: When the processing operation is release, allowing the browser to save the file; In case the processing action is blocking, the file is deleted.

6. The method according to claim 1, characterized in that Further comprising: receiving a monitoring code module sent by the processing server to inject the monitoring code module into the browser; The obtaining of the second prompt information for the browser to execute data printing includes: receiving the second prompt information sent by the monitoring code module.

7. The method according to claim 6, characterized in that The receiving the processing operation sent by the processing server, and processing the transmission data according to the processing operation, comprises: In the case where the processing operation is release, instructing the monitoring code module to allow the browser to print data; In case the processing operation is blocking, the monitoring code module is instructed to prohibit the browser from printing.

8. A device for processing data, characterized in that: Applied to browser plug-in, including: data processing module and data transmission module; among which, The data processing module is used to obtain the transmission data processed by the browser and send the transmission data to the processing server, wherein the processing server detects the transmission data sent by the browser plug-in according to a set strategy, determines the processing operation corresponding to the transmission data according to the detection result, and sends the processing operation to the browser plug-in; the set strategy is set according to the application scenario; The data transmission module is used to receive the processing operation sent by the processing server and process the transmission data according to the processing operation; In the case where the transmission data is data printing, the transmission data module is also used for: the browser plug-in obtains second prompt information through the monitoring code module included in the browser; according to the second prompt information, obtains the data to be printed and sends the data to be printed to the processing server; wherein the interaction between the browser plug-in and the monitoring code module is completed through the webserver started by the browser plug-in.

9. A system for processing data, characterized in that: include: A browser, a browser plug-in disposed in the browser, and a processing server, wherein: The transmission data processed by the browser is obtained through the browser plug-in set in the browser, and the transmission data is sent to the processing server, so that the processing server determines the processing operation corresponding to the transmission data according to the set strategy; wherein the processing server detects the transmission data sent by the browser plug-in according to the set strategy, determines the processing operation corresponding to the transmission data according to the detection result, and sends the processing operation to the browser plug-in; the set strategy is set according to the application scenario; Receiving the processing operation sent by the processing server through the browser plug-in set in the browser, and processing the transmission data according to the processing operation; In the case where the transmitted data is data printing, the browser plug-in obtains second prompt information through the monitoring code module included in the browser; according to the second prompt information, the data to be printed is obtained and the data to be printed is sent to the processing server; wherein the interaction between the browser plug-in and the monitoring code module is completed through the webserver started by the browser plug-in.

10. An electronic device, 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 7.

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