CN109635525A - Adding method, device, equipment and the storage medium of watermark - Google Patents
Adding method, device, equipment and the storage medium of watermark Download PDFInfo
- Publication number
- CN109635525A CN109635525A CN201811509460.1A CN201811509460A CN109635525A CN 109635525 A CN109635525 A CN 109635525A CN 201811509460 A CN201811509460 A CN 201811509460A CN 109635525 A CN109635525 A CN 109635525A
- Authority
- CN
- China
- Prior art keywords
- watermark
- file
- added
- tool
- file format
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 86
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 5
- 238000001125 extrusion Methods 0.000 claims description 4
- 230000005055 memory storage Effects 0.000 claims description 3
- 238000011017 operating method Methods 0.000 abstract description 6
- 230000008901 benefit Effects 0.000 description 4
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000000996 additive effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/16—Program or content traceability, e.g. by watermarking
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Technology Law (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
The invention discloses a kind of adding method of watermark, device, equipment and storage mediums, which comprises according to the file format of source file, adds process for the corresponding preset watermark of source file distribution and tool is added in watermark;Process is added according to the watermark, configures the watermark addition tool;It calls the watermark of configuration to add tool, so that the watermark addition tool of the configuration adds process according to the watermark, adds a watermark to the source file.The present invention effectively simplifies the operating procedure of watermark adding procedure.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of adding method of watermark, device, equipment and storage
Medium.
Background technique
In some Intelligence repositories, intelligent answer and Content Management Platform, transmitting file can be gone up.The file of upload is added
Upper watermark can be used to reach the functions such as the identification of the file true and false, copyright protection.User is needed to open in existing watermark adding procedure
Then each file adds watermark for each file.File if necessary to add watermark is multiple, or is multiple and different
The file of type adds watermark, will generate many and diverse operating procedure, and require to look up corresponding tool, while also needing to have
Standby corresponding professional knowledge could complete watermark addition work.
Cumbersome for there is a problem of in existing watermark adding technique, this field does not provide effective solution scheme.
Summary of the invention
In order to overcome drawbacks described above, the technical problem to be solved in the present invention is to provide a kind of adding method of watermark, device,
Equipment and storage medium, at least to simplify the operating procedure of watermark adding procedure.
In order to solve the above technical problems, the adding method of one of embodiment of the present invention watermark includes:
According to the file format of source file, process and watermark addition are added for the corresponding preset watermark of source file distribution
Tool;
Process is added according to the watermark, configures the watermark addition tool;The file format includes picture file lattice
At least one of formula, text file format and video file format;
The watermark of configuration is called to add tool, so that the watermark addition tool of the configuration is added according to the watermark and flowed
Journey adds a watermark to the source file.
Optionally, before the watermark addition tool for calling configuration, comprising:
Identify the type of the watermark file obtained;
According to the type and the watermark file identified, the watermark is determined.
Optionally, the type and the watermark file that the basis identifies, determine the watermark, comprising:
It is according to the watermark parameters of acquisition, the watermark file of text type is raw when the type identified is text type
As the watermark;
When the type identified is picture type, using the watermark file of picture type as the watermark.
Optionally, the watermark parameters include in the watermark file of the text type font, color, size of character and
At least one in spacing.
Optionally, the file format according to source file, for the corresponding preset watermark addition stream of source file distribution
Before journey and watermark addition tool, comprising:
Receive the file of the watermark to be added of user;
When determining the file of the watermark to be added for compressed file, the file of extrusion will be solved from the compressed file
As the source file;
When determining the file of the watermark to be added for uncompressed file, using the file of the watermark to be added as institute
State source file.
Optionally, when the file format is picture file format, process is added in the watermark for source file distribution
Include:
According to preset first watermark layout parameter, the watermark is added to the source file of the picture file format.
Optionally, the first watermark layout parameter include in watermark size, watermark location and watermark placement direction at least
It is a kind of.
Optionally, when the file format is text file format, process is added in the watermark for source file distribution
Include:
According to preset second watermark layout parameter, the watermark is added to the source file of the text file format
The page.
Optionally, the second watermark layout parameter includes watermark size, watermark location, watermark placement direction and addition water
At least one of page of print.
Optionally, when the file format is video file format, process is added in the watermark for source file distribution
Include:
The source file of the video file format is carried out to grab screen, and according to preset third watermark layout parameter, by institute
It states watermark and is added to described grab on screen.
Optionally, the third watermark layout parameter includes at least one of watermark size and watermark location.
In order to solve the above technical problems, the adding set of one of embodiment of the present invention watermark includes:
Distribution module, for the file format according to source file, for the corresponding preset watermark addition of source file distribution
Tool is added in process and watermark;
Configuration module configures the watermark addition tool for adding process according to the watermark;
Calling module, for calling the watermark of configuration to add tool, so that the watermark addition tool of the configuration is according to institute
Watermark addition process is stated, the source file is added a watermark to.
In order to solve the above technical problems, one of embodiment of the present invention electronic equipment, including memory and processor;Institute
It states memory and is used to store computer instruction, when the processor is used to execute the computer instruction of the memory storage, with
The step of realizing watermark adding method described in any one as above.
In order to solve the above technical problems, one of embodiment of the present invention computer readable storage medium, is stored with watermark
Addition computer program, the computer program by least one processor execute when, to realize described in any one as above
Watermark adding method the step of.
Above-mentioned each embodiment adds watermark for Miscellaneous Documents and provides a main entrance, and user is without knowing operation step
Suddenly, all treatment processes are transparent for a user, and user only needs to provide source file and watermark, are not also needed
User opens each file respectively, does not need user and goes to search corresponding tool, and then effectively simplifies watermark adding procedure
Operating procedure;And watermark addition work can be completed by having corresponding professional knowledge without user.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is a kind of main flow chart of the adding method of watermark in the embodiment of the present invention;
Fig. 2 is a kind of flow chart of the optionally adding method of watermark in the embodiment of the present invention;
Fig. 3 is the watermark additive effect figure in the embodiment of the present invention;
Fig. 4 is a kind of structural block diagram of the adding set of watermark in the embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Using for distinguishing element " first ", the prefixes such as " second " only for being conducive to explanation of the invention,
Itself is without specific meaning.
Embodiment one
The embodiment of the present invention provides a kind of adding method of watermark, as shown in Figure 1, which comprises
S101 adds process and water according to the file format of source file for the corresponding preset watermark of source file distribution
Print addition tool;
S102 adds process according to the watermark, configures the watermark addition tool;
S103 calls the watermark of configuration to add tool, so that the watermark addition tool of the configuration adds according to the watermark
Add process, adds a watermark to the source file.
Wherein file format may include picture file format, text file format and video file format;Such as text
File format may include Word, Excel, Ppt, Pdf;Video file format may include Mp4 etc..Tool is added in watermark can be with
Including Docx4j plug-in unit, Poi plug-in unit, Itextpdf plug-in unit, Ffmpeg tool etc..Source file is the file of watermark to be added.
According to the file format of source file in the embodiment of the present invention, for the corresponding preset watermark addition of source file distribution
Tool is added in process and watermark, then can add process according to the watermark, configure the watermark addition tool, finally can be with
The watermark of configuration is called to add tool, so that the watermark addition tool of the configuration adds process according to the watermark, by watermark
It is added to the source file, so that adding watermark for Miscellaneous Documents provides a main entrance, user is without knowing operating procedure, institute
Treatment process be for a user it is transparent, user only needs to provide source file and watermark, does not also need user
Each file is opened respectively, is not needed user and is gone to search corresponding tool, and then effectively simplifies the operation of watermark adding procedure
Step;And watermark addition work can be completed by having corresponding professional knowledge without user.
In some embodiments of the embodiment of the present invention, before the watermark addition tool for calling configuration, comprising:
Identify the type of the watermark file obtained;
According to the type and the watermark file identified, the watermark is determined.
That is, in some embodiments, watermark can be determined according to the type of watermark file, so that this
Method can be applied to different scenes in inventive embodiments, can be not limited to that picture type can only be added in the prior art
Watermark, to further effectively improve the experience of user;And determine watermarking process in without user participate in, thus without with
Family, which has corresponding professional knowledge, can determine watermark, thus further increase the experience of user.
Wherein, the type and the watermark file that the basis identifies, determine the watermark, optionally include: knowing
Not Chu type be text type when, according to the watermark parameters of acquisition, the watermark file of text type is generated as the watermark;
When the type identified is picture type, using the watermark file of picture type as the watermark.
Watermark parameters can be user setting, be also possible to preset (i.e. default setting);Watermark parameters may include
At least one in the font, color, size and spacing of character in the watermark file of the text type.That is, some
In embodiment, watermark can be generated according to the watermark parameters of acquisition, to further increase user experience;For example, logical
When crossing text generation watermark, font, color etc. are adjustable;For example, the watermark of different colours is arranged according to the demand of user oneself.
In some embodiments of the embodiment of the present invention, can support batch add watermark, user can in advance by
The files in batch compression for adding watermark, to further increase user experience;That is, the tray according to source file
Formula distributes before corresponding to preset watermark addition process and watermark addition tool for the source file, may include:
Receive the file of the watermark to be added of user;
When determining the file of the watermark to be added for compressed file, the file of extrusion will be solved from the compressed file
As the source file;
When determining the file of the watermark to be added for uncompressed file, using the file of the watermark to be added as institute
State source file.
In some embodiments of the embodiment of the present invention, the file format includes picture file format, text file
At least one of format and video file format;
It wherein, can for the watermark addition process of source file distribution when the file format is picture file format
Selection of land includes: that the watermark is added to the source file of the picture file format according to preset first watermark layout parameter;
It wherein, can for the watermark addition process of source file distribution when the file format is text file format
Selection of land includes: that the watermark is added to the source file of the text file format according to preset second watermark layout parameter
The page;
It wherein, can for the watermark addition process of source file distribution when the file format is video file format
Selection of land includes: to carry out grabbing screen to the source file of the video file format, and according to preset third watermark layout parameter, by institute
It states watermark and is added to described grab on screen.
That is, in some embodiments, user can preset (including the first watermark of corresponding watermark layout parameter
Layout parameter, the second watermark layout parameter, third watermark layout parameter), so that method is in the process of realization in the embodiment of the present invention
In, the addition of watermark can be carried out according to these watermark layout parameters, so as to meet the needs of different user, further
Improve user experience.
Optionally, the text file format includes Word file format, Excel file format, PowerPoint file
At least one of format and Pdf file format;The Word file format and the corresponding watermark addition of the Excel file format
Tool is Docx4j plug-in unit;The corresponding watermark addition tool of the PowerPoint file format is Poi plug-in unit;The Pdf text
The corresponding watermark addition tool of part format is Itextpdf plug-in unit;The corresponding watermark addition tool of the video file format is
Ffmpeg tool.
Such as:
1) watermark picture picture file format: is placed on to the lower right corner of source file;Wherein the lower right corner is the first watermark layout
Parameter.
2) Word file format: Docx4j plug-in unit is called to set watermark to according to the corresponding watermark layout parameter of default
The watermark of Word file.
3) Excel file format: Docx4j plug-in unit is called, all Sheet (page) in Excel are sequentially found, by water
Impression piece is set as the watermark of Excel file;Wherein all pages belong to a kind of watermark layout parameter.
4) PowerPoint file format: Poi plug-in unit is called, all Page (page) is sequentially found, by watermark picture
It is set as the watermark of PowerPoint file.
5) Pdf file format: Itextpdf plug-in unit is called, all Page (page) is sequentially found, watermark picture is set
It is set to the watermark of Pdf file.
6) video file format: Ffmpeg tool is called, call instruction:
D:\Program Files\ffmpeg\bin>ffmpeg–i;
D: xiaoi logo logo.mp4-vf " movie=logo.png [logo];[in] [logo] overlay=
10:10[out]";
D:\xiaoi\logo\output.mp4;
To generate the video file of watermarking.
Certainly, in some embodiments, in order to improve the universality of the embodiment of the present invention, according to preset second watermark
Layout parameter will also may include: before the page that the watermark is added to the source file of the text file format
It is Word file format in the text file format, and identifies that the first version of the Word file format is small
When default version threshold value;It is the Word file format of the second edition by the Word file format conversion of first version;Described
Two versions are not less than the version threshold value.Such as first version is 03 version, the second edition is 07 version.
In some embodiments, different watermark layout parameters can be set in user, so as to meet different use
Family demand, and then further improve user experience;Such as it is watermark file, adjustable whole;For another example, same source file can add
Add different type watermark etc..That is, optionally, the first watermark layout parameter include watermark size, watermark location and
At least one of watermark placement direction;The second watermark layout parameter includes watermark size, watermark location, watermark placement direction
With at least one of the page of addition watermark;The third watermark layout parameter includes at least one in watermark size and watermark location
Kind.
Above-mentioned each embodiment can in any combination, to obtain a kind of adding method of specific watermark;In order to
The embodiment of the present invention is more clearly described, below with a specific example, sketches a kind of optionally watermark in the embodiment of the present invention
Adding method, as shown in Figure 2, which comprises
Step 1, the upper transmitting file of user, including source file and watermark file.
Step 2, file is received, and identifies the watermark file type that user uploads;If text type, step 3 is executed;If
Step 4 is then executed by watermark file directly as watermark for picture type.
Step 3, text type watermark file is generated into watermark;Then step 4 is executed.
Step 4, it is compressed file in the file for identifying that user uploads, then identifies the source file in compressed package after decompressing
File format, and distributed source file to different processing modules according to file format, it is divided into picture processing module, Word file
At processing module, Excel file processing module, PowerPoint document processing module, Pdf document processing module and video file
Manage module.It may include the source file of a variety of file formats in the same compressed package.
Above 6 kinds of processing modules can be optionally combined, and every kind of processing module has independent implementation.
1) picture processing module, for handling picture file format;Watermark picture is placed on to the lower right corner of source file.
2) Word file processing module, for handling Word file format;Using Docx4j plug-in unit, watermark picture is arranged
For the watermark of Word file.
3) Excel file processing module, using Docx4j plug-in unit, is sequentially found for handling Excel file format
All Sheet in Excel, set watermark picture to the watermark of Excel file.
4) PowerPoint document processing module, for handling PowerPoint file format, using Poi plug-in unit, successively
All Page are found, set watermark picture to the watermark of PowerPoint file.
5) Pdf document processing module, using Itextpdf plug-in unit, is sequentially found all for handling Pdf file format
Page sets watermark picture to the watermark of Pdf file.
6) video file processing module utilizes Ffmpeg tool, call instruction for handling video file format;
D:\Program Files\ffmpeg\bin>ffmpeg–i;
D: xiaoi logo logo.mp4-vf " movie=logo.png [logo];[in] [logo] overlay=
10:10[out]";
D:\xiaoi\logo\output.mp4;
Generate the video file of watermarking.
Step 5, addition finishes;If addition failure, prompts failure cause;If added successfully, after generating addition watermark
File.
It is provided in this example to the main entrance of Miscellaneous Documents addition watermark.User is all without knowing operating procedure
Processor be for a user it is transparent, user only needs to provide source file and watermark picture (text).
Various software and tool are installed in client without user in this example, addition watermark can be realized.
Picture watermark and Text Watermarking, Text Watermarking is supported also to support user oneself that color is set in this example simultaneously.
Batch addition watermark is supported in this example, user, which can compress the files in batch of watermark to be added, to be uploaded.
This example can effectively simplify the complex operations step of addition watermark, and the time-consuming that this example adds watermark is very short,
The specific time can determine according to file size, as shown in figure 3, based on method in this example, to the source document of 1M byte or so
Part carries out watermark addition, and watermark addition process is no more than 20 seconds.
Embodiment two
The embodiment of the present invention provides a kind of adding set of watermark, as shown in figure 4, described device includes:
Distribution module 20 adds for the file format according to source file for the corresponding preset watermark of source file distribution
Process and watermark is added to add tool;
Configuration module 22 configures the watermark addition tool for adding process according to the watermark;
Calling module 24, for call configuration watermark add tool so that the configuration watermark addition tool according to
Process is added in the watermark, adds a watermark to the source file.
In some embodiments of the embodiment of the present invention, described device further include:
First identification module, the type of the watermark file obtained for identification;
Watermark determining module, for determining the watermark according to the type and the watermark file identified.
In some embodiments of the embodiment of the present invention, the watermark determining module, specifically in the class identified
When type is text type, according to the watermark parameters of acquisition, the watermark file of text type is generated as the watermark;It is identifying
Type be picture type when, using the watermark file of picture type as the watermark.
In some embodiments of the embodiment of the present invention, the watermark parameters include the watermark file of the text type
At least one in the font of middle character, color, size and spacing.
In some embodiments of the embodiment of the present invention, described device further include:
Receiving module, the file of the watermark to be added for receiving user;
Second identification module will be from the compression for when determining the file of the watermark to be added for compressed file
The file of extrusion is solved in file as the source file;It, will when judging the file of the watermark to be added for uncompressed file
The file of the watermark to be added is as the source file.
In some embodiments of the embodiment of the present invention, the file format includes picture file format, text file
At least one of format and video file format;
When the file format is picture file format, the distribution module 20 is specifically used for according to preset first
The watermark is added to the source file of the picture file format by watermark layout parameter;
When the file format is text file format, the distribution module 20 is specifically used for according to preset second
The watermark is added to the page of the source file of the text file format by watermark layout parameter;
When the file format is video file format, the distribution module 20 is specifically used for the video file
The source file of format carries out grabbing screen, and according to preset third watermark layout parameter, the watermark is added to described grab on screen.
In some embodiments of the embodiment of the present invention, the text file format includes Word file format, Excel
At least one of file format, PowerPoint file format and Pdf file format;The Word file format and described
The corresponding watermark addition tool of Excel file format is Docx4j plug-in unit;The corresponding watermark of the PowerPoint file format
Addition tool is Poi plug-in unit;The corresponding watermark addition tool of the Pdf file format is Itextpdf plug-in unit;The video text
The corresponding watermark addition tool of part format is Ffmpeg tool.
In some embodiments of the embodiment of the present invention, the first watermark layout parameter includes watermark size, watermark
At least one of position and watermark placement direction;The second watermark layout parameter includes that watermark size, watermark location, watermark are put
It sets direction and adds at least one of the page of watermark;The third watermark layout parameter includes in watermark size and watermark location
It is at least one.
Embodiment three
The embodiment of the present invention provides a kind of electronic equipment, and the equipment includes memory and processor;The memory is used
In storage computer instruction, when the processor is used to execute the computer instruction of the memory storage, to realize as implemented
The step of any one of example one the method.Wherein, electronic equipment can be a terminal, such as can be mobile phone, plate
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer, meter
Calculation machine, server, air conditioner or network equipment etc..
Example IV
The embodiment of the present invention provides a kind of computer readable storage medium, which is characterized in that the storage medium is stored with
The addition computer program of watermark, when the computer program is executed by least one processor, to realize as in embodiment one
The step of any one the method.
It should be noted that embodiment two to embodiment 4 can have phase refering to embodiment one during specific implementation
The technical effect answered.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (14)
1. a kind of adding method of watermark, which is characterized in that the described method includes:
According to the file format of source file, process is added for the corresponding preset watermark of source file distribution and work is added in watermark
Tool;The file format includes at least one of picture file format, text file format and video file format;
Process is added according to the watermark, configures the watermark addition tool;
The watermark of configuration is called to add tool, so that the watermark addition tool of the configuration adds process according to the watermark, it will
Watermark is added to the source file.
2. the method as described in claim 1, which is characterized in that before the watermark addition tool for calling configuration, comprising:
Identify the type of the watermark file obtained;
According to the type and the watermark file identified, the watermark is determined.
3. method according to claim 2, which is characterized in that the type and the watermark file that the basis identifies, really
The fixed watermark, comprising:
When the type identified is text type, according to the watermark parameters of acquisition, the watermark file of text type is generated as
The watermark;
When the type identified is picture type, using the watermark file of picture type as the watermark.
4. method as claimed in claim 3, which is characterized in that the watermark parameters include the watermark file of the text type
At least one in the font of middle character, color, size and spacing.
5. the method as described in claim 1, which is characterized in that the file format according to source file is the source file
Before the corresponding preset watermark addition process of distribution and watermark addition tool, comprising:
Receive the file of the watermark to be added of user;
When determining the file of the watermark to be added for compressed file, will be solved from the compressed file file of extrusion as
The source file;
When determining the file of the watermark to be added for uncompressed file, using the file of the watermark to be added as the source
File.
6. the method as described in any one of claim 1-5, which is characterized in that the file format be picture file lattice
When formula, include: for the watermark addition process of source file distribution
According to preset first watermark layout parameter, the watermark is added to the source file of the picture file format.
7. method as claimed in claim 6, which is characterized in that the first watermark layout parameter includes watermark size, watermark
At least one of position and watermark placement direction.
8. the method as described in any one of claim 1-5, which is characterized in that the file format be text file lattice
When formula, include: for the watermark addition process of source file distribution
According to preset second watermark layout parameter, the watermark is added to the page of the source file of the text file format
Face.
9. method according to claim 8, which is characterized in that the second watermark layout parameter includes watermark size, watermark
At least one of position, watermark placement direction and the page for adding watermark.
10. the method as described in any one of claim 1-5, which is characterized in that the file format be video file
When format, include: for the watermark addition process of source file distribution
The source file of the video file format is carried out to grab screen, and according to preset third watermark layout parameter, by the water
Print is added to described grab on screen.
11. method as claimed in claim 10, which is characterized in that the third watermark layout parameter includes watermark size and water
Print at least one of position.
12. a kind of adding set of watermark, which is characterized in that described device includes:
Distribution module adds process for the file format according to source file for the corresponding preset watermark of source file distribution
Tool is added with watermark;
Configuration module configures the watermark addition tool for adding process according to the watermark;
Calling module, for calling the watermark of configuration to add tool, so that the watermark addition tool of the configuration is according to the water
Print addition process, adds a watermark to the source file.
13. a kind of electronic equipment, which is characterized in that the equipment includes memory and processor;The memory is for storing
Computer instruction, when the processor is used to execute the computer instruction of the memory storage, to realize such as claim 1-
The step of watermark adding method described in any one of 11.
14. a kind of computer readable storage medium, which is characterized in that the storage medium is stored with the addition computer journey of watermark
Sequence, when the computer program is executed by least one processor, to realize as described in any one of claim 1-11
The step of watermark adding method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811509460.1A CN109635525A (en) | 2018-12-11 | 2018-12-11 | Adding method, device, equipment and the storage medium of watermark |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811509460.1A CN109635525A (en) | 2018-12-11 | 2018-12-11 | Adding method, device, equipment and the storage medium of watermark |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109635525A true CN109635525A (en) | 2019-04-16 |
Family
ID=66072559
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811509460.1A Pending CN109635525A (en) | 2018-12-11 | 2018-12-11 | Adding method, device, equipment and the storage medium of watermark |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109635525A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110288504A (en) * | 2019-06-21 | 2019-09-27 | 杭州云象网络技术有限公司 | It is a kind of to automatically add water impression method towards block chain digital education platform |
CN110362971A (en) * | 2019-06-11 | 2019-10-22 | 杭州电子科技大学 | A kind of screen watermark display methods of content-adaptive |
CN110414195A (en) * | 2019-07-09 | 2019-11-05 | 恩亿科(北京)数据科技有限公司 | A kind of data are anti-fake and source tracing method, system, medium and computer equipment |
CN110781463A (en) * | 2019-10-29 | 2020-02-11 | 北京中电普华信息技术有限公司 | Method and device for adding watermark information |
CN111191414A (en) * | 2019-11-11 | 2020-05-22 | 苏州亿歌网络科技有限公司 | Page watermark generation method, identification method, device, equipment and storage medium |
CN112417390A (en) * | 2020-12-03 | 2021-02-26 | 北京指掌易科技有限公司 | File processing method, device, equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103123673A (en) * | 2013-03-12 | 2013-05-29 | 山东省计算中心 | Effective protective method of digital media copyright in web environment |
CN103500296A (en) * | 2013-09-29 | 2014-01-08 | 北京溯源鸿业科技有限公司 | Inlaying method and device of digital watermarks in text documents |
CN104517045A (en) * | 2013-09-26 | 2015-04-15 | 上海中移通信技术工程有限公司 | Method for creating protected digital file |
CN108875323A (en) * | 2018-06-15 | 2018-11-23 | 江苏神州信源系统工程有限公司 | watermark adding method and device |
-
2018
- 2018-12-11 CN CN201811509460.1A patent/CN109635525A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103123673A (en) * | 2013-03-12 | 2013-05-29 | 山东省计算中心 | Effective protective method of digital media copyright in web environment |
CN104517045A (en) * | 2013-09-26 | 2015-04-15 | 上海中移通信技术工程有限公司 | Method for creating protected digital file |
CN103500296A (en) * | 2013-09-29 | 2014-01-08 | 北京溯源鸿业科技有限公司 | Inlaying method and device of digital watermarks in text documents |
CN108875323A (en) * | 2018-06-15 | 2018-11-23 | 江苏神州信源系统工程有限公司 | watermark adding method and device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110362971A (en) * | 2019-06-11 | 2019-10-22 | 杭州电子科技大学 | A kind of screen watermark display methods of content-adaptive |
CN110288504A (en) * | 2019-06-21 | 2019-09-27 | 杭州云象网络技术有限公司 | It is a kind of to automatically add water impression method towards block chain digital education platform |
CN110414195A (en) * | 2019-07-09 | 2019-11-05 | 恩亿科(北京)数据科技有限公司 | A kind of data are anti-fake and source tracing method, system, medium and computer equipment |
CN110781463A (en) * | 2019-10-29 | 2020-02-11 | 北京中电普华信息技术有限公司 | Method and device for adding watermark information |
CN110781463B (en) * | 2019-10-29 | 2023-06-23 | 北京中电普华信息技术有限公司 | Watermark information adding method and device |
CN111191414A (en) * | 2019-11-11 | 2020-05-22 | 苏州亿歌网络科技有限公司 | Page watermark generation method, identification method, device, equipment and storage medium |
CN112417390A (en) * | 2020-12-03 | 2021-02-26 | 北京指掌易科技有限公司 | File processing method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109635525A (en) | Adding method, device, equipment and the storage medium of watermark | |
JP5353148B2 (en) | Image information retrieving apparatus, image information retrieving method and computer program therefor | |
US20130259377A1 (en) | Conversion of a document of captured images into a format for optimized display on a mobile device | |
CN103530114B (en) | Picture managing method and device | |
CN103942585B (en) | Method for converting information into two-dimensional codes | |
CN105719329B (en) | Bookkeeping voucher generation method and system | |
CN102799383A (en) | Screen sectional drawing method and screen sectional drawing device for mobile terminals | |
JP2010073114A6 (en) | Image information retrieving apparatus, image information retrieving method and computer program therefor | |
CN110245469A (en) | Watermark generation method, watermark analytic method, device and the storage medium of webpage | |
CN107392982A (en) | Photographing On-line method, apparatus and system | |
CN106022010A (en) | File display method and device | |
CN110970011A (en) | Picture processing method, device and equipment and computer readable storage medium | |
CN102591849B (en) | Document format conversion method and device | |
CN103136264A (en) | Accessory inquiring method and user terminal | |
WO2014002614A1 (en) | Related content retrieval device and related content retrieval method | |
CN103914223A (en) | Terminal application interface generation method and device | |
JP7037180B2 (en) | Learning data discriminator and learning data discriminator | |
CN104424619A (en) | Information processing apparatus and information processing method | |
US11182635B2 (en) | Terminal apparatus, character recognition system, and character recognition method | |
US20140347680A1 (en) | Methods and Systems for Printing an Image on an Article | |
CN110337074B (en) | Interactive information transmission method, system and terminal equipment | |
CN112000974A (en) | Electronic signature method and device for document | |
CA2899139C (en) | Method and system for creating optimized images for data identification and extraction | |
CN112783407B (en) | Screenshot method and device | |
US20150220956A1 (en) | Creating Consumable Content with Embedded Codes, and Tracking use of Embedded Codes |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190416 |
|
RJ01 | Rejection of invention patent application after publication |