Webpage watermark adding method and device, electronic equipment and storage medium

A watermarking and watermarking technology, applied in the field of artificial intelligence, can solve the problems of large pixel difference, too many tiling elements, slow watermarking efficiency on web pages, etc., to achieve the effect of improving efficiency, less web page resources, and improving generation accuracy.

Active Publication Date: 2021-07-09
深圳赛安特技术服务有限公司
View PDF8 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the process of converting the watermark image tiles to cover the entire webpage, due to the large difference between the size of the browser interface and the pixels of the watermark image, it is easy to cause too ma

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Webpage watermark adding method and device, electronic equipment and storage medium
  • Webpage watermark adding method and device, electronic equipment and storage medium
  • Webpage watermark adding method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] figure 1 It is a flow chart of the method for adding a webpage watermark provided by Embodiment 1 of the present invention.

[0052] In this embodiment, the method for adding a webpage watermark can be applied to an electronic device. For an electronic device that needs to add a webpage watermark, the function of adding a webpage watermark provided by the method of the present invention can be directly integrated on the electronic device, or It runs in the electronic device in the form of a software development kit (Software Development Kit, SDK).

[0053] like figure 1 As shown, the method for adding a webpage watermark specifically includes the following steps. According to different requirements, the order of the steps in the flow chart can be changed, and some of them can be omitted.

[0054] S11, analyze the received watermark adding request, and acquire multiple watermark elements and device sizes, wherein each watermark element contains static parameters and dyna...

Embodiment 2

[0103] figure 2 It is a structural diagram of a web page watermarking device provided in Embodiment 2 of the present invention.

[0104] In some embodiments, the apparatus 20 for adding a webpage watermark may include a plurality of functional modules composed of program code segments. The program codes of the various program segments in the webpage watermark adding device 20 can be stored in the memory of the electronic device, and executed by the at least one processor to execute (see for details figure 1 Description) The function of adding watermarks to web pages.

[0105] In this embodiment, the apparatus 20 for adding a webpage watermark can be divided into multiple functional modules according to the functions it performs. The functional modules may include: an analysis module 201 , a first construction module 202 , a second construction module 203 , a first drawing module 204 , a second drawing module 205 , an adding module 206 and an exporting module 207 . The modu...

Embodiment 3

[0153] refer to image 3 As shown in , it is a schematic structural diagram of the electronic device provided by Embodiment 3 of the present invention. In a preferred embodiment of the present invention, the electronic device 3 includes a memory 31 , at least one processor 32 , at least one communication bus 33 and a transceiver 34 .

[0154] Those skilled in the art should understand that, image 3 The structure of the electronic device shown does not constitute a limitation of the embodiment of the present invention, it can be a bus structure or a star structure, and the electronic device 3 can also include more or less other hardware than shown in the figure Or software, or a different arrangement of components.

[0155] In some embodiments, the electronic device 3 is an electronic device that can automatically perform numerical calculation and / or information processing according to preset or stored instructions, and its hardware includes but not limited to microprocessor...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to the technical field of artificial intelligence, and provides a webpage watermark adding method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining a plurality of watermark elements and equipment sizes; constructing indexes of a plurality of watermark elements according to the dynamic parameters of each watermark element; constructing a canvas template and a Canvas element used for drawing the dynamic watermark image based on the plurality of watermark elements; drawing a first dynamic watermark image in the canvas template according to the index, the context environment parameter of the Canvas element and the static parameter and the dynamic parameter of each watermark element; drawing the watermark image into a canvas of the browser to obtain a second dynamic watermark image; and adding the second dynamic watermark image on the watermark display layer to obtain a dynamic watermark webpage. According to the method and the device, the second dynamic watermark image is automatically tiled on the watermark display layer of the target webpage, only one display layer is needed, less webpage resources are occupied, and the efficiency of adding the watermark in the webpage is improved.

Description

technical field [0001] The invention relates to the technical field of artificial intelligence, in particular to a webpage watermark adding method, device, electronic equipment and storage medium. Background technique [0002] In related technologies, when adding a watermark to a webpage, the prior art generally calculates the size of the webpage on the browser interface to convert the rows and columns required for the watermark image to tile the entire webpage; Export the image and use it as a repeating background image to tile the entire webpage. [0003] However, in the process of converting the watermark image to tile the entire web page, due to the large difference between the size of the browser interface and the pixels of the watermark image, it is easy to cause too many tile elements, resulting in slow efficiency of adding watermark to the web page; and the watermark content in the UI The pictures exported during the development stage are static pictures, and dynami...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06T1/00G06F16/958
CPCG06T1/0021G06F16/958Y02D10/00
Inventor 聂启成
Owner 深圳赛安特技术服务有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products