CN113687877A - Method, device and system for processing data - Google Patents

Method, device and system for processing data Download PDF

Info

Publication number
CN113687877A
CN113687877A CN202110963585.7A CN202110963585A CN113687877A CN 113687877 A CN113687877 A CN 113687877A CN 202110963585 A CN202110963585 A CN 202110963585A CN 113687877 A CN113687877 A CN 113687877A
Authority
CN
China
Prior art keywords
processing
browser
data
transmission data
processing operation
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
Application number
CN202110963585.7A
Other languages
Chinese (zh)
Other versions
CN113687877B (en
Inventor
陈浩
李仕毅
赵忠祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Sky Guard Network Security Technology Co ltd
Beijing Skyguard Network Security Technology Co ltd
Original Assignee
Chengdu Sky Guard Network Security Technology Co ltd
Beijing Skyguard Network Security Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Sky Guard Network Security Technology Co ltd, Beijing Skyguard Network Security Technology Co ltd filed Critical Chengdu Sky Guard Network Security Technology Co ltd
Priority to CN202110963585.7A priority Critical patent/CN113687877B/en
Priority claimed from CN202110963585.7A external-priority patent/CN113687877B/en
Publication of CN113687877A publication Critical patent/CN113687877A/en
Application granted granted Critical
Publication of CN113687877B publication Critical patent/CN113687877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method, a device and a system for processing data, and relates to the technical field of computers. One embodiment of the method comprises: the browser plug-in can be used for acquiring transmission data processed by a browser, and processing operation of the data is determined according to a processing server, and the processing operation processes the transmission data; the problems of low flexibility and low efficiency caused by using the proxy server to process data are solved.

Description

Method, device and system for processing data
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, and a system for processing data.
Background
Today, as internet technology develops rapidly, a browser is an indispensable tool for searching, displaying and transmitting internet information resources in work and life of people.
With the popularization of informatization, the requirements of people on information and data security are higher and higher, and particularly in the enterprise office scene, the requirements on the security of data transmitted through a browser are higher, so that digital assets are protected, and the loss of enterprises caused by data leakage and the like is reduced; currently, a proxy server is generally used to monitor and process data transmitted through a browser, when the proxy server is used, data of a set port needs to be redirected to the proxy server through a network driver, or the proxy server is configured as a network access proxy server of a system, which may cause the problem that the proxy server is unavailable under the condition of network driver conflict or configuration modification, and has a problem of low flexibility in processing data; when the proxy server processes data based on the safe version hypertext transfer protocol, the certificate of the proxy server needs to be manually installed, and the problem of low data processing efficiency exists.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, and a system for processing data, which can acquire transmission data processed by a browser by using a browser plug-in, and determine a processing operation of the data according to a processing server, where the processing operation processes the transmission data; the problems of low flexibility and low efficiency caused by using the proxy server to process data are solved.
To achieve the above object, according to an aspect of the embodiments of the present invention, there is provided a method for processing data, which is applied to a browser plug-in, including: acquiring transmission data processed by a browser, and sending the transmission data to a processing server so that the processing server judges processing operation corresponding to the transmission data according to a set strategy; and receiving the processing operation sent by the processing server, and processing the transmission data according to the processing operation.
Optionally, the method of processing data, wherein,
when 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 includes: in the case that the processing operation is release, allowing the browser to continue processing the data request; in the event that the processing operation is a block, processing the data request is prohibited.
Optionally, the method of processing data, wherein,
under the condition that the transmission data is a downloaded file, the acquiring of the transmission data processed by the browser and the sending of the transmission data to the processing server comprise: acquiring first prompt information of the downloaded files after downloading, acquiring file identifications of the downloaded one or more files according to the first prompt information, and sending the file identifications to the processing server.
Optionally, the method of processing data, wherein,
receiving the processing operation sent by the processing server, and processing the transmission data according to the processing operation, including: allowing the browser to save the file in the case where the processing operation is release; in the case where the processing operation is blocking, deleting the file.
Optionally, the method of processing data, wherein,
under the condition that the transmission data is printed, acquiring the transmission data processed by the browser, and sending the transmission data to a processing server, wherein the method comprises the following steps: and acquiring second prompt information for the browser to execute data printing, acquiring data to be printed according to the second prompt information, and sending the data to be printed to the processing server.
Optionally, the method of processing data, wherein,
further comprising: receiving a monitoring code module sent by the processing server so as to inject the monitoring code module into the browser; the acquiring of the second prompt message for the browser to execute data printing includes: and receiving second prompt information sent by the monitoring code module.
Optionally, the method of processing data, wherein,
the receiving the processing operation sent by the processing server, and processing the transmission data according to the processing operation includes: in the case that the processing operation is release, instructing the monitoring code module to allow the browser to print data; instructing the monitoring code module to inhibit the browser from printing if the processing operation is blocking.
To achieve the above object, according to a second aspect of an embodiment of the present invention, there is provided an apparatus for processing data, including: a data processing module and a data transmission module; wherein,
the processing data module is used for acquiring transmission data processed by the browser and sending the transmission data to the processing server so that the processing server can judge the processing operation corresponding to the transmission data according to a set strategy;
and the transmission data module is used for receiving the processing operation sent by the processing server and processing the transmission data according to the processing operation.
To achieve the above object, according to a third aspect of embodiments of the present invention, there is provided a system for processing data, including: the system comprises a browser, a browser plug-in arranged in the browser and a processing server, wherein,
acquiring transmission data processed by the browser through the browser plug-in arranged in the browser, and sending the transmission data to the processing server so as to judge processing operation corresponding to the transmission data according to a set strategy through the processing server;
and receiving the processing operation sent by the processing server through the browser plug-in arranged in the browser, and processing the transmission data according to the processing operation.
To achieve the above object, according to a fourth aspect of the embodiments of the present invention, there is provided an electronic device for processing data, comprising: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to carry out a method as claimed in any one of the above described methods of processing data.
To achieve the above object, according to a fifth aspect of embodiments of the present invention, there is provided a computer-readable medium having a computer program stored thereon, characterized in that the program, when executed by a processor, implements the method as set forth in any one of the methods of processing data described above.
One embodiment of the above invention has the following advantages or benefits: the browser plug-in can be used for acquiring transmission data processed by a browser, and processing operation of the data is determined according to a processing server, and the processing operation processes the transmission data; the problems of low flexibility and low efficiency caused by using the proxy server to process data are solved.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a flow chart illustrating a method for processing data according to a first embodiment of the present invention;
FIG. 2 is a flow chart illustrating a process for processing data according to a second embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an apparatus for processing data according to an embodiment of the present invention;
FIG. 4 is a block diagram of a system for processing data according to an embodiment of the present invention;
FIG. 5 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 6 is a schematic block diagram of a computer system suitable for use in implementing a terminal device or server of an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
As shown in fig. 1, an embodiment of the present invention provides a method for processing data, which is applied to a browser plug-in, and the method may include the following steps:
step S101: the method comprises the steps of obtaining transmission data processed by a browser, and sending the transmission data to a processing server so that the processing server can judge processing operation corresponding to the transmission data according to a set strategy.
Specifically, embodiments of the present invention apply to browser plug-ins; it will be appreciated that corresponding browser plug-ins may be developed for each browser, for example: the code of the browser plug-in is written based on a programming interface opened by the browser, and after the browser is verified by a browser provider, the code can be installed in the browser for use, and the browser comprises: chrome, IE, firefox, edge, etc., and the invention does not limit the specific product type of the browser. Optionally, the method for installing the browser plug-in may use a domain-controlled push tool to install a corresponding browser plug-in for each browser installed on the client device, for example: and installing a browser plug-in on the client device (such as a desktop) joining the AD domain by utilizing a GPO tool pushing method.
The transmission data processed by the browser includes various data transmitted by the browser, such as: data requests, transmitted files (downloaded files), print browser related data, etc.; various transmission data are acquired.
Further, the acquired one or more transmission data are sent to a processing server, the processing server comprises a plurality of set strategies and is used for detecting or checking the transmission data sent by the browser plug-in, and the processing server judges the processing operation corresponding to the transmission data according to the detection result. The setting policy is set according to a specific scenario, for example: the scene is that the user is prohibited to browse the shopping website within a set time range (such as working time); setting a policy that when a user accesses a shopping website through a browser within a set time range, a processing server judges whether a URL of an access request sent by a browser plug-in is matched with the shopping website or not, and returns corresponding processing operation to the browser plug-in; another example is: setting a strategy to check whether the downloaded file contains sensitive data or unsafe data, and if so, determining to be matched with the set strategy; the set policy can be set through a configuration file (such as an xml file) and can also be stored through a data table and the like; the present invention is not limited to the specific contents and forms of the various setting policies.
Step S102: and receiving the processing operation sent by the processing server, and processing the transmission data according to the processing operation.
Specifically, the processing operation includes: blocking or releasing. The prevention is matched with the set strategy, and the data is prevented from being transmitted continuously; and the releasing is that the data is not matched with the set strategy, and the data of the transmission office is allowed to continue. The browser plug-in processes the transmission data according to the received processing operation sent by the processing server.
Further, with regard to processing the browser's transmission data: the detailed descriptions of the data request, the processing of the downloaded file, and the data printing are consistent with those of step S201 to step S204, and are not repeated herein.
It can be seen that the problems of using a proxy server to monitor and process data transmitted through a browser in the prior art are overcome by the browser plug-in, such as: in the prior art using the proxy server, data of a set port needs to be redirected to the proxy server through a network driver, or the proxy server needs to be configured as a network access proxy server of a system, so that the problem that the proxy server is unavailable under the condition of network driver conflict or configuration modification exists, and the problem of low flexibility in processing data exists; when the proxy server processes data based on the safe version hypertext transfer protocol, the certificate of the proxy server needs to be manually installed, and the problem of low data processing efficiency exists.
As shown in fig. 2, an embodiment of the present invention provides a method for processing data, which is applied to a browser plug-in, and the method may include the following steps:
step S201: and receiving the processing operation sent by the processing server, and processing the transmission data according to the processing operation.
Specifically, the transmission data is described as follows through steps S202 to S204: data request, downloaded file, data processing method in case of printed data. Step S202: in the case that the transmission data is a data request: in the case that the processing operation is release, allowing the browser to continue processing the data request; in the event that the processing operation is a block, processing the data request is prohibited.
Specifically, the data request includes: a POST data request of HTTP, a GET request, upload data (for example, upload a file), send a mail, and the like, which are transmitted through the browser; taking a POST data request as an example, the browser plug-in may obtain information included in a data packet of the POST data request, convert each information into a JSON format, and send the JSON format to the processing server by using an HTTP request, so that the processing server determines a processing operation corresponding to the transmission data according to a set policy.
Further, when the browser plug-in receives that the processing operation of the processing server on the data request (such as the HTTP POST request) is released, the HTTP POST request is allowed to continue to be processed; if the processing operation of the received processing server on the data request (such as an HTTP POST request) is blocked, the request is considered to have the condition matched with the set strategy, and the processing of the data request is forbidden; for example: the method comprises the steps that information such as 'data sending failure' and 'webpage inaccessible' is displayed through a browser page to prohibit processing of data requests; alternatively, if a custom blocking page needs to be displayed, the access to the data request may be redirected to the processing server, and the receiving server returns the blocked page and displays it.
That is, in a 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 includes: in the case that the processing operation is release, allowing the browser to continue processing the data request; in the event that the processing operation is a block, processing the data request is prohibited.
Step S203: in the case that the transmission data is a downloaded file: allowing the browser to save the file in the case where the processing operation is release; in the case where the processing operation is blocking, deleting the file.
Specifically, the file can be downloaded through the browser, that is, in the case that the transmission data is the downloaded file, the browser plug-in receives first prompt information (for example, a message indicating that the downloading is completed) indicating that the downloading of the file is completed; the browser plug-in obtains the file name of the downloaded file and data of the file absolute path packaged in a JSON format through the first prompt information, and sends the data to the processing server, so that the processing server judges the processing operation corresponding to the downloaded file according to a set strategy; that is, in a case where the transmission data is a downloaded file, the acquiring the transmission data processed by the browser and sending the transmission data to the processing server includes: acquiring first prompt information of the downloaded files after downloading, acquiring file identifications of the downloaded one or more files according to the first prompt information, and sending the file identifications to the processing server. The file identifier may be a path and a file name of the file.
Further, the browser plug-in receives the processing operation indicated by the processing server, and if the processing operation is release, the downloaded file is allowed to be saved; if the processing operation is blocking, deleting the downloaded file; namely, receiving the processing operation sent by the processing server, and processing the transmission data according to the processing operation includes: allowing the browser to save the file in the case where the processing operation is release; in the case where the processing operation is blocking, deleting the file.
Step S204: in the case that the transmission data is data printing, in the case that the processing operation is release, instructing the monitoring code module to allow the browser to print the data; instructing the monitoring code module to inhibit the browser from printing if the processing operation is blocking.
Specifically, in the case where the transmission data is data print, the printed data may be a page displayed by a browser, a file displayed by a browser, or the like; when the browser plug-in acquires second prompt information for printing executed by the browser, acquiring data to be printed, and sending the data to the processing server, so that the processing server judges processing operations corresponding to data printing according to a set policy, for example: and judging whether the data to be printed contains sensitive data, information with safety risk and the like. That is, acquiring transmission data processed by the browser, and sending the transmission data to a processing server, includes: and acquiring second prompt information for the browser to execute data printing, acquiring data to be printed according to the second prompt information, and sending the data to be printed to the processing server.
Further, the browser plug-in obtains second prompt information through a 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, and 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. Receiving a monitoring code module sent by the processing server so as to inject the monitoring code module into the browser; the acquiring of the second prompt message for the browser to execute data printing includes: and receiving second prompt information sent by the monitoring code module. The monitoring processing module can be a dynamic link library of codes, or a code compression package, etc.
Further, the receiving the processing operation sent by the processing server, and processing the transmission data according to the processing operation includes: in the case that the processing operation is release, instructing the monitoring code module to allow the browser to print data; instructing the monitoring code module to inhibit the browser from printing if the processing operation is blocking. The interaction between the browser plug-in and the monitoring code module can be completed through the webserver started by the browser plug-in.
Therefore, the method has the advantages that the proxy server is removed, so that the interference of the proxy server on the internet surfing of the user by using the browser is reduced to the greatest extent, and the influence on the normal internet surfing of the user by using the browser caused by the certificate problem, the transfer communication problem and the software conflict problem is reduced; in addition, the invention also provides a technical scheme for processing data which cannot be solved by the proxy server, such as: for the processing (such as monitoring, detection and the like) of downloading files and data printing, the expansibility of processing data is improved, and more data processing schemes are developed subsequently; in addition, the present invention can handle individual brace requests through a browser plug-in, such as: compared with a proxy server, the accuracy of processing data is improved, and the potential influence of the proxy server on the network of the whole system is reduced.
As shown in fig. 3, an embodiment of the present invention provides an apparatus 300 for processing data, including: a data processing module 301 and a data transmission module 302; wherein,
the data processing module 301 is configured to acquire transmission data processed by a browser, and send the transmission data to a processing server, so that the processing server determines, according to a set policy, a processing operation corresponding to the transmission data;
the transmission data module 302 is configured to receive the processing operation sent by the processing server, and process the transmission data according to the processing operation.
As shown in fig. 4, an embodiment of the present invention provides a system 400 for processing data, including: a browser 100, a browser plug-in 300 provided in the browser, and a processing server 200, wherein,
acquiring transmission data processed by the browser 100 through the browser plug-in 300 arranged in the browser, and sending the transmission data to the processing server 200 so as to judge a processing operation corresponding to the transmission data through the processing server 200 according to a set strategy;
the processing operation sent by the processing server 200 is received by the browser plug-in 300 arranged in the browser, and the transmission data is processed according to the processing operation.
An embodiment of the present invention further provides an electronic device for processing data, including: one or more processors; the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors are enabled to realize the method provided by any one of the above embodiments.
Embodiments of the present invention further provide a computer-readable medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method provided in any of the above embodiments.
Fig. 5 illustrates an exemplary system architecture 500 of a method of processing data or an apparatus for processing data to which embodiments of the present invention may be applied.
As shown in fig. 5, the system architecture 500 may include terminal devices 501, 502, 503, a network 504, and a server 505. The network 504 serves to provide a medium for communication links between the terminal devices 501, 502, 503 and the server 505. Network 504 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 501, 502, 503 to interact with a server 505 over a network 504 to receive or send messages or the like. The terminal devices 501, 502, 503 may have various client applications installed thereon, such as an e-mall client application, a web browser application, a search-type application, an instant messaging tool, a mailbox client, and the like.
The terminal devices 501, 502, 503 may be various electronic devices having display screens and supporting various client applications, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The server 505 may be a server providing various services, such as a background management server providing support for client applications used by users with the terminal devices 501, 502, 503. The background management server can process the received request for detecting the transmission data and feed back the processing operation information corresponding to the transmission data to the terminal equipment.
It should be noted that the method for transmitting data provided by the embodiment of the present invention is generally executed by the terminal devices 501, 502, and 503, and accordingly, the apparatus for transmitting data is generally disposed in the terminal devices 501, 502, and 503.
It should be understood that the number of terminal devices, networks, and servers in fig. 5 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 6, a block diagram of a computer system 600 suitable for use with a terminal device implementing an embodiment of the invention is shown. The terminal device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU)601 that 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 section 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the system 600 are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 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, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 601.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules and/or units described in the embodiments of the present invention may be implemented by software, and may also be implemented by hardware. The described modules and/or units may also be provided in a processor, and may be described as: a processor comprises a data processing module and a data transmission module; the names of these modules do not limit the modules themselves in some cases, for example, a module for transmitting data may also be described as a "module for receiving the processing operation sent by the processing server and processing the transmission data according to the processing operation".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: acquiring transmission data processed by a browser, and sending the transmission data to a processing server so that the processing server judges processing operation corresponding to the transmission data according to a set strategy; and receiving the processing operation sent by the processing server, and processing the transmission data according to the processing operation.
According to the embodiment of the invention, the browser plug-in can be used for acquiring 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 problems of low flexibility and low efficiency caused by using the proxy server to process data are solved.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (12)

1. A method for processing data, which is applied to a browser plug-in, comprises the following steps:
acquiring transmission data processed by a browser, and sending the transmission data to a processing server so that the processing server judges processing operation corresponding to the transmission data according to a set strategy;
and receiving the processing operation sent by the processing server, and processing the transmission data according to the processing operation.
2. The method of claim 1,
the processing operation includes: blocking or releasing.
3. The method of claim 2,
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 includes:
in the case that the processing operation is release, allowing the browser to continue processing the data request;
in the event that the processing operation is a block, processing the data request is prohibited.
4. The method of claim 2,
in the case where the transmission data is a downloaded file,
the acquiring the transmission data processed by the browser and sending the transmission data to the processing server includes:
acquiring first prompt information of the downloaded files after downloading, acquiring file identifications of the downloaded one or more files according to the first prompt information, and sending the file identifications to the processing server.
5. The method of claim 4,
receiving the processing operation sent by the processing server, and processing the transmission data according to the processing operation, including:
allowing the browser to save the file in the case where the processing operation is release;
in the case where the processing operation is blocking, deleting the file.
6. The method of claim 2,
in the case where the transmission data is data print,
acquiring transmission data processed by the browser, and sending the transmission data to a processing server, wherein the method comprises the following steps:
and acquiring second prompt information for the browser to execute data printing, acquiring data to be printed according to the second prompt information, and sending the data to be printed to the processing server.
7. The method of claim 6,
further comprising: receiving a monitoring code module sent by the processing server so as to inject the monitoring code module into the browser;
the acquiring of the second prompt message for the browser to execute data printing includes: and receiving second prompt information sent by the monitoring code module.
8. The method of claim 7,
the receiving the processing operation sent by the processing server, and processing the transmission data according to the processing operation includes:
in the case that the processing operation is release, instructing the monitoring code module to allow the browser to print data;
instructing the monitoring code module to inhibit the browser from printing if the processing operation is blocking.
9. An apparatus for processing data, applied to a browser plug-in, comprising: a data processing module and a data transmission module; wherein,
the processing data module is used for acquiring transmission data processed by the browser and sending the transmission data to the processing server so that the processing server can judge the processing operation corresponding to the transmission data according to a set strategy;
and the transmission data module is used for receiving the processing operation sent by the processing server and processing the transmission data according to the processing operation.
10. A system for processing data, comprising: the system comprises a browser, a browser plug-in arranged in the browser and a processing server, wherein,
acquiring transmission data processed by the browser through the browser plug-in arranged in the browser, and sending the transmission data to the processing server so as to judge processing operation corresponding to the transmission data according to a set strategy through the processing server;
and receiving the processing operation sent by the processing server through the browser plug-in arranged in the browser, and processing the transmission data according to the processing operation.
11. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-8.
12. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-8.
CN202110963585.7A 2021-08-20 Method, device and system for processing data Active CN113687877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110963585.7A CN113687877B (en) 2021-08-20 Method, device and system for processing data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110963585.7A CN113687877B (en) 2021-08-20 Method, device and system for processing data

Publications (2)

Publication Number Publication Date
CN113687877A true CN113687877A (en) 2021-11-23
CN113687877B CN113687877B (en) 2024-10-22

Family

ID=

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120216133A1 (en) * 2010-08-20 2012-08-23 Overtis Group Limited Secure cloud computing system and method
CN103532912A (en) * 2012-07-04 2014-01-22 中国电信股份有限公司 Browser service data processing method and apparatus
US20180121399A1 (en) * 2016-10-28 2018-05-03 Microsoft Technology Licensing, Llc Browser Plug-In To Conserve Bandwidth

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120216133A1 (en) * 2010-08-20 2012-08-23 Overtis Group Limited Secure cloud computing system and method
CN103532912A (en) * 2012-07-04 2014-01-22 中国电信股份有限公司 Browser service data processing method and apparatus
US20180121399A1 (en) * 2016-10-28 2018-05-03 Microsoft Technology Licensing, Llc Browser Plug-In To Conserve Bandwidth

Similar Documents

Publication Publication Date Title
US10915384B2 (en) Information processing method and device
CN107888656B (en) Calling method and calling device of server-side interface
CN110765422A (en) Parameter checking method and device
CN110377440B (en) Information processing method and device
CN110839004A (en) Method and device for access authentication
CN109254739A (en) file printing method, device and system
CN110928571A (en) Business program development method and device
CN112329049A (en) Business data management method, device, electronic equipment and medium
CN107809470B (en) Method and device for automatically deploying application program
CN112825096B (en) Data desensitization method and device
CN115470432A (en) Page rendering method and device, electronic equipment and computer readable medium
CN107634942B (en) Method and device for identifying malicious request
CN112558933B (en) Component rendering method and device, readable medium and electronic equipment
CN113687877B (en) Method, device and system for processing data
CN113687877A (en) Method, device and system for processing data
CN112306791B (en) Performance monitoring method and device
CN110909269B (en) Log reporting method and device
CN114417318A (en) Third-party page jumping method and device and electronic equipment
CN112272211A (en) Service request processing method, device and system
CN113766437B (en) Short message sending method and device
CN110868477A (en) Task scheduling method, device and system
CN112988408B (en) Multi-terminal interaction method and device
US8738049B1 (en) Converged dialog in hybrid mobile applications
CN113297605B (en) Copy data management method, apparatus, electronic device, and computer readable medium
CN114356788B (en) Application program detection method, device, equipment and medium based on user information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant