A watermark embedding method for embedded application system plug-in

By intercepting user access requests in the application system and embedding multiple watermarks in the response information, the problem of sensitive data and personal privacy data leakage during user access is solved, traceability during data transmission is achieved, and it is suitable for encrypted traffic.

CN114285669BActive Publication Date: 2024-08-27SHENZHEN ANTECH TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111669764.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2024-08-27
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively solve the leakage problem caused by users taking photos, screenshots, and copies of sensitive data and personal privacy data during access. In particular, effective traceability cannot be achieved during the data transmission process.

Method used

By intercepting user access requests in the application system, extracting user information, and embedding multiple watermarks in the response information, the corresponding watermark information is generated according to the data type and added to the information file, so that it includes user identity binding during the data transmission process. watermark information to ensure traceability after leakage.

Benefits of technology

It achieves effective protection of sensitive data and personal privacy data when users access it. It can trace the source of the watermark information to locate the leaker, and does not need to modify the application system. It only needs to add a plug-in to realize the watermark processing of the web page. It is suitable for Encrypt traffic.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114285669B
    Figure CN114285669B
Patent Text Reader

Abstract

The embodiment of the present invention relates to the field of data security technology, and more particularly to a watermark embedding method for an embedded application system plug-in, which intercepts a user access request of a preset access request type, marks the session, extracts the user information corresponding to the request, forwards the marked communication session, intercepts the response information of the communication session, parses the response information, adds watermark information to the response information according to a preset watermark method, and forwards the watermarked response information. In the above manner, all data accessed by the user can be watermarked and encrypted. Once the data is leaked, the watermark information carried in the data can be used to trace the source and locate the leaker.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiment of the present invention relates to the technical field of data security, and in particular to a watermark embedding method for an embedded application system plug-in. Background Art

[0002] Government and enterprise units store a large amount of personal privacy and sensitive data. Most of the data is provided to the outside world through application systems. If the personal privacy data and sensitive data returned by internal applications are illegally leaked by internal users through taking photos or screenshots, the consequences will be very serious. Currently, watermark technology is an effective means of tracing and tracing the source. Watermark technology can effectively solve the security problem of malicious data leakage by internal application users.

[0003] At present, some applications have desensitized personal privacy and sensitive data for the data returned to the browser by the application business system, which can achieve de-identification to a certain extent. The harm caused by data leakage is somewhat reduced compared to the leakage of original data, but the desensitized data still maintains a certain use value for internal users, and the problem of tracking and tracing cannot be solved after the leakage; another method is to build a web gateway, logically or physically deployed between the client and the application server, and embed watermarks into the returned data according to predetermined rules, but this method is highly invasive to the application business, and has high availability and high concurrency requirements for the gateway. At the same time, it is difficult to handle encrypted web traffic and cannot parse and identify traffic.

[0004] Therefore, there is an urgent need for a method that can solve the leakage problem caused by users taking photos, screenshots, and copies of sensitive data and personal privacy data when accessing. Summary of the invention

[0005] The main technical problem solved by the embodiment of the present invention is to provide a watermark adding method, which can effectively solve the leakage problem caused by taking photos, screenshots and copies of sensitive data and personal privacy data when users access applications.

[0006] To solve the above technical problems, the embodiments of the present invention adopt the following technical solutions:

[0007] The embodiment of the present invention provides a watermark adding method, which specifically includes:

[0008] Intercepting a user access request in a communication session, and determining whether the user access request is of a preset access request type;

[0009] If the user access request is of a preset access request type, marking the communication session, and forwarding the user access request after extracting user information from the user access request;

[0010] intercepting response information data of the marked communication session, parsing the response information data, generating an information file, and determining a data type of the information file;

[0011] Generate corresponding watermark information according to the file data type and the user information, and add the watermark information to different data types in the information file respectively, so that the information file contains multiple watermark information;

[0012] Sending response data information of the information file containing multiple watermark information to the user according to the user information.

[0013] Optionally, according to the watermark adding method, intercepting a user access request in a communication session and determining whether the user access request is a preset access request type specifically includes:

[0014] By configuring the access control policy of the system, the user access request data is controlled and screened, and the preset access request types include: data query access request and data download access request;

[0015] When the user access request is included in the preset access request type, the communication session is marked; when the user access request is not included in the preset access request type, the user communication request is forwarded.

[0016] Optionally, according to the watermark adding method, the user information includes: the date when the access request is sent, user account information, IP address, MAC address and user computer name.

[0017] Optionally, according to the watermark adding method, the data type of the information file includes:

[0018] Web page type data files, document type data files and image type data files.

[0019] Optionally, according to the watermark adding method, generating corresponding watermark information according to the file data type and the user information specifically includes:

[0020] If the information file is a web page type data file, generating a corresponding background image type identification watermark, wherein the identification watermark includes the user information;

[0021] If the information file is a document type data file or a picture type data file, a corresponding shading type identification watermark is generated, and the identification watermark contains the user information.

[0022] Optionally, according to the watermark adding method, generating corresponding watermark information according to the file data type and the user information further includes:

[0023] Parsing structured row and column information of the information file;

[0024] Generate corresponding digital watermark information according to a pre-made rule algorithm, and embed the digital watermark information directly into the information file data;

[0025] The data watermark information includes the user information.

[0026] The prefabricated rule algorithm, digital watermark technology and spatial domain watermark technology.

[0027] Optionally, according to the watermark adding method, adding the watermark information to different data types in the information file respectively so that the information file contains multiple watermark information specifically includes:

[0028] The watermark information that can be added can be selected according to the data type contained in the information file;

[0029] Adding an identification watermark to the web page type data file contained in the information file;

[0030] Adding a shading type identification watermark to the document type data file and the picture type data file included in the information file;

[0031] Add the digital watermark information in the data structure of the information file.

[0032] In order to solve the above problems, an embodiment of the present invention provides a watermark adding device, which specifically includes:

[0033] User access data interception module: intercepts user access request data in a communication session, determines whether the user access request is of a preset access request type, and if the user access request is of a preset access request type, marks the communication session, extracts user information from the user access request data, and then forwards the user access request data;

[0034] Response information interception module: intercepts response information data of the marked communication session, parses the response information data, generates an information file, and determines the data type of the information file;

[0035] A watermark adding module: generating corresponding watermark data according to the file data type and the user information, adding the watermark data to the information file, generating a file to be forwarded, and when the information file contains multiple data types, adding multiple watermarks to the information file according to preset steps, generating a file to be forwarded;

[0036] File forwarding module: converts the waiting file into the response information data, and forwards it to the corresponding user according to the user information.

[0037] To solve the above problem, an embodiment of the present invention provides an electronic device, including:

[0038] at least one processor;

[0039] a memory communicatively connected to the at least one processor; wherein,

[0040] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform any one of the watermark adding methods.

[0041] To solve the above problem, an embodiment of the present invention provides a computer program product including program code, characterized in that when the computer program product is run on an electronic device, the electronic device executes any one of the watermark adding methods.

[0042] An embodiment of the present invention provides a watermark adding method, which intercepts a user access request that is the same as a preset access request, extracts user information, intercepts response information given by the system, adds a watermark containing the user information to a file of the response information, and then sends the response information with the watermark added to the user.

[0043] The method can add watermark encryption to the data file at different levels according to different data access by different users through configuration strategies. The present invention can achieve multiple watermark encryption, and when a user accesses confidential data, watermark information tied to the user's identity will be embedded in the data. Once the data is leaked, the watermark information carried in the data can be used to trace the source and locate the leaker.

[0044] Through the above method, the present invention can realize a method for adding watermarks to files during data transmission, and can effectively solve the leakage problem caused by users taking photos, screenshots, and copying sensitive data and personal privacy data when accessing applications.

[0045] The present invention does not require modification of the application system, and only requires adding a plug-in to the application system to achieve watermarking of web pages. Watermarking can also be performed on encrypted traffic. The method is achieved by building a watermark adding device into the application system. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0047] Figure 1 Schematic diagram of the application environment of the watermark adding method in the embodiment of the present invention;

[0048] Figure 2 is a flow chart of a watermark adding method provided by an embodiment of the present invention;

[0049] Figure 3 yes Figure 2 A sub-flow chart of step 11 in the method shown;

[0050] Figure 4 yes Figure 3 A sub-flow chart of step 12 in the method shown;

[0051] Figure 5 yes Figure 2 A sub-flow chart of step 13 in the method shown;

[0052] Figure 6 is a structural schematic diagram of a data service device provided by an embodiment of the present invention;

[0053] Figure 7 yes Figure 6 The structural schematic diagram of the watermark adding device in the structural schematic diagram of the data service device shown;

[0054] Figure 8 It is a schematic diagram of the hardware structure of an electronic device for executing the above-mentioned method for adding watermark to a file provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0055] The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several variations and improvements may be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

[0056] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0057] It should be noted that, if there is no conflict, the various features in the embodiments of the present invention can be combined with each other, all within the scope of protection of the present application. In addition, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a different order than the module division in the device or the flow chart. In addition, the words "first", "second", "third", etc. used herein do not limit the data and execution order, but only distinguish the same items or similar items with basically the same functions and effects.

[0058] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in this specification and in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used in this specification includes any and all combinations of one or more of the related listed items.

[0059] In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0060] See also Figure 1 , which is a schematic diagram of an application environment of an embodiment of the data desensitization method of the present invention, the system includes: a data service device 10 and a user access device 20.

[0061] The data service device 10 and the user access device 20 are communicatively connected, and the communication connection can be a wired connection, such as a fiber optic cable, or a wireless communication connection, such as a WIFI connection, a Bluetooth connection, a 4G wireless communication connection, a 5G wireless communication connection, etc.

[0062] The user access device 20 is a device that can run according to a program and automatically and quickly process massive amounts of data. It is usually composed of a hardware system and a software system, such as a computer, a smart phone, etc. The user access device 20 can be a local device that is directly connected to the data service device 10; it can also be a cloud device, such as a cloud server, a cloud host, a cloud service platform, a cloud computing platform, etc. The cloud device is connected to the data service device 10 through a network, and the two are connected in communication through a predetermined communication protocol. In some embodiments, the communication protocol can be TCP / IP, NETBEUI, IPX / SPX, etc.

[0063] The data service device 10 may be a physical server, or a cloud server, a cloud host, a cloud service platform, a cloud computing platform, etc. The data service device 10 is equipped with one or more databases, such as an Oracle database or a MySQL database. It is understandable that the server may also be a computer equipped with one or more databases.

[0064] In the embodiment of the present invention, the user access device 20 first sends the user access request information to the data service device 10, and the data service device 10 performs watermark encryption processing on the file accessed by the user access device 20 before sending it to the user access device 20. It can be understood that by building a watermark adding device in the data service device 10, watermark information containing the user information of the user access device 20 is generated, and the watermark information is added to the user access data. The information finally sent to the user is embedded with the watermark information bound to the user identity. Once the data is leaked, the watermark information carried in the data can be traced to locate the leaker.

[0065] The embodiment of the present invention provides a watermark adding method applied to the above application environment, which can be executed by the above data service device 10, see Figure 2 , the method comprising:

[0066] 11: Intercept the user access request that is the same as the preset access request, mark the communication session, extract the user information, and forward the user information.

[0067] First, the user access request from the user is intercepted, and the user access request is matched with the preset access request type. If there is request information of the same type in the preset access request, the communication session containing this user access request is marked to facilitate further interception of the response information data replied by the system; after marking the communication session, the user information in the user access request is extracted, and then the user access request is forwarded.

[0068] In some embodiments, see Figure 3 , the watermark adding method 11 further comprises:

[0069] 111: Analyze the user access request

[0070] The request data of the user is analyzed to obtain the URL information in the user access request, and the user operation content is determined. The URL information is the same resource location information, which can indicate the location of the information that the user wants to obtain.

[0071] The user access request may include a data download access request, a data viewing access request, etc.;

[0072] 112: Determine whether the request is a preset access request.

[0073] The system presets access request information, and determines whether the user needs to obtain sensitive information based on the analyzed user access request data, and further determines whether a watermark needs to be added to the information that the user needs to obtain.

[0074] In some embodiments, the access request information includes a sensitive information library, and the URL information is used to determine whether the content the user wants to access is sensitive information. If so, the communication session can continue to be marked to facilitate interception of the corresponding response information.

[0075] 113: Mark the communication session.

[0076] The communication session including the user access request is marked, and when intercepting the response information, the system will give priority to processing the response information of the marked communication session.

[0077] 114: Extract the user information.

[0078] The user information in the user access request is extracted.

[0079] The user information may include but is not limited to the date the access request was sent, user account information, IP address, MAC address, and user computer name.

[0080] In some embodiments, a local user can access data through the ARP protocol in the device and find the corresponding host physical address, etc.

[0081] 115: Forward the user access request.

[0082] 12: Intercept the response information of the marked communication session, generate an information file, and determine the data type of the information file.

[0083] When a marked communication session is detected, the system will automatically intercept the response information data, parse the source file in the response information through the corresponding protocol, and determine the data type of the source file.

[0084] For example: after sending the corresponding user information to the web server, the web server will send the corresponding access data according to the user request information. If the user requests to download a confidential document, the data stream of the corresponding document sent by the web server to the user will be intercepted by the system, and the document will be parsed, the document attributes will be analyzed, and a watermark containing the user information will be added to it before forwarding it to the user.

[0085] In some embodiments, see Figure 4 , the watermark adding method 12 further comprises:

[0086] 121: Analyze the response information data.

[0087] The response information data is parsed through a corresponding protocol.

[0088] In some embodiments, the response data is an HTML information stream. During the analysis process, the HTML information must first be parsed before the HTML file can be restored.

[0089] 122: Generate corresponding information files.

[0090] 123: Determine the data type of the information file.

[0091] In some embodiments, the data type of the information file may include but is not limited to web page type data files, document type data files, and picture type data files.

[0092] 13: Generate corresponding watermark information, add it to the information file, and generate a file waiting to be forwarded.

[0093] According to the user information and the data type of the information file, corresponding watermark information is generated, the watermark information includes the user information, and after the watermark information is added to the information file, a file waiting to be forwarded is generated.

[0094] In some embodiments, see Figure 4 , the watermark adding method 13 further comprises:

[0095] 131: Generate corresponding watermark information.

[0096] Generate corresponding watermark information according to the user information and information file type.

[0097] In some embodiments, the information file is a web page type data file, and a corresponding background image type identification watermark is generated, and the identification watermark includes the user information;

[0098] The watermark information types may include: background image type watermark, shading data watermark and data type watermark.

[0099] The data type watermark may be a dot matrix watermark, a two-dimensional code watermark, or a pseudo-row and pseudo-column structured watermark.

[0100] In some other embodiments, the information file is a document type data file or a picture type data file, and a corresponding shading type identification watermark is generated, and the identification watermark includes the user information.

[0101] In another embodiment, the information file generates corresponding digital watermark information according to digital watermark technology and spatial domain watermark technology algorithm, and directly embeds the data watermark information into the information file data, wherein the data watermark information includes the user information.

[0102] For example, digital watermarking technology is used to generate pseudo rows and pseudo columns from the user information that are not searchable by the user and are embedded into the rows and columns of the data structure of a confidential document. Spatial domain watermarking technology is also used to generate user-searchable data from the user information and embed it into the data structure. The user-searchable data may be a QR code or a company icon generated in the document, which contains user information.

[0103] 132: Add the watermark information to the information file.

[0104] According to the generated watermark information, the watermark information is added to the information file. The same response information file contains multiple data types. The system will choose whether to add multiple watermarks according to the confidentiality of the file.

[0105] In some embodiments, the system detects that the document contains multiple types of data information, and can select watermark information that can be added based on the data type contained in the information file. In the process of adding watermark information, an identification watermark is added to the web page type data file contained in the information file, a background type identification watermark is added to the document type data file and the picture type data file contained in the information file, and the digital watermark information is added to the data structure of the information file.

[0106] For example, if a user needs to query a highly confidential picture, after intercepting the response information, a background watermark with the user information will be inserted first, and then a data watermark carrying the user information will be generated through a data watermark algorithm and embedded into the picture data structure.

[0107] 133: Generate a file waiting to be forwarded.

[0108] After the watermark is added, the corresponding file waiting to be forwarded is generated.

[0109] 14: Forward the file waiting to be forwarded.

[0110] Send the file waiting to be forwarded to the corresponding user to complete the communication session

[0111] An embodiment of the present invention provides a watermark adding method, which intercepts a user access request that is the same as a preset access request, extracts user information, intercepts response information given by the system, adds a watermark containing the user information to a file of the response information, and then sends the response information with the watermark added to the user.

[0112] The method can add watermark encryption to the data file at different levels according to different data access by different users through configuration strategies. The present invention can achieve multiple watermark encryption, and when a user accesses confidential data, watermark information tied to the user's identity will be embedded in the data. Once the data is leaked, the watermark information carried in the data can be used to trace the source and locate the leaker.

[0113] Through the above method, the present invention can realize a method for adding watermarks to files during data transmission, and can effectively solve the leakage problem caused by users taking photos, screenshots, and copying sensitive data and personal privacy data when accessing applications.

[0114] The present invention does not require modification of the application system, and only requires adding a plug-in to the application system to achieve watermarking of web pages. Watermarking can also be performed on encrypted traffic. The method is achieved by building a watermark adding device into the application system.

[0115] The embodiment of the present invention further provides a data service device 10, see Figure 6 , which shows the structure of a data service device provided by an embodiment of the present invention, the data service device 10 comprises: a web server 1010, a database server 1020, and a watermark adding device 1030, wherein:

[0116] Web server 1010: used to receive the user access data and generate response information corresponding to the web access information based on the user access data information. The server can be any type of web server existing in current technology, including cloud servers. The web server must be able to complete data reception, data transmission and data processing.

[0117] Database server 1020: middleware used to connect the web server and the database management system, which is the server responsible for the application, including transaction processing and data access between the web server and the background application or database. The data server can be any one of the existing technologies.

[0118] Watermark adding device 1030: used to implement the above-mentioned web page watermark embedding method, by adding a watermark plug-in during the user access process, the plug-in contains a preset sensitive information library, can intercept the access data information of the web access user, and can extract the operation that the user wants to make and the user information of the user based on the user data information. When the user operation matches the preset sensitive information library, the system marks the user information and forwards the marked user information to the data service device, and intercepts the web response information of the data service device. After parsing the source file of the response information, the corresponding watermark information is generated according to the user information and the source file type. After the watermark information is embedded in the corresponding source file, it is converted into the corresponding web response information with the watermark added and forwarded to the user.

[0119] like Figure 7 As shown, the watermark adding device 1030 includes: a user access data interception module 1031, a response information interception module 1032, a watermark adding module 1033 and a file forwarding module 1034.

[0120] The user access data interception module 1031 is used to intercept the user access request data in the communication session, determine whether the user access request is of a preset access request type, and if the user access request is of a preset access request type, mark the communication session, extract the user information in the user access request data, and then forward the user access request data;

[0121] Response information interception module 1032: used to intercept response information data of the marked communication session, parse the response information data, generate an information file, and determine the data type of the information file;

[0122] The watermark adding module 1033 is used to generate corresponding watermark data according to the file data type and the user information, add the watermark data to the information file, and generate a file to be forwarded. When the information file contains multiple data types, multiple watermarks are added to the information file according to preset steps to generate a file to be forwarded.

[0123] File forwarding module 1034: used for converting the waiting file into the response information data, and forwarding it to the corresponding user according to the user information.

[0124] The embodiment of the present invention further provides an electronic device 300, see Figure 8 The smart device includes: at least one processor 310; and a memory 320 communicatively connected to the at least one processor. Figure 8 A processor is taken as an example.

[0125] The memory 320 stores instructions that can be executed by the at least one processor 310. The instructions are executed by the at least one processor 310 to enable the at least one processor 310 to perform the above Figures 2 to 5 The processor 310 and the memory 320 can be connected via a bus or other means. Figure 8 The example of connecting through bus is taken in the following.

[0126] The memory 320 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules of the data desensitization method in the embodiment of the present application, for example, Figure 7 The processor 310 executes various functional applications of the server and webpage data watermark embedding processing by running the non-volatile software programs, instructions and modules stored in the memory 320, that is, implements the data watermark embedding method in the above method embodiment.

[0127] The memory 320 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and applications required for at least one function; the data storage area may store data created according to the use of the data desensitization device, etc. In addition, the memory 320 may include a high-speed random access memory 320, and may also include a non-volatile memory 320, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 320 may optionally include a memory 320 remotely arranged relative to the processor 310, and these remote memories 320 may be connected to a file watermarking device in a web data transmission process via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0128] The one or more modules are stored in the memory 320, and when executed by the one or more processors 310, perform the watermark embedding method in any of the above method embodiments, for example, perform the above described Figures 2 to 5 Steps to achieve Figure 7 The functions of each module in.

[0129] The above-mentioned product can execute the method provided in the embodiment of the present application, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not fully described in this embodiment, please refer to the method provided in the embodiment of the present application.

[0130] The present application also provides a computer program product including program code. When the computer program product is run on an electronic device, the electronic device executes the watermark embedding method in any of the above method embodiments, for example, Figures 2 to 5 Steps to achieve Figure 7 The functions of each module in.

[0131] The beneficial effects of the embodiments of the present invention are as follows: the problem of leakage caused by users taking photos, screenshots, and copying sensitive data and personal privacy data when accessing data access devices is solved. A watermark adding device is built into the application system, and watermarks are embedded in the data returned to the client by the data service device according to different users. Ultimately, when different users access the data, watermark information tied to the user's identity will be embedded. Once the data is leaked, the watermark information carried in the data can be traced to the source and the leaker can be located. There is no need to modify the application system. Only the watermark plug-in needs to be added to the application system to add watermarks to the web pages, and watermark processing can also be performed on encrypted traffic.

[0132] It should be noted that the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0133] Through the description of the above implementation methods, ordinary technicians in this field can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. Ordinary technicians in this field can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0134] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them. Under the concept of the present invention, the technical features in the above embodiments or different embodiments may also be combined, the steps may be implemented in any order, and there are many other changes in different aspects of the present invention as described above, which are not provided in detail for the sake of simplicity. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they may still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A watermark embedding method for an embedded application system plug-in, It is characterized in that include: Intercepting a user access request in a communication session, and determining whether the user access request is of a preset access request type; If the user access request is of a preset access request type, marking the communication session, and forwarding the user access request after extracting user information from the user access request; intercepting response information data of the marked communication session, parsing the response information data, generating an information file, and determining a data type of the information file; Generate corresponding watermark information according to the file data type and the user information, and add the watermark information to different data types in the information file respectively, so that the information file contains multiple watermark information; Sending response data information of the information file containing multiple watermark information to the user according to the user information; The generating corresponding watermark information according to the file data type and the user information specifically includes: If the information file is a web page type data file, generating a corresponding background image type identification watermark, wherein the identification watermark includes the user information; If the information file is a document type data file or a picture type data file, a corresponding shading type identification watermark is generated, and the identification watermark includes the user information; The generating corresponding watermark information according to the file data type and the user information further includes: Parsing structured row and column information of the information file; Generate corresponding digital watermark information according to a pre-made rule algorithm, and embed the digital watermark information directly into the information file data; The digital watermark information includes the user information; The pre-made rule algorithm, digital watermark technology and spatial domain watermark technology; The adding the watermark information to different data types in the information file respectively so that the information file contains multiple watermark information specifically includes: Selecting watermark information that can be added according to the data type contained in the information file; Adding an identification watermark to the web page type data file contained in the information file; Adding a shading type identification watermark to the document type data file and the picture type data file included in the information file; The digital watermark information is added to the data structure of the information file.

2. The watermark embedding method for an embedded application system plug-in according to claim 1, Features , the intercepting of the user access request in the communication session and determining whether the user access request is a preset access request type specifically includes: By configuring the access control policy of the system, the user access request data is controlled and screened, and the preset access request types include: data query access request and data download access request; When the user access request is included in the preset access request type, the communication session is marked; when the user access request is not included in the preset access request type, the user communication request is forwarded.

3. The watermark embedding method for an embedded application system plug-in according to claim 1, It is characterized in that The user information includes: the date the access request was sent, user account information, IP address, MAC address and user computer name.

4. The watermark embedding method for an embedded application system plug-in according to claim 1, It is characterized in that The data types of the information files include: Web page type data files, document type data files and image type data files.

5. A watermark embedding device embedded in an application system plug-in, It is characterized in that Specifically include: User access data interception module: intercepts user access request data in a communication session, determines whether the user access request is of a preset access request type, and if the user access request is of a preset access request type, marks the communication session, extracts user information from the user access request data, and then forwards the user access request data; Response information interception module: intercepts response information data of the marked communication session, parses the response information data, generates an information file, and determines the data type of the information file; A watermark adding module: generating corresponding watermark data according to the file data type and the user information, adding the watermark data to the information file, generating a file to be forwarded, and when the information file contains multiple data types, adding multiple watermarks to the information file according to preset steps, generating a file to be forwarded; File forwarding module: converts the file to be forwarded into the response information data, and forwards it to the corresponding user according to the user information; The generating corresponding watermark information according to the file data type and the user information specifically includes: If the information file is a web page type data file, generating a corresponding background image type identification watermark, wherein the identification watermark includes the user information; If the information file is a document type data file or a picture type data file, a corresponding shading type identification watermark is generated, and the identification watermark includes the user information; The generating corresponding watermark information according to the file data type and the user information further includes: Parsing structured row and column information of the information file; Generate corresponding digital watermark information according to a pre-made rule algorithm, and embed the digital watermark information directly into the information file data; The digital watermark information includes the user information; The pre-made rule algorithm, digital watermark technology and spatial domain watermark technology; The adding the watermark information to different data types in the information file respectively so that the information file contains multiple watermark information specifically includes: Selecting watermark information that can be added according to the data type contained in the information file; Adding an identification watermark to the web page type data file contained in the information file; Adding a shading type identification watermark to the document type data file and the picture type data file included in the information file; The digital watermark information is added to the data structure of the information file.

6. An electronic device, It is characterized in that include: at least one processor; a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the watermark embedding method according to any one of claims 1 to 4.

7. A computer program product comprising program code, It is characterized in that When the computer program product runs on an electronic device, the electronic device is enabled to execute the watermark embedding method according to any one of claims 1 to 4.