Data processing method and device, equipment, medium and product
By using user identification and preset zero-width character table to determine zero-width character watermarks in structured plain text data, the problem of insufficient obscurity and applicability of data watermarks in the prior art is solved, and efficient data protection and leakage user traceability are achieved.
Patent Information
- Application Number
- CN202510239751.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-03
- Publication Date
- 2025-06-20
AI Technical Summary
The prior art is difficult to achieve high obscurity and high applicability data watermarks in structured plain text data, and common methods are easily detectable or have limited use scenarios.
Through the user identification and preset zero-width character table, a watermark string composed of zero-width characters is determined and added to the pending data, improving the obscurity and applicability of the data watermark.
It improves the obscureness and applicability of data watermarks, enhances the data protection effect, and effectively determines data leakage users through different watermarks and added location configurations.
Smart Images

Figure CN120180398A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of computer technologies, and in particular, to a data processing method, apparatus, device, medium, and product. Background Art
[0002] At present, there are many kinds of digital watermarking technologies. Common digital watermarking technologies are often aimed at pictures, audio, video, etc. This is mainly because these media have more coding space to accommodate watermark information. Limited by the characteristics of the text itself, the choice of digital watermarking technology is limited. Common text watermarking technologies include text format-based watermarking technology, character internal structure-based watermarking technology, file format-based watermarking technology, and text content-based watermarking technology.
[0003] The construction of a data platform includes centralized collection and governance of table data in a library, and then provides data services for upper-layer applications. In this process, data is stored in different databases in the form of structured plain text and flows between network nodes, independent of text format, character structure, and file format, and the first three of the above-mentioned text watermarking technologies cannot be used. And common text content-based data watermarking technologies often change the original data content, or are very easy to be detected, or have very limited usage scenarios. For example, some data watermarking technologies encode watermark information in meaningless strings such as IDs or serial numbers. Once such data is not included, it is not applicable; there are also some watermarking technologies that additionally add 0s at the end of the decimal part of a number and use the change in the number of 0s to store watermark information, which is very easy to be detected. Therefore, there is an urgent need for a data watermarking technology for structured plain text with high invisibility and high applicability. Summary of the Invention
[0004] The embodiments of the present invention provide a data processing method, apparatus, device, medium, and product, which can determine and add a watermark string composed of zero-width characters to the data to be processed through a user identifier and a preset zero-width character table, improve the invisibility and applicability of the data watermark, and improve the data protection effect.
[0005] In a first aspect, the embodiments of the present invention provide a data processing method, which includes:
[0006] In response to a data acquisition request, determine the requesting user associated with the data acquisition request and the data to be processed;
[0007] Determine the user identifier information of the requesting user, and calculate the hash value of the identifier information;
[0008] Determine the target zero-width character index value that composes the data watermark string according to the hash value of the identification information and the preset zero-width character table, and determine the data watermark string in the preset zero-width character table according to the target zero-width character index value, where the preset zero-width character table includes at least two zero-width characters and the zero-width character index values corresponding to the zero-width characters;
[0009] Determine the watermark addition data corresponding to the preset watermark addition field in the data to be processed according to the preset watermark addition field associated with the data to be processed;
[0010] Determine the watermark addition position of the data watermark string in the watermark addition data according to the hash value of the identification information;
[0011] Add the data watermark string to the watermark addition data in the data to be processed according to the watermark addition position to obtain the target data corresponding to the data to be processed, and send the target data to the client of the requesting user.
[0012] In a second aspect, an embodiment of the present invention provides a data processing device, and the device includes:
[0013] A data determination module, configured to determine a requesting user associated with the data acquisition request and data to be processed in response to the data acquisition request;
[0014] A hash value calculation module, configured to determine the user identification information of the requesting user and calculate the hash value of the identification information;
[0015] A data watermark string determination module, configured to determine the target zero-width character index value that composes the data watermark string according to the hash value of the identification information and the preset zero-width character table, and determine the data watermark string in the preset zero-width character table according to the target zero-width character index value, where the preset zero-width character table includes at least two zero-width characters and the zero-width character index values corresponding to the zero-width characters;
[0016] A watermark addition data determination module, configured to determine the watermark addition data corresponding to the preset watermark addition field in the data to be processed according to the preset watermark addition field associated with the data to be processed;
[0017] A watermark addition position determination module, configured to determine the watermark addition position of the data watermark string in the watermark addition data according to the hash value of the identification information;
[0018] A target data determination module, configured to add the data watermark string to the watermark addition data in the data to be processed according to the watermark addition position to obtain the target data corresponding to the data to be processed, and send the target data to the client of the requesting user.
[0019] In a third aspect, an embodiment of the present invention further provides a computer device, and the computer device includes:
[0020] One or more processors;
[0021] A memory for storing one or more programs;
[0022] When the above one or more programs are executed by the one or more processors, the one or more processors implement the data processing method provided in any embodiment of the present invention.
[0023] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, it implements the data processing method provided in any embodiment of the present invention.
[0024] In a fifth aspect, an embodiment of the present invention further provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the data processing method provided in any embodiment of the present invention.
[0025] The embodiments in the above invention have the following advantages or beneficial effects:
[0026] In the embodiment of the present invention, in response to a data acquisition request, a requesting user associated with the data acquisition request and data to be processed are determined; user identification information of the requesting user is determined, and a hash value of the identification information is calculated; according to the hash value of the identification information and a preset zero-width character table, a target zero-width character index value for forming a data watermark string is determined, and a data watermark string is determined in the preset zero-width character table according to the target zero-width character index value, where the preset zero-width character table includes at least two zero-width characters and zero-width character index values corresponding to the zero-width characters; according to a preset watermark addition field associated with the data to be processed, watermark addition data corresponding to the preset watermark addition field in the data to be processed is determined; according to the hash value of the identification information, a watermark addition position of the data watermark string in the watermark addition data is determined; the data watermark string is added to the watermark addition data in the data to be processed according to the watermark addition position to obtain target data corresponding to the data to be processed, and the target data is sent to the client of the requesting user. The technical solution of the embodiment of the present invention solves the problem that the data protection effect of the current data watermark is poor, and can determine and add a watermark string composed of zero-width characters to the data to be processed through the user identification and the preset zero-width character table, improving the concealment and applicability of the data watermark and enhancing the data protection effect. Description of the Drawings
[0027] Figure 1 is a flowchart of a data processing method provided by an embodiment of the present invention;
[0028] Figure 2 is a flowchart of a data processing method provided by an embodiment of the present invention;
[0029] Figure 3 It is a schematic diagram for determining a data watermark string and an adding position provided by an embodiment of the present invention;
[0030] Figure 4 It is a flowchart of a data processing method provided by an embodiment of the present invention;
[0031] Figure 5 It is a schematic diagram of data processing provided by an embodiment of the present invention;
[0032] Figure 6 It is a schematic diagram of data processing provided by an embodiment of the present invention;
[0033] Figure 7 It is a schematic diagram of a leakage data analysis interface provided by an embodiment of the present invention;
[0034] Figure 8 It is a schematic structural diagram of a data processing device provided by an embodiment of the present invention;
[0035] Figure 9 It is a schematic structural diagram of a computer device provided by an embodiment of the present invention. Detailed implementation manners
[0036] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the present invention, rather than limiting the present invention. Additionally, it should be noted that for the sake of description, only parts related to the present invention rather than all structures are shown in the drawings.
[0037] Figure 1 It is a flowchart of a data processing method provided by an embodiment of the present invention. This embodiment is applicable to the scenario of data processing. This method can be executed by a data processing device, and this device can be implemented in a software and / or hardware manner and integrated in a computer device with application development functions.
[0038] As Figure 1 shown, the data processing method of this embodiment includes the following steps:
[0039] S110. In response to a data acquisition request, determine a requesting user associated with the data acquisition request and data to be processed.
[0040] The data platform can uniformly collect and process data, and provide data services externally in the form of shared data sets or data APIs. Users can send a data acquisition request to the data platform at the preset data acquisition interface provided by the data platform. The server of the data platform can parse the data acquisition request to obtain the requesting user associated with the data acquisition request, that is, the user who sends the data request, and the data to be processed that the user needs to obtain. For example, in a medical data platform, the data to be processed that the user needs to obtain can be the data stored in the outpatient information table. The data to be processed can be structured data, such as database data and data table data, etc.
[0041] S120. Determine the user identification information of the requesting user, and calculate the hash value of the identification information.
[0042] In the data platform, a user information table can be set up. After determining the requesting user, the user identification information secret of the user can be obtained from the user information table according to the name of the requesting user. Each requesting user has a unique user identification information. The user identification information can be in the form of a UUID (Universally Unique Identifier), or the attribute values of relevant fields on the user information table can be used as the user identification information. For example, in a medical data platform, the name or ID number of the requesting user can be used as the user identification information. It can be understood that the length of the user identification information needs to exceed the preset length, so as to ensure that in subsequent processing, the watermark addition position and the data watermark string can be obtained through data processing operations such as hash value conversion.
[0043] S130. Determine the target zero-width character index value that composes the data watermark string according to the hash value of the identification information and the preset zero-width character table, and determine the data watermark string in the preset zero-width character table according to the target zero-width character index value.
[0044] Among them, the preset zero-width character table includes at least two zero-width characters and the zero-width character index values corresponding to the zero-width characters. By using zero-width characters as watermarks, due to the invisible characteristics of zero-width characters, it is impossible to tell whether there are zero-width characters in the string just by visual inspection through data clients, web pages, office software, etc., thus improving the concealment of the data watermark.
[0045] The obtained hash value of the identification information can be made into an integer through a preset hash value algorithm, so as to determine the target zero-width character index value that composes the data watermark string according to the hash value of the identification information and the number of rows of the preset zero-width character table. The characters that compose the data watermark string are taken out from the preset zero-width character table according to the target zero-width character index value, and the characters are spliced to obtain the data watermark string. The number of target zero-width character index values is determined by the preset length of the data watermark string.
[0046] S140. Determine the watermark addition data corresponding to the preset watermark addition field in the data to be processed according to the preset watermark addition field associated with the data to be processed.
[0047] To determine the preset watermark addition field associated with the data to be processed based on the data to be processed, it can be to determine the preset watermark addition field associated with the table information or dataset information associated with the data to be processed, and use the attribute value information corresponding to the preset watermark addition field as the watermark addition data. For example, in a medical data platform, if the data to be processed is the data stored in the outpatient information table, the address field can be used as the preset watermark addition field, and all the attribute values corresponding to the address field in the data to be processed are used as the watermark addition data.
[0048] S150. Determine the watermark addition position of the data watermark string in the watermark addition data according to the hash value of the identification information.
[0049] The watermark addition position of the data watermark string in each piece of watermark addition data can be determined according to the hash value of the identification information and the length of each piece of watermark addition data.
[0050] S160. Add the data watermark string to the watermark addition data in the data to be processed according to the watermark addition position to obtain the target data corresponding to the data to be processed, and send the target data to the client of the requesting user.
[0051] Add the data watermark string to each piece of watermark addition data in the data to be processed according to the watermark addition position corresponding to each piece of watermark addition data to obtain the target data corresponding to the data to be processed, and send the target data to the client of the requesting user.
[0052] In the technical solution of this embodiment, in response to a data acquisition request, the requesting user and the data to be processed associated with the data acquisition request are determined; the user identification information of the requesting user is determined, and the identification information hash value of the user identification information is calculated; according to the identification information hash value and a preset zero-width character table, the target zero-width character index value for forming the data watermark string is determined, and the data watermark string is determined in the preset zero-width character table according to the target zero-width character index value, where the preset zero-width character table includes at least two zero-width characters and the zero-width character index values corresponding to the zero-width characters; according to the preset watermark addition field associated with the data to be processed, the watermark addition data corresponding to the preset watermark addition field in the data to be processed is determined; according to the identification information hash value, the watermark addition position of the data watermark string in the watermark addition data is determined; the data watermark string is added to the watermark addition data in the data to be processed according to the watermark addition position to obtain the target data corresponding to the data to be processed, and the target data is sent to the client of the requesting user. The technical solution of the embodiment of the present invention solves the problem that the current data watermark has a poor data protection effect. The watermark string composed of zero-width characters can be determined and added to the data to be processed through the user identification and the preset zero-width character table, improving the concealment and applicability of the data watermark and enhancing the data protection effect.
[0053] Figure 2 It is a flowchart of a data processing method provided by an embodiment of the present invention. This embodiment and the data processing method in the above embodiment belong to the same inventive concept, and further describes the process of determining the data watermark string. This method can be executed by a data processing device, and the device can be implemented in a software and / or hardware manner and integrated into a computer device with application development functions.
[0054] As Figure 2 shown, the data processing method of this embodiment includes the following steps:
[0055] S210. In response to a data acquisition request, determine the requesting user and the data to be processed associated with the data acquisition request.
[0056] S220. Determine the user identification information of the requesting user, and calculate the identification information hash value of the user identification information.
[0057] As Figure 3 shown, calculate the identification information hash value of the user identification information secret, perform hash on secret, and through a suitable hash function, such as the default implementation of hashCode for Java character types, make the obtained identification information hash value secretHash an integer integer. By way of example, the calculation process of secretHash can be secretHash = hash(MD5(secret)).
[0058] S230. Perform a modulo operation on the number of rows of the preset zero-width character table using the hash value of the identification information, and use the result of the modulo operation as the starting zero-width character index value. Starting from the starting zero-width character index value, continuously extract zero-width character index values from the preset zero-width character table until the number of extracted zero-width character index values meets the preset number of characters.
[0059] As Figure 3 shown, perform a modulo operation on the number of rows size of the preset zero-width character table zwCodelist using the hash value secretHash of the identification information to obtain the starting zero-width character index value startindex = secretHash % size(zwCodelist). Starting from the starting zero-width character index value startindex, continuously extract zero-width character index values from the preset zero-width character table until the number of extracted zero-width character index values meets the preset number of characters n, where the preset number of characters is the number of characters in the data watermark string.
[0060] S240. Use the extracted zero-width character index values as the target zero-width character index values that make up the data watermark string.
[0061] For example, if n is 4, startindex is 3, and the number of rows size of the preset zero-width character table is 5, then the extracted zero-width character index values are 3, 4, 5, and 1.
[0062] S250. According to the order of the target zero-width character index values, splice the target zero-width characters corresponding to the target zero-width character index values in the preset zero-width character table to obtain the data watermark string.
[0063] As shown in Table 1 of the preset zero-width character table, the zero-width character index value corresponding to the zero-width space is 1. Then the target zero-width characters corresponding to the zero-width character index values 3, 4, 5, and 1 are the zero-width ligature, left-to-right sign, right-to-left sign, and zero-width space, respectively.
[0064] Table 1
[0065] Name Unicode HTML Zero-Width Space U+200B ; Zero-Width Non-Joiner U+200C ; Zero-Width Joiner U+200D ; Left-to-Right Mark U+200E ;; Right-to-Left Mark U+200F ;;
[0066] According to the order of the target zero-width character index values, splice the target zero-width characters of the zero-width ligature, left-to-right sign, right-to-left sign, and zero-width space to obtain the data watermark string watermark as U+200D U+200E U+200F U+200B.
[0067] S260. Determine the watermark addition data corresponding to the preset watermark addition field in the data to be processed according to the preset watermark addition field associated with the data to be processed.
[0068] Add fields according to the preset watermark associated with the data to be processed, traverse each piece of data to be processed that needs to be returned to determine each attribute value corresponding to the preset watermark addition field in the data to be processed, and use each attribute value corresponding to the preset watermark addition field as the watermark addition data dataVal.
[0069] S270. Determine the watermark addition position of the data watermark string in the watermark addition data according to the hash value of the identification information.
[0070] Determine the watermark addition position of the data watermark string in the watermark addition data according to the hash value of the identification information and the length of the watermark addition data dataVal.
[0071] In an optional implementation manner, determining the watermark addition position of the data watermark string in the watermark addition data according to the hash value of the identification information may be to perform a modulo operation on the length of the watermark addition data by the hash value of the identification information to obtain a watermark addition position reference character in the watermark addition data; use the next character after the watermark addition position reference character as the watermark addition position of the data watermark string in the watermark addition data.
[0072] Perform a modulo operation on the length size(dataVal) of the watermark addition data by the hash value secretHash of the identification information to obtain the position position of the watermark addition position reference character in the watermark addition data, position = secretHash % size(dataVal), and use the next character after the watermark addition position reference character as the watermark addition position of the data watermark string in the watermark addition data. For example, if the watermark addition position reference character is in the 5th position in the watermark addition data, then embed the data watermark string after the 5th character, that is, add the data watermark string between the 5th character and the 6th character.
[0073] S280. Add the data watermark string to the watermark addition data in the data to be processed according to the watermark addition position to obtain the target data corresponding to the data to be processed, and send the target data to the client of the requesting user.
[0074] The target data corresponding to the data to be processed includes the watermark data with the data watermark string added and other data that does not need to add a watermark. Send the watermark data with the data watermark string added and other data that does not need to add a watermark to the client of the requesting user together.
[0075] It can be understood that since the user identification information of each requesting user is different, the watermarks and watermark addition positions calculated for the same watermark addition data are different. As shown in Table 2, for the requesting users Zhang San and Li Si, the watermark addition data is "No. 3 Building, 55 Road, Area 1, City A", and both the data watermark string and the watermark addition position are different. "|" represents the watermark addition position.
[0076] Table 2
[0077] Request User Data Watermark String Watermark Adding Location Zhang San U+200B U+200C U+200D No. 3 Building, 5|5, Road 3, District 1, City A Li Si U+200C U+200D U+200E No. 3 Building, 55, Road 3, District 1, City A
[0078] The technical solution of this embodiment is as follows: by responding to a data acquisition request, determining a requesting user and data to be processed associated with the data acquisition request; determining the user identification information of the requesting user and calculating the identification information hash value of the user identification information; performing a modulo operation on the number of rows of a preset zero-width character table using the identification information hash value, taking the result of the modulo operation as the starting zero-width character index value, and starting from the starting zero-width character index value, continuously extracting zero-width character index values in the preset zero-width character table until the number of extracted zero-width character index values meets a preset character quantity; using the extracted zero-width character index values as the target zero-width character index values that make up the data watermark string; splicing the target zero-width characters corresponding to the target zero-width character index values in the preset zero-width character table according to the order of the target zero-width character index values to obtain a data watermark string; where the preset zero-width character table includes at least two types of zero-width characters and the zero-width character index values corresponding to the zero-width characters; determining the watermark addition data corresponding to the preset watermark addition field associated with the data to be processed; determining the watermark addition position of the data watermark string in the watermark addition data according to the identification information hash value; adding the data watermark string to the watermark addition data in the data to be processed according to the watermark addition position to obtain the target data corresponding to the data to be processed, and sending the target data to the client of the requesting user. The technical solution of the embodiment of the present invention solves the problem that the current data watermark has a poor data protection effect. It can determine and add a watermark string composed of zero-width characters to the data to be processed through the user identification and the preset zero-width character table, configure different watermarks and addition positions for different requesting users, so as to be able to determine the leaked user through data traceability in the future, improve the concealment and applicability of the data watermark, and improve the data protection effect.
[0079] Figure 4 This is a flowchart of a data processing method provided by an embodiment of the present invention. This embodiment and the data processing method in the above embodiment belong to the same inventive concept, and further describes the process of determining the data leakage user. This method can be executed by a data processing device, and the device can be implemented in a software and / or hardware manner and integrated in a computer device with application development functions.
[0080] AsFigure 4 As shown in the figure, the data processing method of this embodiment includes the following steps:
[0081] S310. In response to a data acquisition request, determine the requesting user associated with the data acquisition request and the data to be processed.
[0082] S320. Determine the user identification information of the requesting user, and calculate the hash value of the identification information.
[0083] S330. According to the hash value of the identification information and the preset zero-width character table, determine the target zero-width character index value that constitutes the data watermark string, and determine the data watermark string in the preset zero-width character table according to the target zero-width character index value.
[0084] Among them, the preset zero-width character table includes at least two zero-width characters and the zero-width character index values corresponding to the zero-width characters.
[0085] S340. According to the preset watermark addition field associated with the data to be processed, determine the watermark addition data corresponding to the preset watermark addition field in the data to be processed.
[0086] S350. According to the hash value of the identification information, determine the watermark addition position of the data watermark string in the watermark addition data.
[0087] S360. Add the data watermark string to the watermark addition data in the data to be processed according to the watermark addition position to obtain the target data corresponding to the data to be processed, and send the target data to the client of the requesting user.
[0088] As Figure 5 shown, in a specific data processing example, three different users, Zhang San, Li Si, and Wang Wu, request outpatient information data. The preset watermark addition field is the address, and a watermark is embedded in each address of all outpatient information data shared from the platform. As Figure 4 shown in the figure, there are 4 addresses, and watermark addition is performed for each of the 4 addresses. Each square represents a character, and the black square represents that a watermark is inserted after the character. It can be seen that for the address data of the same outpatient information data, different requesting users have different watermark addition positions.
[0089] Determine the data watermark string according to the secret corresponding to each user in the user information table and the watermark addition data. As Figure 5 shown in the figure, the secret corresponding to Zhang San is uuid1, and the watermark addition data is the address data. According to uuid1, the address data, and the preset zero-width character table, determine the data watermark string and the watermark addition position of the watermark addition data in the target data sent to Zhang San.
[0090] S370. When the leaked data is obtained, determine the watermark addition data to be compared in the leaked data.
[0091] As Figure 6 shown, when the leaked data is obtained, according to the table information associated with the leaked data, Figure 6 which is the outpatient information table in this case, determine the preset watermark addition field, and use the address data corresponding to the preset watermark addition field, that is, the address field, as the watermark addition data to be compared.
[0092] S380. Determine the watermark data string to be removed in each piece of watermark addition data to be compared, and remove the watermark data string from the watermark addition data to be compared to obtain the watermark-free data corresponding to each piece of watermark addition data to be compared.
[0093] To determine the watermark data string to be removed in each piece of watermark addition data to be compared, it can be to determine the string with zero-width characters at both the beginning and the end as the watermark data string to be removed, and remove the watermark data string from the watermark addition data to be compared to obtain the watermark-free data corresponding to each piece of watermark addition data to be compared.
[0094] S390. Determine the identification information of the user to be analyzed associated with the leaked data, and based on the identification information of the user to be analyzed and the watermark-free data, determine the first watermark addition position and the first data watermark string corresponding to each piece of watermark-free data associated with the user to be analyzed.
[0095] For example, according to the data request record, obtain all the requesting users of the leaked data as the users to be analyzed associated with the leaked data, and determine the identification information of the users to be analyzed in the user information table.
[0096] For each user to be analyzed, according to the data processing method described in steps S310 - S360, based on the identification information of the user to be analyzed and the watermark-free data, calculate the first watermark addition position and the first data watermark string corresponding to each piece of watermark-free data for each user to be analyzed.
[0097] S3100. Compare the first watermark addition position and the first data watermark string of each piece of watermark-free data associated with the user to be analyzed with the second watermark addition position and the second data watermark string in the watermark addition data to be compared corresponding to the watermark-free data to obtain a comparison result.
[0098] Determine the second watermark addition position and the second data watermark string in the watermark addition data to be compared. The second data watermark string is also the watermark-removing data string in step S380, and the second watermark addition position is the position of the watermark-removing data string. Compare the first watermark addition position and the first data watermark string of each watermark-free data associated with the user to be analyzed with the second watermark addition position and the second data watermark string in the watermark addition data to be compared corresponding to the watermark-free data, and obtain a comparison result. Specifically, for the same watermark addition data to be compared, when the watermark addition position and the data watermark string are exactly the same, it is considered that the watermark addition data to be compared matches the first watermark addition position and the first data watermark string of the corresponding watermark-free data of the requesting user. Determine the comparison result according to the comparison of all watermark addition data to be compared.
[0099] In an alternative embodiment, comparing the first watermark addition position and the first data watermark string of each watermark-free data associated with the user to be analyzed with the second watermark addition position and the second data watermark string in the watermark addition data to be compared corresponding to the watermark-free data to obtain a comparison result includes the following steps A1 - A4:
[0100] Step A1: Compare the first watermark addition position and the first data watermark string of each watermark-free data associated with the user to be analyzed with the second watermark addition position and the second data watermark string in the watermark addition data to be compared corresponding to the watermark-free data.
[0101] Step A2: For any watermark-free data associated with the user to be analyzed, when the first watermark addition position is the same as the second watermark addition position and the first data watermark string is also the same as the second data watermark string, determine the watermark-free data as matching data.
[0102] Exemplarily, as Figure 5 shown, for the user to be analyzed, Zhang San, the first watermark addition position in the first watermark-free data is after the 8th character, while in the leaked data shown above Figure 6 the second watermark addition position in the first watermark addition data to be compared is also after the 8th character. Therefore, the first watermark addition position is the same as the second watermark addition position. If the first data watermark string of Zhang San's first watermark-free data is also the same as the second data watermark string of the first watermark addition data to be compared, then determine the first watermark-free data as matching data, that is, the first watermark-free data and the corresponding first watermark addition data to be compared match.
[0103] Step A3: Determine the first number of data of the matching data associated with the user to be analyzed and the second number of data of the watermark-free data.
[0104] Figure 5 Among the 4 watermark-free data of Zhang San, all 4 watermark-adding data to be compared with the leaked data shown by the watermark-free data above are matched. Therefore, the first number of data of the matching data is 4, and the second number of data of the watermark-free data is also 4. Figure 6 Above
[0105] Step A4: Determine the proportion value of the matching data in all the watermark-free data according to the first number of data and the second number of data, and use the proportion value as the comparison result.
[0106] For the user Zhang San to be analyzed, the proportion value of the matching data in all the watermark-free data is 4 / 4 = 1, that is, the proportion value is 100%.
[0107] S3110: Determine the user to be analyzed associated with the first watermark-adding position with the highest matching degree and the first data watermark string in the comparison result as the data leakage user.
[0108] For Figure 6 the leaked data shown above, the comparison result of Zhang San is 100%, the comparison result of Li Si is 25%, and the comparison result of Wang Wu is 0%. Therefore, the user to be analyzed with the highest matching degree is Zhang San, and Zhang San is determined as the data leakage user.
[0109] As Figure 6 shown in the leaked data below, in some cases, some of the leaked data will be modified, and the modified data may affect the traceability. Since the data platform calculates the matching proportion and determines the data leakage user according to the proportion, as long as not all the data is modified, it is still possible to calculate which user has the greatest possibility. In Figure 6 the leaked data shown below, the 3rd watermark-adding data to be compared is modified. Although the matching degree of Wang Wu is 75%, less than 100%, the possibility of Wang Wu is still the greatest. Therefore, Wang Wu is determined as the data leakage user.
[0110] In a specific data processing example, the leaked data analysis interface is as Figure 7 shown. By importing the leaked data and selecting the preset watermark-adding fields in the input box, traversing the leaked data, determining the attribute values corresponding to the preset watermark-adding fields as the watermark-adding data to be compared, and according to the matching situation of the watermark-adding data to be compared, the data leakage user is determined as User 1. The preset watermark-adding fields can be multiple. When there are multiple preset watermark-adding fields, the attribute values corresponding to all the preset watermark-adding fields are used as the watermark-adding data to be compared.
[0111] It can be understood that the structuring of the library table data results in a short text length for each data value, further limiting the space for adding watermark information. This embodiment utilizes the invisible feature of zero-width characters, making it difficult for the naked eye to detect the data with added watermarks during the data flow process. At the same time, by taking advantage of the characteristics of multi-column and multi-row correspondence in structured data, the traceability is matched by calculating the matching degree, and a reasonable algorithm with high screening performance is designed to improve the accuracy of data leakage traceability.
[0112] The technical solution of this embodiment determines a requesting user and data to be processed associated with a data acquisition request in response to the data acquisition request; determines the user identification information of the requesting user, and calculates the identification information hash value of the user identification information; determines, according to the identification information hash value and a preset zero-width character table, the target zero-width character index value that composes the data watermark string, and determines the data watermark string in the preset zero-width character table according to the target zero-width character index value; wherein the preset zero-width character table includes at least two zero-width characters and the zero-width character index values corresponding to the zero-width characters; determines, according to a preset watermark addition field associated with the data to be processed, the watermark addition data corresponding to the preset watermark addition field in the data to be processed; determines, according to the identification information hash value, the watermark addition position of the data watermark string in the watermark addition data; adds the data watermark string to the watermark addition data in the data to be processed according to the watermark addition position to obtain the target data corresponding to the data to be processed, and sends the target data to the client of the requesting user; in the case of obtaining leaked data, determines the watermark addition data to be compared in the leaked data; determines the watermark data string to be removed in each watermark addition data to be compared, and removes the watermark data string to be removed from the watermark addition data to be compared to obtain the watermark-free data corresponding to each watermark addition data to be compared; determines the to-be-analyzed user identification information of the to-be-analyzed user associated with the leaked data, and determines, according to the to-be-analyzed user identification information and the watermark-free data, the first watermark addition position and the first data watermark string corresponding to each watermark-free data associated with the to-be-analyzed user; compares the first watermark addition position and the first data watermark string of each watermark-free data associated with the to-be-analyzed user with the second watermark addition position and the second data watermark string in the watermark addition data to be compared corresponding to the watermark-free data to obtain a comparison result; compares the first watermark addition position and the first data watermark string of each watermark-free data associated with the to-be-analyzed user with the second watermark addition position and the second data watermark string in the watermark addition data to be compared corresponding to the watermark-free data to obtain a comparison result. The technical solution of the embodiment of the present invention solves the problem that the data protection effect of the current data watermark is poor. It can determine and add a watermark string composed of zero-width characters to the data to be processed through the user identification and the preset zero-width character table, improve the concealment and applicability of the data watermark, improve the data protection effect, and perform leakage data analysis according to different requesting users by configuring different watermarks and addition positions, effectively determine the leaking users, and further improve the traceability of data leakage.
[0113] Figure 8 FIG. is a schematic structural diagram of a data processing device provided by an embodiment of the present invention. This embodiment is applicable to the scenario of data processing. The data processing device can be implemented in a software and / or hardware manner and integrated into a computer terminal device with application development functions.
[0114] AsFigure 8 As shown in the figure, the data processing device includes: a data determination module 410, a hash value calculation module 420, a data watermark string determination module 430, a watermark addition data determination module 440, a watermark addition position determination module 450, and a configuration parameter sending module 460.
[0115] Among them, the data determination module 410 is configured to determine a requesting user associated with the data acquisition request and the data to be processed in response to the data acquisition request; the hash value calculation module 420 is configured to determine the user identification information of the requesting user and calculate the identification information hash value of the user identification information; the data watermark string determination module 430 is configured to determine, according to the identification information hash value and a preset zero-width character table, a target zero-width character index value that constitutes the data watermark string, and determine the data watermark string in the preset zero-width character table according to the target zero-width character index value, where the preset zero-width character table includes at least two zero-width characters and the zero-width character index values corresponding to the zero-width characters; the watermark addition data determination module 440 is configured to determine, according to a preset watermark addition field associated with the data to be processed, watermark addition data corresponding to the preset watermark addition field in the data to be processed; the watermark addition position determination module 450 is configured to determine, according to the identification information hash value, the watermark addition position of the data watermark string in the watermark addition data; the target data determination module 460 is configured to add the data watermark string to the watermark addition data in the data to be processed according to the watermark addition position to obtain target data corresponding to the data to be processed, and send the target data to the client of the requesting user.
[0116] The technical solution of this embodiment determines, in response to a data acquisition request, a requesting user associated with the data acquisition request and the data to be processed; determines the user identification information of the requesting user and calculates the identification information hash value of the user identification information; determines, according to the identification information hash value and a preset zero-width character table, a target zero-width character index value that constitutes the data watermark string, and determines the data watermark string in the preset zero-width character table according to the target zero-width character index value, where the preset zero-width character table includes at least two zero-width characters and the zero-width character index values corresponding to the zero-width characters; determines, according to a preset watermark addition field associated with the data to be processed, watermark addition data corresponding to the preset watermark addition field in the data to be processed; determines, according to the identification information hash value, the watermark addition position of the data watermark string in the watermark addition data; adds the data watermark string to the watermark addition data in the data to be processed according to the watermark addition position to obtain target data corresponding to the data to be processed, and sends the target data to the client of the requesting user. The technical solution of the embodiment of the present invention solves the problem that the current data watermark has a poor data protection effect, and can determine and add a watermark string composed of zero-width characters to the data to be processed through the user identification and the preset zero-width character table, improving the concealment and applicability of the data watermark and enhancing the data protection effect.
[0117] In an alternative embodiment, the data watermark string determination module 430 is specifically configured to:
[0118] Perform a modulo operation on the number of rows of a preset zero-width character table using the hash value of the identification information, and use the result of the modulo operation as the starting zero-width character index value. Starting from the starting zero-width character index value, continuously extract zero-width character index values in the preset zero-width character table until the number of extracted zero-width character index values meets the preset number of characters; use the extracted zero-width character index values as the target zero-width character index values that make up the data watermark string.
[0119] In an alternative embodiment, the data watermark string determination module 430 is further configured to:
[0120] According to the order of the target zero-width character index values, splice the target zero-width characters corresponding to the target zero-width character index values in the preset zero-width character table to obtain the data watermark string.
[0121] In an alternative embodiment, the watermark addition position determination module 450 is further configured to:
[0122] Perform a modulo operation on the length of the watermark addition data using the hash value of the identification information to obtain a watermark addition position reference character in the watermark addition data; use the character after the watermark addition position reference character as the watermark addition position of the data watermark string in the watermark addition data.
[0123] In an alternative embodiment, the apparatus further includes:
[0124] A leaked user determination module, configured to, when obtaining leaked data, determine the watermark addition data to be compared in the leaked data; determine the watermark data string to be removed in each watermark addition data to be compared, and remove the watermark data string to be removed from the watermark addition data to be compared to obtain the watermark-free data corresponding to each watermark addition data to be compared; determine the identification information of the user to be analyzed associated with the leaked data, and determine the first watermark addition position and the first data watermark string corresponding to each watermark-free data associated with the user to be analyzed according to the identification information of the user to be analyzed and the watermark-free data; compare the first watermark addition position and the first data watermark string of each watermark-free data associated with the user to be analyzed with the second watermark addition position and the second data watermark string in the watermark addition data to be compared corresponding to the watermark-free data to obtain a comparison result; determine the user to be analyzed associated with the first watermark addition position and the first data watermark string with the highest matching degree in the comparison result as the data-leaked user.
[0125] In an alternative embodiment, the leaked user determination module is further configured to:
[0126] Compare the first watermark addition position and the first data watermark string of each watermark-free data associated with the user to be analyzed with the second watermark addition position and the second data watermark string in the watermark addition data to be compared corresponding to the watermark-free data; for any watermark-free data associated with the user to be analyzed, when the first watermark addition position is the same as the second watermark addition position and the first data watermark string is also the same as the second data watermark string, determine that the watermark-free data is matching data; determine the first number of data of the matching data associated with the user to be analyzed, and the second number of data of the watermark-free data; determine the proportion value of the matching data in all the watermark-free data according to the first number of data and the second number of data, and use the proportion value as the comparison result.
[0127] The data processing device provided by the embodiments of the present invention can execute the data processing method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method.
[0128] Figure 9 It is a schematic structural diagram of a computer device provided by an embodiment of the present invention. Figure 9 It shows a block diagram of an exemplary computer device 12 suitable for implementing the embodiments of the present invention. Figure 9 The displayed computer device 12 is only an example, and should not bring any limitation to the functions and usage scope of the embodiments of the present invention. The computer device 12 can be any terminal device with computing power, such as intelligent controllers, servers, mobile phones and other terminal devices.
[0129] Such as Figure 9 As shown, the computer device 12 is presented in the form of a general-purpose computing device. The components of the computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processing unit 16).
[0130] The bus 18 represents one or more of several types of bus structures, including a memory bus or a memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any bus structure in a variety of bus structures. For example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
[0131] The computer device 12 typically includes a variety of computer system readable media. These media can be any available media accessible by the computer device 12, including volatile and non-volatile media, removable and non-removable media.
[0132] System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The computer device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 may be used for reading and writing on non-removable, non-volatile magnetic media ( Figure 9 not shown, typically referred to as a "hard disk drive"). Although Figure 9 not shown in, a disk drive for reading and writing on removable non-volatile disks (such as a "floppy disk"), and an optical disk drive for reading and writing on removable non-volatile optical disks (such as CD-ROM, DVD-ROM or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 through one or more data media interfaces. System memory 28 may include at least one program product having a set (such as at least one) of program modules configured to perform the functions of the embodiments of the present invention.
[0133] A program / utilities 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include the implementation of a network environment. Program modules 42 generally perform the functions and / or methods in the embodiments described in the present invention.
[0134] The computer device 12 may also communicate with one or more external devices 14 (such as a keyboard, a pointing device, a display 24, etc.), and may also communicate with one or more devices that enable a user to interact with the computer device 12, and / or communicate with any device that enables the computer device 12 to communicate with one or more other computing devices (such as a network card, a modem, etc.). Such communication may be carried out through the input / output (I / O) interface 22. Also, the computer device 12 may communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through the network adapter 20. As shown in the figure, the network adapter 20 communicates with other modules of the computer device 12 through the bus 18. It should be understood that although Figure 9 not shown in, other hardware and / or software modules may be used in conjunction with the computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0135] The processing unit 16 executes various functional applications and data processing by running the programs stored in the system memory 28, for example, implementing the data processing method provided in the embodiments of the present invention. The method includes:
[0136] In response to a data acquisition request, determining the requesting user associated with the data acquisition request and the data to be processed;
[0137] Determining the user identification information of the requesting user and calculating the hash value of the identification information;
[0138] According to the hash value of the identification information and a preset zero-width character table, determining the target zero-width character index value that composes the data watermark string, and determining the data watermark string in the preset zero-width character table according to the target zero-width character index value. The preset zero-width character table includes at least two zero-width characters and the zero-width character index values corresponding to the zero-width characters;
[0139] According to the preset watermark addition field associated with the data to be processed, determining the watermark addition data corresponding to the preset watermark addition field in the data to be processed;
[0140] According to the hash value of the identification information, determining the watermark addition position of the data watermark string in the watermark addition data;
[0141] Adding the data watermark string to the watermark addition data in the data to be processed according to the watermark addition position to obtain the target data corresponding to the data to be processed, and sending the target data to the client of the requesting user.
[0142] The embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, it implements the data processing method provided in any embodiment of the present invention. The method includes:
[0143] In response to a data acquisition request, determining the requesting user associated with the data acquisition request and the data to be processed;
[0144] Determining the user identification information of the requesting user and calculating the hash value of the identification information;
[0145] According to the hash value of the identification information and a preset zero-width character table, determining the target zero-width character index value that composes the data watermark string, and determining the data watermark string in the preset zero-width character table according to the target zero-width character index value. The preset zero-width character table includes at least two zero-width characters and the zero-width character index values corresponding to the zero-width characters;
[0146] According to the preset watermark addition field associated with the data to be processed, determining the watermark addition data corresponding to the preset watermark addition field in the data to be processed;
[0147] Determine the watermark addition position of the data watermark string in the watermark addition data according to the hash value of the identification information;
[0148] Add the data watermark string to the watermark addition data in the data to be processed according to the watermark addition position to obtain the target data corresponding to the data to be processed, and send the target data to the client of the requesting user.
[0149] The computer storage medium of the embodiments of the present invention may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive list) of the computer-readable storage medium include: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0150] The computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries the computer-readable program code. Such a propagated data signal may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0151] The program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0152] Computer program code for performing the operations of the present invention can be written in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, Python, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0153] Embodiments of the present invention also provide a computer program product, including a computer program which, when executed by a processor, implements the data processing method provided in any embodiment of the present application.
[0154] In the process of implementing the computer program product, computer program code for performing the operations of the present invention can be written in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, Python, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network - including a local area network (LAN) or a wide area network (WAN) - or can be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0155] Those of ordinary skill in the art should understand that the above-mentioned modules or steps of the present invention can be implemented by a general-purpose computing device. They can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Optionally, they can be implemented with program code executable by a computer device, so that they can be stored in a storage device and executed by the computing device, or they can be separately fabricated into individual integrated circuit modules, or multiple modules or steps among them can be fabricated into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0156] Note that the above is only the preferred embodiment of the present invention and the technical principles applied. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, re-adjustments, and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments. Without departing from the concept of the present invention, more other equivalent embodiments can be included, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A data processing method, characterized in that: include: In response to a data acquisition request, determining a requesting user and data to be processed associated with the data acquisition request; Determine the user identification information of the requesting user, and calculate the identification information hash value of the user identification information; Determine a target zero-width character index value constituting a data watermark character string according to the identification information hash value and a preset zero-width character table, and determine the data watermark character string in the preset zero-width character table according to the target zero-width character index value, wherein the preset zero-width character table includes at least two zero-width characters and zero-width character index values corresponding to the zero-width characters; According to the preset watermark adding field associated with the data to be processed, determining the watermark adding data corresponding to the preset watermark adding field in the data to be processed; Determine the watermark adding position of the data watermark character string in the watermark adding data according to the identification information hash value; The data watermark character string is added to the watermark-added data in the data to be processed according to the watermark-added position, target data corresponding to the data to be processed is obtained, and the target data is sent to the client of the requesting user.
2. The method according to claim 1, characterized in that The step of determining the target zero-width character index value constituting the data watermark character string according to the identification information hash value and the preset zero-width character table includes: Performing a modulo operation on the number of rows of a preset zero-width character table through the hash value of the identification information, taking the result of the modulo operation as a starting zero-width character index value, and continuously extracting zero-width character index values from the preset zero-width character table starting from the starting zero-width character index value until the number of the extracted zero-width character index values meets the preset number of characters; The retrieved zero-width character index value is used as the target zero-width character index value constituting the data watermark character string.
3. The method according to claim 1, characterized in that Determining the data watermark string in the preset zero-width character table according to the target zero-width character index value comprises: According to the order of the target zero-width character index values, the target zero-width characters corresponding to the target zero-width character index values in the preset zero-width character table are concatenated to obtain the data watermark character string.
4. The method according to claim 1, characterized in that: The step of determining the watermark adding position of the data watermark character string in the watermark adding data according to the identification information hash value includes: Performing a modulo operation on the length of the watermark adding data by using the hash value of the identification information to obtain a watermark adding position reference character in the watermark adding data; The latter digit of the watermark adding position reference character is used as the watermark adding position of the data watermark character string in the watermark adding data.
5. The method according to claim 1, characterized in that The method also includes: When leaked data is obtained, determine the watermarked data to be compared in the leaked data; Determine a watermark data string to be removed in each of the watermarked data to be compared, and remove the watermark data string to be removed from the watermarked data to be compared, so as to obtain watermark-free data corresponding to each of the watermarked data to be compared; Determine the user identification information of the user to be analyzed associated with the leaked data, and determine the first watermark adding position and the first data watermark string corresponding to each piece of the watermark-free data associated with the user to be analyzed according to the user identification information and the watermark-free data; Compare the first watermark adding position and the first data watermark string of each piece of the watermark-free data associated with the to-be-analyzed user with the second watermark adding position and the second data watermark string in the watermark adding data to be compared corresponding to the watermark-free data, to obtain a comparison result; The user to be analyzed that is associated with the first watermark adding position and the first data watermark character string with the highest matching degree in the comparison result is determined as a data leakage user.
6. The method according to claim 5, characterized in that The first watermark adding position and the first data watermark string of each piece of the watermark-free data associated with the to-be-analyzed user are compared with the second watermark adding position and the second data watermark string in the watermark adding data to be compared corresponding to the watermark-free data to obtain a comparison result, including: Compare the first watermark adding position and the first data watermark string of each piece of the watermark-free data associated with the to-be-analyzed user with the second watermark adding position and the second data watermark string in the watermark adding data to be compared corresponding to the watermark-free data; For any piece of the watermark-free data associated with the user to be analyzed, when the first watermark adding position is the same as the second watermark adding position, and the first data watermark string is the same as the second data watermark string, the watermark-free data is determined to be matching data; Determine a first number of pieces of matching data associated with the user to be analyzed, and a second number of pieces of watermark-free data; The ratio of the matching data to the total watermark-free data is determined according to the first number of data pieces and the second number of data pieces, and the ratio is used as a comparison result.
7. A data processing device, characterized in that: include: A data determination module, configured to determine, in response to a data acquisition request, a requesting user and data to be processed associated with the data acquisition request; A hash value calculation module, used to determine the user identification information of the requesting user and calculate the identification information hash value of the user identification information; a data watermark character string determination module, configured to determine a target zero-width character index value constituting a data watermark character string according to the identification information hash value and a preset zero-width character table, and determine the data watermark character string in the preset zero-width character table according to the target zero-width character index value, wherein the preset zero-width character table includes at least two types of zero-width characters and zero-width character index values corresponding to the zero-width characters; A watermark adding data determining module, used to determine the watermark adding data corresponding to the preset watermark adding field in the data to be processed according to the preset watermark adding field associated with the data to be processed; A watermark adding position determining module, used to determine the watermark adding position of the data watermark character string in the watermark adding data according to the identification information hash value; The target data determination module is used to add the data watermark string to the watermark adding data in the data to be processed according to the watermark adding position, obtain the target data corresponding to the data to be processed, and send the target data to the client of the requesting user.
8. A computer device, characterized in that: The computer device comprises: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the data processing method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the data processing method as described in any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the computer program implements the data processing method according to any one of claims 1 to 6.
Citation Information
Cited By
Database watermark processing method and device, storage medium and readable storage medium
CN120974465A