Watermark-based data processing method, electronic equipment and storage medium

By generating and storing unique watermarks in the data and performing associated storage, the problem of difficulty in realizing full-link traceability in the prior art is solved, and high-security data traceability and processing are achieved.

CN120074885APending Publication Date: 2025-05-30CHINA UNITED NETWORK COMM GRP CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510131331.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-05
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

It is difficult for the existing technology to realize full-link traceability of data watermarks, especially when data flows between multi-level responsible entities. The existing methods can only record single-time circulation information, making it difficult to trace the complete transmission process of data.

Method used

By obtaining the current watermark addition information of the data to be transmitted, a unique watermark identification to be added is generated, and added to the data for correlation storage, thereby realizing the traceability of each transmission link of the data.

Benefits of technology

The full-link traceability of data is realized, the security of data processing is improved, the difficulty of data traceability in scenarios of large-scale data distribution is reduced, and the watermark is prevented from being tampered with by third parties.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120074885A_ABST
    Figure CN120074885A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a watermark-based data processing method, electronic equipment and a storage medium. The method comprises the following steps: acquiring to-be-transmitted data, and determining current watermark filling information of the to-be-transmitted data; wherein the watermark filling information comprises a sender and a receiver of the to-be-transmitted data; generating a to-be-added watermark identifier of the to-be-transmitted data; adding the to-be-added watermark identifier to the to-be-transmitted data to obtain the added data, and performing associative storage on the to-be-added watermark identifier and the current watermark filling information; and transmitting the added data from the sender to the receiver. According to the method, the effect of performing full-link traceability on the to-be-transmitted file according to the watermark is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data security, and in particular, to a data processing method, an electronic device, and a storage medium based on watermarking. Background Art

[0002] Data watermark is information embedded in data by the data owner for copyright tracing in scenarios such as data sharing, exchange, and distribution. By embedding a unique watermark identifier in the data, when data leakage occurs, the data owner can extract the watermark information in the data according to the corresponding extraction algorithm of the watermark embedder to complete the tasks of tracing and accountability, and ownership verification when data is leaked or misused.

[0003] Currently, in the actual application process of data watermarking, the watermarked data usually flows among multiple levels of responsible entities, and the existing watermark tracing methods usually only record the single transfer information of the data. Therefore, how to process data for watermarking to achieve full-link tracing of data has become an urgent problem to be solved. Summary of the Invention

[0004] Embodiments of this application provide a data processing method, an electronic device, and a storage medium based on watermarking to achieve the effect of full-link tracing of data.

[0005] In a first aspect, embodiments of this application provide a data processing method based on watermarking, including:

[0006] Obtain the data to be transmitted, and determine the current watermarking information of the data to be transmitted; wherein, the watermarking information includes the sender and the receiver of the data to be transmitted;

[0007] Generate a watermark identifier to be added to the data to be transmitted;

[0008] Add the watermark identifier to be added to the data to be transmitted to obtain the data after addition, and associatively store the watermark identifier to be added and the current watermarking information;

[0009] Transmit the data after addition from the sender to the receiver.

[0010] In a possible implementation, adding the watermark identifier to be added to the data to be transmitted to obtain the data after addition includes:

[0011] If it is determined that there is a historical watermark identifier in the data to be transmitted, replace the historical watermark identifier with the watermark identifier to be added to obtain the data after addition; wherein, the historical watermark identifier is the watermark identifier already added to the transmitted data.

[0012] In a possible implementation, the watermark addition information includes the watermark addition time; associatively storing the watermark to be added identifier and the current watermark addition information includes:

[0013] If it is determined that the data to be transmitted corresponds to a historical watermark identifier, obtain the watermark addition information corresponding to the historical watermark identifier as the historical addition information;

[0014] Determine the previous watermark identifier of the watermark to be added identifier from the historical watermark identifiers according to the watermark addition time in the historical addition information;

[0015] Associatively store the watermark to be added identifier, the previous watermark identifier, and the current watermark addition information.

[0016] In a possible implementation, it further includes:

[0017] Obtain the recipient from the historical addition information corresponding to the previous watermark identifier;

[0018] If the recipient in the historical addition information corresponding to the previous watermark identifier is not the sender of the current watermark addition information, determine that the data to be transmitted has been leaked, and generate a first prompt message; wherein, the first prompt message is used to remind the user to perform data traceability.

[0019] In a possible implementation, it further includes:

[0020] In response to a data traceability request for the data to be transmitted, determine the historical watermark identifier of the data to be transmitted;

[0021] Obtain the watermark addition information corresponding to the historical watermark identifier as the historical addition information;

[0022] Sort the historical watermark identifiers according to the historical addition information;

[0023] According to the sorting result, connect the senders corresponding to adjacent historical watermark identifiers to obtain the traceability result of the data to be transmitted; wherein, the traceability result represents the transmission process of the data to be transmitted.

[0024] In a possible implementation, it further includes:

[0025] According to the sorting result, determine the recipient corresponding to the previous historical watermark identifier and the sender corresponding to the next historical watermark identifier among adjacent historical watermark identifiers;

[0026] If the recipient corresponding to the previous historical watermark identifier is different from the sender corresponding to the next historical watermark identifier, determine that there is a transmission anomaly in the data to be transmitted at the recipient corresponding to the previous historical watermark identifier.

[0027] In a possible implementation, the watermarking information includes a data hash value, which represents the integrity of the data to be transmitted; and also includes:

[0028] Obtain the data hash value from the historical annotation information corresponding to the previous watermark identifier;

[0029] If the data hash value in the historical annotation information corresponding to the previous watermark identifier is not the data hash value in the current watermark annotation information, it is determined that the data to be transmitted has been tampered with, and a second prompt information is generated; wherein the second prompt information is used to remind the user to view the data.

[0030] In a possible implementation, generating a watermark identifier to be added to data to be transmitted includes:

[0031] Based on a preset reversible watermark algorithm, a watermark identifier to be added to the data to be transmitted is generated.

[0032] In a second aspect, an embodiment of the present application provides a watermark-based data processing device, comprising:

[0033] An acquisition unit, used to acquire the data to be transmitted and determine the current watermarking information of the data to be transmitted; wherein the watermarking information includes the sender and receiver of the data to be transmitted;

[0034] A generating unit, used for generating a watermark mark to be added to the data to be transmitted;

[0035] An adding unit, used for adding the watermark identifier to be added to the data to be transmitted, obtaining the added data, and associating and storing the watermark identifier to be added and the current watermarking information;

[0036] The transmission unit is used to transmit the added data from the sender to the receiver.

[0037] In a third aspect, an embodiment of the present application provides a watermark-based data processing device, including: a memory, a processor;

[0038] The memory stores computer-executable instructions;

[0039] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the above first aspect and / or various possible implementations of the first aspect.

[0040] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the first aspect above and / or various possible implementations of the first aspect.

[0041] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the above first aspect and / or various possible implementation methods of the first aspect.

[0042] The watermark-based data processing method, electronic device and storage medium provided in the embodiments of the present application obtain the data to be transmitted, determine the current watermark annotation information of the data to be transmitted, generate the watermark identifier to be added corresponding to the data to be transmitted, and add the watermark identifier to be added to the data to be transmitted to obtain the added data. The current watermark identifier to be added is associated and stored with the current watermark annotation information. After the associated storage, the added data is transmitted from the sender to the receiver. By generating a unique watermark identifier to be added for each transmission of the data to be transmitted, and associating and storing the watermark annotation information of the data to be transmitted with the corresponding watermark identifier, the traceability of each data transmission link can be achieved, and the watermark annotation information is not stored in the watermark identifier, which can effectively prevent the watermark from being tampered with by a third party, improve the security of data processing, and effectively reduce the difficulty of data traceability in the scenario of large-scale data distribution. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0044] Figure 1 A schematic diagram of a flow chart of a watermark-based data processing method provided in an embodiment of the present disclosure;

[0045] Figure 2 A schematic diagram of an exemplary data flow link provided for an embodiment of the present disclosure;

[0046] Figure 3 A schematic diagram of a flow chart of a watermark-based data processing method provided in an embodiment of the present disclosure;

[0047] Figure 4 A structural block diagram of a watermark-based data processing device provided in an embodiment of the present disclosure;

[0048] Figure 5 A structural block diagram of a watermark-based data processing device provided in an embodiment of the present disclosure;

[0049] Figure 6 A structural block diagram of an electronic device provided in an embodiment of the present disclosure;

[0050] Figure 7 It is a block diagram of an electronic device according to an exemplary embodiment.

[0051] Through the above-mentioned accompanying drawings, specific embodiments of the present application have been shown, and will be described in more detail hereinafter. These drawings and the written description are not intended to limit the scope of the concept of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by reference to specific embodiments. Detailed Embodiments

[0052] Here, exemplary embodiments will be described in detail, and examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0053] First, the terms involved in the present application are explained:

[0054] Circulation: It refers to the process of data transfer between modules in the same system or different systems. The circulation of data has a starting point, usually sent by the data provider, and after passing through the intermediate nodes or the processing of the recipient (such as approval) in the modules of the same system or different systems, it finally reaches an end point (such as archiving and warehousing), thus forming a complete workflow.

[0055] Application Programming Interface: Application Programming Interface (API for short) is a set of predefined functions, aiming to provide the ability for applications and developers to access a set of routines based on a certain software or hardware, without the need to access the source code or understand the details of the internal working mechanism.

[0056] Software Development Kit: A Software Development Kit is a collection of software tools, library files, documents, and sample codes, aiming to help developers more easily develop, test, deploy, and manage applications on a specific platform.

[0057] Reversible Watermarking Algorithm: A reversible watermarking algorithm is an algorithm that embeds watermark information in digital images or videos and can fully restore the original images or videos.

[0058] Data Hash Value: It is the process of mapping data of any length into a binary value of a fixed length through a hash algorithm. The hash value is the unique and compact numerical representation of the data, often referred to as the "digital fingerprint" of the data.

[0059] Data watermark and data watermark traceability technology are mainly used to solve the traceability problem when data is leaked. It is a technology used to track data usage and trace the source of data leakage in data sharing, exchange and distribution scenarios. By embedding specific confidential watermark information in the data, when data is leaked, the embedded watermark information can be extracted to complete the data traceability, track the source of data leakage, and help enterprises or organizations complete traceability and accountability tasks.

[0060] At present, when watermarking is performed on data, a watermark containing traceability-related records or information is usually embedded directly into the data, and usually can only contain information about the single flow of data. Since the watermark of the traceability-related records or information is directly embedded in the data, when a leak occurs, the watermark may be reversely modified by a third party, making it difficult for the copyright holder of the data to correctly trace the source of the data leak, making it difficult to trace the data. In addition, since the watermark information usually only contains information about the single flow of data, it is difficult to trace the source and hold accountable throughout the entire chain, and it is difficult to clarify the responsibilities of each process when data is leaked.

[0061] The watermark-based data processing method, electronic device and storage medium provided in this application are intended to solve the above technical problems in the prior art.

[0062] The specific application scenario of the present application is the data sending or receiving of an enterprise or organization. It is used to process the acquired data to be transmitted, determine the watermark annotation information corresponding to the data to be transmitted, and the unique watermark identifier to be added, add the watermark identifier to be added to the data to be transmitted, and store the watermark identifier to be added in association with the watermark annotation information, and transmit the added data from the sender to the receiver, thereby completing the record of the flow process of the data to be transmitted, so as to complete the full-link traceability of the data to be transmitted.

[0063] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0064] Figure 1 A schematic flow chart of a watermark-based data processing method provided in an embodiment of the present disclosure, which method can be executed by a watermark-based data processing device.

[0065] like Figure 1 As shown, the method comprises the following steps:

[0066] S101, obtaining data to be transmitted, and determining current watermarking information of the data to be transmitted; wherein the watermarking information includes a sender and a receiver of the data to be transmitted.

[0067] Exemplarily, obtain the data to be transmitted. For example, the data to be transmitted can be obtained through system upload, application programming interface, software development kit request, etc. The data to be transmitted is the data that needs to be transmitted from the sender to the receiver, and the data to be transmitted can be structured data or unstructured data. The sender and the receiver can be preset data interaction parties.

[0068] The watermark addition information includes at least one of the information such as the sender, receiver, sending time, data category, sensitivity level, data hash value, usage scenario, etc. of the current transfer of the data to be transmitted. Among them, the sender represents the provider of the data to be transmitted. For example, the sender is user 0; the receiver represents the user of the data to be transmitted. For example, the receiver is user 1-1; the sending time represents the time when the data to be transmitted is sent from the sender; the data category represents the file format of the data to be transmitted. For example, the pdf format; the sensitivity level represents the preset sensitivity level of the data to be transmitted. For example, the sensitivity level is high sensitivity; the data hash value represents the data characteristics of the data to be transmitted; the usage scenario represents the application scenario of the data to be transmitted. For example, the usage scenario is the internal audit scenario.

[0069] Determine the current watermark addition information of the data to be transmitted. For example, if the watermark addition information is information such as the sender, receiver, sending time, and usage scenario, directly obtain the preset watermark addition information of the data to be transmitted; if the watermark addition information is information such as the data category, sensitivity level, data hash value, etc., determine the corresponding watermark addition information according to the data to be transmitted.

[0070] Figure 2 This is a schematic diagram of an exemplary data transfer link provided by an embodiment of the present disclosure. As Figure 2 shown, in the process of the first data transfer, the data is sent from user 0 to n users such as user 1-1 to user 1-n. In the process of the first data transfer, user 0 is the sender of this transfer process, and n users such as user 1-1 to user 1-n are the receivers of this transfer process; in the process of the second transfer, the data is sent from user 1-n to n users such as user 2-1 to user 2-n. In the process of the second data transfer, user 1-n is the sender of this transfer process, and n users such as user 2-1 to user 2-n are the receivers in this transfer process; and so on. In the process of the mth transfer, user (m-1)-n is the sender of this transfer process, and n users such as user m-1 to m-n are the receivers of this transfer process. Among them, the sender or the receiver can be a responsible entity such as an enterprise, an organization, an institution, and the copyright owner of the data to be transmitted.

[0071] S102. Generate a watermark identifier to be added to the data to be transmitted.

[0072] Exemplarily, a unique watermark identifier to be added corresponding to the data to be transmitted is generated. For example, a watermark generation algorithm can be preset in advance. The preset watermark generation algorithm can generate the corresponding watermark identifier to be added according to the current watermarking information corresponding to the data to be transmitted, or directly generate the watermark identifier to be added. The watermark identifier to be added is unique, and the watermark identifier to be added corresponds one-to-one with the current watermarking information and also corresponds to the data to be transmitted. The watermark identifier to be added can be a unique string.

[0073] In this embodiment, generating the watermark identifier to be added for the data to be transmitted includes: generating the watermark identifier to be added for the data to be transmitted based on a preset reversible watermark algorithm.

[0074] Specifically, a reversible watermark algorithm can be preset in advance. The preset reversible watermark algorithm is used to generate the watermark identifier to be added, and this watermark identifier to be added is a reversible watermark identifier, that is, this watermark identifier to be added can be reversely edited or removed without damaging the data to be processed.

[0075] Based on the preset reversible watermark algorithm, generate the watermark identifier to be added corresponding to the data to be transmitted. For example, if the data to be transmitted is transmitted from user 0 to user 1-1, generate the watermark identifier to be added corresponding to this data to be transmitted, and determine the watermark identifier symbol as That is, in the first data transfer process, it is the watermark identifier to be added corresponding to the file to be transmitted transmitted to user 1-1; if the data to be transmitted is transmitted from user 0 to user 1-n, generate the watermark identifier to be added corresponding to this data to be transmitted, and determine the watermark identifier symbol as That is, in the first data transfer process, it is the watermark identifier to be added corresponding to the data to be transmitted transmitted to user 1-n.

[0076] In this embodiment, no specific limitation is imposed on the specific type of reversible algorithm.

[0077] The beneficial effect of such a setting is that by using a reversible watermark algorithm, the watermark identifier to be added subsequently added to the data to be transmitted can be edited, making the use of the watermark identifier more flexible, and ensuring that in subsequent multiple transfer processes, there will not be a large number of different watermark identifiers in the data to be transmitted, improving the efficiency of subsequent traceability.

[0078] S103. Add the watermark identifier to be added to the data to be transmitted to obtain the added data, and store the watermark identifier to be added and the current watermarking information in an associated manner.

[0079] Exemplarily, a watermark adding rule is preset. The preset watermark adding rule is used to indicate adding a watermark to be added to the data to be transmitted. The preset watermark adding rule includes at least one of the adding forms of the watermark to be added identification, such as the visibility or invisibility of the watermark identification, the adding position of the watermark identification, and the adding quantity of the watermark identification. Among them, visibility or invisibility means whether the watermark identification is visible in the data to be transmitted; the adding position means the distribution position of the watermark identification to be added in the file to be transmitted. For example, the adding position can be the entire text of the data to be transmitted; the adding quantity means the quantity of the watermark identification to be added to the file to be transmitted. For example, the adding quantity can be 100. According to the preset watermark adding rule, the watermark identification to be added is added to the data to be transmitted to obtain the data to be transmitted containing the watermark identification to be added, that is, the added data.

[0080] The watermark identification to be added is stored in association with the current watermark adding information. For example, a watermark information database can be preset in advance. The preset watermark information database is used to store the watermark adding information corresponding to the watermark identification, and the watermark identification and the watermark adding information are in one-to-one correspondence. The watermark identification to be added of the data to be transmitted is stored in association with the corresponding current watermark adding information and stored in the preset database.

[0081] In one example, the watermark identification to be added can also be stored in association with the current watermark adding information in the blockchain.

[0082] In this embodiment, the position for storing the watermark identification to be added in association with the current watermark adding information is not specifically limited.

[0083] S104. Transmit the added data from the sender to the receiver.

[0084] Exemplarily, the added data with the watermark identification to be added is transmitted from the sender of the current transfer to the receiver of the current transfer. Among them, in one data transfer process, the same sender can correspond to multiple receivers, that is, the sender needs to transmit the same file to be transmitted to multiple receivers. According to the different receivers, different watermarks to be added are generated, and the obtained added data is also different. The added data is sent to the corresponding receiver. For example, in the first data transfer process, user 0 is the sender of this transfer process, and n users such as user 1-1 to user 1-n are the receivers of this transfer process. Then, n unique watermark identifications to be added are generated respectively, and each watermark to be added corresponds to its respective receiver. The added data with the corresponding watermark identification is sent to the corresponding receiver. For example, if the receiver is user 1-1, the added data with the watermark identification to be added is sent from user 0 to user 1-1; if the receiver is 1-n, the added data with the watermark identification to be added The added data is sent by user 0 to users 1-n.

[0085] The watermark-based data processing method, electronic device and storage medium provided in the embodiments of the present application obtain the data to be transmitted, determine the current watermark annotation information of the data to be transmitted, generate the watermark identifier to be added corresponding to the data to be transmitted, and add the watermark identifier to be added to the data to be transmitted to obtain the added data. The current watermark identifier to be added is associated and stored with the current watermark annotation information. After the associated storage, the added data is transmitted from the sender to the receiver. By generating a unique watermark identifier to be added for each transmission of the data to be transmitted, and associating and storing the watermark annotation information of the data to be transmitted with the corresponding watermark identifier, the traceability of each data transmission link can be achieved, and the watermark annotation information is not stored in the watermark identifier, which can effectively prevent the watermark from being tampered with by a third party, improve the security of data processing, and effectively reduce the difficulty of data traceability in the scenario of large-scale data distribution.

[0086] Figure 3 A schematic flow chart of a watermark-based data processing method provided in an embodiment of the present disclosure.

[0087] In this embodiment, the watermark identifier to be added is added to the data to be transmitted to obtain the added data, including: if it is determined that there is a historical watermark identifier in the data to be transmitted, the historical watermark identifier is replaced with the watermark identifier to be added to obtain the added data; wherein the historical watermark identifier is a watermark identifier that has been added to the transmission data.

[0088] like Figure 3 As shown, the method comprises the following steps:

[0089] S301, obtaining data to be transmitted, and determining current watermarking information of the data to be transmitted; wherein the watermarking information includes a sender and a receiver of the data to be transmitted.

[0090] Exemplarily, this step may refer to the above-mentioned step S101 and will not be described in detail.

[0091] S302: Generate a watermark identifier to be added to the data to be transmitted.

[0092] Exemplarily, this step may refer to the above-mentioned step S102 and will not be described in detail.

[0093] S303: If it is determined that there is a historical watermark identifier in the data to be transmitted, the historical watermark identifier is replaced with the watermark identifier to be added to obtain the added data.

[0094] Exemplarily, the data to be transmitted is scanned to detect whether there is a historical watermark identifier in the data to be transmitted. If a historical watermark identifier is detected in the data to be transmitted, the historical watermark identifier is reversely processed according to a preset reversible watermark algorithm, the historical watermark identifier is replaced with a watermark identifier to be added, and the data to be transmitted after the replacement of the watermark identifier is determined as the data after addition.

[0095] In one example, the historical watermark identifier detected in the data to be transmitted can also be deleted to obtain the data after deletion, and the data after deletion is the data to be transmitted that does not contain a watermark identifier. According to the preset watermark adding rule, the watermark identifier to be added is added to the data after deletion to obtain the data after addition.

[0096] The beneficial effect of such a setting is that since watermarks are added to the data to be transmitted in each transfer process, there are a large number of different types of watermark identifiers in the data to be transmitted. According to the reversible watermark algorithm, replacing the historical watermark identifier can make the watermark to be added the only watermark in the data after addition, solve the problem of the existence of a large number of different types of watermark identifiers in the data to be transmitted, improve the readability of the data to be transmitted, reduce the difficulty of tracing back according to the watermark identifier, reduce the calculation amount of searching for the time information corresponding to the watermark identifier, and improve the efficiency of data tracing back.

[0097] S304. The watermark identifier to be added and the current watermark adding information are stored in an associated manner.

[0098] Exemplarily, this step can refer to the above step S102 and will not be elaborated here.

[0099] In this embodiment, the watermark adding information includes the watermark adding time; storing the watermark identifier to be added and the current watermark adding information in an associated manner includes: if it is determined that the data to be transmitted corresponds to a historical watermark identifier, obtaining the watermark adding information corresponding to the historical watermark identifier as the historical adding information; determining the previous watermark identifier of the watermark identifier to be added from the historical watermark identifier according to the watermark adding time in the historical adding information; storing the watermark identifier to be added, the previous watermark identifier, and the current watermark adding information in an associated manner.

[0100] Specifically, the watermarking information also includes the time of adding the watermark, which is the time when the watermark to be added is added to the data to be transmitted or the time when the watermark to be added replaces the historical watermark in the data to be transmitted. A standard time server is pre-set, and the standard time server is used to synchronize the time in devices in different geographical locations and servers, and to correct the time. When adding the watermark to be added to the data to be transmitted, or replacing the historical watermark, it is necessary to obtain the time in the preset standard time server as the time of adding the watermark, so as to eliminate the confusion of the time of adding the watermark caused by the asynchronization of the time of devices in different regions or servers.

[0101] If it is determined that there is at least one historical watermark identifier in the data to be transmitted, for any historical watermark identifier, based on the historical watermark identifier, search for watermark annotation information stored in association with the historical watermark identifier in a preset database, and determine the watermark annotation information as the historical annotation information corresponding to the historical watermark identifier.

[0102] The current time information is obtained, and according to the current time information and the watermark adding time in the historical annotation information, the historical annotation information corresponding to the watermark adding time closest to the current time is determined from the historical annotation information, and the historical watermark identifier corresponding to the historical annotation information is determined as the previous watermark identifier of the watermark identifier to be added, and the watermark identifier to be added, the previous watermark identifier, and the current watermark annotation information are associated and stored.

[0103] If there is no historical watermark identifier in the data to be transmitted, that is, the data to be transmitted is the first data flow, then the previous watermark identifier of the data to be transmitted is determined to be an empty position, the symbol of the empty position is determined to be NULL, and the watermark identifier to be added, the previous watermark identifier, and the current watermark annotation information are associated and stored.

[0104] The beneficial effect of such a setting is that if the data to be transmitted is not circulated for the first time, and there is a historical watermark identifier in the data to be transmitted, the watermark identifier to be added, the previous watermark identifier, and the current watermark annotation information of the data to be transmitted are stored in association, so that when tracing the source later, the data to be transmitted can be traced according to the watermark identifier to be added and the previous watermark identifier. Moreover, since the previous watermark identifier is stored in association instead of the historical annotation information corresponding to the previous watermark identifier, the storage efficiency is improved and the storage occupancy is reduced.

[0105] In this embodiment, it also includes: obtaining the recipient from the historical annotation information corresponding to the previous watermark identifier; if the recipient in the historical annotation information corresponding to the previous watermark identifier is not the sender of the current watermark annotation information, it is determined that the data to be transmitted has been leaked, and a first prompt information is generated; wherein the first prompt information is used to remind the user to trace the data.

[0106] Specifically, after determining the previous watermark identifier of the data to be watermarked from the historical watermark identifiers, obtain the recipient of the data to be transmitted during the last transfer from the historical annotation information corresponding to the previous watermark identifier, and verify the recipient in the historical annotation information corresponding to the previous watermark identifier with the sender in the current watermark annotation information. If the recipient in the historical annotation information corresponding to the previous watermark identifier is not the sender of the current watermark annotation information, it is determined that the data to be transmitted has been leaked, and a first prompt message is generated to remind the user to perform data traceability. Herein, the first prompt message is used to remind the user to perform data traceability. The first prompt message can be an alarm message in text content, and the user can be a staff member responsible for data security.

[0107] The beneficial effect of such a setting is that during each transfer of the data to be transmitted, it is checked whether the data to be transmitted has been leaked. If it is found that the data to be transmitted has been leaked, the staff is promptly reminded to perform traceability, so as to promptly track and determine the responsibility for the leakage source, prevent the continuous leakage of the data to be transmitted, and prevent the expansion of the leakage scope.

[0108] In this embodiment, it further includes: in response to a data traceability request for the data to be transmitted, determining the historical watermark identifier of the data to be transmitted; obtaining the watermark annotation information corresponding to the historical watermark identifier, which is the historical annotation information; sorting the historical watermark identifiers according to the historical annotation information; connecting the senders corresponding to adjacent historical watermark identifiers according to the sorting result to obtain the traceability result of the data to be transmitted; wherein, the traceability result represents the transmission process of the data to be transmitted.

[0109] Specifically, in response to a data traceability request for the data to be transmitted, determine the historical watermark identifier of the data to be transmitted. The data traceability request is an instruction to perform traceability on the data to be transmitted when it is found that the data to be transmitted has been leaked. The data traceability request includes the discoverer, discovery method, discovery time, etc. of the data leakage. The data traceability request can also be the first prompt message.

[0110] After receiving a data traceability request for the data to be transmitted, determine the previous watermark identifier of the data to be transmitted, and based on the previous watermark identifier of the data to be transmitted, search in the preset database for the previous watermark identifier corresponding to the previous watermark identifier associated with the storage of the previous watermark identifier, and successively obtain the previous watermark identifier of each watermark identifier until the watermark identifier is NULL, that is, from the position of the current data to be transmitted in the data flow link, successively find the position where the data to be transmitted first undergoes data flow, and determine all the watermark identifiers from the previous watermark identifier of the data to be transmitted to NULL as the historical watermark identifiers of the data to be transmitted. That is to say, obtain all the watermark identifiers on the entire data flow link from the current data flow position of the data to be transmitted to the time when the data to be transmitted is first transmitted, and determine these watermark identifiers as the historical watermark identifiers of the data to be transmitted.

[0111] For any historical watermark identifier, obtain the watermark annotation information of the historical watermark identifier as the historical annotation information, and based on the historical annotation information of the historical watermark identifier, determine the previous watermark identifier and the next watermark identifier of the historical watermark identifier. According to all the historical watermark identifiers and the previous watermark identifier and the next watermark identifier of the historical watermark identifier, sort the historical watermark identifiers to obtain the sorting result of the historical watermark identifiers.

[0112] According to the sorting result, if the sender and the receiver of adjacent watermarks are the same, then connect the senders in the historical annotation information corresponding to the adjacent historical watermark identifiers, and determine the connection result, the watermark annotation information corresponding to each transfer process, and the data traceability request as the traceability result of the data to be transmitted, as the evidence for taking measures against data leakage or illegal use.

[0113] In one example, the sorting of the historical watermark identifiers can also be that for any historical watermark identifier, obtain the watermark annotation information corresponding to the historical watermark identifier as the historical annotation information corresponding to the historical watermark identifier, and sort the historical watermark identifiers in chronological order according to the watermark addition time in the historical annotation information.

[0114] In one example, it is also possible to perform traceability processing on any data with the watermark identifier to be added added.

[0115] In one example, at any stage outside the process of data flow, if it is found that data leakage or suspected data leakage has occurred in the data to be transmitted, the discoverer will determine the discoverer, the discovery method, the discovery time, etc., and the data to be transmitted with data leakage or suspected data leakage as the data traceability request, and perform traceability processing on the data to be transmitted.

[0116] The beneficial effect of such a setting is that when the data with the watermark to be added or the data to be transmitted leaks or is suspected of leaking, the full-link traceability of the data with the watermark to be added or the data to be transmitted that has leaked or has a leakage risk can be quickly carried out, all records of the data flow can be obtained, and the sender can be connected to form the data flow track, so as to quickly find the leakage location of the data, and according to the full-link traceability results, hold the responsible parties for the illegal operations or management personnel in this link accountable.

[0117] In this embodiment, it further includes: according to the sorting result, determining the recipient corresponding to the previous historical watermark identifier and the sender corresponding to the next historical watermark identifier among adjacent historical watermark identifiers; if the recipient corresponding to the previous historical watermark identifier is different from the sender corresponding to the next historical watermark identifier, it is determined that there is a transmission anomaly of the data to be transmitted at the recipient corresponding to the previous historical watermark identifier.

[0118] Specifically, according to the sorting result of the watermark identifiers, determine the recipient corresponding to the previous historical watermark identifier and the sender corresponding to the next historical watermark identifier among adjacent historical watermark identifiers. If the recipient corresponding to the previous historical watermark identifier is different from the sender corresponding to the next historical watermark identifier, it is determined that there is a transmission anomaly of the data to be transmitted at the recipient corresponding to the previous historical watermark identifier.

[0119] In one example, the standard sender and standard recipient of the transfer link can be preset, that is, in this working scenario, the transfer link of the data to be transmitted is preset, and the data to be transmitted needs to be transferred according to the preset transfer link. If the sender corresponding to the historical watermark identifier is different from the preset standard sender, or the recipient corresponding to the historical watermark identifier is different from the preset standard recipient, it is determined that there is a transmission anomaly of the data to be transmitted at the sender or recipient corresponding to this historical watermark identifier. For example, if the preset transfer link is from user A to user B and then from user B to user C, and the transfer process corresponding to the historical watermark identifier is from user A to user C or from user A to user B, then there is a transmission anomaly at user A.

[0120] In one example, the standard data category of the data to be transmitted is preset, and the data category corresponding to the previous historical watermark identifier and the data category corresponding to the next historical watermark identifier among the historical watermark identifiers are determined. If the data category corresponding to the previous historical watermark identifier is the same as the preset standard data category, but the data category corresponding to the next historical watermark identifier is different from the preset standard data category, it is determined that there is a transmission anomaly of the data to be transmitted at the recipient corresponding to the previous historical watermark identifier.

[0121] In one example, for data to be transmitted that is suspected of being leaked or has already been leaked, or data with a watermark identifier to be added, the recipient in the historical watermark annotation information of the historical watermark identifier in the data, where the time since the watermark was added is closest to the current time, is determined as the first responsible person. If, during the traceability process, it is found that there are abnormal transmission phenomena in the data to be transmitted that is suspected of being leaked or has already been leaked, or data with a watermark identifier to be added, the recipient in the historical watermark identifier at the abnormal transmission point can be determined as the second responsible person.

[0122] The beneficial effect of such a setting is that during the traceability process, the abnormal transmission of the data to be transmitted is checked, which facilitates the positioning of the illegal transmission of the data to be transmitted, improves the security of the data transfer process of the data to be transmitted, and makes the traceability process of the data to be transmitted more efficient.

[0123] In this embodiment, the watermark annotation information includes a data hash value, and the data hash value represents the integrity of the data to be transmitted; it also includes: obtaining the data hash value from the historical annotation information corresponding to the previous watermark identifier; if the data hash value in the historical annotation information corresponding to the previous watermark identifier is not the data hash value in the current watermark annotation information, it is determined that the data to be transmitted has been tampered with, and a second prompt message is generated; where the second prompt message is used to remind the user to view the data.

[0124] Specifically, the watermark annotation information includes a data hash value, and the data hash value represents the integrity of the data to be transmitted. The data hash value is obtained from the historical annotation information corresponding to the previous watermark identifier. If the data hash value in the historical annotation information corresponding to the previous watermark identifier is not the data hash value in the current watermark annotation information, that is, the data characteristics of the current data to be transmitted are different from the data annotation information recorded in the preset database, it is determined that the data to be transmitted has been tampered with, and a second prompt message is generated. Among them, the second prompt message is used to remind the user to view the data and determine whether the data is a compliant modification.

[0125] The beneficial effect of such a setting is that during the traceability process, the data is verified for tampering based on the data hash value to determine whether the data to be transmitted is complete, which can improve the security of the data to be transmitted and make the traceability process more credible.

[0126] S305. Transmit the added data from the sender to the recipient.

[0127] Exemplarily, this step can refer to the above step S104 and will not be elaborated here.

[0128] The watermark-based data processing method, electronic device and storage medium provided in the embodiments of the present application obtain the data to be transmitted, determine the current watermark annotation information of the data to be transmitted, generate the watermark identifier to be added corresponding to the data to be transmitted, and add the watermark identifier to be added to the data to be transmitted to obtain the added data. The current watermark identifier to be added is associated and stored with the current watermark annotation information. After the associated storage, the added data is transmitted from the sender to the receiver. By generating a unique watermark identifier to be added for each transmission of the data to be transmitted, and associating and storing the watermark annotation information of the data to be transmitted with the corresponding watermark identifier, the traceability of each data transmission link can be achieved, and the watermark annotation information is not stored in the watermark identifier, which can effectively prevent the watermark from being tampered with by a third party, improve the security of data processing, and effectively reduce the difficulty of data traceability in the scenario of large-scale data distribution.

[0129] Figure 4 A structural block diagram of a watermark-based data processing device provided in an embodiment of the present disclosure.

[0130] For the sake of convenience, only the parts related to the embodiments of the present disclosure are shown. Figure 4 The watermark-based data processing device 400 includes: an acquisition unit 401, a generation unit 402, an adding unit 403 and a transmission unit 404.

[0131] The acquisition unit 401 is used to acquire the data to be transmitted and determine the current watermarking information of the data to be transmitted; wherein the watermarking information includes the sender and receiver of the data to be transmitted;

[0132] A generating unit 402, configured to generate a watermark identifier to be added to the data to be transmitted;

[0133] The adding unit 403 is used to add the watermark identifier to be added to the data to be transmitted, obtain the added data, and associate and store the watermark identifier to be added with the current watermarking information;

[0134] The transmission unit 404 is used to transmit the added data from the sender to the receiver.

[0135] Figure 5 A structural block diagram of a watermark-based data processing device provided in an embodiment of the present disclosure.

[0136] exist Figure 4 Based on the embodiment shown, Figure 5 As shown, the adding unit 403 includes a historical watermark module 4031 and an associated storage module 4032 .

[0137] The historical watermark module 4031 is used to replace the historical watermark identifier with the watermark identifier to be added to obtain the added data if it is determined that the historical watermark identifier exists in the data to be transmitted; wherein the historical watermark identifier is the watermark identifier that has been added to the transmission data;

[0138] The associated storage module 4032 is used to associate and store the watermark identifier to be added with the current watermarking information.

[0139] In one example, the associated storage module 4032 includes:

[0140] A first acquisition submodule is used to acquire watermark annotation information corresponding to the historical watermark identifier if it is determined that the data to be transmitted corresponds to the historical watermark identifier, which is the historical annotation information;

[0141] A determination submodule, used to determine the previous watermark identifier of the watermark identifier to be added from the historical watermark identifiers according to the watermark adding time in the historical annotation information;

[0142] The storage submodule is used to associate and store the watermark identifier to be added, the previous watermark identifier, and the current watermarking information.

[0143] In one example, the associated storage module 4032 further includes:

[0144] The second acquisition submodule is used to obtain the recipient from the historical annotation information corresponding to the previous watermark identifier;

[0145] The first prompt submodule determines that the data to be transmitted has been leaked and generates a first prompt message if the recipient in the historical annotation information corresponding to the previous watermark identifier is not the sender of the current watermark annotation information; wherein the first prompt message is used to remind the user to trace the data.

[0146] In one example, the associated storage module 4032 further includes:

[0147] A response submodule, used to respond to a data tracing request for the data to be transmitted and determine a historical watermark identifier of the data to be transmitted;

[0148] The third acquisition submodule is used to obtain the watermark annotation information corresponding to the historical watermark identifier, which is the historical annotation information;

[0149] A sorting submodule is used to sort the historical watermark identifiers according to the watermark adding time in the historical annotation information;

[0150] The connection submodule is used to connect the senders corresponding to the adjacent historical watermark identifiers according to the sorting result to obtain the tracing result of the data to be transmitted; wherein the tracing result represents the transmission process of the data to be transmitted.

[0151] In one example, the associated storage module 4032 further includes:

[0152] An adjacent sub-module, configured to determine, according to the sorting result, the recipient corresponding to the previous historical watermark identifier and the sender corresponding to the next historical watermark identifier among the adjacent historical watermark identifiers;

[0153] An anomaly detection sub-module, configured to determine that there is a transmission anomaly of the data to be transmitted at the recipient corresponding to the previous historical watermark identifier if the recipient corresponding to the previous historical watermark identifier is different from the sender corresponding to the next historical watermark identifier.

[0154] In one example, the associated storage module 4032 further includes:

[0155] A fourth acquisition sub-module, configured to acquire a data hash value from the historical annotation information corresponding to the previous watermark identifier;

[0156] A second prompt sub-module, configured to determine that the data to be transmitted has been tampered with and generate a second prompt message if the data hash value in the historical annotation information corresponding to the previous watermark identifier is not the data hash value in the current watermark annotation information; wherein, the second prompt message is used to remind the user to view the data.

[0157] In one example, the generation unit 402 includes:

[0158] A generation module: configured to generate a watermark identifier to be added to the data to be transmitted based on a preset reversible watermark algorithm.

[0159] Figure 6 This is a block diagram of the structure of an electronic device provided by an embodiment of the present disclosure. The electronic device may be a terminal device or a server. As Figure 6 shown, the electronic device 600 includes: at least one processor 602; and a memory 601 communicatively connected to the at least one processor 602; wherein, the memory stores instructions executable by the at least one processor 602, and the instructions are executed by the at least one processor 602 so that the at least one processor 602 can execute the watermark-based data processing method of the present disclosure.

[0160] The electronic device 600 further includes a receiver 603 and a transmitter 604. The receiver 603 is configured to receive instructions and data sent by other devices, and the transmitter 604 is configured to send instructions and data to external devices.

[0161] According to an embodiment of the present disclosure, the present disclosure further provides an electronic device, a readable storage medium, and a computer program product.

[0162] According to an embodiment of the present disclosure, the present disclosure further provides a computer program product, which includes: a computer program stored in a readable storage medium. At least one processor of the electronic device can read the computer program from the readable storage medium, and the execution of the computer program by the at least one processor causes the electronic device to execute the solution provided in any of the above embodiments.

[0163] Figure 7 FIG. 4 is a block diagram of an electronic device shown according to an exemplary embodiment. The device can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0164] Device 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 711, an input / output (I / O) interface 712, a sensor component 714, and a communication component 716.

[0165] The processing component 702 generally controls the overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above methods. In addition, the processing component 702 may include one or more modules to facilitate the interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate the interaction between the multimedia component 708 and the processing component 702.

[0166] The memory 704 is configured to store various types of data to support the operation of the device 700. Examples of such data include instructions for any application or method operating on the device 700, contact data, phone book data, messages, pictures, videos, etc. The memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disk.

[0167] The power component 706 provides power to various components of the device 700. The power component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 700.

[0168] The multimedia component 708 includes a screen that provides an output interface between the device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can sense not only the boundaries of the touch or swipe actions, but also detect the duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 708 includes a front camera and / or a rear camera. When the device 700 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.

[0169] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC) that is configured to receive external audio signals when the device 700 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 704 or transmitted via the communication component 716. In some embodiments, the audio component 710 further includes a speaker for outputting audio signals.

[0170] The I / O interface 712 provides an interface between the processing component 702 and a peripheral interface module, and the peripheral interface module can be a keyboard, a click wheel, buttons, etc. These buttons can include, but are not limited to: a home button, a volume button, a power button, and a lock button.

[0171] The sensor component 714 includes one or more sensors for providing a status assessment of various aspects of the device 700. For example, the sensor component 714 can detect the on / off state of the device 700, the relative positioning of components, such as the display and keypad of the device 700. The sensor component 714 can also detect a change in the position of the device 700 or a component of the device 700, the presence or absence of user contact with the device 700, the orientation or acceleration / deceleration of the device 700, and the temperature change of the device 700. The sensor component 714 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component 714 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 714 can further include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0172] The communication component 716 is configured to facilitate communication, either wired or wirelessly, between the device 700 and other devices. The device 700 may access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0173] In an exemplary embodiment, the device 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above method.

[0174] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as the memory 704 including instructions, is also provided. The above instructions may be executed by the processor 720 of the device 700 to complete the above method. For example, the non-transitory computer-readable storage medium may be a ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0175] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of the terminal device, enables the terminal device to execute the above data processing method based on watermarking.

[0176] It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should know that this application is not limited by the described action sequence, because according to this application, certain steps may be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily essential to this application.

[0177] Further, it should be noted that although the steps in the flowchart are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear description in this document, there is no strict order limit for the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowchart may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or sub-steps or stages of other steps.

[0178] It should be understood that the above device embodiments are illustrative only, and the devices of the present application can also be implemented in other ways. For example, the division of units / modules in the above embodiments is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.

[0179] In addition, unless otherwise specified, in each embodiment of the present application, each functional unit / module can be integrated in one unit / module, or each unit / module can exist physically alone, or two or more units / modules can be integrated together. The above integrated unit / module can be implemented in the form of hardware or in the form of a software program module.

[0180] When the integrated unit / module is implemented in the form of hardware, the hardware can be a digital circuit, an analog circuit, etc. The physical implementation of the hardware structure includes but is not limited to transistors, memristors, etc. Unless otherwise specified, the processor can be any suitable hardware processor, such as CPU, GPU, FPGA, DSP, and ASIC, etc. Unless otherwise specified, the storage unit can be any suitable magnetic storage medium or magneto-optical storage medium, such as resistive random access memory RRAM (Resistive Random Access Memory), dynamic random access memory DRAM (Dynamic Random Access Memory), static random access memory SRAM (Static Random-Access Memory), enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), high-bandwidth memory HBM (High-Bandwidth Memory), hybrid memory cube HMC (Hybrid Memory Cube), etc.

[0181] When the integrated unit / module is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods in various embodiments of this application. And the aforementioned memory includes: various media such as USB flash drives, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), mobile hard disks, magnetic disks, or optical discs that can store program codes.

[0182] In the above embodiments, the descriptions of each embodiment have their own emphases. For the parts not detailed in a certain embodiment, reference can be made to the relevant descriptions of other embodiments. The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as within the scope described in this specification.

[0183] Those skilled in the art will readily think of other implementation manners of this application after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptive changes of this application, which follow the general principles of this application and include the common general knowledge or conventional technical means in the technical field not disclosed in this application. The specification and the embodiments are only regarded as exemplary, and the true scope and spirit of this application are pointed out by the following claims.

[0184] It should be understood that this application is not limited to the exact structure already described and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is only limited by the appended claims.

Claims

1. A data processing method based on watermark, characterized in that: include: Acquire the data to be transmitted, and determine the current watermarking information of the data to be transmitted; wherein the watermarking information includes the sender and receiver of the data to be transmitted; Generate a watermark identifier to be added to the data to be transmitted; Adding the watermark identifier to be added to the data to be transmitted to obtain the added data, and storing the watermark identifier to be added and the current watermarking information in association; The added data is transmitted from the sender to the receiver.

2. The method according to claim 1, characterized in that Adding the watermark identifier to be added to the data to be transmitted to obtain the added data includes: If it is determined that there is a historical watermark identifier in the data to be transmitted, the historical watermark identifier is replaced with the watermark identifier to be added to obtain the added data; wherein the historical watermark identifier is a watermark identifier that has been added to the transmission data.

3. The method according to claim 2, characterized in that The watermarking information includes the watermarking time; the watermark identifier to be added and the current watermarking information are stored in association, including: If it is determined that the data to be transmitted corresponds to a historical watermark identifier, then obtaining watermark annotation information corresponding to the historical watermark identifier as the historical annotation information; According to the watermark adding time in the historical annotation information, determining the previous watermark identifier of the watermark identifier to be added from the historical watermark identifiers; The watermark identifier to be added, the previous watermark identifier, and the current watermarking information are stored in association.

4. The method according to claim 3, characterized in that Also includes: Obtaining a recipient from the historical annotation information corresponding to the previous watermark identifier; If the receiver in the historical annotation information corresponding to the previous watermark identifier is not the sender of the current watermark annotation information, it is determined that the data to be transmitted has been leaked, and a first prompt information is generated; wherein the first prompt information is used to remind the user to trace the data.

5. The method according to claim 4, characterized in that Also includes: In response to a data tracing request for the data to be transmitted, determining a historical watermark identifier of the data to be transmitted; Acquire watermark annotation information corresponding to the historical watermark identifier, which is historical annotation information; Sorting the historical watermark identifiers according to the historical annotation information; According to the sorting result, the senders corresponding to the adjacent historical watermark identifiers are connected to obtain the tracing result of the data to be transmitted; wherein the tracing result represents the transmission process of the data to be transmitted.

6. The method according to claim 5, characterized in that Also includes: According to the sorting result, determining, among adjacent historical watermark identifiers, a receiver corresponding to a previous historical watermark identifier and a sender corresponding to a subsequent historical watermark identifier; If the receiver corresponding to the previous historical watermark identifier is different from the sender corresponding to the next historical watermark identifier, it is determined that there is a transmission anomaly in the data to be transmitted at the receiver corresponding to the previous historical watermark identifier.

7. The method according to claim 4, characterized in that The watermarking information includes a data hash value, which represents the integrity of the data to be transmitted; and also includes: Obtaining a data hash value from the historical annotation information corresponding to the previous watermark identifier; If the data hash value in the historical annotation information corresponding to the previous watermark identifier is not the data hash value in the current watermark annotation information, it is determined that the data to be transmitted has been tampered with, and a second prompt information is generated; wherein the second prompt information is used to remind the user to view the data.

8. The method according to any one of claims 1 to 7, characterized in that Generating a watermark identifier to be added to the data to be transmitted, including: Based on a preset reversible watermark algorithm, a watermark identifier to be added to the data to be transmitted is generated.

9. A data processing device based on watermark, characterized in that: include: An acquisition unit, used to acquire the data to be transmitted and determine the current watermarking information of the data to be transmitted; wherein the watermarking information includes the sender and receiver of the data to be transmitted; A generating unit, used for generating a watermark identifier to be added to the data to be transmitted; An adding unit, used for adding the watermark identifier to be added to the data to be transmitted, obtaining the added data, and storing the watermark identifier to be added and the current watermarking information in association; A transmission unit is used to transmit the added data from the sender to the receiver.

10. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 8 when executed by a processor.

12. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 8 when being executed by a processor.