Watermark processing method and apparatus, electronic device, storage medium, and program product

By obtaining and replacing the path content in the font file to generate the target SVG file, the problem of low efficiency in watermark font processing in the existing technology is solved, and efficient batch modification of characters in watermark processing is achieved.

CN118228212BActive Publication Date: 2026-03-24BEIJING VOLCANO ENGINE TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-21
Publication Date
2026-03-24

AI Technical Summary

Technical Problem

Existing watermark fonts are not very efficient in processing, making it difficult to batch modify characters to improve the robustness of watermarks.

Method used

By obtaining the initial scalable vector graphics (SVG) file from the font file, determining the path content to be modified, retrieving the corresponding modified path content from the preset database, replacing the initial path content with the modified path content, and generating the target SVG file for watermarking.

Benefits of technology

It significantly improves the efficiency of modifying characters, enables batch modification of characters, and improves the processing efficiency of watermark fonts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118228212B_ABST
    Figure CN118228212B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a watermark processing method and device, electronic equipment, storage medium and program product. The method comprises the following steps: obtaining an initial scalable vector graphics (SVG) file of a to-be-processed character in a font file, determining a to-be-modified part of path content in initial path content corresponding to the to-be-processed character; obtaining modified path content corresponding to the to-be-modified part of path content from a preset database, wherein a character structure corresponding to the modified path content is a deformation of a character structure corresponding to the to-be-modified part of path content; replacing the to-be-modified part of path content in the initial path content with the modified part of path content to obtain target path content corresponding to the to-be-processed character; and obtaining a target SVG file of the to-be-processed character based on the target path content corresponding to the to-be-processed character. The method can improve the efficiency of modifying characters, realize batch modification of characters, and improve the processing efficiency of watermark fonts.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and in particular to a watermarking method, apparatus, electronic device, storage medium, and program product. Background Technology

[0002] In the medium of information dissemination, text has always held a crucial position. Existing tools make it easy to copy and tamper with documents such as certificates, books, contracts, and classified documents. Therefore, the security protection and traceability of these document resources are increasingly urgent. Watermarking technology can embed meaningful, hidden information into text document data; font watermarks can hide font information within the glyphs of the characters.

[0003] In existing technologies, the robustness of watermarking algorithms is improved by changing the character structure features. For example, by modifying attributes such as the number of stroke connections at feature points, the angle between strokes, and the presence or absence of feature points, a new character set is generated, allowing the same Chinese character to have different glyph structures.

[0004] However, the processing efficiency of existing watermark fonts is not high. Summary of the Invention

[0005] To address the aforementioned technical problems, this disclosure provides a watermarking method, apparatus, electronic device, storage medium, and program product.

[0006] Firstly, this disclosure provides a watermark processing method, including:

[0007] Obtain the initial scalable vector graphic SVG file of the character to be processed in the font file, wherein the SVG file includes: the initial path content corresponding to the character to be processed;

[0008] Determine the portion of the path content to be modified within the initial path content corresponding to the character to be processed;

[0009] The modified path content corresponding to the path content to be modified is obtained from the preset database, wherein the character structure corresponding to the modified path content is a variant of the character structure corresponding to the path content to be modified, and the preset database stores the modified path content corresponding to the path content to be modified.

[0010] Replace the part of the path content to be modified in the initial path content with the part of the path content to be modified to obtain the target path content corresponding to the character to be processed.

[0011] Based on the target path content corresponding to the character to be processed, the target SVG file of the character to be processed is obtained, and the target SVG file is used for watermarking.

[0012] Optionally, determining the portion of the path content to be modified in the initial path content corresponding to the character to be processed includes:

[0013] The matching path content in the initial path content corresponding to the character to be processed is determined to be the path content to be modified. The matching path content is the same as the path content of at least one character structure in the template library. The template library includes path content corresponding to multiple character structures, and the character structure is a partial structure of a character.

[0014] Optionally, the template library includes multiple character structures corresponding to different transformation paths. Each element in the transformation path content includes a triple, which includes: action, increase or decrease of endpoint in the first direction, and increase or decrease of endpoint in the second direction.

[0015] The step of determining the matching path content in the initial path content corresponding to the character to be processed as the path content to be modified includes:

[0016] The initial path content corresponding to the character to be processed is transformed to obtain the transformed path content corresponding to the initial path content, wherein each element in the transformed path content corresponds one-to-one with each element in the initial path content;

[0017] Obtain the matching path content in the deformed path content, wherein the matching path content is the same as the deformed path content of at least one character structure in the template library;

[0018] Determine the position of the matched path content within the deformed path content corresponding to the initial path content, and determine the path content to be modified based on the position.

[0019] Optionally, the template library includes compressed deformation path content corresponding to multiple character structures, wherein the compressed deformation path content refers to removing duplicates from consecutive identical triples;

[0020] Before obtaining the matching path content in the deformed path content, the method further includes:

[0021] The duplicate triples in the deformed path content corresponding to the initial path content are deduplicated, and the position index of each element in the deformed path content before the deduplication is recorded.

[0022] Determining the position of the matched path content within the transformed path content corresponding to the initial path content includes:

[0023] Based on the position index of each element after the deduplication process in the deformed path content before the deduplication process, the position of the matched path content in the deformed path content corresponding to the initial path content is determined.

[0024] Optionally, before determining the portion of the path content to be modified in the initial path content corresponding to the character to be processed, the method further includes:

[0025] The initial path content corresponding to the character to be processed is expanded.

[0026] Optionally, determining the matching path content in the initial path content corresponding to the character to be processed as the path content to be modified includes:

[0027] The first matching path content in the initial path content corresponding to the character to be processed is determined as the path content to be modified.

[0028] Secondly, embodiments of this disclosure provide a watermark processing apparatus, comprising:

[0029] The SVG file acquisition module is used to acquire the initial scalable vector graphic SVG file of the character to be processed in the font file. The SVG file includes the initial path content corresponding to the character to be processed.

[0030] The module for obtaining the path content to be modified is used to determine the path content to be modified in the initial path content corresponding to the character to be processed.

[0031] The modified path content acquisition module is used to acquire the modified path content corresponding to the part of the path content to be modified from a preset database, wherein the character structure corresponding to the modified path content is a variant of the character structure corresponding to the part of the path content to be modified, and wherein the preset database stores the modified path content corresponding to the part of the path content to be modified.

[0032] The replacement module is used to replace the part of the path content to be modified in the initial path content with the part of the path content to be modified, so as to obtain the target path content corresponding to the character to be processed.

[0033] The target SVG file determination module is used to obtain the target SVG file of the character to be processed based on the target path content corresponding to the character to be processed, and the target SVG file is used for watermarking.

[0034] Thirdly, embodiments of this disclosure provide an electronic component, comprising:

[0035] One or more processors;

[0036] Storage device for storing one or more programs.

[0037] When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any of the first aspects.

[0038] Fourthly, embodiments of this disclosure provide a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the methods described in any of the first aspects.

[0039] Fifthly, embodiments of this disclosure provide a computer program product that, when run on a computer, causes the computer to perform the steps of the method described in any of the first aspects.

[0040] The technical solution provided in this disclosure has the following advantages compared with the prior art:

[0041] The watermark processing method, apparatus, electronic device, storage medium, and program product provided in this disclosure obtain an initial scalable vector graphic (SVG) file of the character to be processed from a font file. It then determines the path content to be modified within the initial path content corresponding to the character, retrieves the modified path content corresponding to the modified path content from a preset database, replaces the modified path content in the initial path content with the modified path content, and obtains the target path content corresponding to the character to be processed. Finally, based on the target path content, it obtains the target SVG file of the character to be processed. The corresponding watermark font can be obtained from the target SVG file. This method achieves matching of specific structures based on the initial path content of the character to be processed, precisely modifies the matched specific structures, and obtains the target SVG file of the character to be processed. This improves the efficiency of character modification, enables batch character modification, and enhances the processing efficiency of watermark fonts. Attached Figure Description

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

[0043] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, those skilled in the art can obtain other drawings based on these drawings without creative effort.

[0044] Figure 1 This is a schematic flowchart of a watermark processing method provided in an embodiment of this disclosure;

[0045] Figure 2AThis is a schematic diagram of a character structure provided in an embodiment of this disclosure;

[0046] Figure 2B yes Figure 2A A schematic diagram of the character structure after watermarking;

[0047] Figure 3A This is a schematic diagram of the structure of a character to be modified provided in an embodiment of this disclosure;

[0048] Figure 3B yes Figure 3A A schematic diagram of the structure of the characters to be modified after watermarking;

[0049] Figure 4A This is a schematic diagram of another character structure provided in an embodiment of this disclosure;

[0050] Figure 4B , Figure 4C They are Figure 4A A schematic diagram of the character structure after watermarking;

[0051] Figure 5A , Figure 5C This is a schematic diagram of another character structure provided in this embodiment;

[0052] Figure 5B , Figure 5D They are Figure 5A and Figure 5C A schematic diagram of the character structure after watermarking;

[0053] Figure 6A This is a schematic diagram of another character structure provided in this embodiment;

[0054] Figure 6B , Figure 6C They are Figure 6A A schematic diagram of the character structure after watermarking;

[0055] Figure 7A This is a schematic diagram of another character structure provided in this embodiment;

[0056] Figure 7B yes Figure 7A A schematic diagram of the character structure after watermarking;

[0057] Figure 8A This is a schematic diagram of another character structure provided in this embodiment;

[0058] Figure 8B yes Figure 8A A schematic diagram of the character structure after watermarking;

[0059] Figure 9A This is a schematic diagram of another character structure provided in this embodiment;

[0060] Figure 9B yes Figure 9A A schematic diagram of the character structure after watermarking;

[0061] Figure 10A This is a schematic diagram of another character structure provided in this embodiment;

[0062] Figure 10B yes Figure 10A A schematic diagram of the character structure after watermarking;

[0063] Figure 11A This is a schematic diagram of another character structure provided in this embodiment;

[0064] Figure 11B , Figure 11C They are Figure 11A A schematic diagram of the character structure after watermarking;

[0065] Figure 12A This is a schematic diagram of another character structure provided in this embodiment;

[0066] Figure 12B , Figure 12C They are Figure 12A A schematic diagram of the character structure after watermarking;

[0067] Figure 13 This is a flowchart illustrating another watermark processing method provided in this embodiment of the disclosure;

[0068] Figure 14 This is a flowchart illustrating another watermark processing method provided in this embodiment of the present disclosure;

[0069] Figure 15 This is a flowchart illustrating another watermark processing method provided in this embodiment of the present disclosure;

[0070] Figure 16 This is a flowchart illustrating another watermark processing method provided in this embodiment of the present disclosure;

[0071] Figure 17 This is a schematic diagram of the structure of a watermark processing device provided in an embodiment of this disclosure;

[0072] Figure 18 This is a schematic diagram of an electronic device provided in an embodiment of this disclosure. Detailed Implementation

[0073] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.

[0074] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.

[0075] This disclosure provides a watermark processing method, apparatus, electronic component, storage medium, and program product. It obtains an initial Scalable Vector Graphics (SVG) file of a character to be processed. The SVG file includes: initial path content corresponding to the character to be processed; obtaining the path content to be modified from the initial path content; obtaining the modified path content corresponding to the modified path content, wherein the character structure corresponding to the modified path content is a variant of the character structure corresponding to the modified path content; replacing the path content to be modified in the initial path content with the modified path content to obtain the target path content corresponding to the character to be processed; and obtaining the target SVG file of the character to be processed based on the target path content. This method achieves matching of specific structures based on the initial path content of the character to be processed, and precisely modifying the matched specific structures to obtain the target SVG file of the character to be processed, significantly improving the efficiency of character modification and enabling batch character modification.

[0076] The watermark processing method disclosed herein is executed by an electronic device or an application program within the electronic device. The electronic device may be a tablet computer, mobile phone, wearable device, in-vehicle device, augmented reality (AR) / virtual reality (VR) device, laptop computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), smart TV, smart screen, high-definition TV, 4K TV, smart speaker, smart projector, etc. This disclosure does not impose any restrictions on the specific type of electronic device.

[0077] This disclosure does not limit the type of operating system used in electronic devices. Examples include Android, Linux, Windows, and iOS.

[0078] The technical solutions of this disclosure are described in detail below with reference to several specific embodiments.

[0079] Figure 1 This is a flowchart illustrating a watermark processing method provided in this disclosure, as shown below. Figure 1 As shown, the method in this embodiment is as follows:

[0080] S10. Obtain the initial scalable vector graphic SVG file of the characters to be processed in the font file.

[0081] The font file includes an SVG file, which contains the initial path content corresponding to the characters to be processed. The characters are drawn and displayed based on the path content in the SVG file. Therefore, different characters correspond to different path contents.

[0082] SVG is an image file format. It is based on XML (Extensible Markup Language) and was developed by the World Wide Web Consortium (W3C). It is an open standard vector graphics language that allows for the design of web (World Wide Web) graphic pages. Users can directly depict images using code, open SVG images with any text processing tool, modify parts of the code to make the image interactive, and insert it into HTML (HyperText Markup Language) at any time for viewing in a browser.

[0083] The character to be processed refers to the character that needs to be watermarked, that is, the character to be processed needs to be transformed to obtain the watermark font corresponding to the character to be processed. The character to be processed can be a character included in the text or a character included in any file. This disclosure does not specifically limit this.

[0084] The initial scalable vector graphic (SVG) file of the character to be processed is stored in the font name (TrueTypeFont, TTF) file. For example, the storage format of the initial SVG file of the character "丁" in the TTF file is: Path1 = "M 1913282v 140h-754v 1304q 0 86 -27.5 127t-87.5 58q-64 18 -178.5 22t-294.5 4q-7 -32 -26 -76.5t-37 -74.5q 97 3 185.5 4t 153.5 1t 93 -1q 37 -2 52.5 -15t 15.5 -49v-1304h-877v-140h 1782L 1913 282v 140h-754v 1304q 0 86 -27.5127t-87.5 58q-64 18-178.5 22t-294.5 4q-7 -32 -26 -76.5t-37 -74.5q97 3 185.5 4t 153.5 1t 93 -1q37 -2 52.5 -15t 15.5 -49v-1304h-877v-140h 1782z", where Path1 refers to the storage format of the initial SVG file of the character "丁" in the TTF file. In Path1, the characters m / M mean move to, the characters z / Z mean close, the characters v / V mean vertical line, the characters h / H mean horizontal line, the characters q / Q mean quadratic Bézier curve, and the characters t / T mean smooth quadratic Bézier curve. Based on the obtained initial scalable vector graphic (SVG) file of the character "丁", the character 丁 can be obtained.

[0085] For example, after moving to the position (1913, 282), draw a vertical line of 140 starting from (1913, 282), then draw a horizontal line of -754, etc. Through the initial scalable vector graphic (SVG) file of the character to be processed, the character "丁" can be represented.

[0086] S30. Determine the path content to be modified in the initial path content corresponding to the character to be processed.

[0087] If the character to be processed obtained is the character "丁", the part to be modified corresponding to this character to be processed is the "亅" in the character "丁". At this time, obtain the path content corresponding to the "亅" in the character "丁" to be modified from the initial path content of the character "丁".

[0088] After knowing the initial path content of the character "丁", obtain the path content corresponding to "亅" in the character "丁" from the initial path content corresponding to the character "丁", which is Path2 = "M 1913282v 1304q 0 86 -27.5 127t-87.5 58q-64 18 -178.5 22t-294.5 4q-7 -32 -26 -76.5t-37 -74.5q 97 3 185.5 4t 153.5 1t 93-1q 37 -2 52.5 -15t15.5 -49v-1304".

[0089] S40. Obtain the modified path content corresponding to the path content of the part to be modified from the preset database.

[0090] Among them, the character structure corresponding to the modified path content is a deformed body of the character structure corresponding to the path content of the part to be modified, and the modified path content corresponding to the path content of the part to be modified is stored in the preset database.

[0091] After obtaining the path content of the part to be modified in the initial path content corresponding to the character to be processed, obtain the modified path content corresponding to the path content of the part to be modified. Specifically, the character to be processed is the character "丁", the part to be modified corresponding to this character to be processed is "亅" in the character "丁", and it is determined that the path content corresponding to "亅" in the character to be modified "丁" is Path2 = "M 1913 282v 1304q 0 86 -27.5 127t-87.5 58q-64 18 -178.5 22t-294.5 4q-7 -32 -26 -76.5t-37 -74.5q 97 3 185.5 4t 153.5 1t 93 -1q 37-2 52.5 -15t 15.5-49v-1304". At this time, obtain the modified path content Path3 = "M 1158149v 1640q 0 72 -22 108.5t-66 53.5q-50 17 -136.5 21.5t-226.5 3.5q-6 -26 -21 -67t-30 -69q 1104 197 3.5t 116 -0.5q 28 -2 40.5 -13.5t 12.5 -40.5v-1640" corresponding to the path content of the part to be modified Path2. At this time, based on the modified part path content Path3, determine that the deformed body of the character structure "亅" is "亅", and the structure of the character structure "亅" before deformation is as Figure 2A shown, and the structure of the character structure "亅" after deformation is as Figure 2B shown.

[0092] S50. Replace the part of the path content to be modified in the initial path content with the modified part of the path content to obtain the target path content corresponding to the character to be processed.

[0093] After obtaining the modified path content corresponding to the part of the path content to be modified, that is, after obtaining the part of the path content Path2 corresponding to "亅" in the character "丁" and the modified part of the path content Path3 corresponding to "亅" in the character "丁", replace the part of the path content Path2 to be modified with the modified part of the path content Path3 to obtain the target path content corresponding to the character to be processed. Specifically, the target path content corresponding to the character to be processed obtained after replacing the part of the path content Path2 to be modified with the modified part of the path content Path3 is: Path4 = "M1913 282v 140h-754v 1304q 0 86 -27.5127t-87.5 58q-64 18 -178.522t-294.5 4q-7 -32 -26 -76.5t-37 -74.5q 97 3 185.54t 153.5 1t 93 -1q37 -2 52.5 -15t 15.5 -49v-1304h-877v-140h 1782L 1913 282v140h-754v 1640q 0 72 -22 108.5t-66 53.5q-50 17 -136.5 21.5t-226.5 3.5q-6 -26-21 -67t-30 -69q 110 4 197 3.5t 116 -0.5q 28 -2 40.5 -13.5t 12.5-40.5v-1640h-877v-140h 1782z".

[0094] It should be noted that in the above embodiment, during the process of replacing the part of the path content Path2 to be modified with the modified part of the path content Path3, the part corresponding to the character M is not replaced during the replacement process.

[0095] By obtaining the modified path content corresponding to the part of the path content to be modified and replacing the part of the path content to be modified in the initial path content with the modified part of the path content, the accurate modification of the part of the path content to be modified can be achieved.

[0096] S60. Based on the target path content corresponding to the character to be processed, obtain the target SVG file of the character to be processed.

[0097] Among them, the target SVG file is used for watermark processing.

[0098] After obtaining the target path content Path4 corresponding to the character to be processed, based on the target path content corresponding to the character to be processed, the target SVG file of the character to be processed is obtained. Furthermore, based on the obtained target SVG file of the character to be processed, batch modification of the character to be processed is achieved.

[0099] Specifically, after obtaining the path content to be modified Path2 in the initial path content corresponding to the character to be processed and the modified path content Path3 corresponding to the path content to be modified, the path content to be modified Path2 in the initial path content is replaced with the modified path content Path3 to obtain the target path content corresponding to the character to be processed. Furthermore, the target SVG file of the character to be processed is obtained. Exemplarily, for the character "丁", the modified path content Path3 rotates the hook of "亅" in the character "丁". When the modified path content Path3 is used to replace the path content to be modified Path2 in the initial path content, the target SVG file corresponding to the character to be processed is obtained. For the character to be processed "丁", the structure of the character "丁" corresponding to the initial scalable vector graphics SVG file is as Figure 3A shown, and the structure of the character "丁" corresponding to the target SVG file is as Figure 3B shown.

[0100] It should be noted that in the above embodiment, exemplarily, the hook of the character structure "亅" in the character "丁" is rotated to obtain the target SVG file of the character "丁", thereby achieving the modification of the character "丁". The following will illustrate the process of watermark processing for common characters to be processed through specific examples.

[0101] Exemplarily, when the character to be processed includes the following character structures, the specific methods for modifying the following characters included in the character to be processed are as follows:

[0102] 亠: Rotate the dot clockwise, break it, and move it upward, or rotate the dot counterclockwise. That is, the character structure "亠" before modification is as Figure 4A , and the character structure "亠" after modification is as Figure 4B or as shown in 4C.

[0103] 口: Shorten the protrusion on the left side, or shorten the protrusion on the right side. That is, the character structure "口" before modification is as Figure 5A or 5C, and the character structure "口" after modification is as Figure 5B or as shown in 5D.

[0104] 丷: Increase the distance between the two dots, or decrease the distance between the two dots. That is, the character structure "丷" before modification is as Figure 6A , and the character structure "丷" after modification is as Figure 6B or as shown in 6C.

[0105] Bei: Extend the right-falling stroke to connect with the left-falling stroke, that is, the character structure of "Bei" before modification is as Figure 7A , and the character structure of "Bei" after modification is as Figure 7B shown.

[0106] Chuo: Change the radian of the lower left part from convex upward to concave downward, that is, the character structure of "Chuo" before modification is as Figure 8A , and the character structure of "Chuo" after modification is as Figure 8B shown.

[0107] Huo: Rotate the left dot counterclockwise, that is, the character structure of "Huo" before modification is as Figure 9A , and the character structure of "Huo" after modification is as Figure 9B shown.

[0108] Ne: Rotate the upper left dot counterclockwise and move it downward, that is, the character structure of "Ne" before modification is as Figure 10A , and the character structure of "Ne" after modification is as Figure 10B shown.

[0109] Cao: Increase or decrease the distance between the two vertical strokes, that is, the character structure of "Cao" before modification is as Figure 11A , and the character structure of "Cao" after modification is as Figure 11B or as shown in 11C.

[0110] Hao: Extend and rotate the hook of the vertical hook counterclockwise, or shorten and rotate the hook of the vertical hook clockwise, that is, the character structure of "Hao" before modification is as Figure 12A , and the character structure of "Hao" after modification is as Figure 12B or as shown in 12C.

[0111] In a specific implementation manner, when the character to be processed includes any of the character structures exemplified above, first obtain the path content Path2 of the part to be modified corresponding to the character structure included in the character to be processed, then obtain the modification path content Path3 corresponding to the character structure included in the character to be processed, replace the path content Path2 of the part to be modified in the character to be processed with the modification path content Path3 to obtain the target path content corresponding to the character to be processed, and further obtain the target SVG file of the character to be processed based on the target path content corresponding to the character to be processed. At this time, the character structure included in the character to be processed obtained based on the target SVG file of the character to be processed is the modified character structure as described above.

[0112] The watermark processing method provided by the embodiments of the present disclosure obtains the initial scalable vector graphics SVG file of the character to be processed in the font file, determines the path content to be modified in the initial path content corresponding to the character to be processed, obtains the modified path content corresponding to the path content to be modified from the preset database, replaces the path content to be modified in the initial path content with the modified path content to obtain the target path content corresponding to the character to be processed, and finally obtains the target SVG file of the character to be processed based on the target path content corresponding to the character to be processed. Based on the SVG file, the corresponding watermark font can be obtained, realizing the matching of a specific structure based on the initial path content corresponding to the character to be processed, precisely modifying the matched specific structure, obtaining the target SVG file of the character to be processed, significantly improving the efficiency of modifying characters, realizing batch modification of characters, and improving the processing efficiency of watermark fonts.

[0113] Figure 13 FIG. is a schematic flow chart of another watermark processing method provided by the embodiments of the present disclosure. The embodiments of the present disclosure are based on the above embodiments, as Figure 13 shown, one feasible implementation of step S30 includes:

[0114] S31. Determine that the matching path content in the initial path content corresponding to the character to be processed is the path content to be modified.

[0115] Among them, the matching path content is the same as the path content of at least one character structure in the template library. The template library includes the path contents corresponding to multiple character structures respectively, and the character structure is a partial structure of the character.

[0116] Specifically, the template library includes the path contents corresponding to multiple character structures respectively, and the character structure is a partial structure of the character. Among them, the character includes any text. For example, when the character is the character "ding", the character structures included in this character are respectively "one" and "亅". When the character is the character "guang", the character structures included in this character are respectively "丶", "one" and "丿".

[0117] After obtaining the initial path content corresponding to the character to be processed, match the initial path content corresponding to the character to be processed with the path content of the character structure in the template library.

[0118] Specifically, the initial path content of the character "Ding" is Path1 = "M 1913 282v 140h-754v 1304q 086 -27.5 127t-87.5 58q-64 18 -178.5 22t-294.5 4q-7 -32 -26 -76.5t-37 -74.5q 973 185.5 4t 153.5 1t93 -1q 37 -2 52.5 -15t15.5 -49v-1304h-877v-140h 1782L 1913282v 140h-754v 1304q 086 -27.5 127t-87.5 58q-64 18 -178.5 22t-294.5 4q-7 -32-26 -76.5t-37 -74.5q 97 3 185.5 4t 153.5 1t 93 -1q 37 -2 52.5 -15t 15.5 -49v-1304h-877v-140h 1782z". The path content corresponding to "亅" in the template library is Path2 = "M 1913 28"5t - 37 - 74.5q 97 3 185.5 4t 153.5 1t 93 - 1q 37 - 252.5 - 15t 15.5 - 49v - 1304” is the content of the path to be modified.

[0119] It should be noted that in the above embodiments, for example, the character to be modified is taken as the character "ding" for illustration. The embodiments of the present disclosure do not specifically limit the character to be modified.

[0120] Figure 14 It is a schematic flowchart of another method for processing watermarks provided by the embodiments of the present disclosure. The embodiments of the present disclosure are based on Figure 13 the corresponding embodiments, as Figure 14 shown, a specific implementable manner of step S31 includes:[[]]END]

[0121] S310. Transform the initial path content corresponding to the character to be processed to obtain the deformed path content corresponding to the initial path content.

[0122] Among them, each element in the deformed path content corresponds to each element in the initial path content one by one.

[0123] The template library includes the deformed path contents corresponding to multiple character structures. Each element in the deformed path content includes a triple, and the triple includes: action, increase or decrease of the end point in the first direction, and increase or decrease of the end point in the second direction.

[0124] Specifically, after obtaining the initial path content corresponding to the character to be processed, for example, when obtaining the initial path content Path1 = "M 1913 282v 140h-754v 1304q 0 86 -27.5127t-87.5 58q-64 18 -178.5 22t-294.54q-7 -32 -26 -76.5t-37 -74.5q 97 3 185.54t 153.5 1t 93 -1q 37 -2 52.5 -15t 15.5 -49v-1304h-877v-140h 1782L 1913 282v140h-754v1304q 0 86 -27.5 127t-87.5 58q-64 18 -178.5 22t-294.5 4q-7 -32 -26-76.5t-37 -74.5q 97 3 185.5 4t 153.5 1t 93 -1q 37 -2 52.5 -15t 15.5 -49v-1304h-877v-140h 1782z" corresponding to the character to be processed "Ding", by deforming the initial path content corresponding to the character to be processed "Ding", the deformed path content corresponding to the initial path content is "L0+L-0L0+Q-+Q-+Q-+Q-+Q--Q--Q++Q++Q+-Q+-Q+-L0-L-0L0-L+0L0+L-0L0+Q-+Q-+Q-+Q-+Q--Q--Q++Q++Q+-Q+-Q+-L0-L-0L0-L+0".

[0125] The specific process of transforming the initial path content corresponding to the character to be processed is as follows: The initial path content corresponding to the character to be processed is abstracted into directional actions. The transformation rules are as follows: vertical lines (v / V), horizontal lines (h / H), and straight lines (l / L) are all counted as actions L; Bézier curves (q / Q / t / T) are all counted as actions Q. There are three types of directional increases and decreases: 0, +, and -, representing no change, increase, and decrease respectively. The closing operation z transforms it into a straight line. For example, the specific format of v140 in the initial path content corresponding to the character to be processed after transformation is L0+, and the specific format of h-754 in the initial path content corresponding to the character to be processed after transformation is L-0. Since each element in the deformed path content includes a triplet, which includes: action, increase or decrease of endpoint in the first direction, and increase or decrease of endpoint in the second direction, and v140 in the initial path content corresponding to the character to be processed refers to the vertical line of 140, that is, the horizontal direction does not change, v140 is converted to the specific format L0+ of the deformed path content, which means that it does not change in the horizontal direction and increases in the vertical direction, while h-754 is converted to the specific format L-0 of the deformed path content, which means that it decreases in the horizontal direction and does not change in the vertical direction.

[0126] S312. Obtain the matching path content in the deformed path content. The matching path content is the same as the deformed path content of at least one character structure in the template library.

[0127] When the deformation path content corresponding to multiple character structures is included in the template library, for example, the path content corresponding to "亅" in the template library is Path2 = "M 1913 282v 1304q 086 -27.5 127t-87.5 58q-64 18 -178.5 22t-294.5 4q-7 -32 -26 -76.5t-37 -74.5q 97 3 185.5 4t 153.5 1t 93 -1q37 -2 52.5 -15t 15.5 -49v-1304", and the deformation path content corresponding to the character structure "亅" in the template library is Path2' = "L0+Q-+Q-+Q-+Q-+Q--Q--Q++Q++Q+-Q+-Q+-L0-". The deformation path content corresponding to the initial path content of the character "丁" is "L0+L-0L0+Q-+Q-+Q-+Q-+Q--Q--Q++Q++Q+-Q+-Q+-L0-L-0L0-L+0L0+L-0L0+Q-+Q-+Q-+Q-+Q--Q--Q++Q++Q+-Q+-Q+-L0-L-0L0-L+0". Since the part of the deformation path content "L0+Q-+Q-+Q-+Q-+Q--Q--Q++Q++Q+-Q+-Q+-L0-" in the deformation path content corresponding to the initial path content of the character "丁" is the same as the deformation path content Path2' = "L0+Q-+Q-+Q-+Q-+Q--Q--Q++Q++Q+-Q+-Q+-L0-" corresponding to the character structure "亅" in the template library, therefore, the matching path content in the obtained deformation path content is "L0+Q-+Q-+Q-+Q-+Q--Q--Q++Q++Q+-Q+-Q+-L0-".

[0128] S313. Determine the position of the matching path content in the deformation path content corresponding to the initial path content, and determine the path content to be modified based on the position.

[0129] After determining the matching path content in the deformation path content, determine the position of the matching path content in the deformation path content corresponding to the initial path content, and determine the path content of the part to be modified based on the determined position of the matching path content in the deformation path content corresponding to the initial path content. That is, when the matching path content in the deformation path content is determined to be "L0+Q-+Q-+Q-+Q-+Q--Q--Q++Q++Q+-Q+-Q+-L0-", first find the position of this matching path content in the deformation path content corresponding to the initial path content, and then based on the corresponding relationship between the initial path content and the deformation path content corresponding to the initial path content, determine the path content of the part to be modified, that is, "v 1304q 0 86 -27.5127t-87.558q-64 18 -178.5 22t-294.5 4q-7 -32 -26 -76.5t-37 -74.5q 97 3185.54t 153.5 1t 93 -1q 37 -2 52.5 -15t 15.5 -49v-1304" in the initial path content is the path content of the part to be modified.

[0130] Figure 15 It is a schematic flowchart of another watermark processing method provided by an embodiment of the present disclosure. The embodiment of the present disclosure is based on the Figure 14 corresponding embodiment, as Figure 15 shown, before step S312, it further includes:

[0131] S311. Remove duplicates from consecutive identical triples in the deformation path content corresponding to the initial path content, and record the position index of each element in the deformation path content before duplicate removal after duplicate removal.

[0132] Specifically, the deformation path content corresponding to the initial path content of the character "Ding" is "L0+L-0L0+Q-+Q-+Q-+Q-+Q--Q--Q++Q++Q+-Q+-Q+-L0-L-0L0-L+0L0+L-0L0+Q-+Q-+Q-+Q-+Q--Q--Q++Q++Q+-Q+-Q+-L0-L-0L0-L+0". By removing duplicates from consecutive identical triples in the deformation path content corresponding to the initial path content, for example, the path content obtained after removing duplicates from the deformation path content corresponding to the initial path content of the character "Ding" is "L0+L-0L0+Q-+Q--Q++Q+-L0-L-0L0-L+0L0+L-0L0+Q-+Q--Q++Q+-L0-L-0L0-L+0".

[0133] In addition, during the process of removing duplicate consecutive triples in the deformed path content corresponding to the initial path content, it is necessary to record the position index of each element in the deformed path content before duplicate removal after duplicate removal. Exemplarily, the path content obtained after removing duplicates from the deformed path content corresponding to the initial path content of the character "Ding" is "L0+L-0L0+Q-+Q--Q++Q+-L0-L-0L0-L+0L0+L-0L0+Q-+Q--Q++Q+-L0-L-0L0-L+0". The position index of L0+ after duplicate removal is 1, and the position index before duplicate removal is also 1. The position index of L-0 after duplicate removal is 2, and the position index before duplicate removal is also 2. The position index of L0+ after duplicate removal is 3, and the position index before duplicate removal is also 3. The position index of Q-+ after duplicate removal is 4, and the position index before duplicate removal is also 4. The position index of Q-- after duplicate removal is 5, and the position index before duplicate removal is 8. That is, record the position index of each element in the deformed path content before duplicate removal after duplicate removal.

[0134] When the watermark processing method includes step S311, a specific implementation manner of step S313 includes:

[0135] S3130: Based on the position index of each element in the deformed path content before duplicate removal after duplicate removal, determine the position of the matching path content in the deformed path content corresponding to the initial path content.

[0136] After determining the matching path content in the deformed path content, based on the position index of each element in the deformed path content before duplicate removal after duplicate removal, determine the position of the matching path content in the deformed path content corresponding to the initial path content. Based on the determined position of the matching path content in the deformed path content corresponding to the initial path content, determine the path content of the part to be modified. That is, when the matching path content in the deformed path content is determined to be "L0+Q-+Q-+Q-+Q-+Q--Q--Q++Q++Q+-Q+-Q+-L0-", first find the position of this matching path content in the deformed path content corresponding to the initial path content, and then based on the correspondence between the initial path content and the deformed path content corresponding to the initial path content, determine the path content of the part to be modified. That is, "v 1304q 0 86 -27.5127t-87.5 58q-64 18 -178.5 22t-294.5 4q-7 -32 -26 -76.5t-37 -74.5q97 3 185.5 4t 153.5 1t 93-1q 37 -2 52.5 -15t 15.5 -49v-1304" in the initial path content is the path content of the part to be modified.

[0137] Figure 16 This is a flowchart illustrating another watermark processing method provided in this disclosure. This disclosure embodiment is... Figure 13 Based on the corresponding embodiments, such as Figure 16 As shown, the procedure before step S30 also includes:

[0138] S20. Expand the initial path content corresponding to the character to be processed.

[0139] To avoid the problem of disjointed initial path content corresponding to the character to be processed, for example, if the initial path content of the character to be processed is "45abcef123", when retrieving the modified part of the initial path content, if the matching path is "12345", the modified part of the initial path content corresponding to the character to be processed cannot be retrieved. Therefore, the initial path content corresponding to the character to be processed is expanded. For example, the expanded initial path content of the character to be processed is "45abcef12345abcef123". In this case, the modified part of the initial path content corresponding to the character to be processed can be retrieved.

[0140] When the watermark processing method includes step S20, one specific implementation of step S21 includes:

[0141] S214. Determine the first matching path content in the initial path content corresponding to the character to be processed as the path content to be modified.

[0142] When the initial path content of the character to be processed has a problem of disjointed beginning and end, the initial path content corresponding to the character to be processed is expanded. The expansion process can be performed once or multiple times. When the expansion process is performed multiple times, for example, if the initial path content of the character to be processed is "45abcef123", after the character to be processed is expanded twice, the initial path content of the character to be processed is "45abcef12345abcef12345abcef123".

[0143] After expanding the initial path content corresponding to the character to be processed, at this time, obtain the first matching path content in the initial path content corresponding to the character to be processed as the path content to be modified. For example, the initial path content of the character to be processed is "45abcef123". After expanding the character to be processed twice, the initial path content of the expanded character to be processed is "45abcef12345abcef12345abcef123". If the matching path is "12345", at this time, select the first matching path content in the initial path content corresponding to the character to be processed as the path content to be modified, that is, the bold part of the matching path content in the initial path content of the expanded character to be processed is the path content to be modified.

[0144] In addition, in the above embodiment, it is示例性 that the matching path content in the initial path content corresponding to the character to be processed is one. For example, for the character "Ding", the matching path content is the path content of the character structure "亅". In other implementable ways, when the matching path content in the initial path content corresponding to the character to be processed is multiple, such as 2, for the character "Lin", or 3, for the character "Sen". When the character to be processed is the character "Lin", at this time, the initial path content corresponding to the character "Lin" to be processed is composed of the initial path contents corresponding to two "Mu" characters. At this time, the first matching path content in the initial path content corresponding to the character to be processed can be obtained as the path content to be modified, or the matching path content in the initial path content corresponding to the character to be processed can be obtained as the path content to be modified. The embodiments of the present disclosure do not specifically limit this.

[0145] Figure 17 It is a schematic structural diagram of a watermark processing device provided by an embodiment of the present disclosure. As Figure 17 shown, the watermark processing device includes:

[0146] An SVG file acquisition module 610, configured to acquire an initial scalable vector graphic SVG file of a character to be processed in a font file. The SVG file includes: the initial path content corresponding to the character to be processed;

[0147] A path content to be modified acquisition module 620, configured to determine the path content to be modified in the initial path content corresponding to the character to be processed;

[0148] A modified path content acquisition module 630, configured to acquire the modified path content corresponding to the path content to be modified from a preset database. Among them, the character structure corresponding to the modified path content is a variant of the character structure corresponding to the path content to be modified. The preset database stores the modified path content corresponding to the path content to be modified;

[0149] Replacement module 640 is used to replace the part of the path content to be modified in the initial path content with the part of the path content to be modified, so as to obtain the target path content corresponding to the character to be processed.

[0150] The target SVG file determination module 650 is used to obtain the target SVG file of the character to be processed based on the target path content corresponding to the character to be processed. The target SVG file is used for watermarking.

[0151] The watermark processing apparatus provided in this embodiment acquires an initial scalable vector graphic SVG file of the character to be processed through an SVG file acquisition module, determines the path content to be modified in the initial path content corresponding to the character to be processed through a path content acquisition module, acquires the modified path content corresponding to the path content to be modified from a preset database through a replacement module, replaces the path content to be modified in the initial path content with the modified path content, and obtains the target path content corresponding to the character to be processed through a target SVG file determination module based on the target path content corresponding to the character to be processed. Based on the target SVG file, the corresponding watermark font can be obtained. This apparatus achieves matching of specific structures based on the initial path content corresponding to the character to be processed, and precisely modifies the matched specific structures to obtain the target SVG file of the character to be processed. This improves the efficiency of character modification, enables batch character modification, and improves the processing efficiency of watermark fonts.

[0152] Optionally, the module for obtaining the path content to be modified includes a unit for obtaining the path content to be modified, which is used to determine the matching path content in the initial path content corresponding to the character to be processed as the path content to be modified. The matching path content is the same as the path content of at least one character structure in the template library. The template library includes path content corresponding to multiple character structures, and the character structure is a partial structure of a character.

[0153] Optionally, the unit for obtaining the path content to be modified includes:

[0154] The deformed path content acquisition unit is used to deform the initial path content corresponding to the character to be processed to obtain the deformed path content corresponding to the initial path content. Each element in the deformed path content corresponds one-to-one with each element in the initial path content.

[0155] The matching path content acquisition unit is used to acquire the matching path content in the deformed path content. The matching path content is the same as the deformed path content of at least one character structure in the template library.

[0156] The unit for determining the path content to be modified is used to determine the position of the matched path content in the deformed path content corresponding to the initial path content, and to determine the path content to be modified based on the position.

[0157] Optional, also includes:

[0158] The deduplication unit is used to remove duplicates from consecutive identical triples in the deformed path content corresponding to the initial path content, and records the position index of each element in the deformed path content before the deduplication process.

[0159] Another possible implementation of the deformation path content acquisition unit includes:

[0160] Based on the position index of each element in the transformed path content before deduplication, the position of the matched path content in the transformed path content corresponding to the initial path content is determined.

[0161] Optional, also includes:

[0162] The expansion processing unit is used to expand the initial path content corresponding to the character to be processed.

[0163] Optionally, one possible implementation of the unit for obtaining the path content to be modified includes:

[0164] The first matching path content in the initial path content corresponding to the character to be processed is the path content to be modified.

[0165] It is worth noting that in the embodiments of the above-mentioned device, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of each functional unit are only for easy distinction between each other and are not used to limit the scope of protection of the present invention.

[0166] The apparatus provided in the embodiments of the present invention can execute the methods provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the methods.

[0167] Figure 18 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure, such as... Figure 18 As shown, the electronic device includes a processor 710, a memory 720, an input device 730, and an output device 740; the number of processors 710 in the electronic device can be one or more. Figure 18 Taking a processor 710 as an example; the processor 710, memory 720, input device 730, and output device 740 in the electronic device can be connected via a bus or other means. Figure 18 Taking the example of a connection between China and Israel via a bus.

[0168] The memory 720, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the methods in the embodiments of the present invention. The processor 710 executes various functional applications and data processing of the electronic device by running the software programs, instructions, and modules stored in the memory 720, thereby implementing the methods provided in the embodiments of the present invention.

[0169] The memory 720 may primarily include a program storage area and a data storage area. The program storage area may store the operating system and at least one application program required for a given function; the data storage area may store data created based on terminal usage. Furthermore, the memory 720 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory, or other non-volatile solid-state storage device. In some instances, the memory 720 may further include memory remotely located relative to the processor 710, which can be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0170] The input device 730 can be used to receive input digital or character information and generate key signal inputs related to user settings and function control of the electronic device, and may include a keyboard, mouse, etc. The output device 740 may include a display device such as a display screen.

[0171] This disclosure also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to implement the methods provided in the embodiments of the present invention.

[0172] Of course, the computer-executable instructions provided in the embodiments of the present invention are not limited to the method operations described above, but can also perform related operations in the methods provided in any embodiment of the present invention.

[0173] This disclosure also provides a computer program product that, when run on a computer, causes the computer to execute the application program described in the preceding embodiments.

[0174] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0175] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for processing watermarks, characterized in that, include: Obtain the initial scalable vector graphic SVG file of the character to be processed in the font file, wherein the SVG file includes: the initial path content corresponding to the character to be processed; Determine the path content to be modified in the initial path content corresponding to the character to be processed; the path content to be modified is the matching path content in the initial path content, the matching path content is the same as the deformed path content of at least one character structure in the template library, each element in the deformed path content includes a triplet, the triplet includes: action, increase or decrease of endpoint in the first direction, increase or decrease of endpoint in the second direction. The modified path content corresponding to the path content to be modified is obtained from the preset database, wherein the character structure corresponding to the modified path content is a variant of the character structure corresponding to the path content to be modified, and the preset database stores the modified path content corresponding to the path content to be modified. Replace the part of the path content to be modified in the initial path content with the modified path content to obtain the target path content corresponding to the character to be processed. Based on the target path content corresponding to the character to be processed, the target SVG file of the character to be processed is obtained, and the target SVG file is used for watermarking.

2. The method according to claim 1, characterized in that, The template library includes path content corresponding to multiple character structures, where each character structure is a partial structure of a character.

3. The method according to claim 2, characterized in that, The step of determining the matching path content in the initial path content corresponding to the character to be processed as the path content to be modified includes: The initial path content corresponding to the character to be processed is transformed to obtain the transformed path content corresponding to the initial path content, wherein each element in the transformed path content corresponds one-to-one with each element in the initial path content; Obtain the matching path content in the deformed path content, wherein the matching path content is the same as the deformed path content of at least one character structure in the template library; Determine the position of the matched path content within the deformed path content corresponding to the initial path content, and determine the path content to be modified based on the position.

4. The method according to claim 3, characterized in that, The template library includes compressed deformation path content corresponding to multiple character structures. The compressed deformation path content refers to the process of removing duplicates from consecutive identical triplets. Before obtaining the matching path content in the deformed path content, the method further includes: The duplicate triples in the deformed path content corresponding to the initial path content are deduplicated, and the position index of each element in the deformed path content before the deduplication is recorded. Determining the position of the matched path content within the transformed path content corresponding to the initial path content includes: Based on the position index of each element after the deduplication process in the deformed path content before the deduplication process, the position of the matched path content in the deformed path content corresponding to the initial path content is determined.

5. The method according to any one of claims 2-4, characterized in that, Before determining the portion of the path content to be modified in the initial path content corresponding to the character to be processed, the method further includes: The initial path content corresponding to the character to be processed is expanded.

6. The method according to claim 5, characterized in that, The step of determining the matching path content in the initial path content corresponding to the character to be processed as the path content to be modified includes: The first matching path content in the initial path content corresponding to the character to be processed is determined as the path content to be modified.

7. A watermark processing device, characterized in that, include: The SVG file acquisition module is used to acquire the initial scalable vector graphic SVG file of the character to be processed in the font file. The SVG file includes the initial path content corresponding to the character to be processed. The module for obtaining the path content to be modified is used to determine the path content to be modified in the initial path content corresponding to the character to be processed; the path content to be modified is the matching path content in the initial path content, the matching path content is the same as the deformed path content of at least one character structure in the template library, each element in the deformed path content includes a triplet, the triplet includes: action, increase or decrease of the endpoint in the first direction, and increase or decrease of the endpoint in the second direction. The modified path content acquisition module is used to acquire the modified path content corresponding to the part of the path content to be modified from a preset database, wherein the character structure corresponding to the modified path content is a variant of the character structure corresponding to the part of the path content to be modified, and wherein the preset database stores the modified path content corresponding to the part of the path content to be modified. The replacement module is used to replace the part of the path content to be modified in the initial path content with the modified path content to obtain the target path content corresponding to the character to be processed. The target SVG file determination module is used to obtain the target SVG file of the character to be processed based on the target path content corresponding to the character to be processed, and the target SVG file is used for watermarking.

8. An electronic device, characterized in that, include: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1 to 6.

10. A computer program product, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the steps of the method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Anti-counterfeiting method for replacing Chinese character characteristic structure with numbers to form random codes

    CN111178003A