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

Method, device and system for processing data Download PDF

Info

Publication number
CN113687877B
CN113687877B CN202110963585.7A CN202110963585A CN113687877B CN 113687877 B CN113687877 B CN 113687877B CN 202110963585 A CN202110963585 A CN 202110963585A CN 113687877 B CN113687877 B CN 113687877B
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.)
Active
Application number
CN202110963585.7A
Other languages
Chinese (zh)
Other versions
CN113687877A (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
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

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (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 following steps: the browser plug-in can be utilized to acquire transmission data processed by a browser, and processing operation of the data is determined according to a processing server, wherein the processing operation processes the transmission data; the problems of lower flexibility and lower 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, with rapid development of internet technology, a browser is used as a tool for retrieving, displaying and transmitting internet information resources, and is an indispensable tool for applying the internet in people's work and life.
Along with popularization of informatization, people have higher requirements on information and data security, especially in the office scene of enterprises, the data security transmitted by a browser is higher, so as to protect digital assets and reduce losses caused by data leakage and the like to the enterprises; currently, a proxy server is generally used for monitoring and processing data transmitted through a browser, when the proxy server is used, the 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, and under the condition of network driver conflict or configuration modification, the problem that the proxy server is not available is possibly caused, and the problem of low flexibility of processing data exists; when the proxy server processes data based on the secure 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, the embodiments of the present invention provide a method, an apparatus, and a system for processing data, which can obtain transmission data processed by a browser by using the browser plug-in, and determine a processing operation of data according to a processing server, where the processing operation processes the transmission data; the problems of lower flexibility and lower efficiency caused by using the proxy server to process data are solved.
To achieve the above object, according to one 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 is characterized in that,
And in the case that 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: allowing the browser to continue processing the data request if the processing operation is released; in the event that the processing operation is blocking, processing of the data request is prohibited.
Optionally, the method of processing data is characterized in that,
And when the transmission data is the downloaded file, acquiring the transmission data processed by the browser, and sending the transmission data to a processing server, wherein the method comprises the following steps: acquiring first prompt information of the downloaded file after the downloading, acquiring file identifiers of one or more downloaded files according to the first prompt information, and sending the file identifiers to the processing server.
Optionally, the method of processing data is characterized in that,
Receiving the processing operation sent by the processing server, processing the transmission data according to the processing operation, including: allowing the browser to save the file if the processing operation is released; in the case where the processing operation is blocking, the file is deleted.
Optionally, the method of processing data is characterized in that,
When the transmission data is data printing, obtaining 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 executing data printing by the browser, 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 is characterized in that,
Further comprises: receiving a monitoring code module sent by the processing server, so as to inject the monitoring code module into the browser; the obtaining the second prompt information of the browser to execute data printing includes: and receiving second prompt information sent by the monitoring code module.
Optionally, the method of processing data is characterized in that,
The receiving the processing operation sent by the processing server, processing the transmission data according to the processing operation, including: in the event that the processing operation is released, instructing the monitor code module to allow the browser to print data; and in the case that the processing operation is blocking, instructing the monitoring code module to prohibit the browser from printing.
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, 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 processing operation corresponding to the transmission data according to a set strategy;
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 an embodiment of the present invention, there is provided a system for processing data, including: the browser, the browser plug-in unit arranged in the browser and the processing server, wherein,
The browser plug-in arranged in the browser acquires transmission data processed by the browser, and the transmission data are sent 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.
In order to achieve the above object, according to a fourth aspect of an embodiment of the present invention, there is provided an electronic device that processes data, comprising: one or more processors; and a storage means for storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the method of any of the methods of processing data described above.
To achieve the above object, according to a fifth aspect of the embodiments of the present invention, there is provided a computer-readable medium having stored thereon a computer program, characterized in that the program, when executed by a processor, implements a method as described in any one of the above methods of processing data.
One embodiment of the above invention has the following advantages or benefits: the browser plug-in can be utilized to acquire transmission data processed by a browser, and processing operation of the data is determined according to a processing server, wherein the processing operation processes the transmission data; the problems of lower flexibility and lower efficiency caused by using the proxy server to process data are solved.
Further effects of the above-described non-conventional alternatives are 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 of a method for processing data according to a first embodiment of the present invention;
FIG. 2 is a flow chart of processing data according to a second embodiment of the present invention;
FIG. 3 is a schematic diagram of an apparatus for processing data according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a system for processing data according to one embodiment of the present invention;
FIG. 5 is an exemplary system architecture diagram in which embodiments of the present invention may be applied;
fig. 6 is a schematic diagram of a computer system suitable for use in implementing an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding, and are to be considered 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, applied to a browser plug-in, where the method may include the following steps:
Step S101: and acquiring transmission data processed by the 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.
Specifically, the embodiment of the invention is applied to a browser plug-in; it will be appreciated that corresponding browser plug-ins may be developed for each browser, for example: based on the open programming interface of the browser, the code of the browser plug-in is written, and after being verified by the browser provider, the code can be installed in the browser for use, and the browser comprises: chrome, IE, firefox, edge, etc., the invention is not limited to the specific product type of the browser. Alternatively, the method for installing browser plug-ins may use a domain-controlled push tool to install corresponding browser plug-ins for each browser installed in the client device, for example: the browser plug-in on the client device is installed by pushing the GPO tool to the client device (e.g., desktop) joining the AD domain.
The transmission data processed by the browser includes various data transmitted through the browser, for example: data requests, transmitted files (downloaded files), print browser related data, etc.; a plurality of transmission data are acquired.
Further, the acquired one or more types of transmission data are sent to a processing server, the processing server comprises a plurality of setting 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 to prohibit a user from browsing a shopping website in a set time range (such as working time); the method comprises the steps that when a user accesses a shopping website through a browser in a set time range, a processing server judges whether the 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; also for example: the setting strategy is to check whether the downloaded file contains sensitive data or unsafe data, if so, the file is determined to be matched with the setting strategy and the like; the setting strategy can be set through a configuration file (such as an xml file), and can also be stored in a data table or 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 operations include: prevent or let go. The blocking is matched with the set strategy, and the data transmission is prevented from being continued; and releasing the data, namely, not matching with the set strategy, and allowing the transmission office data to continue. The browser plug-in processes the transmission data according to the received processing operation sent by the processing server.
Further, regarding processing the browser's transmission data: the specific descriptions of data request, processing of downloaded file, and data printing are identical to those of step S201-step S204, and will not be repeated here.
It follows that the problems of the prior art of using proxy servers to monitor and process data transmitted through a browser are overcome by a browser plug-in, for example: in the prior art using a proxy server, the 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, so that the problem that the proxy server is not available under the condition of network driver conflict or configuration modification can be caused, and the problem that the flexibility of processing the data is low exists; when the proxy server processes data based on the secure 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, applied to a browser plug-in, where 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 by steps S202 to S204 as: data request, downloaded file, data processing method in the case of printed data. Step S202: in the case where the transmission data is a data request: allowing the browser to continue processing the data request if the processing operation is released; in the event that the processing operation is blocking, processing of the data request is prohibited.
Specifically, the data request includes: POST data request, GET request, upload data (e.g., upload file), send mail, etc. of HTTP sent through browser; taking the POST data request as an example, the browser plug-in can acquire information contained in a data packet of the POST data request, convert each piece of information into a JSON format, and send the information to the processing server by using the HTTP request, so that the processing server judges the 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 an HTTP POST request) is released, the HTTP POST request is allowed to continue to be processed; if the processing operation of the processing server on the data request (such as HTTP POST request) is received as a block, the request is considered to have a condition matching the set strategy, and the processing of the data request is forbidden; for example: displaying information such as data transmission failure, web page inaccessible and the like through a browser page to prohibit processing of data requests; alternatively, if a custom blocked page needs to be displayed, the access of this data request may be redirected to the processing server, which returns the blocked page and displays it.
That is, in the case where the transmission data is a data request, the receiving the processing operation sent by the processing server, processing the transmission data according to the processing operation, includes: allowing the browser to continue processing the data request if the processing operation is released; in the event that the processing operation is blocking, processing of the data request is prohibited.
Step S203: in the case where the transmission data is a downloaded file: allowing the browser to save the file if the processing operation is released; in the case where the processing operation is blocking, the file is deleted.
Specifically, the file can be downloaded through the browser, namely, 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) that the downloading of the file is completed; the method comprises the steps that through first prompt information, a browser plug-in obtains the file name of a downloaded file and data of which the absolute path of the file is packaged into a JSON format, and the data are sent to a processing server, so that the processing server judges processing operation corresponding to the downloaded file according to a set strategy; that is, when 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 file after the downloading, acquiring file identifiers of one or more downloaded files according to the first prompt information, and sending the file identifiers to the processing server. The file identifier may be a path of the file, a file name, and the like.
Further, the browser plug-in receives processing operation indicated by the processing server, and if the processing operation is released, the downloaded file is allowed to be saved; if the processing operation is blocking, deleting the downloaded file; that is, receiving the processing operation sent by the processing server, processing the transmission data according to the processing operation, including: allowing the browser to save the file if the processing operation is released; in the case where the processing operation is blocking, the file is deleted.
Step S204: when the transmission data is data printing, the monitoring code module is instructed to allow the browser to print data when the processing operation is release; and in the case that the processing operation is blocking, instructing the monitoring code module to prohibit the browser from printing.
Specifically, in the case where the transmission data is data print, the printed data may be a page displayed through a browser, a file displayed by a browser, or the like; when the browser plug-in acquires the second prompt information of the browser for printing, acquiring data to be printed, and sending the data to the processing server, so that the processing server judges the corresponding processing operation of data printing according to a set strategy, for example: whether the data to be printed contains sensitive data, information with security risk and the like is judged. That is, acquiring transmission data processed by the browser, and transmitting the transmission data to a processing server, including: and acquiring second prompt information for executing data printing by the browser, 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 acquires 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, and when the browser starts to print data, the monitoring code module monitors the operation to send the second prompt information to the browser plug-in, so that the browser plug-in acquires the data to be printed after receiving the second prompt information. Namely, receiving a monitoring code module sent by the processing server, so as to inject the monitoring code module into the browser; the obtaining the second prompt information of 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, a code compression package or the like.
Further, the receiving the processing operation sent by the processing server, processing the transmission data according to the processing operation, includes: in the event that the processing operation is released, instructing the monitor code module to allow the browser to print data; and in the case that the processing operation is blocking, 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 a webserver started by the browser plug-in.
Therefore, the method has the beneficial effects 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 Internet surfing of the user by using the browser due to certificate problems, transfer communication problems and software conflict problems is reduced; the invention also provides a technical scheme for processing data which can not be solved by the proxy server, for example: the expansibility of the processed data is improved for the downloaded file and the data printing (such as monitoring, detection and the like), so that the method is beneficial to the subsequent development of more data processing schemes; in addition, the invention can process individual armour requests through browser plug-ins, for example: compared with a proxy server, the URL of one HTTP request and the like improve the accuracy of processing data and reduce the potential influence of the proxy server on the whole network of the system.
As shown in fig. 3, an embodiment of the present invention provides an apparatus 300 for processing data, including: a process data module 301 and a transmit data module 302; wherein,
The processing data module 301 is configured to obtain transmission data processed by the browser, and send 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;
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,
The browser plug-in 300 arranged in the browser acquires the transmission data processed by the browser 100, and sends the transmission data to the processing server 200 so as to judge the processing operation corresponding to the transmission data according to a set policy through the processing server 200;
And receiving the processing operation sent by the processing server 200 through the browser plug-in 300 arranged in the browser, and processing the transmission data according to the processing operation.
The embodiment of the invention also provides an electronic device for processing data, which comprises: one or more processors; and a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method provided by any of the embodiments described above.
The embodiment of the invention also provides a computer readable medium, on which a computer program is stored, which when executed by a processor implements the method provided by any of the above embodiments.
Fig. 5 illustrates an exemplary system architecture 500 to which a method of processing data or an apparatus of processing data of an embodiment 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 is used as a medium to provide communication links between the terminal devices 501, 502, 503 and the server 505. The network 504 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the server 505 via the network 504 using the terminal devices 501, 502, 503 to receive or send messages or the like. Various client applications such as an electronic mall client application, a web browser application, a search class application, an instant messaging tool, a mailbox client, and the like may be installed on the terminal devices 501, 502, 503.
The terminal devices 501, 502, 503 may be a variety of electronic devices having a display screen and supporting a variety of client applications, including but not limited to smartphones, tablet computers, 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 the user with the terminal devices 501, 502, 503. The background management server may process the received request for detecting the transmission data, and feed back processing operation information corresponding to the transmission data to the terminal device.
It should be noted that, the method for transmitting data provided in the embodiment of the present invention is generally performed by the terminal devices 501, 502, 503, and accordingly, the apparatus for transmitting data is generally disposed in the terminal devices 501, 502, 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, there is illustrated a schematic diagram of a computer system 600 suitable for use in implementing an embodiment of the present invention. The terminal device shown in fig. 6 is only an example, and should not impose any limitation on the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 6, 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 section 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, ROM 602, and RAM 603 are connected to each other through 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, mouse, etc.; an output portion 607 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; 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 drive 610 is also connected to the I/O interface 605 as needed. Removable media 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on drive 610 so that a computer program read therefrom is installed as needed into storage section 608.
In particular, according to embodiments of the present disclosure, the processes described above with reference to 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 shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication portion 609, and/or installed from the removable medium 611. The above-described functions defined in the system of the present invention are performed when the computer program is executed by a Central Processing Unit (CPU) 601.
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 two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, 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, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. 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 flowcharts 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 involved in the embodiments of the present invention may be implemented in software, or may be implemented in hardware. The described modules and/or units may also be provided in a processor, e.g., may be described as: a processor includes a process data module and a transmit data module; the names of these modules do not in any way limit the module itself, and 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 transmitted 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 present alone without being fitted into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to include: 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 utilized to acquire the transmission data processed by the browser, and the processing operation of the data is determined according to the processing server, and the transmission data is processed by the processing operation; the problems of lower flexibility and lower efficiency caused by using the proxy server to process data are solved.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives can occur depending upon design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (11)

1.A method of processing data, for application to a browser plug-in, comprising:
The method comprises the steps that transmission data processed by a browser are obtained and sent to a processing server, wherein the processing server detects the transmission data sent by a browser plug-in according to a set strategy, determines processing operation corresponding to the transmission data according to a detection result, and sends the processing operation to the browser plug-in; the setting strategy is set according to the application scene;
receiving the processing operation sent by the processing server, and processing the transmission data according to the processing operation;
And when 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, including:
The browser plug-in acquires second prompt information through a monitoring code module contained in the browser; according to the second prompt information, acquiring data to be printed and sending the data to be printed to the processing server; the interaction between the browser plug-in and the monitoring code module is completed through a webserver started by the browser plug-in.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
The processing operations include: prevent or let go.
3. The method of claim 2, wherein the step of determining the position of the substrate comprises,
In the case where the transmission data is a data request,
The receiving the processing operation sent by the processing server, processing the transmission data according to the processing operation, including:
Allowing the browser to continue processing the data request if the processing operation is released;
in the event that the processing operation is blocking, processing of the data request is prohibited.
4. The method of claim 2, wherein the step of determining the position of the substrate comprises,
In case the transmission data is a downloaded file,
The obtaining the transmission data processed by the browser and sending the transmission data to the processing server comprises the following steps:
Acquiring first prompt information of the downloaded file after the downloading, acquiring file identifiers of one or more downloaded files according to the first prompt information, and sending the file identifiers to the processing server.
5. The method of claim 4, wherein the step of determining the position of the first electrode is performed,
Receiving the processing operation sent by the processing server, processing the transmission data according to the processing operation, including:
allowing the browser to save the file if the processing operation is released;
in the case where the processing operation is blocking, the file is deleted.
6. The method of claim 1, wherein the step of determining the position of the substrate comprises,
Further comprises: receiving a monitoring code module sent by the processing server, so as to inject the monitoring code module into the browser;
the obtaining the second prompt information of the browser to execute data printing includes: and receiving second prompt information sent by the monitoring code module.
7. The method of claim 6, wherein the step of providing the first layer comprises,
The receiving the processing operation sent by the processing server, processing the transmission data according to the processing operation, including:
in the event that the processing operation is released, instructing the monitor code module to allow the browser to print data;
and in the case that the processing operation is blocking, instructing the monitoring code module to prohibit the browser from printing.
8. An apparatus for processing data, for application 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, wherein the processing server detects the transmission data sent by the browser plug-in according to a set strategy, determines processing operation corresponding to the transmission data according to a detection result and sends the processing operation to the browser plug-in; the setting strategy is set according to the application scene;
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;
in the case that the transmission data is data printing, the transmission data module is further configured to: the browser plug-in acquires second prompt information through a monitoring code module contained in the browser; according to the second prompt information, acquiring data to be printed and sending the data to be printed to the processing server; the interaction between the browser plug-in and the monitoring code module is completed through a webserver started by the browser plug-in.
9. A system for processing data, comprising: the browser, the browser plug-in unit arranged in the browser and the processing server, wherein,
The browser plug-in arranged in the browser acquires transmission data processed by the browser, and the transmission data are sent to the processing server so as to judge processing operation corresponding to the transmission data according to a set strategy through the processing server; the processing server detects transmission data sent by the browser plug-in according to a set strategy, determines processing operation corresponding to the transmission data according to a detection result, and sends the processing operation to the browser plug-in; the setting strategy is set according to the application scene;
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;
Under the condition that the transmission data are data to be printed, the browser plug-in acquires second prompt information through a monitoring code module contained in the browser; according to the second prompt information, acquiring data to be printed and sending the data to be printed to the processing server; the interaction between the browser plug-in and the monitoring code module is completed through a webserver started by the browser plug-in.
10. An electronic device, comprising:
One or more processors;
storage means for storing one or more programs,
When executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-7.
11. A computer readable medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-7.
CN202110963585.7A 2021-08-20 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 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 2021-08-20 Method, device and system for processing data

Publications (2)

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

Family

ID=78581128

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN113687877B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012023050A2 (en) * 2010-08-20 2012-02-23 Overtis Group Limited Secure cloud computing system and method
CN103532912B (en) * 2012-07-04 2017-07-14 中国电信股份有限公司 The treating method and apparatus of browser business datum
US10095671B2 (en) * 2016-10-28 2018-10-09 Microsoft Technology Licensing, Llc Browser plug-in with content blocking and feedback capability

Also Published As

Publication number Publication date
CN113687877A (en) 2021-11-23

Similar Documents

Publication Publication Date Title
US10915384B2 (en) Information processing method and device
CN112748962B (en) Application loading method, device, electronic equipment and computer readable medium
US20200412644A1 (en) Content based routing method and apparatus
CN110377440B (en) Information processing method and device
CN112558933B (en) Component rendering method and device, readable medium and electronic equipment
CN110928571A (en) Business program development method and apparatus
CN112015383B (en) A login method and device
CN111953718B (en) A page debugging method and device
CN109981546B (en) Method and device for obtaining remote calling relationship between application modules
CN113687877B (en) Method, device and system for processing data
CN112272211A (en) Service request processing method, device and system
CN114721609B (en) Method, device, electronic device and computer-readable medium for printing documents
CN112306791B (en) Performance monitoring method and device
CN113760693B (en) Method and device for local debugging of microservice system
CN111460020B (en) Method, device, electronic equipment and medium for resolving message
US8738049B1 (en) Converged dialog in hybrid mobile applications
CN114428805A (en) Page display method, device, equipment and computer readable medium
CN114356788B (en) Application program detection method, device, equipment and medium based on user information
CN113778969B (en) A log processing method and device
CN113766437B (en) Short message sending method and device
CN113783713B (en) A method, device and system for configuring an agent
CN112988408B (en) Multi-terminal interaction method and device
CN110557752B (en) Information protection method, information protection device, electronic equipment and computer readable medium
CN118138255A (en) A cross-domain login state processing method and device
CN116991597A (en) A method and device for pasting data

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