CN117688527A - Method and system for dynamically configuring watermark by application software - Google Patents

Method and system for dynamically configuring watermark by application software Download PDF

Info

Publication number
CN117688527A
CN117688527A CN202311825983.8A CN202311825983A CN117688527A CN 117688527 A CN117688527 A CN 117688527A CN 202311825983 A CN202311825983 A CN 202311825983A CN 117688527 A CN117688527 A CN 117688527A
Authority
CN
China
Prior art keywords
watermark
application software
configuration information
information
management server
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
Application number
CN202311825983.8A
Other languages
Chinese (zh)
Inventor
王露露
范志立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Lingyan Technology Co ltd
Original Assignee
Beijing Lingyan Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Lingyan Technology Co ltd filed Critical Beijing Lingyan Technology Co ltd
Priority to CN202311825983.8A priority Critical patent/CN117688527A/en
Publication of CN117688527A publication Critical patent/CN117688527A/en
Pending legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)

Abstract

The invention relates to a method and a system for dynamically configuring watermarks by application software, wherein the method comprises the following steps: obtaining watermark parameters, extracting necessary parameters for watermark generation, and setting watermark configuration information according to preset watermark generation rules; receiving a watermark request, retrieving corresponding watermark configuration information from a stored database according to equipment information of a corresponding equipment platform, generating Json text information and returning the Json text information to application software; carrying out data analysis on the Json text information based on watermark analysis rules to generate watermark configuration information pre-inserted in a page to be processed, and storing the watermark configuration information in application software; and reading watermark configuration information stored in the application software, generating a watermark background picture based on information contained in the watermark configuration information, and inserting the watermark background picture into a page to be processed for display. The invention can dynamically generate the watermark configuration information, and can avoid the situation that the security of the application software is threatened due to the leakage of the watermark format by periodically updating the watermark configuration information.

Description

Method and system for dynamically configuring watermark by application software
Technical Field
The present invention relates to the field of watermarking technologies, and in particular, to a method and a system for dynamically configuring watermarks by application software.
Background
With the rapid development of digitization, the use of watermark technology has become a major means of protecting digital rights and protecting information from leakage and data loss.
Among them, watermarking technology is widely used for digital rights protection. In the digital age, the way in which digital media such as music, movies, books, etc. are spread has been converted from physical media to digital media, which has also led to more piracy and infringement. Digital watermarking technology can effectively identify and track infringement by embedding a specific identifier in digital media, thereby protecting digital rights.
In addition, watermarking is also widely used to prevent information leakage and data loss. With the popularization of the internet and the development of information technology, enterprises and individuals face more and more risks of information leakage and data loss. Watermarking techniques can be used in various types of applications and data to help businesses and individuals track and locate data sources when data is lost or information is compromised by embedding specific identifiers, thereby reducing losses.
At present, the existing watermarking technology used on application software generally adopts watermark information in a preset format, and judges whether the watermark is displayed or hidden through a switch. Although the method is simple and easy to implement, the method has the following two problems:
1. security presents a certain risk because once the watermark format is compromised, the security of the entire application will be compromised.
2. When the existing watermarking technology is displayed on different devices, due to the influence of factors such as resolution of the devices and styles of software subjects, the watermarking can possibly appear in the situations of unclear display, unobvious marks and the like.
Therefore, the invention provides a method and a system for dynamically configuring watermarks by application software.
Disclosure of Invention
The invention provides a method and a system for dynamically configuring watermarks of application software, which are used for solving the technical problems that the security of the application software is threatened due to the leakage of watermark formats, and the watermarks are possibly displayed in unclear, invisible marks and the like due to the influence of factors such as the resolution of equipment, the style of software theme and the like when the watermarks are displayed on different equipment.
According to a first aspect of the present invention, there is provided a method for dynamically configuring watermarks by application software, for use in a background management server and application software of each device platform interacting with the background management server, the method comprising:
the background management server obtains watermark parameters when the application software of each equipment platform generates the watermark, extracts necessary parameters for generating the watermark by comparing and analyzing the watermark parameters, sets watermark configuration information according to preset watermark generation rules, and stores the watermark configuration information in a database of the background management server;
the background management server receives watermark requests sent by application software of each equipment platform, retrieves corresponding watermark configuration information from a stored database according to equipment information of the corresponding equipment platform, and generates Json text information to return to the application software;
the application software receives the Json text information, carries out data analysis on the Json text information based on watermark analysis rules, generates watermark configuration information pre-inserted in a page to be processed, and stores the watermark configuration information in the application software;
and reading watermark configuration information stored in the application software, generating a watermark background picture based on information contained in the watermark configuration information, and inserting the watermark background picture into a page to be processed for display.
In some optional implementations of some embodiments, the background management server obtains watermark parameters when the application software of each device platform generates the watermark, and extracts necessary parameters for generating the watermark by comparing and analyzing the watermark parameters, which specifically includes:
the background management server obtains watermark parameters when the application software of each equipment platform generates the watermark, wherein the watermark parameters comprise watermark display content and watermark display patterns;
based on the fact that different two-dimensional graphic processing engines are used in different equipment platforms, watermark display patterns are compared and analyzed, and necessary parameters for watermark generation are extracted.
In some alternative implementations of some embodiments, the necessary parameters include text font, font size, font color, rotation angle, transparency, line spacing, and column spacing.
In some optional implementations of some embodiments, the setting watermark configuration information according to a preset watermark generation rule, and storing the watermark configuration information in a database of a background management server specifically includes:
according to preset watermark generation rules, watermark configuration information adapting to each equipment platform or watermark configuration information aiming at different equipment platforms is set, and the watermark configuration information is stored in a database of a background management server.
In some optional implementations of some embodiments, the background management server receives a watermark request sent by application software of each device platform, retrieves corresponding watermark configuration information from a stored database according to device information of a corresponding device platform, and generates Json text information to be returned to the application software, which specifically includes;
the background management server receives watermark requests sent by application software of each equipment platform, and according to system software information of the corresponding equipment platform, wherein the system software information comprises Android, iOS, macOS, windows, mac, linux and Unix, corresponding watermark configuration information is retrieved from a stored database, and Json text information is generated and returned to the application software.
In some optional implementations of some embodiments, the application software receives the Json text information, performs data parsing on the Json text information based on watermark parsing rules, and generates watermark content pre-inserted in the document to be processed, including:
and the application software receives the Json text information, adopts a Json analyzer, and performs data analysis on the Json text information according to different setting units and default values of each equipment platform to generate watermark configuration information pre-inserted in the document to be processed.
In some optional implementations of some embodiments, the reading watermark configuration information stored in the application software, generating a watermark background picture based on information included in the watermark configuration information, and inserting the watermark background picture into a page to be processed for display specifically includes:
and reading watermark configuration information stored in the application software, generating a watermark background picture based on a watermark display pattern contained in the watermark configuration information, and inserting the watermark background picture into a page to be processed for display.
In some alternative implementations of some embodiments, further comprising:
and synchronously updating watermark configuration information stored in the application software according to the display mode of the equipment platform and/or the theme style of the application software.
In some alternative implementations of some embodiments, further comprising:
and according to the preset time, the watermark configuration information stored in the database is modified periodically.
According to a second aspect of the present invention, there is provided a system for dynamically configuring watermarks by application software, for use in a background management server and application software of each device platform interacting with the background management server, where the background management server includes a background management module, an administrator management module, a storage module, and a data distribution module; the application software comprises a request module, a data analysis module and a watermark display module;
the background management module is used for acquiring watermark parameters when the application software of each equipment platform generates the watermark, and extracting necessary parameters for generating the watermark by comparing and analyzing the watermark parameters;
the manager management module is used for setting watermark configuration information according to preset watermark generation rules;
the storage module is used for storing the watermark configuration information in a database of the background management server;
the data distribution module is used for receiving watermark requests sent by application software of each equipment platform, retrieving corresponding watermark configuration information from a stored database according to the equipment information of the corresponding equipment platform, generating Json text information and returning the Json text information to the application software;
the request module is used for sending a watermark request to the background management server;
the data analysis module is used for receiving the Json text information, carrying out data analysis on the Json text information based on watermark analysis rules, generating watermark configuration information pre-inserted in a page to be processed, and storing the watermark configuration information in application software;
the watermark display module is used for reading watermark configuration information stored in the application software, generating a watermark background picture based on information contained in the watermark configuration information, and inserting the watermark background picture into a page to be processed for display.
The invention has the advantages that:
according to the method and the system for dynamically configuring the watermark by the application software, the necessary parameters for generating the watermark are extracted by comparing and analyzing the acquired watermark parameters, the watermark generation rule is generated, the watermark configuration information which is adaptive to each equipment platform or the watermark configuration information aiming at different equipment platforms can be set based on the watermark generation rule, after receiving a watermark request, a background management server feeds the corresponding watermark configuration information back to the application software in a Json format according to the equipment information of the request equipment platform, the application software receives the Json text information and carries out data analysis on the Json text information, the analyzed watermark configuration information is obtained, a watermark background picture is generated based on the information contained in the watermark configuration information, so that the purpose of inserting the watermark background picture in a page to be processed is realized, the watermark configuration information can be dynamically generated, the rule configuration is diversified, the situation that the security of the application software is threatened due to the leakage of the watermark format can be avoided through periodical updating of the watermark configuration information, and the effectiveness of protection is ensured; meanwhile, watermark display contents are dynamically modified through the background management server, different watermark display effects can be configured according to different equipment platforms and theme styles, and dynamic control of watermark style diversification is realized.
Drawings
FIG. 1 is a flow chart of a method for dynamically configuring watermarks by application software in an embodiment of the invention;
fig. 2 is a schematic structural diagram of a system for dynamically configuring watermarks by application software according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example 1
In a first aspect, the present application proposes a method for dynamically configuring watermarks by application software, as shown in fig. 1: the method comprises the following steps:
s1, a background management server acquires watermark parameters when application software of each equipment platform generates watermarks, extracts necessary parameters for watermark generation by comparing and analyzing the watermark parameters, sets watermark configuration information according to preset watermark generation rules, and stores the watermark configuration information in a database of the background management server.
In this embodiment, the watermark parameters include watermark display content and watermark display style.
In this embodiment, the background management server obtains watermark parameters when the application software of each device platform generates the watermark, and extracts necessary parameters for watermark generation by comparing and analyzing the watermark parameters, which specifically includes:
the background management server obtains watermark parameters when the application software of each equipment platform generates the watermark, wherein the watermark parameters comprise watermark display content and watermark display patterns;
based on the fact that different two-dimensional graphic processing engines are used in different equipment platforms, watermark display patterns are compared and analyzed, and necessary parameters for watermark generation are extracted.
Furthermore, the watermark display content is mainly the user identification, and mainly comprises the elements of a user name, a user account number, a product name, time and the like, the elements can be combined at will, the display sequence and the repeated display of the elements are realized, and part of the elements are not displayed, meanwhile, the default watermark display content is as follows: user name + user account + product name + time.
Further, the watermark display pattern mainly includes: font, font size, font color, rotation angle, transparency, line spacing, column spacing, etc.
It should be understood that the watermarking technology in application software is to convert text information into picture information and then spread the whole screen; and a two-dimensional graphic processing engine is required to be used when generating picture information from text information in a watermark display style. While the two-dimensional graphics processing engines used in different device platforms are different.
For example: the watermark display patterns of the existing Android, iOS, macOS and Windows device platforms were analyzed, and the analysis results are shown in Table 1 below.
Table 1 watermark display style analysis results for Android, iOS, macOS and Windows device platforms
According to the watermark display pattern comparison in table 1, the necessary parameters for watermark generation are extracted as follows:
character fonts: the fonts supported by the platform devices are different, and the corresponding fonts need to be installed in the application software in advance.
Font size: the watermark generation rule can be set arbitrarily according to the requirement, and the preset watermark generation rule is more than 10.
Font color: the font colors are divided into dark color mode and light color mode, which is convenient for the application software to use when switching the bright-dark mode.
Rotation angle: the rotation angle ranges from 0 to 360 degrees.
Transparency: the transparency range is 0.0-1.0, wherein 0 is opaque, and 1 is fully transparent.
Row spacing: the preset watermark generation rule is more than 100.
Column spacing: the preset watermark generation rule is more than 200.
In this embodiment, watermark configuration information is set according to a preset watermark generation rule, and the watermark configuration information is stored in a database of a background management server, which specifically includes:
according to preset watermark generation rules, watermark configuration information adapting to each equipment platform or watermark configuration information aiming at different equipment platforms is set, and the watermark configuration information is stored in a database of a background management server.
Furthermore, an administrator of the background management server can configure a copy of watermark display content and watermark display patterns, display the watermark display content and the watermark display patterns on different equipment platforms, and also can close a switch of synchronous configuration information to configure different watermark display content and watermark display patterns for different equipment platforms; the synchronization process of watermark configuration information of different equipment platforms is realized by controlling the switch of the synchronization configuration information.
When the switch of the synchronous configuration information is closed, watermark display contents and watermark display patterns of different equipment platforms can be respectively configured; when the switch of the synchronous configuration information is turned on, all the device platforms uniformly use one watermark display content and watermark display style (except fonts, and the fonts of different device platforms are different).
It should be appreciated that each device platform, although generating watermarks in a different manner, uses a two-dimensional graphics processing engine and thus has some commonality.
Further, after the background management server finishes setting the water watermark configuration information, the background management service stores the set water watermark information into the database for subsequent use.
In this embodiment, further comprising: and according to the preset time, the watermark configuration information stored in the database is modified periodically.
Furthermore, an administrator of the background management server can modify watermark configuration information regularly so as to ensure data security.
For example: the timing modification time can be set at version upgrading time or appointed time, and the timing modification aims at preventing others from cracking the watermark, and the setting time is set by an administrator.
S2, the background management server receives watermark requests sent by application software of each equipment platform, retrieves corresponding watermark configuration information from a stored database according to equipment information of the corresponding equipment platform, generates Json text information and returns the Json text information to the application software.
In this embodiment, the background management server receives a watermark request sent by application software of each device platform, retrieves corresponding watermark configuration information from a stored database according to device information of the corresponding device platform, and generates Json text information to be returned to the application software, which specifically includes;
the background management server receives watermark requests sent by application software of each equipment platform, and according to system software information of the corresponding equipment platform, wherein the system software information comprises Android, iOS, macOS, windows, mac, linux and Unix, corresponding watermark configuration information is retrieved from a stored database, and Json text information is generated and returned to the application software.
Further, after receiving the watermark request sent by the application software of each device platform, the background server sends corresponding watermark configuration information to the application software according to the device information in the watermark request, where the device information is a system software information identifier (Android, iOS, macOS, windows, mac, linux, unix, etc.) of the device system.
And S3, receiving the Json text information by the application software, carrying out data analysis on the Json text information based on watermark analysis rules, generating watermark configuration information pre-inserted in the page to be processed, and storing the watermark configuration information in the application software.
In this embodiment, the application software receives the Json text information, performs data analysis on the Json text information based on watermark analysis rules, and generates watermark content pre-inserted in the document to be processed, which specifically includes:
the application software receives the Json text information, adopts a Json analyzer to analyze the Json text information according to the different setting units and default values of each equipment platform, and generates watermark configuration information pre-inserted in the document to be processed
Further, the data acquired from the background management server is Json text information, and the application software uses watermark parsing rules agreed with the background to parse the acquired Json text information into usable watermark configuration information.
Further, the parsed watermark configuration information is stored in the application software, so that the next use is facilitated.
Furthermore, the Json text information is parsed by the Json parser, and the watermark parsing rule mainly consists in the difference between the setting unit and the default value of each device platform, and needs to be distinguished, for example:
1. character fonts: and acquiring the value of the font name in the Json text information.
If the acquired text fonts are not installed or do not support the use of default fonts in the platform equipment, searching preset fonts from an installation catalog of the application, drawing text display by using the fonts if the preset fonts are searched, and using the default fonts if the preset fonts do not exist in the preset package;
(1) The Android default fonts use system.
(2) The iOS-side default font uses PingFangSC-Regular.
(3) Mac-side default fonts use PingFangSC-Regular.
(4) The Windows end default font uses MSYH.
2. Font size: and obtaining the integer value of the font size field in the Json text information.
The Android terminal unit is sp, the iOS terminal unit is pt, and the Windows/Mac terminal unit is px.
3. Row spacing and column spacing: and obtaining integer values of corresponding row spacing and column spacing fields in the Json text information. The Android terminal unit is dp, the iOS terminal unit is px, and the Windows/Mac terminal unit is px.
4. Font color: unified as RGB 16 system, such as #999999.
5. Rotation angle: unified as clockwise rotation.
6. Transparency: the uniform is 0.0 to 1.0, wherein 0 is opaque, and 1 is fully transparent.
S4, reading watermark configuration information stored in the application software, generating a watermark background picture based on information contained in the watermark configuration information, and inserting the watermark background picture into a page to be processed for display.
In this embodiment, the reading watermark configuration information stored in the application software, generating a watermark background picture based on information contained in the watermark configuration information, and inserting the watermark background picture into a page to be processed for display specifically includes:
and reading watermark configuration information stored in the application software, generating a watermark background picture based on a watermark display pattern contained in the watermark configuration information, and inserting the watermark background picture into a page to be processed for display.
Further, the display watermark is similar to other applications, except that the invention needs to read the stored watermark configuration information from the application software, generate a watermark background picture according to the watermark display style such as font, color, line height, space and the like, and display the watermark background picture on the page.
In this embodiment, further comprising: and synchronously updating watermark configuration information stored in the application software according to the display mode of the equipment platform and/or the theme style of the application software.
Furthermore, the watermark is synchronously updated when the display mode (bright mode) of the device platform is changed or the theme style of the application software such as festival activity is changed, so that the clear display of the watermark is ensured.
When the display mode of the equipment platform is changed, the watermark displays different colors according to the dark color and the bright color configured in the configuration list.
When the style of the theme of the application software such as festival activities is changed, the application software needs to be reissued, and an administrator can configure the watermark display style such as the font, color and the like of the watermark in the background management server within the appointed time so as to accord with the theme of the application software. After the holiday, the watermark configuration information may be reset when the theme is restored.
Example two
On the basis of the first embodiment, the present embodiment provides a system for dynamically configuring watermarks by application software, please refer to fig. 2, which is mainly used for a background management server 210 and application software 220 of each device platform interacting with the background management server, where the background management server 210 includes a background management module 211, an administrator management module 212, a storage module 213 and a data distribution module 214; the application software 220 includes a request module 221, a data parsing module 222, and a watermark display module 223;
the background management module 211 is configured to obtain watermark parameters when the application software 220 of each device platform generates a watermark, and extract necessary parameters for watermark generation by comparing and analyzing the watermark parameters;
an administrator management module 212, configured to set watermark configuration information according to a preset watermark generation rule;
a storage module 213, configured to store watermark configuration information in a database of the background management server 210;
the data distribution module 214 is configured to receive a watermark request sent by the application software 220 of each device platform, retrieve corresponding watermark configuration information from a stored database according to device information of the corresponding device platform, and generate Json text information to return to the application software;
a request module 221, configured to send a watermark request to the background management server 210;
the data parsing module 222 is configured to receive the Json text information, parse the Json text information based on watermark parsing rules, generate watermark configuration information pre-inserted in a page to be processed, and store the watermark configuration information in application software;
the watermark display module 223 is configured to read watermark configuration information stored in the application software 220, generate a watermark background picture based on information included in the watermark configuration information, and insert the watermark background picture into a page to be processed for display.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The described units may also be provided in a processor, for example, described as: a processor includes a data acquisition unit, a rule determination unit weight calculation unit, and an abnormality determination unit. The names of these units do not constitute a limitation on the unit itself in some cases, and for example, the data acquisition unit may also be described as "a unit that acquires training data".
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
The foregoing is a further detailed description of the invention in connection with specific embodiments, and is not intended to limit the practice of the invention to such descriptions. It will be apparent to those skilled in the art that several simple deductions or substitutions may be made without departing from the spirit of the invention, and these should be considered to be within the scope of the invention.
It will be apparent to those skilled in the art that the various step embodiments of the invention described above may be performed in ways other than those described herein, including but not limited to simulation methods and experimental apparatus described above. The steps of the invention described above may in some cases be performed in a different order than that shown or described above, and may be performed separately. Therefore, the present invention is not limited to any specific combination of hardware and software.
The foregoing is a further detailed description of the invention in connection with specific embodiments, and is not intended to limit the practice of the invention to such descriptions. It will be apparent to those skilled in the art that several simple deductions or substitutions may be made without departing from the spirit of the invention, and these should be considered to be within the scope of the invention.

Claims (10)

1. A method for dynamically configuring watermarks by application software, the method comprising application software for a background management server and each device platform interacting with the background management server, the method comprising:
the background management server obtains watermark parameters when the application software of each equipment platform generates the watermark, extracts necessary parameters for generating the watermark by comparing and analyzing the watermark parameters, sets watermark configuration information according to preset watermark generation rules, and stores the watermark configuration information in a database of the background management server;
the background management server receives watermark requests sent by application software of each equipment platform, retrieves corresponding watermark configuration information from a stored database according to equipment information of the corresponding equipment platform, and generates Json text information to return to the application software;
the application software receives the Json text information, carries out data analysis on the Json text information based on watermark analysis rules, generates watermark configuration information pre-inserted in a page to be processed, and stores the watermark configuration information in the application software;
and reading watermark configuration information stored in the application software, generating a watermark background picture based on information contained in the watermark configuration information, and inserting the watermark background picture into a page to be processed for display.
2. The method for dynamically configuring watermarks by application software according to claim 1, wherein the background management server obtains watermark parameters when the application software of each device platform generates the watermarks, and extracts necessary parameters for watermark generation by comparing and analyzing the watermark parameters, specifically comprising:
the background management server obtains watermark parameters when the application software of each equipment platform generates the watermark, wherein the watermark parameters comprise watermark display content and watermark display patterns;
based on the fact that different two-dimensional graphic processing engines are used in different equipment platforms, watermark display patterns are compared and analyzed, and necessary parameters for watermark generation are extracted.
3. The method for dynamically configuring watermarks by application software according to claim 2, wherein the necessary parameters include text font, font size, font color, rotation angle, transparency, line spacing and column spacing.
4. The method for dynamically configuring watermarks by application software according to claim 1, wherein the setting watermark configuration information according to a preset watermark generation rule, and storing the watermark configuration information in a database of a background management server, specifically includes:
according to preset watermark generation rules, watermark configuration information adapting to each equipment platform or watermark configuration information aiming at different equipment platforms is set, and the watermark configuration information is stored in a database of a background management server.
5. The method for dynamically configuring watermarks by application software according to claim 1, wherein the background management server receives watermark requests sent by the application software of each device platform, retrieves corresponding watermark configuration information from a stored database according to device information of the corresponding device platform, and generates Json text information to be returned to the application software, and specifically comprises the steps of;
the background management server receives watermark requests sent by application software of each equipment platform, and according to system software information of the corresponding equipment platform, wherein the system software information comprises Android, iOS, macOS, windows, mac, linux and Unix, corresponding watermark configuration information is retrieved from a stored database, and Json text information is generated and returned to the application software.
6. The method for dynamically configuring watermarks by application software according to claim 1, wherein the application software receives Json text information, performs data analysis on the Json text information based on watermark analysis rules, and generates watermark content pre-inserted in a document to be processed, and specifically comprises the following steps:
and the application software receives the Json text information, adopts a Json analyzer, and performs data analysis on the Json text information according to different setting units and default values of each equipment platform to generate watermark configuration information pre-inserted in the document to be processed.
7. The method for dynamically configuring watermarks by application software according to claim 2, wherein the reading watermark configuration information stored in the application software generates a watermark background picture based on information contained in the watermark configuration information, and inserts the watermark background picture into a page to be processed for display, specifically includes:
and reading watermark configuration information stored in the application software, generating a watermark background picture based on a watermark display pattern contained in the watermark configuration information, and inserting the watermark background picture into a page to be processed for display.
8. The method for dynamically configuring watermarks for application software according to claim 1, further comprising:
and synchronously updating watermark configuration information stored in the application software according to the display mode of the equipment platform and/or the theme style of the application software.
9. The method for dynamically configuring watermarks for application software according to claim 1, further comprising:
and according to the preset time, the watermark configuration information stored in the database is modified periodically.
10. The system for dynamically configuring the watermark by the application software is used for a background management server and the application software of each equipment platform interacting with the background management server, and is characterized in that the background management server comprises a background management module, an administrator management module, a storage module and a data distribution module; the application software comprises a request module, a data analysis module and a watermark display module;
the background management module is used for acquiring watermark parameters when the application software of each equipment platform generates the watermark, and extracting necessary parameters for generating the watermark by comparing and analyzing the watermark parameters;
the manager management module is used for setting watermark configuration information according to preset watermark generation rules;
the storage module is used for storing the watermark configuration information in a database of the background management server;
the data distribution module is used for receiving watermark requests sent by application software of each equipment platform, retrieving corresponding watermark configuration information from a stored database according to the equipment information of the corresponding equipment platform, generating Json text information and returning the Json text information to the application software;
the request module is used for sending a watermark request to the background management server;
the data analysis module is used for receiving the Json text information, carrying out data analysis on the Json text information based on watermark analysis rules, generating watermark configuration information pre-inserted in a page to be processed, and storing the watermark configuration information in application software;
the watermark display module is used for reading watermark configuration information stored in the application software, generating a watermark background picture based on information contained in the watermark configuration information, and inserting the watermark background picture into a page to be processed for display.
CN202311825983.8A 2023-12-28 2023-12-28 Method and system for dynamically configuring watermark by application software Pending CN117688527A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311825983.8A CN117688527A (en) 2023-12-28 2023-12-28 Method and system for dynamically configuring watermark by application software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311825983.8A CN117688527A (en) 2023-12-28 2023-12-28 Method and system for dynamically configuring watermark by application software

Publications (1)

Publication Number Publication Date
CN117688527A true CN117688527A (en) 2024-03-12

Family

ID=90131919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311825983.8A Pending CN117688527A (en) 2023-12-28 2023-12-28 Method and system for dynamically configuring watermark by application software

Country Status (1)

Country Link
CN (1) CN117688527A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109388920A (en) * 2017-08-04 2019-02-26 北京京东尚科信息技术有限公司 For on the mobile apparatus using the upper method and apparatus that watermark is dynamically arranged
CN111583091A (en) * 2020-05-25 2020-08-25 天津赢达信科技有限公司 Method and system for adding picture watermark to browser client
CN113095995A (en) * 2021-04-28 2021-07-09 平安国际智慧城市科技股份有限公司 Webpage watermark adding method and device, electronic equipment and storage medium
CN114612279A (en) * 2020-12-03 2022-06-10 腾讯科技(深圳)有限公司 Watermark adding method and device
CN115114598A (en) * 2022-06-28 2022-09-27 上海艺赛旗软件股份有限公司 Watermark generation method, and method and device for file tracing by using watermark
CN115866356A (en) * 2019-04-28 2023-03-28 腾讯科技(深圳)有限公司 Video watermark adding method, device, equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109388920A (en) * 2017-08-04 2019-02-26 北京京东尚科信息技术有限公司 For on the mobile apparatus using the upper method and apparatus that watermark is dynamically arranged
CN115866356A (en) * 2019-04-28 2023-03-28 腾讯科技(深圳)有限公司 Video watermark adding method, device, equipment and storage medium
CN111583091A (en) * 2020-05-25 2020-08-25 天津赢达信科技有限公司 Method and system for adding picture watermark to browser client
CN114612279A (en) * 2020-12-03 2022-06-10 腾讯科技(深圳)有限公司 Watermark adding method and device
CN113095995A (en) * 2021-04-28 2021-07-09 平安国际智慧城市科技股份有限公司 Webpage watermark adding method and device, electronic equipment and storage medium
CN115114598A (en) * 2022-06-28 2022-09-27 上海艺赛旗软件股份有限公司 Watermark generation method, and method and device for file tracing by using watermark

Similar Documents

Publication Publication Date Title
CN110347587B (en) APP compatibility testing method and device, computer equipment and storage medium
US20090276206A1 (en) Dynamic Software Localization
CN108366058B (en) Method, device, equipment and storage medium for preventing traffic hijacking of advertisement operator
CA2993944A1 (en) Identification of software components in a software codebase
US10528766B2 (en) Techniques for masking electronic data
US8429397B2 (en) Generating an encryption font by converting character codes and recording the encryption font in a unique tag
CN109976840B (en) Method and system for realizing multi-language automatic adaptation based on foreground and background separation platform
CN108710564B (en) Source code comprehensive evaluation platform based on big data
US11079987B2 (en) Creation of component templates
US20160364497A1 (en) Method and device for increasing the speed of online browsing and loading of pdf document
US8869246B2 (en) Mask based challenge response test
US10706160B1 (en) Methods, systems, and articles of manufacture for protecting data in an electronic document using steganography techniques
CN108494728B (en) Method, device, equipment and medium for creating blacklist library for preventing traffic hijacking
CN112559453A (en) Data storage method and device, electronic equipment and storage medium
US10671456B2 (en) Method and device for acquiring application information
CN114626079A (en) File viewing method, device, equipment and storage medium based on user permission
CN110874456B (en) Watermark embedding method, watermark extracting method, watermark embedding device, watermark extracting device and data processing method
US7827143B1 (en) Method and apparatus for generating readable, unique identifiers
CN117688527A (en) Method and system for dynamically configuring watermark by application software
CN113343312A (en) Page tamper-proofing method and system based on front-end point burying technology
CA2602749C (en) System and method of report representation
CN108460254A (en) Firmware guard method and device
US20150073778A1 (en) Techniques for automatically generating test data
CN111783119A (en) Form data security control method and device, electronic equipment and storage medium
CN105450698B (en) A kind of exposure Log Collect System and method

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