A data anti-counterfeiting and traceability system based on digital watermark
By introducing the verification and recovery processing module into the digital watermark system, the problem of lack of verification after embedding the watermark is solved, real-time verification and recovery of the watermark information is realized, the accuracy and efficiency of data traceability are ensured, and the watermark quality in the existing technology is solved. Judgment of difficult problems.
Patent Information
- Application Number
- CN202410783817.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-06-18
AI Technical Summary
Existing digital watermarking technology lacks a verification process for the watermark information after embedding the watermark, resulting in the inability to judge the quality of the embedded watermark and affecting the efficiency and accuracy of data traceability.
A data anti-counterfeiting and traceability system based on digital watermark is designed, including data collection, anti-counterfeiting processing, verification, data management, traceability and recovery processing modules. By extracting the watermark information and comparing it with the target information, the consistency score coefficient is calculated, and Judge whether the anti-counterfeiting process is qualified or unqualified based on the scoring coefficient, and verify the watermark information in real time to ensure the accuracy of data traceability.
It realizes real-time verification and recovery processing of watermark information, ensures the accuracy and efficiency of data traceability, prevents watermark damage from affecting subsequent data traceability, and improves the judgment of anti-counterfeiting processing quality and the efficiency of watermark recovery.
Smart Images

Figure CN118364439B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data anti-counterfeiting and tracing, and in particular to a data anti-counterfeiting and tracing system based on digital watermark. Background Art
[0002] In today's big data era, data from various industries and places are transmitted, and how to protect data content with intellectual property rights is a difficult problem at present. A large number of data contents created by content workers or intellectual property owners are stolen, used and disseminated by others, which seriously damages the creative motivation and causes immeasurable losses. Digital watermarking is an information hiding technology that aims to achieve copyright protection, ownership proof, anti-counterfeiting traceability, integrity protection, etc. by embedding invisible and difficult-to-remove digital signals into digital products such as images, audio, and video.
[0003] However, the use of data watermarks also has certain defects. For example, there is a lack of verification process for the watermark information after the watermark is embedded, making it impossible to judge the quality of the embedded watermark. Ultimately, when data tracing is required, effective information cannot be obtained, affecting the efficiency and accuracy of tracing. Summary of the invention
[0004] The purpose of the present invention is to provide a data anti-counterfeiting and traceability system based on digital watermarks, so as to solve the technical problem that there is a lack of verification process for watermark information after the watermark is embedded, so that the quality of the embedded watermark cannot be judged, and ultimately effective information cannot be obtained when data traceability is required, affecting the efficiency and accuracy of traceability.
[0005] The purpose of the present invention can be achieved through the following technical solutions:
[0006] A data anti-counterfeiting and traceability system based on digital watermark, comprising:
[0007] A data acquisition module, used to collect target data to be processed for anti-counterfeiting;
[0008] The anti-counterfeiting processing module is used to embed the target information into the target data in the form of a watermark for anti-counterfeiting processing each time it is circulated;
[0009] The verification module is used to extract the watermark information from the target data after the anti-counterfeiting treatment, and compare the watermark information with the target information. If they match, it is judged that the anti-counterfeiting treatment is qualified, otherwise it is judged that the anti-counterfeiting treatment is unqualified;
[0010] A data management module, used for storing target data judged as qualified by the verification module;
[0011] The traceability module is used to track and record the flow of target data in the data management module;
[0012] The system also includes a recovery processing module for performing watermark recovery processing on target data that is judged to be unqualified for anti-counterfeiting processing;
[0013] The working process of the recovery processing module is as follows:
[0014] Obtain target data that is judged to be unqualified for anti-counterfeiting treatment and mark it;
[0015] Fit the change data of the consistency score coefficient of the target information of each marked target data in unit time over time, and analyze and calculate the change data of the standard consistency score coefficient over time obtained based on big data analysis to obtain the flow fluctuation coefficient of the target information of each marked target data ;
[0016] According to the circulation fluctuation coefficient The target information of each marked target data is divided into different fluctuation states, and then divided into different urgency levels according to the fluctuation states of the target information of each marked target data, and the watermark information is restored after being sorted according to the urgency level;
[0017] The target data of the restored mark is transmitted to the verification module. If the anti-counterfeiting process is determined to be qualified, the mark is removed; otherwise, the mark is not removed.
[0018] As a further technical solution, the working process of the verification module is:
[0019] Extract watermark information from the target data after anti-counterfeiting processing by using watermark extraction tools;
[0020] The target information includes but is not limited to copyright owner information, author information, time information and serial number;
[0021] Compare the watermark information and the target information item by item in order to determine the ratio of the number of items that match the comparison to the total number of items. ;
[0022] The ratio of the number of matching items compared at each circulation to the total number of items Analyze and calculate the consistency score coefficient between the watermark information and the target information ;
[0023] Consistency Rating Coefficient and the scoring coefficient threshold Compare;
[0024] like ≥ , then the anti-counterfeiting treatment is judged to be qualified;
[0025] like < , then the anti-counterfeiting treatment is judged to be unqualified.
[0026] As a further technical solution, obtain the consistency score coefficient between the watermark information and the target information The method is:
[0027] By formula:
[0028] ;
[0029] Calculate the consistency score coefficient ;
[0030] In the formula is the weight coefficient, For the The ratio of the number of items that match the comparison to the total number of items during the first circulation. is the standard ratio, is the number of turnovers, is the maximum ratio in the total number of circulations, It is the minimum ratio in the total number of turnovers.
[0031] As a further technical solution, according to the turnover fluctuation coefficient The process of dividing the target information of each labeled target data into different fluctuation states is:
[0032] The circulation fluctuation coefficient The turnover fluctuation coefficient range set by the system Make a comparison;
[0033] like , then it is judged that the current marked target information fluctuation state is normal;
[0034] like , it is judged that the current marked target information fluctuation state is large;
[0035] like , it is judged that the current marked target information fluctuation state is small;
[0036] According to the fluctuation state of each marked target information, it is divided into different urgency levels, and the watermark information is restored after being sorted according to the urgency level;
[0037] The target data of the restored mark is transmitted to the verification module. If the anti-counterfeiting process is determined to be qualified, the mark is removed; otherwise, the mark is not removed.
[0038] As a further technical solution, the turnover fluctuation coefficient is expressed by the formula:
[0039] ;
[0040] Calculate and obtain;
[0041] in, For the The flow fluctuation coefficient of the target data of the markers, is a reference value obtained based on historical data, is the preset scale factor, For the The deviation coefficient of the target data of the label, to For the preset time period, is the change data of consistency score coefficient over time in unit time, is the change data of the standard consistency score coefficient over time, The number of preset time periods into which the unit time is randomly divided.
[0042] As a further technical solution, the process of dividing the target information of each marked target data into different urgency levels is as follows:
[0043] The target information with large fluctuation status is classified into high level of urgency;
[0044] The target information marked with normal fluctuation status is classified as medium in urgency;
[0045] The target information with small fluctuation status is classified as low in urgency;
[0046] Arrange the marked target information of the same level in descending order according to the circulation fluctuation coefficient, and then proceed one by one.
[0047] Beneficial effects of the present invention:
[0048] (1) The present invention first collects the target data to be processed for anti-counterfeiting through the data collection module, and then embeds the target information into the target data in the form of a watermark for anti-counterfeiting processing each time it is circulated through the anti-counterfeiting processing module. Then, the watermark information is extracted from the target data after the anti-counterfeiting processing through the verification module, and the watermark information is compared with the target information. If they match, the anti-counterfeiting processing is judged to be qualified, otherwise, the anti-counterfeiting processing is judged to be unqualified. Subsequently, the target data judged to be qualified by the verification module is stored, and finally, the flow process of the target data in the data management module is tracked and recorded through the traceability module, so that the watermark information can be verified and detected in real time after each watermark embedding, so as to prevent the original watermark from being damaged during the new watermark embedding process, thereby affecting the accuracy of subsequent data traceability.
[0049] (2) The present invention first extracts watermark information from the target data that has undergone anti-counterfeiting processing through a watermark extraction tool, and then compares the watermark information and the target information item by item in order to determine the ratio of the number of items that match the comparison to the total number of items, thereby analyzing the consistency score coefficient between the watermark information and the target information based on the ratio of the number of items that match the comparison obtained during each circulation to the total number of items. Finally, the consistency score coefficient is compared with the score coefficient threshold, and then the consistency between the watermark and the target information after each watermark embedding can be statistically calculated by cumulative means. Obviously, the larger the consistency score coefficient, the more complete the embedded watermark information is and the more it matches the target information, so as to achieve the purpose of quickly judging the quality of the anti-counterfeiting processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] The present invention will be further described below in conjunction with the accompanying drawings.
[0051] Figure 1 It is a system structure block diagram of the present invention. DETAILED DESCRIPTION
[0052] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0053] See also Figure 1 As shown, the present invention is a data anti-counterfeiting and traceability system based on digital watermark, comprising:
[0054] A data acquisition module, used to collect target data to be processed for anti-counterfeiting;
[0055] The anti-counterfeiting processing module is used to embed the target information into the target data in the form of a watermark for anti-counterfeiting processing each time it is circulated;
[0056] The verification module is used to extract the watermark information from the target data after the anti-counterfeiting treatment, and compare the watermark information with the target information. If they match, it is judged that the anti-counterfeiting treatment is qualified, otherwise it is judged that the anti-counterfeiting treatment is unqualified;
[0057] A data management module, used for storing target data judged as qualified by the verification module;
[0058] The traceability module is used to track and record the flow of target data in the data management module.
[0059] The working process of the verification module is as follows:
[0060] Extract watermark information from the target data after anti-counterfeiting processing by using watermark extraction tools;
[0061] The target information includes but is not limited to copyright owner information, author information, time information and serial number;
[0062] Compare the watermark information and the target information item by item in order to determine the ratio of the number of items that match the comparison to the total number of items. ;
[0063] The ratio of the number of matching items compared at each circulation to the total number of items Analyze and calculate the consistency score coefficient between the watermark information and the target information ;
[0064] Consistency Rating Coefficient and the scoring coefficient threshold Compare;
[0065] like ≥ , then the anti-counterfeiting treatment is judged to be qualified;
[0066] like < , then the anti-counterfeiting treatment is judged to be unqualified.
[0067] In this embodiment, the target data to be processed for anti-counterfeiting is first collected by the data collection module, and then the target information is embedded in the target data in the form of a watermark for anti-counterfeiting processing each time it is circulated by the anti-counterfeiting processing module, and then the watermark information is extracted from the target data after the anti-counterfeiting processing by the verification module, and the watermark information is compared with the target information. If they meet, the anti-counterfeiting processing is judged to be qualified, otherwise the anti-counterfeiting processing is judged to be unqualified, and then the target data judged to be qualified by the verification module is stored, and finally the flow process of the target data in the data management module is tracked and recorded by the traceability module; through the above process, the watermark information can be verified and detected in real time after each watermark embedding, so as to prevent the original watermark from being damaged in the new watermark embedding process, affecting the accuracy of subsequent data traceability;
[0068] At the same time, a working method of the authentication module is provided. Specifically, the watermark information is first extracted from the target data after anti-counterfeiting treatment by a watermark extraction tool, and then the watermark information and the target information are compared item by item in sequence to determine the ratio of the number of items that match the comparison to the total number of items. , thus the ratio of the number of matching items compared at each circulation to the total number of items Analyze and calculate the consistency score coefficient between the watermark information and the target information , and finally the consistency score coefficient and the scoring coefficient threshold Compare; if ≥ , then the anti-counterfeiting treatment is judged to be qualified; if < , the anti-counterfeiting processing is judged to be unqualified; through the above process, the consistency between the watermark and the target information after each watermark embedding can be statistically added up. Obviously, if the consistency score coefficient is larger, it means that the embedded watermark information is more complete and matches the target information more closely, so as to achieve the purpose of quickly judging the quality of the anti-counterfeiting processing.
[0069] Obtain the consistency score coefficient between watermark information and target information The method is:
[0070] By formula:
[0071] ;
[0072] Calculate the consistency score coefficient ;
[0073] In the formula is the weight coefficient, For the The ratio of the number of items that match the comparison to the total number of items during the first circulation. is the standard ratio, is the number of turnovers, is the maximum ratio in the total number of circulations, It is the minimum ratio in the total number of turnovers.
[0074] In this embodiment, the formula Calculate the consistency score coefficient , where is the weight coefficient, For the The ratio of the number of items that match the comparison to the total number of items during the first circulation. is the standard ratio, which is selected based on historical data and experimental data. is the number of turnovers, is the maximum ratio in the total number of circulations, is the minimum ratio in the total number of circulations; obviously, the difference between the ratio of the number of items that meet the requirements to the total number of items in each circulation of the target data and the standard ratio, as well as the previous circulation 、 The extreme value of , thus obtaining a more accurate consistency score coefficient reflecting the watermark embedding quality , improve the verification efficiency and accuracy of the verification module and prevent errors and omissions.
[0075] The system also includes a recovery processing module, which is used to perform watermark recovery processing on target data that is judged to be unqualified for anti-counterfeiting processing.
[0076] The working process of the recovery processing module is as follows:
[0077] Obtain target data that is judged to be unqualified for anti-counterfeiting treatment and mark it;
[0078] Fit the change data of the consistency score coefficient of the target information of each marked target data in unit time over time, and analyze and calculate the change data of the standard consistency score coefficient over time obtained based on big data analysis to obtain the flow fluctuation coefficient of the target information of each marked target data ;
[0079] The circulation fluctuation coefficient The turnover fluctuation coefficient range set by the system Make a comparison;
[0080] like , then it is judged that the current marked target information fluctuation state is normal;
[0081] like , it is judged that the current marked target information fluctuation state is large;
[0082] like , it is judged that the current marked target information fluctuation state is small;
[0083] According to the fluctuation state of the target information of each marked target data, the target information is divided into different urgency levels, and the watermark information is restored after being sorted according to the urgency level;
[0084] The target data of the restored mark is transmitted to the verification module. If the anti-counterfeiting process is judged to be qualified, the mark is removed; otherwise, the mark is not removed;
[0085] The process of dividing the target information of each marked target data into different levels of urgency is as follows:
[0086] The target information with large fluctuation status is classified into high level of urgency;
[0087] The target information marked with normal fluctuation status is classified as medium in urgency;
[0088] The target information with small fluctuation status is classified as low in urgency;
[0089] Arrange the marked target information of the same level in descending order according to the circulation fluctuation coefficient, and then proceed one by one.
[0090] In this embodiment, a technical solution for restoring watermark information for unqualified target information is provided. First, the change data of the consistency score coefficient of the target information of each marked target data in a unit time is fitted, and the change data of the standard consistency score coefficient over time obtained based on big data analysis is analyzed and calculated to obtain the flow fluctuation coefficient of the target information of each marked target data. ; Then the turnover fluctuation coefficient The turnover fluctuation coefficient range set by the system For comparison; Obviously, if , then it is judged that the current marked target information fluctuation state is normal. If , then it is judged that the current marked target information fluctuation state is large, if , then it is judged that the current marked target information has a small fluctuation state; then the target information of each marked target data is divided into different urgency levels according to the fluctuation state, and the watermark information is restored after being sorted according to the urgency level; the marked target data after restoration is transmitted to the verification module, and if it is judged that the anti-counterfeiting treatment is qualified, the mark is removed, otherwise, the mark is not removed; through the above technical solution, the target information can be accurately divided into the urgency levels, and the target data with a large fluctuation state is restored with priority, so as to achieve the purpose of fully utilizing the watermark restoration resources and improve the efficiency of watermark restoration;
[0091] At the same time, the urgency of the marked target information with a large fluctuation state is classified as high, the urgency of the marked target information with a normal fluctuation state is classified as medium, and the urgency of the marked target information with a small fluctuation state is classified as low; after the marked target information of the same level is arranged in descending order according to the circulation fluctuation coefficient, it is carried out in sequence.
[0092] The turnover fluctuation coefficient is expressed by the formula:
[0093]
[0094] Calculate and obtain;
[0095] in, For the The flow fluctuation coefficient of the target data of the markers, is a reference value obtained based on historical data, is the preset scale factor, For the The deviation coefficient of the target data of the label, to For the preset time period, is the change data of consistency score coefficient over time in unit time, is the change data of the standard consistency score coefficient over time, The number of preset time periods into which the unit time is randomly divided.
[0096] In this embodiment, a method for obtaining the turnover fluctuation coefficient is provided. Specifically, the formula Calculate the first The deviation coefficient of the marked target data is then substituted into Calculate the first The flow fluctuation coefficient of the target data of the markers, For the The flow fluctuation coefficient of the target data of the markers, is a reference value obtained based on historical data, is the preset scale factor, For the The deviation coefficient of the target data of the label, to For the preset time period, The consistency score coefficient is used as the vertical coordinate and the time is used as the vertical coordinate. The coordinate system with is the horizontal axis, and the consistency score coefficient obtained in each calculation is plotted into a curve by normalization method. is the change data of the standard consistency score coefficient over time, According to historical data, the average of the consistency score coefficient calculated each time is used as the standard consistency score coefficient, and then it is plotted in the same coordinate system to obtain , is the number of preset time periods into which the unit time is randomly divided; according to the above formula, it can be seen that if The greater the deviation, the more times the target data watermark is embedded, the more frequently it circulates, and the problem of watermark information loss is prone to occur, so it needs to be processed first.
[0097] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.
Claims
1. A data anti-counterfeiting and traceability system based on digital watermark, characterized in that: include: A data acquisition module, used to collect target data to be processed for anti-counterfeiting; The anti-counterfeiting processing module is used to embed the target information into the target data in the form of a watermark for anti-counterfeiting processing each time it is circulated; The verification module is used to extract the watermark information from the target data after the anti-counterfeiting treatment, and compare the watermark information with the target information. If they match, it is judged that the anti-counterfeiting treatment is qualified, otherwise it is judged that the anti-counterfeiting treatment is unqualified; A data management module, used for storing target data judged as qualified by the verification module; The traceability module is used to track and record the flow of target data in the data management module; The system also includes a recovery processing module for performing watermark recovery processing on target data that is judged to be unqualified for anti-counterfeiting processing; The working process of the recovery processing module is as follows: Obtain target data that is judged to be unqualified for anti-counterfeiting treatment and mark it; Fit the change data of the consistency score coefficient of the target information of each marked target data in unit time over time, and analyze and calculate the change data of the standard consistency score coefficient over time obtained based on big data analysis to obtain the flow fluctuation coefficient of the target information of each marked target data ; According to the turnover fluctuation coefficient The target information of each marked target data is divided into different fluctuation states, and then divided into different urgency levels according to the fluctuation states of the target information of each marked target data, and the watermark information is restored after being sorted according to the urgency level; The target data of the restored mark is transmitted to the verification module. If the anti-counterfeiting process is judged to be qualified, the mark is removed; otherwise, the mark is not removed; The turnover fluctuation coefficient is expressed by the formula: , calculated and obtained; in, For the The flow fluctuation coefficient of the target data of the markers, is a reference value obtained based on historical data, is the preset scale factor, For the The deviation coefficient of the target data of the label, to For the preset time period, is the change data of consistency score coefficient over time in unit time, is the change data of the standard consistency score coefficient over time, The number of preset time periods into which the unit time is randomly divided; According to the turnover fluctuation coefficient The process of dividing the target information of each labeled target data into different fluctuation states is: The circulation fluctuation coefficient The turnover fluctuation coefficient range set by the system Make a comparison; like , then it is judged that the current target information fluctuation state is normal; like , then it is judged that the current target information fluctuation state is large; like , it is judged that the current target information fluctuation state is small.
2. The data anti-counterfeiting and traceability system based on digital watermark according to claim 1 is characterized in that: The working process of the verification module is as follows: Extract watermark information from the target data after anti-counterfeiting processing by using watermark extraction tools; The target information includes copyright owner information, author information, time information and serial number; Compare the watermark information and the target information item by item in order to determine the ratio of the number of items that match the comparison to the total number of items. ; The ratio of the number of matching items compared at each circulation to the total number of items Analyze and calculate the consistency score coefficient between the watermark information and the target information ; Consistency Rating Coefficient and the scoring coefficient threshold Compare; like ≥ , then the anti-counterfeiting treatment is judged to be qualified; like < , then the anti-counterfeiting treatment is judged to be unqualified.
3. The data anti-counterfeiting and traceability system based on digital watermark according to claim 2 is characterized in that: Obtain the consistency score coefficient between watermark information and target information The method is: By formula: ; Calculate the consistency score coefficient ; In the formula , is the weight coefficient, For the The ratio of the number of items that match the comparison to the total number of items during the first circulation. is the standard ratio, is the number of turnovers, is the maximum ratio in the total number of circulations, It is the minimum ratio in the total number of turnovers.
4. The data anti-counterfeiting and traceability system based on digital watermark according to claim 1 is characterized in that: The process of dividing the target information of each marked target data into different levels of urgency is as follows: The target information with large fluctuation status is classified into high level of urgency; The target information with normal fluctuation status is classified as medium in urgency; The target information with small fluctuation status is classified as low in urgency.
5. The data anti-counterfeiting and traceability system based on digital watermark according to claim 4 is characterized in that: Arrange the target information of the same level in descending order according to the circulation fluctuation coefficient, and then proceed one by one.
