Dynamic watermark adding method, device, network disk and storage medium
A watermark adding and dynamic technology, applied in the field of electronic information, can solve the problems of reducing the opening speed of the file preview page, taking a long time for the watermark, and reporting errors on the file preview page, so as to improve the file preview experience, improve the preview opening speed, reduce the The effect of adding workload
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] figure 1 The flow chart of the method for adding a dynamic watermark provided in Embodiment 1 of the present invention, as shown in the figure, the method for adding a dynamic watermark in this embodiment specifically includes the following steps:
[0047] Step 110, when the file preview action is triggered, obtain the preview record of the user and the historical preview record of the file.
[0048] Due to differences in file preview habits of different users, different users will have different preview pages and preview speeds during the file preview process. Correspondingly, depending on the content recorded in the files, different files may also have different preview pages and preview speeds during the process of being previewed. In order to reduce the workload of adding dynamic watermarks on the network disk at the moment when the file preview is opened, it is necessary to obtain the user's preview record and the historical preview record of the file when the fil...
Embodiment 2
[0062] figure 2 It is a schematic flowchart of the method for adding a dynamic watermark provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above embodiments. In this embodiment, after the file page with the watermark is converted to the preview state, the following steps are added: obtain the preview progress of the file, and when the current preview progress is greater than the expected Add a watermark to the preset watermarked supplemental pages when the progress threshold is set.
[0063] Correspondingly, the dynamic watermark adding method provided in this embodiment specifically includes:
[0064] Step 210, when the file preview action is triggered, obtain the user's preview record and the historical preview record of the file.
[0065] Step 220: Calculate the number of watermarked pages of the file according to the user's preview record and the file's historical preview record.
[0066] Step 230: Add a watermark to th...
Embodiment 3
[0076] image 3 It is a schematic flowchart of the dynamic watermark adding method provided by Embodiment 3 of the present invention. This embodiment is optimized on the basis of the above embodiments. In this embodiment, after the file page with the watermark is converted to the preview state, the following steps are added: obtain the user's file preview speed, and When the speed is less than the preset speed threshold, obtain the user's permission information; when the user does not have the file download permission, convert the file page with the watermark and in the non-preview state to the processing state, and add complex information to the file page in the processing state Watermark and convert file pages with complex watermarks to preview state again.
[0077] Correspondingly, the dynamic watermark adding method provided in this embodiment specifically includes:
[0078] Step 310, when the file preview action is triggered, obtain the preview record of the user and th...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


