Automatic watermarking system for mathematics education platform
By designing an automatic watermarking system on the mathematics education platform, and using the copyright ownership judgment module and the watermark automatic addition module, the downloader's misunderstanding of the copyright ownership of mathematical resources is solved, and copyright protection and conflict avoidance are achieved.
Patent Information
- Application Number
- CN202411701571.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2025-03-21
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The automatic watermarking method of existing mathematics education platforms can easily cause downloaders to misunderstand the ownership of digital resource copyrights, resulting in conflicts between the owner of digital resource copyrights and the mathematics education platform.
Design a math education platform automatic watermarking system, and search the uploaded math resources through the math resource copyright ownership judgment module to judge the copyright ownership, and generate watermark content in the math resource automatic watermark addition module, including the copyright owner name and the math education platform name, which are automatically added to the math resources.
It effectively avoids downloaders' misunderstanding of the copyright ownership of mathematical resources, solves the copyright ownership conflicts that may be caused by existing technology, and protects mathematical resources through invisible watermarks to prevent downloaders from intercepting some content.
Smart Images

Figure CN119670045A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of copyright protection, and in particular relates to an automatic watermarking system for a mathematics education platform. Background Art
[0002] Mathematics education resources are an important part of the education system, covering all stages from basic education to higher education.
[0003] With the advancement of digitalization, the forms of mathematics education resources are becoming increasingly diverse, including electronic teaching materials.
[0004] However, the easy copying and dissemination of these mathematical resources have brought great difficulties to copyright protection. Traditional copyright protection methods including authorization management can no longer meet the current mathematical education platform's protection of mathematical resources. Therefore, it is particularly important for mathematical education platforms to explore more efficient and convenient copyright protection methods for mathematical resources.
[0005] Chinese patent application No. 201910542460.X discloses an automatic watermarking method for a blockchain digital education platform, including: the blockchain digital education platform calls the digital watermark service system, requests watermark service for any resource in the digital resource library, and the watermark system automatically identifies the type of the resource after receiving the digital resource, calls different watermark algorithm libraries according to the type of the digital resource and adds watermark information, and returns the resource with the digital watermark to the blockchain digital education service platform.
[0006] The above technology has the following problems: the automatic watermarking method of the above digital education platform is to call the watermark algorithm to automatically add watermark information based on the identified digital resource type. Generally, the watermark information includes the digital education platform information. This automatic watermarking method can easily cause downloaders to misunderstand the copyright ownership of digital resources, thereby causing conflicts between the copyright owner of digital resources and the mathematics education platform.
[0007] In view of this, an automatic watermarking system for mathematics education platform is designed to solve the above problems. Summary of the invention
[0008] To solve the problems raised in the above background technology, the present invention provides a mathematics education platform automatic watermarking system, which can avoid the misunderstanding of the copyright of mathematics resources by downloaders and solve the existing problems that may cause conflicts between the copyright owner of digital resources and the mathematics education platform.
[0009] To achieve the above-mentioned purpose, the present invention provides the following technical solution: a mathematics education platform automatic watermarking system, comprising:
[0010] Mathematical resource copyright ownership judgment module: the uploader uploads mathematical resources to the mathematical education platform, and the mathematical education platform performs cross-platform retrieval based on the uploaded mathematical resource content to judge the copyright ownership of the mathematical resources;
[0011] The mathematical resource watermark automatic adding module generates watermark content and automatically adds it based on the judged copyright ownership of the mathematical resources.
[0012] Furthermore, in the mathematical resource copyright ownership judgment module, the mathematical education platform performs a cross-platform search based on the uploaded mathematical resource content, and the specific steps of judging the copyright ownership of the mathematical resource include:
[0013] S101: splitting the uploaded mathematics resources and the compared mathematics resources into individual keyword phrases;
[0014] S102: Count the occurrence frequencies of single keyword phrases in the uploaded mathematics resources and the compared mathematics resources, and construct a word frequency vector;
[0015] S103: Calculate the similarity between the word frequency vectors of the uploaded mathematics resource and the compared mathematics resource, expressed as:
[0016]
[0017] Where: x represents the keyword frequency vector of the uploaded mathematical resources, and y represents the keyword frequency vector of the compared mathematical resources;
[0018] S104: If the similarity between the word frequency vectors of the uploaded mathematical resource and the compared mathematical resource is 100%, the earliest uploader of the compared mathematical resource is used as the copyright owner of the mathematical resource;
[0019] S105: If the similarity between the word frequency vectors of the uploaded mathematical resource and the compared mathematical resource is less than 100%, then calculate the similarity between the individual word frequency vectors of the uploaded mathematical resource and the compared mathematical resource in the same way, find the word frequency vectors whose similarity between the individual word frequency vectors of the uploaded mathematical resource and the compared mathematical resource is less than 100%, calculate the contribution between the word frequency vectors, and determine the copyright ownership of the mathematical resource based on the contribution.
[0020] Furthermore, in step S105, the contribution between word frequency vectors is calculated, and the specific steps of determining the copyright ownership of mathematical resources based on the contribution include:
[0021] S1051: Assume that the single word frequency vector of the uploaded mathematical resources with similarity less than 100% is (A1, A2, ..., A n ), the single word frequency vectors of the compared mathematical resources with similarity less than 100% are (B1, B2, …, B n), then the contribution expression of a single word frequency vector is:
[0022]
[0023] Where: l(A n , B n ) is represented by a single word frequency vector A of uploaded mathematical resources with a similarity lower than 100%. n Individual word frequency vectors B whose similarity to the compared math resource is less than 100% n The word frequency vector contribution score is determined by a preset word frequency vector similarity-word frequency vector contribution score table;
[0024] S1052: Calculate the contribution of the uploaded mathematical resource compared with the compared mathematical resource based on the contribution expression of a single word frequency vector, the expression is:
[0025] max(A n ,B n )=αsup(A1,B1)+…+βsup(A n ,B n )
[0026] Where: α and β represent weight factors and are preset;
[0027] S1053: Based on the calculated contribution between the uploaded mathematical resource and the compared mathematical resource, the contribution is compared with a preset contribution threshold. If it does not exceed the preset contribution threshold, the uploader of the compared mathematical resource is regarded as the copyright owner of the mathematical resource. If it exceeds the preset contribution threshold, the uploader is regarded as the copyright owner of the mathematical resource.
[0028] Furthermore, in the mathematics resource watermark automatic adding module, the watermark content generated includes the name of the mathematics resource copyright owner and the name of the mathematics education platform.
[0029] Furthermore, in the mathematical resource watermark automatic adding module, the specific steps of automatically adding watermark content include:
[0030] S201: extracting the background color of the uploaded mathematical resource;
[0031] S202: Rendering the generated watermark content into a color that is the same as the background color of the uploaded mathematical resource;
[0032] S203: Calculate the width and height of a single keyword phrase split in step S101 in the uploaded mathematical resource;
[0033] S204: adjusting the width and height of the rendered watermark content based on the calculated width and height of the single keyword phrase in the uploaded mathematical resource;
[0034] S205: Adding the adjusted watermark content to the adapted keyword phrase to form a watermark.
[0035] Furthermore, the specific steps of step S203 include:
[0036] S2031: Count the number of characters of the keyword phrase in the uploaded mathematics resource;
[0037] S2032: Multiply the number of characters in the keyword phrase by the average character width to obtain the width occupied by the keyword phrase in the uploaded mathematics resources, wherein the average character width and height are in a fixed format of the mathematics education platform.
[0038] Compared with the prior art, the present invention has the following beneficial effects:
[0039] 1. When an uploader uploads mathematical resources, the present invention first performs a cross-platform search on the uploaded mathematical resources to determine whether there are mathematical resources that are exactly the same as the uploaded mathematical resources. If there are mathematical resources that are exactly the same as the uploaded mathematical resources, the uploader of the earliest uploaded mathematical resources is used as the copyright owner. At the same time, if there are no mathematical resources that are exactly the same as the uploaded mathematical resources, the contribution to existing similar mathematical resources is determined again, and if the contribution is high, the uploader is used as the copyright owner. Based on the copyright owner and the name of the mathematical education platform, watermark content is generated and added. Compared with the prior art, it can avoid the downloader's misunderstanding of the copyright ownership of mathematical resources and solve the existing problem of possible conflicts between the copyright owner of digital resources and the mathematical education platform.
[0040] 2. After generating the watermark content, the present invention extracts the background color of the uploaded mathematical resource, renders the generated watermark content into the same color as the background color of the uploaded mathematical resource, and then adjusts the width and height of the watermark content based on the width and height of the keyword phrase of the uploaded mathematical resource, and then adds the adjusted watermark content to the adapted keyword phrase. The added watermark has an invisible effect, and at the same time, adding the adapted mathematical resource to the uploaded mathematical resource can avoid the impact caused by the downloader intercepting part of the content of the uploaded mathematical resource. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 This is a framework diagram of the automatic watermarking system for the mathematics education platform of the present invention;
[0042] In the figure: 1. Mathematical resource copyright ownership judgment module; 2. Mathematical resource watermark automatic adding module. DETAILED DESCRIPTION
[0043] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts belong to the scope of protection of the present invention.
[0044] Please refer to Figure 1 , the present invention provides the following technical solutions: An automatic watermarking system for a mathematics education platform, including:
[0045] A mathematics resource copyright attribution judgment module 1. When an uploader uploads mathematics resources to the mathematics education platform, the mathematics education platform performs cross-platform retrieval based on the content of the uploaded mathematics resources to judge the copyright attribution of the mathematics resources;
[0046] A mathematics resource watermark automatic addition module 2, which automatically adds watermark content based on the judged copyright attribution of the mathematics resources.
[0047] Specifically, in the mathematics resource copyright attribution judgment module 1, the specific steps for the mathematics education platform to perform cross-platform retrieval based on the content of the uploaded mathematics resources and judge the copyright attribution of the mathematics resources include:
[0048] S101: Split the uploaded mathematics resources and the mathematics resources for comparison into single keyword phrases;
[0049] The uploaded mathematics resources and the mathematics resources for comparison are split using word segmentation tools, including Jieba and NLTK word segmentation tools;
[0050] After splitting, the uploaded mathematics resources and the mathematics resources for comparison also need to remove stop words, including "de", "shi", and "le", etc.;
[0051] S102: Count the occurrence frequencies of single keyword phrases in the uploaded mathematics resources and the mathematics resources for comparison, and construct a term frequency vector;
[0052] The occurrence frequencies of single keyword phrases in the uploaded mathematics resources and the mathematics resources for comparison are counted using a counter;
[0053] The counted keyword phrases form a vocabulary. According to the size of the vocabulary, initialize a zero vector with a length equal to the size of the vocabulary. Traverse each word in the vocabulary. If the word appears in the text, set the value at the corresponding vector position to the number of times the word appears in the text, which is the term frequency vector;
[0054] S103: Calculate the similarity between the term frequency vectors of the uploaded mathematics resources and the mathematics resources for comparison. The expression is:
[0055]
[0056] Where: x represents the keyword frequency vector of the uploaded mathematical resources, and y represents the keyword frequency vector of the compared mathematical resources;
[0057] S104: If the similarity between the word frequency vectors of the uploaded mathematical resource and the compared mathematical resource is 100%, the earliest uploader of the compared mathematical resource is used as the copyright owner of the mathematical resource;
[0058] S105: If the similarity between the word frequency vectors of the uploaded mathematical resource and the compared mathematical resource is less than 100%, then calculate the similarity between the individual word frequency vectors of the uploaded mathematical resource and the compared mathematical resource in the same way, find the word frequency vectors whose similarity between the individual word frequency vectors of the uploaded mathematical resource and the compared mathematical resource is less than 100%, calculate the contribution between the word frequency vectors, and determine the copyright ownership of the mathematical resource based on the contribution.
[0059] Specifically, in step S105, the contribution between word frequency vectors is calculated, and the specific steps of determining the copyright ownership of mathematical resources based on the contribution include:
[0060] S1051: Assume that the single word frequency vector of the uploaded mathematical resources with similarity less than 100% is (A1, A2, ..., A n ), the single word frequency vectors of the compared mathematical resources with similarity less than 100% are (B1, B2, …, B n ), then the contribution expression of a single word frequency vector is:
[0061]
[0062] Where: l(A n , B n ) is represented by a single word frequency vector A of uploaded mathematical resources with a similarity lower than 100%. n Individual word frequency vectors B whose similarity to the compared math resource is less than 100% n The word frequency vector contribution score is determined by a preset word frequency vector similarity-word frequency vector contribution score table;
[0063] S1052: Calculate the contribution of the uploaded mathematical resource compared with the compared mathematical resource based on the contribution expression of a single word frequency vector, the expression is:
[0064] max(A n ,B n )=αsup(A1,B1)+…+βsup(A n ,B n )
[0065] Where: α and β represent weight factors and are preset;
[0066] S1053: Based on the calculated contribution between the uploaded mathematical resource and the compared mathematical resource, the contribution is compared with a preset contribution threshold. If it does not exceed the preset contribution threshold, the uploader of the compared mathematical resource is regarded as the copyright owner of the mathematical resource. If it exceeds the preset contribution threshold, the uploader is regarded as the copyright owner of the mathematical resource.
[0067] Specifically, in the mathematics resource watermark automatic adding module 2, the generated watermark content includes the name of the mathematics resource copyright owner and the name of the mathematics education platform.
[0068] If the name of the copyright owner of the mathematics resource is A and the name of the mathematics education platform is B, the generated watermark content is A+B;
[0069] Specifically, in the mathematics resource watermark automatic adding module 2, the specific steps of automatically adding watermark content include:
[0070] S201: extracting the background color of the uploaded mathematical resource;
[0071] The background color of the uploaded math resource is extracted using an online color extraction tool. The online color extraction tool automatically selects the background area of the math resource without text for color extraction and displays its RGB value;
[0072] S202: Rendering the generated watermark content into a color that is the same as the background color of the uploaded mathematical resource;
[0073] The rendering of the generated watermark content adopts an online rendering tool, which renders the generated watermark content based on the RGB value of the online color extraction tool;
[0074] S203: Calculate the width and height of a single keyword phrase split in step S101 in the uploaded mathematical resource;
[0075] S204: adjusting the width and height of the rendered watermark content based on the calculated width and height of the single keyword phrase in the uploaded mathematical resource;
[0076] Width and height adjustments include stretching and scaling;
[0077] S205: Adding the adjusted watermark content to the adapted keyword phrase to form a watermark.
[0078] Specifically, the specific steps of step S203 include:
[0079] S2031: Count the number of characters of the keyword phrase in the uploaded mathematics resource;
[0080] S2032: Multiply the number of characters in the keyword phrase by the average character width to obtain the width occupied by the keyword phrase in the uploaded mathematics resources, wherein the average character width and height are in a fixed format of the mathematics education platform.
[0081] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. An automatic watermarking system for a mathematics education platform, characterized in that: include: Mathematical resource copyright ownership judgment module (1), the uploader uploads the mathematical resource to the mathematical education platform, and the mathematical education platform performs a cross-platform search based on the uploaded mathematical resource content to judge the copyright ownership of the mathematical resource; The mathematical resource watermark automatic adding module (2) generates watermark content based on the judged copyright ownership of the mathematical resource and automatically adds the watermark content.
2. The automatic watermarking system for a mathematics education platform according to claim 1 is characterized by: In the mathematical resource copyright ownership judgment module (1), the mathematical education platform performs a cross-platform search based on the uploaded mathematical resource content, and the specific steps of judging the copyright ownership of the mathematical resource include: S101: splitting the uploaded mathematics resources and the compared mathematics resources into individual keyword phrases; S102: Count the occurrence frequencies of single keyword phrases in the uploaded mathematics resources and the compared mathematics resources, and construct a word frequency vector; S103: Calculate the similarity between the word frequency vectors of the uploaded mathematics resource and the compared mathematics resource, expressed as: Where: x represents the keyword frequency vector of the uploaded mathematical resources, and y represents the keyword frequency vector of the compared mathematical resources; S104: If the similarity between the word frequency vectors of the uploaded mathematical resource and the compared mathematical resource is 100%, the earliest uploader of the compared mathematical resource is used as the copyright owner of the mathematical resource; S105: If the similarity between the word frequency vectors of the uploaded mathematical resource and the compared mathematical resource is less than 100%, then calculate the similarity between the individual word frequency vectors of the uploaded mathematical resource and the compared mathematical resource in the same way, find the word frequency vectors whose similarity between the individual word frequency vectors of the uploaded mathematical resource and the compared mathematical resource is less than 100%, calculate the contribution between the word frequency vectors, and determine the copyright ownership of the mathematical resource based on the contribution.
3. The automatic watermarking system for a mathematics education platform according to claim 2 is characterized in that: In step S105, the contribution between word frequency vectors is calculated, and the specific steps of determining the copyright ownership of mathematical resources based on the contribution include: S1051: Assume that the single word frequency vector of the uploaded mathematical resources with similarity less than 100% is (A1, A2, ..., A n ), the single word frequency vectors of the compared mathematical resources with similarity less than 100% are (B1, B2, …, B n ), then the contribution expression of a single word frequency vector is: Where: l(A n , B n ) is represented by a single word frequency vector A of uploaded mathematical resources with a similarity lower than 100%. n Individual word frequency vectors B whose similarity to the compared math resource is less than 100% n The word frequency vector contribution score is determined by a preset word frequency vector similarity-word frequency vector contribution score table; S1052: Calculate the contribution of the uploaded mathematical resource compared with the compared mathematical resource based on the contribution expression of a single word frequency vector, the expression is: max(A n ,B n )=αsup(A1,B1)+…+βsup(A n ,B n ) Where: α and β represent weight factors and are preset; S1053: Based on the calculated contribution between the uploaded mathematical resource and the compared mathematical resource, the contribution is compared with a preset contribution threshold. If it does not exceed the preset contribution threshold, the uploader of the compared mathematical resource is regarded as the copyright owner of the mathematical resource. If it exceeds the preset contribution threshold, the uploader is regarded as the copyright owner of the mathematical resource.
4. The automatic watermarking system for a mathematics education platform according to claim 1, characterized in that: In the mathematics resource watermark automatic adding module (2), the generated watermark content includes the name of the mathematics resource copyright owner and the name of the mathematics education platform.
5. The automatic watermarking system for a mathematics education platform according to claim 1 is characterized in that: In the mathematical resource watermark automatic adding module (2), the specific steps of automatically adding watermark content include: S201: extracting the background color of the uploaded mathematical resource; S202: Rendering the generated watermark content into a color that is the same as the background color of the uploaded mathematical resource; S203: Calculate the width and height of a single keyword phrase split in step S101 in the uploaded mathematical resource; S204: adjusting the width and height of the rendered watermark content based on the calculated width and height of the single keyword phrase in the uploaded mathematical resource; S205: Adding the adjusted watermark content to the adapted keyword phrase to form a watermark.
6. The automatic watermarking system for a mathematics education platform according to claim 5 is characterized by: The specific steps of step S203 include: S2031: Count the number of characters of the keyword phrase in the uploaded mathematics resource; S2032: Multiply the number of characters in the keyword phrase by the average character width to obtain the width occupied by the keyword phrase in the uploaded mathematics resources, wherein the average character width and height are in a fixed format of the mathematics education platform.
Citation Information
Patent Citations
Automatic watermarking method for block chain digital education platform
CN110288504A